diff options
author | Sam James <sam@gentoo.org> | 2022-09-08 05:34:27 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-08 05:34:27 +0100 |
commit | 1ec80664e427f5ce08cf332da772dba7ffbac6d4 (patch) | |
tree | 3e8694bcd86f99d167f36eadfe3d26efad157ff4 /sys-apps/hdparm | |
parent | net-analyzer/wireshark: add 3.6.8 (diff) | |
download | gentoo-1ec80664e427f5ce08cf332da772dba7ffbac6d4.tar.gz gentoo-1ec80664e427f5ce08cf332da772dba7ffbac6d4.tar.bz2 gentoo-1ec80664e427f5ce08cf332da772dba7ffbac6d4.zip |
sys-apps/hdparm: add 9.65
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r-- | sys-apps/hdparm/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-9.65.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index b8dd6b7e17db..296abbef6274 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -1,2 +1,3 @@ DIST hdparm-9.63.tar.gz 140252 BLAKE2B 41ee3dda11f17ec9c125b7d680f07ca2d88c3692e2436b8d2550dbd58546b1dde8e61cdf5312c5b09d687dad81826bd848c8eabcb3e01ab09ac6cfb082699238 SHA512 1d09dc2c79c31f45fa242dd5bf259e84281d1464e49ada9fd53bb6d58cb0458046e534a93f9d6de18478ca5db50b6d36ecbe5b784c0c681a1db29f15fadd525c DIST hdparm-9.64.tar.gz 140307 BLAKE2B 0196f3ccec4005c542b834d8426cc6f64694783da3d4a064e898e25d17aab3aa0d9621276607169f2104c9a9804f9020554d836ded9efb16367a8ac4c9c9b146 SHA512 c561825143d8872cc2940bd6ba72162f91792bd63b6a8511058e79cc96feb6a4a9d22275581ef2eefab64a4035587b3a63175ccc58fa46f1059b4680d9d58ec4 +DIST hdparm-9.65.tar.gz 140425 BLAKE2B 79b1c16e7807f82a992ed7f22faef57045c56da4a281fbd8db3b8846b193ccc4b42329fa6abbebf8b652fbefb13aa0f18dfa726e802e8e1a45c94f414fb303b9 SHA512 4ffc8902b90cee10d68af8ddb9f3b9454d523ecd49cdaaed254b4d7a999462a8ad5ec1bb5d7684b09fefa41b5941ab533b167dad290003b51c795a633ca88913 diff --git a/sys-apps/hdparm/hdparm-9.65.ebuild b/sys-apps/hdparm/hdparm-9.65.ebuild new file mode 100644 index 000000000000..16d39cbe5836 --- /dev/null +++ b/sys-apps/hdparm/hdparm-9.65.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +# GPL-2 only +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static" + +PATCHES=( + "${FILESDIR}"/${PN}-9.60-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 +} |