Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hdparm/, sys-apps/hdparm/files/
Date: Wed, 28 Nov 2018 09:06:53
Message-Id: 1543396000.de2c1b665b20ad6fa61b2ba9fd4fcaa8860761c8.polynomial-c@gentoo
1 commit: de2c1b665b20ad6fa61b2ba9fd4fcaa8860761c8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 28 08:59:26 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 28 09:06:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de2c1b66
7
8 sys-apps/hdparm: Removed old.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/hdparm/Manifest | 1 -
14 sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch | 23 ------------
15 sys-apps/hdparm/hdparm-9.52.ebuild | 44 -----------------------
16 3 files changed, 68 deletions(-)
17
18 diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest
19 index e8b3f3c22d1..8f621eb7d10 100644
20 --- a/sys-apps/hdparm/Manifest
21 +++ b/sys-apps/hdparm/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST hdparm-9.52.tar.gz 140737 BLAKE2B 0614bfb0844f088b533951c4636bf92879c4ff7e9bb4d150965e936eaa2a4e0ffd350689fc359757a2f9e80a6c93cd111a25b8e2824737e01b4deb6e543b2868 SHA512 7c37d1381c1dd2d46762a8cdcaba2015b0b051ee7bd135dbcf6346def51b085cc2f9ecd7e1ebdc67e12ab4b765df548d4757b3700ed6e7514c2b13ed40661c59
24 DIST hdparm-9.56.tar.gz 137213 BLAKE2B ffea04fb2cb14fd9ee01f0583c5fbe8d0c24d3dcecaa68750653e0475d97b86f1a39bde43ca1feb68f393606613c6a4cc8090e714eb60b1a30e223929b1fcadd SHA512 5dee7211a2528920bd197d45217a7b58df933c2500d224d39a8bb89c4d3f340962953e17b7b5f66fd52205a3a3b225d5bc0b75fc7af0f064f8ea092b55090b03
25 DIST hdparm-9.58.tar.gz 138845 BLAKE2B 29e2697afaedcfbb1d7dea2238f9477afd932d553166437abbf068b8b3f3a5445a0b8542714d8a15e3c64f42a794c2603fe626ed936b4dbdeb8e4fe63afc5f46 SHA512 42fb70f494aae4cc205ca68c3e883e1f4fc33e8ced1914e280e9f3faa7233d3f839e59178ec09ddb9d32e9d2bca122ce324645ecb5ac73defa284030ac7d3cea
26
27 diff --git a/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch b/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch
28 deleted file mode 100644
29 index 98a08c7d36d..00000000000
30 --- a/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch
31 +++ /dev/null
32 @@ -1,23 +0,0 @@
33 -https://bugs.gentoo.org/580052
34 -https://sourceforge.net/p/hdparm/patches/44/
35 -
36 ---- a/geom.c
37 -+++ b/geom.c
38 -@@ -15,6 +15,7 @@
39 - #include <errno.h>
40 - #include <dirent.h>
41 - #include <sys/stat.h>
42 -+#include <sys/sysmacros.h>
43 - #include <sys/ioctl.h>
44 - #include <linux/types.h>
45 - #include <linux/fs.h>
46 ---- a/sysfs.c
47 -+++ b/sysfs.c
48 -@@ -15,6 +15,7 @@
49 - #include <dirent.h>
50 - #include <limits.h>
51 - #include <sys/stat.h>
52 -+#include <sys/sysmacros.h>
53 - #include <linux/types.h>
54 -
55 - #include "hdparm.h"
56
57 diff --git a/sys-apps/hdparm/hdparm-9.52.ebuild b/sys-apps/hdparm/hdparm-9.52.ebuild
58 deleted file mode 100644
59 index 6bcd2b516c0..00000000000
60 --- a/sys-apps/hdparm/hdparm-9.52.ebuild
61 +++ /dev/null
62 @@ -1,44 +0,0 @@
63 -# Copyright 1999-2018 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=5
67 -
68 -inherit toolchain-funcs flag-o-matic eutils
69 -
70 -DESCRIPTION="Utility to change hard drive performance parameters"
71 -HOMEPAGE="https://sourceforge.net/projects/hdparm/"
72 -SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz"
73 -
74 -LICENSE="BSD GPL-2" # GPL-2 only
75 -SLOT="0"
76 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
77 -IUSE="static"
78 -
79 -PATCHES=(
80 - "${FILESDIR}"/${PN}-9.48-sysmacros.patch #580052
81 - "${FILESDIR}"/${PN}-9.51-build.patch
82 -)
83 -
84 -src_prepare() {
85 - epatch "${PATCHES[@]}"
86 - use static && append-ldflags -static
87 -}
88 -
89 -src_configure() {
90 - tc-export CC
91 - export STRIP=:
92 -}
93 -
94 -src_install() {
95 - into /
96 - dosbin hdparm contrib/idectl
97 -
98 - newinitd "${FILESDIR}"/hdparm-init-8 hdparm
99 - newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm
100 -
101 - doman hdparm.8
102 - dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig
103 - docinto wiper
104 - dodoc wiper/{README.txt,wiper.sh}
105 - docompress -x /usr/share/doc/${PF}/wiper/wiper.sh
106 -}