1 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=578456 |
2 |
--- |
3 |
sys-apps/hdparm/Manifest | 6 --- |
4 |
sys-apps/hdparm/files/hdparm-9.45-musl.patch | 35 ---------------- |
5 |
sys-apps/hdparm/files/hdparm-conf.d.3 | 26 ------------ |
6 |
sys-apps/hdparm/files/hdparm-init-8 | 61 ---------------------------- |
7 |
sys-apps/hdparm/hdparm-9.45-r99.ebuild | 42 ------------------- |
8 |
sys-apps/hdparm/metadata.xml | 11 ----- |
9 |
6 files changed, 181 deletions(-) |
10 |
delete mode 100644 sys-apps/hdparm/Manifest |
11 |
delete mode 100644 sys-apps/hdparm/files/hdparm-9.45-musl.patch |
12 |
delete mode 100644 sys-apps/hdparm/files/hdparm-conf.d.3 |
13 |
delete mode 100644 sys-apps/hdparm/files/hdparm-init-8 |
14 |
delete mode 100644 sys-apps/hdparm/hdparm-9.45-r99.ebuild |
15 |
delete mode 100644 sys-apps/hdparm/metadata.xml |
16 |
|
17 |
diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest |
18 |
deleted file mode 100644 |
19 |
index f76e682..0000000 |
20 |
--- a/sys-apps/hdparm/Manifest |
21 |
+++ /dev/null |
22 |
@@ -1,6 +0,0 @@ |
23 |
-AUX hdparm-9.45-musl.patch 1096 SHA256 8fc853886d40814cfcd21669cf261d122ed8f1903a2405c36f13943a3bb97da8 SHA512 2518f3e447bb16ff02e8bc0d0d219ce88be6c48ea26f86c5fad3848377867a3bb8421bd3e349dc03716a6d28c4d18d6e05586c4e1b2f82bd9288af24af746631 WHIRLPOOL c780dac1557c1147bbac4443191488a9fbcee03441f8d38570575ffda9ebdc3b40056a2de2595c3a7035f4ad6495f39f3929b4b0c3cdfdbdef23ccd533bc70a6 |
24 |
-AUX hdparm-conf.d.3 872 SHA256 37c95ff723fa578e9039613d09dbf790d99113a318c065422986c744519214e9 SHA512 968c6b9d26a71bf724728c259d35a499a644496875eac255dcac3cb4a7e5cadb677a4f6e5e0f8bbd7e1826b6fb77cb39af15b11d1e59b3e9daf9ba442b9e6f02 WHIRLPOOL 110d330860c4f5e3b1626b85ab369a02e5c092acf656edc845a2f311b5349644317ec2021063a0fb977d3b9851e0bb9c54fd66e814a080d6af3aa0f05fbd658b |
25 |
-AUX hdparm-init-8 1366 SHA256 f06714b70d9c14f9e55cb21c12a79d9bd9e9c04647751eaf2fdf57381fd7de62 SHA512 39bdd79fcccd900370951f849ab425d2de01cedb063ec51a135013aaa7e5eacef9f5e89d936d677e920b17ad6a5052d812648f00048e672d6f26c6581c024c3f WHIRLPOOL 0550594f3abe7ca9498495c19abbb505edf3ac8c8531f10444a132070756c9f02569a250cd3c957f0b4cf33810dd7b3ab3a10b37d9814ec785a0596c8ee561fe |
26 |
-DIST hdparm-9.45.tar.gz 129410 SHA256 23b01caa56a995cf0897877b6aff98ea622a5df255bc2894b1a7693387f38669 SHA512 2692382f16fe9a87b7c9673bea44b8a9512b2449aaf18090f09c9e761fadc153f71d9779d063218f6951797649c0758f97242b7327da6653ea53991bf3da9eb8 WHIRLPOOL 6c424e265b7845afeff26f87654fbefe7d563404f2dee59f976594a87b375124262864305a14655bf5379e77e21bea0d8fb179e099374d7e8f952199f569ee58 |
27 |
-EBUILD hdparm-9.45-r99.ebuild 953 SHA256 292d3e5782c92375b907465276238860866dd2ddd1fb3c960136a71819fd3787 SHA512 3e9daf297361a50a566d39f89c5c93b067a05844fae9b7964c9ef644ddac0eefa0c74561279993957ccc5a23cdaa5ccdddb92e73f805434de16a3254e2477ce6 WHIRLPOOL c40a19b57f75590c089120988fc972b3b298ca4cc2c6891d74a3dc7c02d680eb2c2f0930f1f497e09c1f4c42f0ec4c90ed4db5b035598d34a80491ee5a5c42ef |
28 |
-MISC metadata.xml 326 SHA256 7be17151b3f5f5c65b8edad44e9c49ac62d306f856a257b67e0f01a1d6b1796d SHA512 39219fcef0756910c51e804cf94170408208840e7b88d99b4583f8fcfb02e1664358f9d4bf4c3f1a1a619b6a87852bc4831c93f10215500842023132a85c2287 WHIRLPOOL 0c72b42d0ce47a7985115e1f65cd3a25bee06d41807b746e32966d69de586d4a84e22ffba08d1fbe0f0526d80074d8433813652e4512cadee0bbc847dac19e1b |
29 |
diff --git a/sys-apps/hdparm/files/hdparm-9.45-musl.patch b/sys-apps/hdparm/files/hdparm-9.45-musl.patch |
30 |
deleted file mode 100644 |
31 |
index a9fe0aa..0000000 |
32 |
--- a/sys-apps/hdparm/files/hdparm-9.45-musl.patch |
33 |
+++ /dev/null |
34 |
@@ -1,35 +0,0 @@ |
35 |
-diff -ur a/hdparm-9.45/fallocate.c b/hdparm-9.45/fallocate.c |
36 |
---- a/hdparm-9.45/fallocate.c 2010-10-04 20:38:39.000000000 -0100 |
37 |
-+++ b/hdparm-9.45/fallocate.c 2015-01-28 21:19:59.201795557 -0100 |
38 |
-@@ -27,7 +27,7 @@ |
39 |
- err = EINVAL; |
40 |
- #else |
41 |
- int fd; |
42 |
-- loff_t offset = 0, len; |
43 |
-+ off_t offset = 0, len; |
44 |
- int mode = 0; |
45 |
- |
46 |
- fd = open(path, O_WRONLY|O_CREAT|O_EXCL, 0600); |
47 |
-diff -ur a/hdparm-9.45/hdparm.h b/hdparm-9.45/hdparm.h |
48 |
---- a/hdparm-9.45/hdparm.h 2014-09-27 14:31:18.000000000 -0100 |
49 |
-+++ b/hdparm-9.45/hdparm.h 2015-01-28 21:19:08.662427386 -0100 |
50 |
-@@ -1,7 +1,7 @@ |
51 |
- /* Some prototypes for extern functions. */ |
52 |
- |
53 |
- //#undef __KERNEL_STRICT_NAMES |
54 |
--#include <linux/types.h> |
55 |
-+#include <sys/types.h> |
56 |
- |
57 |
- #if !defined(__GNUC__) && !defined(__attribute__) |
58 |
- #define __attribute__(x) |
59 |
-diff -ur a/hdparm-9.45/sysfs.c b/hdparm-9.45/sysfs.c |
60 |
---- a/hdparm-9.45/sysfs.c 2010-10-04 20:39:20.000000000 -0100 |
61 |
-+++ b/hdparm-9.45/sysfs.c 2015-01-28 21:19:25.692214485 -0100 |
62 |
-@@ -13,6 +13,7 @@ |
63 |
- #include <fcntl.h> |
64 |
- #include <errno.h> |
65 |
- #include <dirent.h> |
66 |
-+#include <limits.h> |
67 |
- #include <sys/stat.h> |
68 |
- #include <linux/types.h> |
69 |
- |
70 |
diff --git a/sys-apps/hdparm/files/hdparm-conf.d.3 b/sys-apps/hdparm/files/hdparm-conf.d.3 |
71 |
deleted file mode 100644 |
72 |
index a1ae626..0000000 |
73 |
--- a/sys-apps/hdparm/files/hdparm-conf.d.3 |
74 |
+++ /dev/null |
75 |
@@ -1,26 +0,0 @@ |
76 |
-# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm |
77 |
- |
78 |
-# |
79 |
-# Note that options such as -y which force *immediate* power saving options |
80 |
-# should generally not be placed here. The hdparm init.d script may run at |
81 |
-# anytime with respect to other init.d scripts that do system wide drive |
82 |
-# scans (like the hald script), so they will merely get spun right back up. |
83 |
-# If you wish to use these options, please use the local.start init.d script |
84 |
-# instead so that you're guaranteed that it will run last. |
85 |
-# |
86 |
- |
87 |
-# You can either set hdparm arguments for each drive using hdX_args, |
88 |
-# discX_args, cdromX_args and genericX_args, e.g. |
89 |
-# |
90 |
-# hda_args="-d1 -X66" |
91 |
-# disc1_args="-d1" |
92 |
-# cdrom0_args="-d1" |
93 |
- |
94 |
-# or you can set options for all PATA drives |
95 |
-pata_all_args="-d1" |
96 |
- |
97 |
-# or you can set options for all SATA drives |
98 |
-sata_all_args="" |
99 |
- |
100 |
-# or, you can set hdparm options for all drives |
101 |
-all_args="" |
102 |
diff --git a/sys-apps/hdparm/files/hdparm-init-8 b/sys-apps/hdparm/files/hdparm-init-8 |
103 |
deleted file mode 100644 |
104 |
index 9bf2385..0000000 |
105 |
--- a/sys-apps/hdparm/files/hdparm-init-8 |
106 |
+++ /dev/null |
107 |
@@ -1,61 +0,0 @@ |
108 |
-#!/sbin/runscript |
109 |
-# Copyright 1999-2012 Gentoo Foundation |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
-# $Id$ |
112 |
- |
113 |
-depend() { |
114 |
- before bootmisc |
115 |
-} |
116 |
- |
117 |
-do_hdparm() { |
118 |
- local e= |
119 |
- eval e=\$${extra_args} |
120 |
- [ -z "${args}${all_args}${e}" ] && return 0 |
121 |
- |
122 |
- if [ -n "${args:=${all_args} ${e}}" ] ; then |
123 |
- local orgdevice=$(readlink -f "${device}") |
124 |
- if [ -b "${orgdevice}" ] ; then |
125 |
- ebegin "Running hdparm on ${device}" |
126 |
- hdparm ${args} "${device}" > /dev/null |
127 |
- eend $? |
128 |
- fi |
129 |
- fi |
130 |
-} |
131 |
- |
132 |
-scan_nondevfs() { |
133 |
- # non-devfs compatible system |
134 |
- local device |
135 |
- |
136 |
- for device in /dev/hd* /dev/sd* /dev/cdrom* ; do |
137 |
- [ -e "${device}" ] || continue |
138 |
- case "${device}" in |
139 |
- *[0-9]) continue ;; |
140 |
- /dev/hd*) extra_args="pata_all_args" ;; |
141 |
- /dev/sd*) extra_args="sata_all_args" ;; |
142 |
- *) extra_args="_no_xtra_args" ;; |
143 |
- esac |
144 |
- |
145 |
- # check that the block device really exists by |
146 |
- # opening it for reading |
147 |
- local errmsg= status= nomed=1 |
148 |
- errmsg=$(export LC_ALL=C ; : 2>&1 <"${device}") |
149 |
- status=$? |
150 |
- case ${errmsg} in |
151 |
- *": No medium found") nomed=0;; |
152 |
- esac |
153 |
- if [ -b "${device}" ] && [ "${status}" = "0" -o "${nomed}" = "0" ] ; then |
154 |
- local conf_var="${device##*/}_args" |
155 |
- eval args=\$${conf_var} |
156 |
- do_hdparm |
157 |
- fi |
158 |
- done |
159 |
-} |
160 |
- |
161 |
-start() { |
162 |
- if get_bootparam "nohdparm" ; then |
163 |
- ewarn "Skipping hdparm init as requested in kernel cmdline" |
164 |
- return 0 |
165 |
- fi |
166 |
- |
167 |
- scan_nondevfs |
168 |
-} |
169 |
diff --git a/sys-apps/hdparm/hdparm-9.45-r99.ebuild b/sys-apps/hdparm/hdparm-9.45-r99.ebuild |
170 |
deleted file mode 100644 |
171 |
index 1503008..0000000 |
172 |
--- a/sys-apps/hdparm/hdparm-9.45-r99.ebuild |
173 |
+++ /dev/null |
174 |
@@ -1,42 +0,0 @@ |
175 |
-# Copyright 1999-2016 Gentoo Foundation |
176 |
-# Distributed under the terms of the GNU General Public License v2 |
177 |
-# $Id$ |
178 |
- |
179 |
-EAPI="4" |
180 |
- |
181 |
-inherit toolchain-funcs flag-o-matic |
182 |
- |
183 |
-DESCRIPTION="Utility to change hard drive performance parameters" |
184 |
-HOMEPAGE="http://sourceforge.net/projects/hdparm/" |
185 |
-SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" |
186 |
- |
187 |
-LICENSE="BSD GPL-2" # GPL-2 only |
188 |
-SLOT="0" |
189 |
-KEYWORDS="amd64 arm ~mips ppc x86" |
190 |
-IUSE="static" |
191 |
- |
192 |
-src_prepare() { |
193 |
- use static && append-ldflags -static |
194 |
- sed -i \ |
195 |
- -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ |
196 |
- -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ |
197 |
- Makefile || die "sed" |
198 |
- epatch "${FILESDIR}"/${P}-musl.patch |
199 |
-} |
200 |
- |
201 |
-src_compile() { |
202 |
- emake STRIP=: CC="$(tc-getCC)" |
203 |
-} |
204 |
- |
205 |
-src_install() { |
206 |
- into / |
207 |
- dosbin hdparm contrib/idectl |
208 |
- |
209 |
- newinitd "${FILESDIR}"/hdparm-init-8 hdparm |
210 |
- newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm |
211 |
- |
212 |
- doman hdparm.8 |
213 |
- dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig |
214 |
- docinto wiper |
215 |
- dodoc wiper/{README.txt,wiper.sh} |
216 |
-} |
217 |
diff --git a/sys-apps/hdparm/metadata.xml b/sys-apps/hdparm/metadata.xml |
218 |
deleted file mode 100644 |
219 |
index dc7b624..0000000 |
220 |
--- a/sys-apps/hdparm/metadata.xml |
221 |
+++ /dev/null |
222 |
@@ -1,11 +0,0 @@ |
223 |
-<?xml version="1.0" encoding="UTF-8"?> |
224 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
225 |
-<pkgmetadata> |
226 |
-<maintainer type="project"> |
227 |
- <email>base-system@g.o</email> |
228 |
- <name>Gentoo Base System</name> |
229 |
-</maintainer> |
230 |
-<upstream> |
231 |
- <remote-id type="sourceforge">hdparm</remote-id> |
232 |
-</upstream> |
233 |
-</pkgmetadata> |
234 |
-- |
235 |
2.7.3 |