summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-02-05 16:12:27 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-02-05 16:12:45 +0100
commitb6b314719ac34cf92aa3c153ac33af8466eeb5d1 (patch)
tree842066e64cf12c959585505d06d7e20ff4164c42 /sys-apps
parentsys-process/htop: Removed old. (diff)
downloadgentoo-b6b314719ac34cf92aa3c153ac33af8466eeb5d1.tar.gz
gentoo-b6b314719ac34cf92aa3c153ac33af8466eeb5d1.tar.bz2
gentoo-b6b314719ac34cf92aa3c153ac33af8466eeb5d1.zip
sys-apps/hdparm: Bump to version 9.54
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hdparm/Manifest1
-rw-r--r--sys-apps/hdparm/hdparm-9.54.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
index 5913d89c36fe..d7d6a3b06af7 100644
--- a/sys-apps/hdparm/Manifest
+++ b/sys-apps/hdparm/Manifest
@@ -1,3 +1,4 @@
DIST hdparm-9.51.tar.gz 133725 BLAKE2B a507046d1026e901fb0feb9c61dac60d8bf8427f7ac62cbde58c8aeaed1f317b3d6a71c1de039516bf9b9b5dd221d87f1e52dc318b1f3b551bb1f40fbb26830c SHA512 144d073d697d05058e0240ff46e5517803baa8475e1d381a31c25179ceb1564bbb561ba7f9dee8654d80a3510e3bf2f2d2f4a267618f0ab27967f37626aef91c
DIST hdparm-9.52.tar.gz 140737 BLAKE2B 0614bfb0844f088b533951c4636bf92879c4ff7e9bb4d150965e936eaa2a4e0ffd350689fc359757a2f9e80a6c93cd111a25b8e2824737e01b4deb6e543b2868 SHA512 7c37d1381c1dd2d46762a8cdcaba2015b0b051ee7bd135dbcf6346def51b085cc2f9ecd7e1ebdc67e12ab4b765df548d4757b3700ed6e7514c2b13ed40661c59
DIST hdparm-9.53.tar.gz 137009 BLAKE2B 934cec5d88033c14e7f2d182f2e1dc9f9dc63583208720fb748fd29b99cd54253fdcf7379443043787457c3fdabb83ddb55295f9f4abe0635ae2e4fd7e296bd1 SHA512 7d293d603c6bda5fa8ce389b69e6738c4ba920846a1f7443c89edd2f5085b056541afb1824921da4b38be43f992ee9a8cb7006bcc3156d3e5224823276c4d0c7
+DIST hdparm-9.54.tar.gz 136764 BLAKE2B 8f57831f2f6e4594bfe56ac03079c8e6fad628c7518372bbfc1f0af707ee1842139cad1e0daa129a197625b4f3d389b7000c51354207047b1b19e5f1c312820d SHA512 d0c21fb01959f4afc846279d73bc19c80492b1ceda3effec33e87f74e06a02222e724ad06e5627bcd9847165684b4815272d760486b03f5ac75843edd0e1ae01
diff --git a/sys-apps/hdparm/hdparm-9.54.ebuild b/sys-apps/hdparm/hdparm-9.54.ebuild
new file mode 100644
index 000000000000..51d242156c52
--- /dev/null
+++ b/sys-apps/hdparm/hdparm-9.54.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 ~arm-linux ~x86-linux"
+IUSE="static"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9.48-sysmacros.patch #580052
+ "${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
+}