diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-10-19 22:49:07 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-10-19 22:49:07 +0200 |
commit | c1620ba9ae75ad68fc3a5f3b80ff89c9b69d3ff1 (patch) | |
tree | ea7632e4a889871298242c433012f95ce576be6a /sys-apps/hdparm | |
parent | dev-db/mysql: Drop security vulnerable 5.5.52 (diff) | |
download | gentoo-c1620ba9ae75ad68fc3a5f3b80ff89c9b69d3ff1.tar.gz gentoo-c1620ba9ae75ad68fc3a5f3b80ff89c9b69d3ff1.tar.bz2 gentoo-c1620ba9ae75ad68fc3a5f3b80ff89c9b69d3ff1.zip |
sys-apps/hdparm: Bump to package 9.49
Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r-- | sys-apps/hdparm/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-9.49.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index 553b42276f2f..73067387f6f3 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -2,3 +2,4 @@ DIST hdparm-9.39.tar.gz 126989 SHA256 72d550af4526aa96f0841c79321a0ee39d636cbaf1 DIST hdparm-9.45.tar.gz 129410 SHA256 23b01caa56a995cf0897877b6aff98ea622a5df255bc2894b1a7693387f38669 SHA512 2692382f16fe9a87b7c9673bea44b8a9512b2449aaf18090f09c9e761fadc153f71d9779d063218f6951797649c0758f97242b7327da6653ea53991bf3da9eb8 WHIRLPOOL 6c424e265b7845afeff26f87654fbefe7d563404f2dee59f976594a87b375124262864305a14655bf5379e77e21bea0d8fb179e099374d7e8f952199f569ee58 DIST hdparm-9.47.tar.gz 130180 SHA256 4995545e2d4e5a1e6886e5032f353ed9472c17a56a88ee4b1334b142d5b1b757 SHA512 1a5164ef13b276ea0be25ac96710ec6292d73649eb20b2350ae4f3ea77e4816515cdca75316a4bcb8624a0fff725560c4a64fbde63d48b68c44bd02cb76c6a5e WHIRLPOOL 97279536cd14543380d287f5b9cd76934c11358ccdbfce1610ec0c85a522b49913a81926a9b042de776881c3160f4dec81988ca91cce7811f8a216e3736e47e7 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 diff --git a/sys-apps/hdparm/hdparm-9.49.ebuild b/sys-apps/hdparm/hdparm-9.49.ebuild new file mode 100644 index 000000000000..4db68894082f --- /dev/null +++ b/sys-apps/hdparm/hdparm-9.49.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 +} |