summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-20 10:38:04 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-20 11:27:25 +0200
commitf950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b (patch)
treee0f60d44f0a3887ec49c725baa72e43b27b6583c /sys-apps
parentx11-terms/xfce4-terminal: Bump to 0.8.0 (diff)
downloadgentoo-f950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b.tar.gz
gentoo-f950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b.tar.bz2
gentoo-f950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b.zip
sys-apps/hdparm: Bump to version 9.50
Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hdparm/Manifest1
-rw-r--r--sys-apps/hdparm/hdparm-9.50.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
index d9783c697810..28853415442e 100644
--- a/sys-apps/hdparm/Manifest
+++ b/sys-apps/hdparm/Manifest
@@ -1,3 +1,4 @@
DIST hdparm-9.45.tar.gz 129410 SHA256 23b01caa56a995cf0897877b6aff98ea622a5df255bc2894b1a7693387f38669 SHA512 2692382f16fe9a87b7c9673bea44b8a9512b2449aaf18090f09c9e761fadc153f71d9779d063218f6951797649c0758f97242b7327da6653ea53991bf3da9eb8 WHIRLPOOL 6c424e265b7845afeff26f87654fbefe7d563404f2dee59f976594a87b375124262864305a14655bf5379e77e21bea0d8fb179e099374d7e8f952199f569ee58
DIST hdparm-9.48.tar.gz 130277 SHA256 ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee SHA512 5b8908a762d892c403406da4798202bed95f035396e3c49f04da910fa53a6b442a7d7c9cb1e5d786d7c8c5a1b681c8d1db10f1bd8dad09600a6f3811fbf8afb7 WHIRLPOOL 4f17e6622a9c6516834b0487c0d73ba7aaaffcd5381cbcf03c01fa936924975c3fb7190052c4d1bba7a0b53a53fc9b910fe4c71440f4a556d533d43ecd474516
DIST hdparm-9.49.tar.gz 158179 SHA256 31d20903b92aff24843b66fad2f1e21a4bcdb252d1a78e324b71715b54eb823c SHA512 3326e4387fa246a10a68d1c7d75d37e1151bcc4aeb2bef906824d6e53b1c8ae40a7939847cb6e7a3c445ff2775616e323cb9ff705f066f9665ee76c7e178baf5 WHIRLPOOL 2a08313fc9e38c18daa210d0b5d5657449bf445e1a04381f7995a0d239ac1f8d01389bf3f42b7e5119bd5d15b90583ed1ce964ba34b61b798ceed19e9b8849e7
+DIST hdparm-9.50.tar.gz 133305 SHA256 0892b44bd817c251264a24f6ecbbb010958033e0395d2030f25f1c5608ac780e SHA512 e781da560f4ff7c75934b262b1be896765055ab0d90f9f637df2b7a13865a8dff0316811eae889e2bb09cbea08599b8f65e1fd1ef92f1f17e0fa728afda73fbc WHIRLPOOL 2a50edd4be38ea6e31099a5172d3c5afa845ef9ebfa560caf8019a3b390551b84e7614853a64f37b1f485a2fcbce833791276b21d7aab04b79a09f0ca85e3708
diff --git a/sys-apps/hdparm/hdparm-9.50.ebuild b/sys-apps/hdparm/hdparm-9.50.ebuild
new file mode 100644
index 000000000000..4db68894082f
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.50.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs flag-o-matic eutils
+
+DESCRIPTION="Utility to change hard drive performance parameters"
+HOMEPAGE="https://sourceforge.net/projects/hdparm/"
+SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz"
+
+LICENSE="BSD GPL-2" # GPL-2 only
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="static"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-9.48-sysmacros.patch #580052
+ use static && append-ldflags -static
+ sed -i \
+ -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \
+ -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \
+ Makefile || die "sed"
+}
+
+src_compile() {
+ emake STRIP=: CC="$(tc-getCC)"
+}
+
+src_install() {
+ into /
+ dosbin hdparm contrib/idectl
+
+ newinitd "${FILESDIR}"/hdparm-init-8 hdparm
+ newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm
+
+ doman hdparm.8
+ dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
+ docinto wiper
+ dodoc wiper/{README.txt,wiper.sh}
+ docompress -x /usr/share/doc/${PF}/wiper/wiper.sh
+}