diff options
author | David Seifert <soap@gentoo.org> | 2021-06-14 11:19:12 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-14 11:19:12 +0200 |
commit | fb97f38c862af403c6148a2e6660d48500835818 (patch) | |
tree | 44d9597bdb1967749267bbfd2b4aca3aa07e50b8 /sys-apps/hdparm | |
parent | sys-apps/cracklib-words: drop 2.9.6 (diff) | |
download | gentoo-fb97f38c862af403c6148a2e6660d48500835818.tar.gz gentoo-fb97f38c862af403c6148a2e6660d48500835818.tar.bz2 gentoo-fb97f38c862af403c6148a2e6660d48500835818.zip |
sys-apps/hdparm: drop 9.58
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/hdparm')
-rw-r--r-- | sys-apps/hdparm/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/hdparm/files/hdparm-9.51-build.patch | 32 | ||||
-rw-r--r-- | sys-apps/hdparm/hdparm-9.58.ebuild | 43 |
3 files changed, 0 insertions, 76 deletions
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index 0e2e651d7742..9f2f81614d13 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -1,2 +1 @@ -DIST hdparm-9.58.tar.gz 138845 BLAKE2B 29e2697afaedcfbb1d7dea2238f9477afd932d553166437abbf068b8b3f3a5445a0b8542714d8a15e3c64f42a794c2603fe626ed936b4dbdeb8e4fe63afc5f46 SHA512 42fb70f494aae4cc205ca68c3e883e1f4fc33e8ced1914e280e9f3faa7233d3f839e59178ec09ddb9d32e9d2bca122ce324645ecb5ac73defa284030ac7d3cea DIST hdparm-9.62.tar.gz 139976 BLAKE2B 83ea59e35eeec7fa2a9e2f9f4b7a9a0d44cd4366d95e529c08bf38b04f6d78862bfefdfb905d4fceadbb81453ee92a60aa55db8d4c0bd164ec67181b46f197bf SHA512 ac6c4d285d081ecd8c7b231192a5a0fc268d934eeeb59794ae9a9db01ecbdd0afa0cade6ed42a1fd26ad543c52a3b380ac4f1b679992d167becb4ed6251fd369 diff --git a/sys-apps/hdparm/files/hdparm-9.51-build.patch b/sys-apps/hdparm/files/hdparm-9.51-build.patch deleted file mode 100644 index 2c6bdba68e3f..000000000000 --- a/sys-apps/hdparm/files/hdparm-9.51-build.patch +++ /dev/null @@ -1,32 +0,0 @@ -* drop hardcoded -O2 flag from CFLAGS -* drop hardcoded -s (strip) flag from LDFLAGS, and respect user LDFLAGS -* fix hardcoded `make` and hardcoded -j2 flags -* respect CFLAGS when linking - ---- hdparm-9.51/Makefile -+++ hdparm-9.51/Makefile -@@ -13,9 +13,8 @@ - CC ?= gcc - STRIP ?= strip - --CFLAGS := -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs $(CFLAGS) -+CFLAGS += -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs - --LDFLAGS = -s - #LDFLAGS = -s -static - INSTALL = install - INSTALL_DATA = $(INSTALL) -m 644 -@@ -24,11 +23,10 @@ - - OBJS = hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o - --all: -- $(MAKE) -j4 hdparm -+all: hdparm - - hdparm: hdparm.h sgio.h $(OBJS) -- $(CC) $(LDFLAGS) -o hdparm $(OBJS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o hdparm $(OBJS) - $(STRIP) hdparm - - hdparm.o: hdparm.h sgio.h diff --git a/sys-apps/hdparm/hdparm-9.58.ebuild b/sys-apps/hdparm/hdparm-9.58.ebuild deleted file mode 100644 index d03b4546236f..000000000000 --- a/sys-apps/hdparm/hdparm-9.58.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 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 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 -} |