diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-26 21:35:42 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-26 21:54:55 +0200 |
commit | 591da2a6543a4fd5f9550de034d4ef322d9886a2 (patch) | |
tree | 5556634d1f584df90790e1c1ade762b884c3694a /sys-apps/hdparm | |
parent | dev-python/pillow: Remove old (diff) | |
download | gentoo-591da2a6543a4fd5f9550de034d4ef322d9886a2.tar.gz gentoo-591da2a6543a4fd5f9550de034d4ef322d9886a2.tar.bz2 gentoo-591da2a6543a4fd5f9550de034d4ef322d9886a2.zip |
sys-apps/hdparm: Bump to version 9.61
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.61.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index e5b6718b411d..c7c03bb64ded 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -1,2 +1,3 @@ DIST hdparm-9.58.tar.gz 138845 BLAKE2B 29e2697afaedcfbb1d7dea2238f9477afd932d553166437abbf068b8b3f3a5445a0b8542714d8a15e3c64f42a794c2603fe626ed936b4dbdeb8e4fe63afc5f46 SHA512 42fb70f494aae4cc205ca68c3e883e1f4fc33e8ced1914e280e9f3faa7233d3f839e59178ec09ddb9d32e9d2bca122ce324645ecb5ac73defa284030ac7d3cea DIST hdparm-9.60.tar.gz 155220 BLAKE2B c09a2bd7a61a77d87f7bbd45881d5956392dbedf1f329be59049de68ee8491857b1958f8e5e85086ed53deaad37fc476cfb87f45bf27084719c07d25608ffdc0 SHA512 e40b3b48b409014acd0ec0bd7ff821e850b127627b1f5114c442eeaf0b93f02c6933f93a221037255499b741071c0a5cb4d9cf7f9a06ff92a416caf82673a0ed +DIST hdparm-9.61.tar.gz 139879 BLAKE2B b67ed28dad06870fed9fc7b7f1513887e17456babacf8b37530d0b90bc5ebef022dbe169b8729b215a94862d46e23cb667c173d54b7033a8ba7c7d4988494000 SHA512 d46c7681d9000d09a8f59b0b6084bb80118c806e124fbfe8903411aafb05101bb2134b8890bd96f1c542fa1061e660ceb546c369ce008961ca0d263eebd841ce diff --git a/sys-apps/hdparm/hdparm-9.61.ebuild b/sys-apps/hdparm/hdparm-9.61.ebuild new file mode 100644 index 000000000000..f0bb282156d7 --- /dev/null +++ b/sys-apps/hdparm/hdparm-9.61.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +} |