commit:     fb97f38c862af403c6148a2e6660d48500835818
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 14 09:19:12 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jun 14 09:19:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb97f38c

sys-apps/hdparm: drop 9.58

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-apps/hdparm/Manifest                      |  1 -
 sys-apps/hdparm/files/hdparm-9.51-build.patch | 32 --------------------
 sys-apps/hdparm/hdparm-9.58.ebuild            | 43 ---------------------------
 3 files changed, 76 deletions(-)

diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
index 0e2e651d774..9f2f81614d1 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 2c6bdba68e3..00000000000
--- 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 d03b4546236..00000000000
--- 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
-}

Reply via email to