summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-10-17 11:21:31 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-10-17 11:22:52 +0200
commit605a0b2556209ea46d43fe8389e738a9a21a939f (patch)
tree623ff63241d1562b1ad2020c7246a3a90a6de167 /sys-apps/hdparm
parentmedia-libs/alsa-lib: Removed old. (diff)
downloadgentoo-605a0b2556209ea46d43fe8389e738a9a21a939f.tar.gz
gentoo-605a0b2556209ea46d43fe8389e738a9a21a939f.tar.bz2
gentoo-605a0b2556209ea46d43fe8389e738a9a21a939f.zip
sys-apps/hdparm: Bump to version 9.57
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r--sys-apps/hdparm/Manifest1
-rw-r--r--sys-apps/hdparm/hdparm-9.57.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
index 470f8ed5ca68..d0edce257659 100644
--- a/sys-apps/hdparm/Manifest
+++ b/sys-apps/hdparm/Manifest
@@ -2,3 +2,4 @@ DIST hdparm-9.51.tar.gz 133725 BLAKE2B a507046d1026e901fb0feb9c61dac60d8bf8427f7
DIST hdparm-9.52.tar.gz 140737 BLAKE2B 0614bfb0844f088b533951c4636bf92879c4ff7e9bb4d150965e936eaa2a4e0ffd350689fc359757a2f9e80a6c93cd111a25b8e2824737e01b4deb6e543b2868 SHA512 7c37d1381c1dd2d46762a8cdcaba2015b0b051ee7bd135dbcf6346def51b085cc2f9ecd7e1ebdc67e12ab4b765df548d4757b3700ed6e7514c2b13ed40661c59
DIST hdparm-9.55.tar.gz 136805 BLAKE2B 0739295dcc80a2b774b2edd8c447ee739476e5fe55695e22f867de2c8352746ac8dcbef220554a36bcb9417317f44c433cbbd807629ef7514b5e1d93be56c280 SHA512 a9b5be38fda9db7f125ecc5a174668e81464266493672184d214ea9b50437e089482799fb5c817c433f897eac8741fe3dc052658969bb1ebac158606dee51196
DIST hdparm-9.56.tar.gz 137213 BLAKE2B ffea04fb2cb14fd9ee01f0583c5fbe8d0c24d3dcecaa68750653e0475d97b86f1a39bde43ca1feb68f393606613c6a4cc8090e714eb60b1a30e223929b1fcadd SHA512 5dee7211a2528920bd197d45217a7b58df933c2500d224d39a8bb89c4d3f340962953e17b7b5f66fd52205a3a3b225d5bc0b75fc7af0f064f8ea092b55090b03
+DIST hdparm-9.57.tar.gz 138791 BLAKE2B de4eea48eabaaa0fbfd505e0d23d260a87570407dbb6670c61afd396c3e757aa9d9bb7dedc3e128fd0a0f4f127e050e509bf70168e8666b6f9247a80072bd030 SHA512 c816e0cbf3a68a6a15de8c8e7b6448995f22c32c6f6b1e16ece725e61900b1aed2ff6ccd69b20aeccca003b290bfe3c12ce5917146e14d0dfab11305d6a394c9
diff --git a/sys-apps/hdparm/hdparm-9.57.ebuild b/sys-apps/hdparm/hdparm-9.57.ebuild
new file mode 100644
index 000000000000..71243dbbf090
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.57.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs flag-o-matic
+
+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 ~x86-linux"
+IUSE="static"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9.51-build.patch
+)
+
+src_prepare() {
+ default
+ use static && append-ldflags -static
+}
+
+src_configure() {
+ tc-export CC
+ export STRIP=:
+}
+
+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
+}