Gentoo Archives: gentoo-musl

From: Felix Janda <felix.janda@××××××.de>
To: gentoo-musl@l.g.o
Subject: [gentoo-musl] [PATCH 2/7] sys-process/procps: in tree version works
Date: Sun, 10 Jul 2016 19:42:02
Message-Id: 20160710193921.GB14873@nyan
1 Gentoo-Bug: https://bugs.gentoo.org/583978
2 ---
3 sys-process/procps/Manifest | 14 -----
4 .../procps/files/procps-3.3.6-error_at_line.patch | 12 ----
5 .../procps/files/procps-3.3.8-kill-neg-pid.patch | 46 ----------------
6 .../procps/files/procps-3.3.8-no-GLOB_TILDE.patch | 12 ----
7 .../procps/files/procps-3.3.8-no-error_h.patch | 54 ------------------
8 .../procps/files/procps-3.3.9-configure.patch | 13 -----
9 .../procps/files/procps-3.3.9-no-error_h.patch | 64 ----------------------
10 sys-process/procps/metadata.xml | 15 -----
11 sys-process/procps/procps-3.3.10-r99.ebuild | 63 ---------------------
12 sys-process/procps/procps-3.3.8-r99.ebuild | 56 -------------------
13 sys-process/procps/procps-3.3.9-r99.ebuild | 56 -------------------
14 11 files changed, 405 deletions(-)
15 delete mode 100644 sys-process/procps/Manifest
16 delete mode 100644 sys-process/procps/files/procps-3.3.6-error_at_line.patch
17 delete mode 100644 sys-process/procps/files/procps-3.3.8-kill-neg-pid.patch
18 delete mode 100644 sys-process/procps/files/procps-3.3.8-no-GLOB_TILDE.patch
19 delete mode 100644 sys-process/procps/files/procps-3.3.8-no-error_h.patch
20 delete mode 100644 sys-process/procps/files/procps-3.3.9-configure.patch
21 delete mode 100644 sys-process/procps/files/procps-3.3.9-no-error_h.patch
22 delete mode 100644 sys-process/procps/metadata.xml
23 delete mode 100644 sys-process/procps/procps-3.3.10-r99.ebuild
24 delete mode 100644 sys-process/procps/procps-3.3.8-r99.ebuild
25 delete mode 100644 sys-process/procps/procps-3.3.9-r99.ebuild
26
27 diff --git a/sys-process/procps/Manifest b/sys-process/procps/Manifest
28 deleted file mode 100644
29 index 0e14650..0000000
30 --- a/sys-process/procps/Manifest
31 +++ /dev/null
32 @@ -1,14 +0,0 @@
33 -AUX procps-3.3.6-error_at_line.patch 325 SHA256 642eb70e9165f3cf18b7ca3afe370f93991b32bc0271c9e1064c774dd2fadbb3 SHA512 fd0fd437deb7c1ac683ca90f3e94d14b35f3e9d19422e84f59b74d7530f204a04a289e5397d986536adffb2a30611ec5a8486bc9f01a32708d9025d3fb7c98b9 WHIRLPOOL f0f2da5452a8a1817a48a76723f6d02eddb856e8e69bac8ec8d87891a7f94f10c8945dba5c501cdc0d3f52fe690940524d0ae2c32868a3aa48155e54ffd2c3af
34 -AUX procps-3.3.8-kill-neg-pid.patch 1446 SHA256 847c21f6619c7aa0f2847726a17595f986ec2fe0f361d95e17812639abe32a79 SHA512 3ed4e83d81f7dd574ff68bbcae9ad9f8649a39d46a17de5fd4297f215d8f70cd28e415b1d3c7b5142e7719343af28f4b393061a60eb012caece81dfe5ff6c271 WHIRLPOOL cf452118312e60a0bab7a4ec87bed9a9d2f5fb8bb563769a0430f11c72348e5be79bdfc031f67f4e97e0bf9b32f6ccd1ac590f392c95ee935b77b857ce1b1739
35 -AUX procps-3.3.8-no-GLOB_TILDE.patch 466 SHA256 17b3e7360d740c97b842e1c68cd863bb66b13b1539b6ead7435d75c1daf5f48a SHA512 9fc13cff6c310080f5af8a2fa83e88d88ff741046c988ae806ce010b37cfd38a770726bc98bb50b9532c5c1679f7da45b12803f55e4e40638daf4dd55c58b84f WHIRLPOOL d791950607fd06a8bfeccf21fd17a454f3c3a207f562bcebdd1c521f0afecdd8a358dec8a4277951eed0f71a7210ba89bae2f9e8887043e39169aab7bd9c6269
36 -AUX procps-3.3.8-no-error_h.patch 1394 SHA256 2535f3cafc047aff6ddb879dc31479d95b445130471934a48d9aaa25835b91f3 SHA512 0c4dd060f93dca15fc36a0a4640909dd1782dc7af96ada62ec42a0d4f2831ccd1e274c14136d0df679b7066316dc44203267c077a875f6183df131b90c6f2a26 WHIRLPOOL 8232a4c92687ea8334ab933947fee107a1e7d712dbd3dbff4030353e41fd83384772b24a6acaa8335245205d06dedcf3ad28a5f642dd141882a73332d5c36920
37 -AUX procps-3.3.9-configure.patch 462 SHA256 d5d1274b7a41d2e2c6ccdada90f5107cbbc416b6b977e44da3bde2e299085ab2 SHA512 197c22cd86e601f77a6fa86d6bfcae6019982d4faad50aaf1c002d093f961cb8f664169b8b90f17572511c7fdd2b3afe6cc655793abf8bce4257c603be47ade5 WHIRLPOOL 6ee6d5ad2c24a17722613847fced3e6d962f1a4f4af3f4bc9c87aec269ee43f825effcb5308f496a9c78f8ea61ca8295ff598142ee005abeaee62a9b76ee0da9
38 -AUX procps-3.3.9-no-error_h.patch 1587 SHA256 0ed0d24f05ff23f83bd8cafa45e07cd015d45b394dadad76f3deea2316211465 SHA512 f05db99409189c3e284d65faa7ca9d267ab8cb111d5958bb722f57919fe45cbb00332d0c1b1f9f666b492ba657e0ea6bf931b9c71d4dfc5b69775fcf18acf480 WHIRLPOOL f41d32288b340e8de389034b60afd6b3b011f565e63b27b98d429fe4be1f73e90a72f35e550706dc5d5f856e4b9b540b6cfcbc4ec504ae3aea9ff374d86027d8
39 -DIST procps-3.3.8-respect_epipe_in_fileutils.patch 1412 SHA256 4a56c88697fa6099a62a4169838c9c04df2c2c2bbc08e9ad9953e5b00df16d68 SHA512 317fc8e7c3fbd280182f55b399a30b2cfbc72268590825ea323537361cd761776afe1486509cb04ae937287ccf11578def5aac2eaa0fe660d04f0357282d9c14 WHIRLPOOL f8fdac8a172037edf51e1e777374293848afaa2180adc35adce5bf8ebefceb37df30082b27f6d6f1f5a571ba0f84bdfff9fc6c2343f120ce5c80b2f52e1804ac
40 -DIST procps-ng-3.3.10.tar.xz 657232 SHA256 1759229cd0d97da3d200d5599c4ea82726d61fae9c4b7d3edd52c544962791b7 SHA512 cbfa49e79a88a8e7066a9c316ef089f15fa825c5bfbc22ab8a83f53c6f367a7c586cef9c403e360d373d824c471533a15ddb11cd30c561650e6879fe687e7e4f WHIRLPOOL 723dd1c00578a7fa7e3ff47bed60283c30850cc8ae8069c704ba648792809a67c5944dbfd9b7b0159e0be83215b61e6b71b2d76e65b3619aed54223900ffed9b
41 -DIST procps-ng-3.3.8.tar.xz 553056 SHA256 a4109cfb6fe3bcfb5a0efb37efe04d0c8ce858bff3820d48cc258bad41bed46b SHA512 63ba13f9ef0f4558748c6b2d1b0719a1173bd87e38279e3b052a10e207e1b808626d031f16dd65b05c55708366df7350cb0a64da8dc20e7f9f1fdc1cd2417c71 WHIRLPOOL 671860af1f028c9c8c7bb0c035db86e3e13d9d754801e7a3f19105710bb9720bbfa627e4e748b823192286319fe4e7e736c1af5a3fb34116cbe93386b0d2bed6
42 -DIST procps-ng-3.3.9.tar.xz 560812 SHA256 00f0cb0fadf968ddf605b0ef119846af07386629244d4f3da711a2cecf4e8663 SHA512 62c7270aa48b4346a3198f306d1cb8474f64650bfb67e8cc6c4d41923e50c31c95b3a0367a464823fb50a6137ec0c6352006292ac85b50caf730ec8ec35eb553 WHIRLPOOL dac97433a87badd40b46e3155bf0e30652ed2961a41bc8fca074357431301d250632215512ad752634c9c4f3273a1c75caba1ecf4f5a3c510bee155660dde166
43 -EBUILD procps-3.3.10-r99.ebuild 1793 SHA256 d1b4167a22d1ad0a5ca4f143760454e2fb3edfd22754ad0c7dc33e19fea5d309 SHA512 efbf7891204d4842cbe9a4e9e2b2c9d380a8eb25f325be9e3995f3b9c4515d307bed2240b5fb9dd1b19ed532f9b4778f4160e593c671d9bc1a69e524787a60ed WHIRLPOOL 6eacf550758d0f72705fbea9ab133808d74c2082b125cfcef2c70f24dc7a92b4ffec58810bc34645ab178b0a62dd5c014b8a985c4effe3b86d9bac7645c02fe4
44 -EBUILD procps-3.3.8-r99.ebuild 1708 SHA256 2d56b5c335a6ccc9a81e001e4aedaa126c234d7be1c5f1acb43faaa98f719149 SHA512 e7af787334c663b2f1de33e5fe51baa5ef972b088b77b78028b3ee13d1129bd2caf0c6c6107f5af93f5f78f55280462e4a6ebdc1bc1980eef904ea1b2c18aac8 WHIRLPOOL 2a4c2fcb4027d9feb5e947800d3be0bd049a045cc382ff1e2d418f215a7ac77ae4bf7990cd6ef348b142f565a1f1ef7bc2b5f22cf7ba500cd25ec1ab6b930986
45 -EBUILD procps-3.3.9-r99.ebuild 1589 SHA256 189ea98c0f0f7db46f6aa34c914783326ac13a6f67bf0282a65da342b0686016 SHA512 8f6763c6d7ca68389da4b22b7fac85c79051312b1facbca744221b7d34985177af7e42f05936da7e09bb5a2802b2048a24ec3ad936157b8c439a45387dd21441 WHIRLPOOL efd7173ed2400acd54eee3f4c0a5aa125c8a229f42c5d02ca7c63ae8d6dfc5cced46cf15c24821ba13dacaaaea4ae84ce2b236b25323211d08bd5da78c4a1a62
46 -MISC metadata.xml 521 SHA256 2ee3b62f25fdcfc88808ec134b7c8f1f8c3c584f4e2481ae0d3ac5040f180476 SHA512 399650761c1ac469e4588555b69dddb3ce8022922151ca657cf9b4e73f10461a79fcbb80a2781ed71409ffe6ca03e5979342cb93b6740d2cda4e0e0fda22f330 WHIRLPOOL de20c01b8270c61e06592afc4e69a08d23e1e19b273d8c6c96e7b6856c2aafd208e223e4575191152550a622bc353bdb282641506190879682cc8f8da21916ea
47 diff --git a/sys-process/procps/files/procps-3.3.6-error_at_line.patch b/sys-process/procps/files/procps-3.3.6-error_at_line.patch
48 deleted file mode 100644
49 index 4329a49..0000000
50 --- a/sys-process/procps/files/procps-3.3.6-error_at_line.patch
51 +++ /dev/null
52 @@ -1,12 +0,0 @@
53 -ps/display.c:65:7: warning: implicit declaration of function ‘error_at_line’ [-Wimplicit-function-declaration]
54 -
55 ---- ps/display.c
56 -+++ ps/display.c
57 -@@ -25,6 +25,7 @@
58 - #include <stdlib.h>
59 - #include <string.h>
60 - #include <unistd.h>
61 -+#include <error.h> /* error_at_line */
62 -
63 - #include <sys/sysmacros.h>
64 - #include <sys/types.h>
65 diff --git a/sys-process/procps/files/procps-3.3.8-kill-neg-pid.patch b/sys-process/procps/files/procps-3.3.8-kill-neg-pid.patch
66 deleted file mode 100644
67 index 0039748..0000000
68 --- a/sys-process/procps/files/procps-3.3.8-kill-neg-pid.patch
69 +++ /dev/null
70 @@ -1,46 +0,0 @@
71 -From 396cbc4cf36166217d877e2ff7e0a290758b0bc2 Mon Sep 17 00:00:00 2001
72 -From: Mike Frysinger <vapier@g.o>
73 -Date: Thu, 27 Jun 2013 18:37:17 -0400
74 -Subject: [PATCH] kill: fix -PID handling
75 -
76 -Commit 19b6f48990b02aeca211b480625b95b2033c1017 tried to fix -PID
77 -handling, but the new logic ends up skipping over the arg. This is
78 -because getopt increments optind after it processed the -PID (even
79 -though it was an unknown option). We need to decrement it by one
80 -so the loop at the end of the code will process it for us.
81 -
82 -I also fixed some whitespace errors in that same commit.
83 -
84 -URL: http://code.google.com/p/chromium/issues/detail?id=255209
85 -Signed-off-by: Mike Frysinger <vapier@g.o>
86 ----
87 - skill.c | 6 ++++--
88 - 1 file changed, 4 insertions(+), 2 deletions(-)
89 -
90 -diff --git a/skill.c b/skill.c
91 -index fb57305..074c5d7 100644
92 ---- a/skill.c
93 -+++ b/skill.c
94 -@@ -390,7 +390,7 @@ static void __attribute__ ((__noreturn__))
95 - else
96 - sigopt++;
97 -
98 -- opterr=0; /* suppress errors on -123 */
99 -+ opterr = 0; /* suppress errors on -123 */
100 - while (loop == 1 && (i = getopt_long(argc, argv, "l::Ls:hV", longopts, NULL)) != -1)
101 - switch (i) {
102 - case 'l':
103 -@@ -423,7 +423,9 @@ static void __attribute__ ((__noreturn__))
104 - xwarnx(_("invalid argument %c"), optopt);
105 - kill_usage(stderr);
106 - }
107 -- loop=0;
108 -+ /* We need to back off by one since getopt() ate the -PID */
109 -+ --optind;
110 -+ loop = 0;
111 - break;
112 - default:
113 - kill_usage(stderr);
114 ---
115 -1.8.2.1
116 -
117 diff --git a/sys-process/procps/files/procps-3.3.8-no-GLOB_TILDE.patch b/sys-process/procps/files/procps-3.3.8-no-GLOB_TILDE.patch
118 deleted file mode 100644
119 index 09af420..0000000
120 --- a/sys-process/procps/files/procps-3.3.8-no-GLOB_TILDE.patch
121 +++ /dev/null
122 @@ -1,12 +0,0 @@
123 -diff -Nuar procps-ng-3.3.8.orig/sysctl.c procps-ng-3.3.8/sysctl.c
124 ---- procps-ng-3.3.8.orig/sysctl.c 2013-05-25 21:39:41.000000000 +0000
125 -+++ procps-ng-3.3.8/sysctl.c 2014-01-17 16:28:37.241303653 +0000
126 -@@ -500,7 +500,7 @@
127 - int globerr;
128 - int j;
129 -
130 -- globerr = glob(filename, GLOB_NOCHECK | GLOB_TILDE, NULL, &globbuf);
131 -+ globerr = glob(filename, GLOB_NOCHECK, NULL, &globbuf);
132 - if (globerr != 0 && globerr != GLOB_NOMATCH)
133 - xerr(EXIT_FAILURE, _("glob failed"));
134 -
135 diff --git a/sys-process/procps/files/procps-3.3.8-no-error_h.patch b/sys-process/procps/files/procps-3.3.8-no-error_h.patch
136 deleted file mode 100644
137 index e6ca793..0000000
138 --- a/sys-process/procps/files/procps-3.3.8-no-error_h.patch
139 +++ /dev/null
140 @@ -1,54 +0,0 @@
141 -diff -Naur procps-ng-3.3.8.orig/ps/display.c procps-ng-3.3.8/ps/display.c
142 ---- procps-ng-3.3.8.orig/ps/display.c 2013-05-25 21:39:40.000000000 +0000
143 -+++ procps-ng-3.3.8/ps/display.c 2014-01-17 14:43:26.027950754 +0000
144 -@@ -25,7 +25,12 @@
145 - #include <stdlib.h>
146 - #include <string.h>
147 - #include <unistd.h>
148 -+
149 -+#if HAVE_ERROR_H
150 - #include <error.h>
151 -+#else
152 -+#include <err.h>
153 -+#endif
154 -
155 - #include <sys/sysmacros.h>
156 - #include <sys/types.h>
157 -@@ -63,7 +68,11 @@
158 - case SIGUSR2:
159 - exit(EXIT_FAILURE);
160 - default:
161 -+#if HAVE_ERROR_H
162 - error_at_line(0, 0, __FILE__, __LINE__, "%s", _("please report this bug"));
163 -+#else
164 -+ err(1, "%s:%d: %s", __FILE__, __LINE__, _("please report this bug"));
165 -+#endif
166 - signal(signo, SIG_DFL); /* allow core file creation */
167 - kill(getpid(), signo);
168 - }
169 ---- procps-ng-3.3.8.orig/ps/global.c 2013-05-25 21:39:40.000000000 +0000
170 -+++ procps-ng-3.3.8/ps/global.c 2014-01-17 14:42:00.972945998 +0000
171 -@@ -25,7 +27,12 @@
172 - #include <string.h>
173 - #include <termios.h>
174 - #include <unistd.h>
175 -+
176 -+#if HAVE_ERROR_H
177 - #include <error.h>
178 -+#else
179 -+#include <err.h>
180 -+#endif
181 -
182 - #include <sys/ioctl.h>
183 - #include <sys/stat.h>
184 -@@ -522,6 +529,10 @@
185 - unsigned int linenum,
186 - const char *message)
187 - {
188 -+#if HAVE_ERROR_H
189 - error_at_line(0, 0, filename, linenum, "%s", message);
190 -+#else
191 -+ err(1, "%s:%d: %s", filename, linenum, message);
192 -+#endif
193 - exit(EXIT_FAILURE);
194 - }
195 diff --git a/sys-process/procps/files/procps-3.3.9-configure.patch b/sys-process/procps/files/procps-3.3.9-configure.patch
196 deleted file mode 100644
197 index 4822f62..0000000
198 --- a/sys-process/procps/files/procps-3.3.9-configure.patch
199 +++ /dev/null
200 @@ -1,13 +0,0 @@
201 ---- a/procps-ng-3.3.9/configure.ac
202 -+++ b/procps-ng-3.3.9/configure.ac
203 -@@ -235,7 +235,9 @@
204 - else
205 - AC_SEARCH_LIBS([dlopen], [dl], [],
206 - [AC_MSG_ERROR([dynamic linking unavailable, circumvent with --disable-numa])])
207 -- DL_LIB="$ac_cv_search_dlopen"
208 -+ if test "$ac_cv_search_dlopen" != "none required" ; then
209 -+ DL_LIB="$ac_cv_search_dlopen"
210 -+ fi
211 - fi
212 - AC_SUBST([DL_LIB])
213 -
214 diff --git a/sys-process/procps/files/procps-3.3.9-no-error_h.patch b/sys-process/procps/files/procps-3.3.9-no-error_h.patch
215 deleted file mode 100644
216 index 070e1fe..0000000
217 --- a/sys-process/procps/files/procps-3.3.9-no-error_h.patch
218 +++ /dev/null
219 @@ -1,64 +0,0 @@
220 -diff -aur a/procps-ng-3.3.9/lib/nsutils.c b/procps-ng-3.3.9/lib/nsutils.c
221 ---- a/procps-ng-3.3.9/lib/nsutils.c
222 -+++ b/procps-ng-3.3.9/lib/nsutils.c
223 -@@ -1,5 +1,4 @@
224 - #include <errno.h>
225 --#include <error.h>
226 - #include <stdio_ext.h>
227 - #include <stdlib.h>
228 - #include <sys/types.h>
229 -diff -aur a/procps-ng-3.3.9/ps/display.c b/procps-ng-3.3.9/ps/display.c
230 ---- a/procps-ng-3.3.9/ps/display.c
231 -+++ b/procps-ng-3.3.9/ps/display.c
232 -@@ -25,7 +25,12 @@
233 - #include <stdlib.h>
234 - #include <string.h>
235 - #include <unistd.h>
236 -+
237 -+#if HAVE_ERROR_H
238 - #include <error.h>
239 -+#else
240 -+#include <err.h>
241 -+#endif
242 -
243 - #include <sys/sysmacros.h>
244 - #include <sys/types.h>
245 -@@ -63,7 +68,11 @@
246 - case SIGUSR2:
247 - exit(EXIT_FAILURE);
248 - default:
249 -+#if HAVE_ERROR_H
250 - error_at_line(0, 0, __FILE__, __LINE__, "%s", _("please report this bug"));
251 -+#else
252 -+ err(1, "%s:%d: %s", __FILE__, __LINE__, _("please report this bug"));
253 -+#endif
254 - signal(signo, SIG_DFL); /* allow core file creation */
255 - kill(getpid(), signo);
256 - }
257 -diff -aur a/procps-ng-3.3.9/ps/global.c b/procps-ng-3.3.9/ps/global.c
258 ---- a/procps-ng-3.3.9/ps/global.c
259 -+++ b/procps-ng-3.3.9/ps/global.c
260 -@@ -25,7 +25,12 @@
261 - #include <string.h>
262 - #include <termios.h>
263 - #include <unistd.h>
264 -+
265 -+#if HAVE_ERROR_H
266 - #include <error.h>
267 -+#else
268 -+#include <err.h>
269 -+#endif
270 -
271 - #include <sys/ioctl.h>
272 - #include <sys/stat.h>
273 -@@ -522,6 +527,10 @@
274 - unsigned int linenum,
275 - const char *message)
276 - {
277 -+#if HAVE_ERROR_H
278 - error_at_line(0, 0, filename, linenum, "%s", message);
279 -+#else
280 -+ err(1, "%s:%d: %s", filename, linenum, message);
281 -+#endif
282 - exit(EXIT_FAILURE);
283 - }
284 diff --git a/sys-process/procps/metadata.xml b/sys-process/procps/metadata.xml
285 deleted file mode 100644
286 index d98c01d..0000000
287 --- a/sys-process/procps/metadata.xml
288 +++ /dev/null
289 @@ -1,15 +0,0 @@
290 -<?xml version="1.0" encoding="UTF-8"?>
291 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
292 -<pkgmetadata>
293 -<maintainer type="project">
294 - <email>base-system@g.o</email>
295 - <name>Gentoo Base System</name>
296 -</maintainer>
297 -<use>
298 - <flag name="modern-top">Enables new startup defaults of top. Keeps old defaults if disabled</flag>
299 - <flag name="ncurses">Build programs that use ncurses: top, slabtop, watch</flag>
300 -</use>
301 -<upstream>
302 - <remote-id type="sourceforge">procps</remote-id>
303 -</upstream>
304 -</pkgmetadata>
305 diff --git a/sys-process/procps/procps-3.3.10-r99.ebuild b/sys-process/procps/procps-3.3.10-r99.ebuild
306 deleted file mode 100644
307 index 9d68a02..0000000
308 --- a/sys-process/procps/procps-3.3.10-r99.ebuild
309 +++ /dev/null
310 @@ -1,63 +0,0 @@
311 -# Copyright 1999-2016 Gentoo Foundation
312 -# Distributed under the terms of the GNU General Public License v2
313 -# $Id$
314 -
315 -EAPI="4"
316 -
317 -inherit eutils toolchain-funcs
318 -
319 -DESCRIPTION="standard informational utilities and process-handling tools"
320 -# http://packages.debian.org/sid/procps
321 -HOMEPAGE="http://procps.sourceforge.net/ http://gitorious.org/procps"
322 -# SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.xz"
323 -#FEDORA_HASH="0980646fa25e0be58f7afb6b98f79d74"
324 -#SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${PN}-ng/${PN}-ng-${PV}.tar.xz/${FEDORA_HASH}/${PN}-ng-${PV}.tar.xz"
325 -SRC_URI="http://dev.gentoo.org/~polynomial-c/${PN}-ng-${PV}.tar.xz"
326 -
327 -LICENSE="GPL-2"
328 -SLOT="0"
329 -KEYWORDS="amd64 arm ~mips x86"
330 -IUSE="+ncurses modern-top nls selinux static-libs systemd test"
331 -
332 -RDEPEND="!<sys-apps/sysvinit-2.88-r6
333 - ncurses? ( >=sys-libs/ncurses-5.7-r7 )
334 - selinux? ( sys-libs/libselinux )
335 - systemd? ( >=sys-apps/systemd-209 )"
336 -DEPEND="${RDEPEND}
337 - ncurses? ( virtual/pkgconfig )
338 - systemd? ( virtual/pkgconfig )
339 - test? ( dev-util/dejagnu )"
340 -
341 -S=${WORKDIR}/${PN}-ng-${PV}
342 -
343 -src_prepare() {
344 - epatch \
345 - "${FILESDIR}"/${PN}-3.3.8-kill-neg-pid.patch
346 - sed -i -e 's:systemd-login:systemd:' configure || die #501306
347 -}
348 -
349 -src_configure() {
350 - use elibc_musl && append-cppflags -D_XOPEN_SOURCE_EXTENDED
351 - econf \
352 - --exec-prefix="${EPREFIX}" \
353 - --docdir='$(datarootdir)'/doc/${PF} \
354 - --disable-watch8bit \
355 - $(use_enable modern-top) \
356 - $(use_with ncurses) \
357 - $(use_enable nls) \
358 - $(use_enable selinux libselinux) \
359 - $(use_enable static-libs static) \
360 - $(use_with systemd)
361 -}
362 -
363 -src_install() {
364 - default
365 - #dodoc sysctl.conf
366 -
367 - mv "${ED}"/usr/bin/pidof "${ED}"/bin/ || die
368 -
369 - # The configure script is completely whacked in the head
370 - mv "${ED}"/lib* "${ED}"/usr/ || die
371 - gen_usr_ldscript -a procps
372 - prune_libtool_files
373 -}
374 diff --git a/sys-process/procps/procps-3.3.8-r99.ebuild b/sys-process/procps/procps-3.3.8-r99.ebuild
375 deleted file mode 100644
376 index 3a40d96..0000000
377 --- a/sys-process/procps/procps-3.3.8-r99.ebuild
378 +++ /dev/null
379 @@ -1,56 +0,0 @@
380 -# Copyright 1999-2016 Gentoo Foundation
381 -# Distributed under the terms of the GNU General Public License v2
382 -# $Id$
383 -
384 -EAPI="4"
385 -
386 -inherit eutils toolchain-funcs flag-o-matic
387 -
388 -DESCRIPTION="standard informational utilities and process-handling tools"
389 -# http://packages.debian.org/sid/procps
390 -HOMEPAGE="http://procps.sourceforge.net/ http://gitorious.org/procps"
391 -# SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.xz"
392 -FEDORA_HASH="aecbeeda2ab308f8d09dddcb4cb9a572"
393 -SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${PN}-ng/${PN}-ng-${PV}.tar.xz/${FEDORA_HASH}/${PN}-ng-${PV}.tar.xz
394 - https://gitorious.org/${PN}/${PN}/commit/ce5e995921e770bfcda25e42fe090aeccdbf1291.patch -> ${P}-respect_epipe_in_fileutils.patch"
395 -
396 -LICENSE="GPL-2"
397 -SLOT="0"
398 -KEYWORDS="amd64 arm ~mips ppc x86"
399 -IUSE="+ncurses nls static-libs unicode"
400 -
401 -RDEPEND="ncurses? ( >=sys-libs/ncurses-5.7-r7[unicode?] )"
402 -DEPEND="${RDEPEND}
403 - ncurses? ( virtual/pkgconfig )
404 - test? ( dev-util/dejagnu )"
405 -
406 -S=${WORKDIR}/${PN}-ng-${PV}
407 -
408 -src_prepare() {
409 - epatch "${FILESDIR}"/${P}-kill-neg-pid.patch \
410 - "${DISTDIR}"/${P}-respect_epipe_in_fileutils.patch \
411 - "${FILESDIR}"/${P}-no-error_h.patch \
412 - "${FILESDIR}"/${P}-no-GLOB_TILDE.patch
413 -}
414 -
415 -src_configure() {
416 - use elibc_musl && export ac_cv_search_dlopen=
417 - use elibc_musl && append-cflags -D_XOPEN_SOURCE_EXTENDED
418 - econf \
419 - --exec-prefix="${EPREFIX}" \
420 - --docdir='$(datarootdir)'/doc/${PF} \
421 - $(use_with ncurses) \
422 - $(use_enable nls) \
423 - $(use_enable static-libs static) \
424 - $(use_enable unicode watch8bit)
425 -}
426 -
427 -src_install() {
428 - default
429 -# dodoc sysctl.conf
430 -
431 - # The configure script is completely whacked in the head
432 - mv "${ED}"/lib* "${ED}"/usr/ || die
433 - gen_usr_ldscript -a procps
434 - prune_libtool_files
435 -}
436 diff --git a/sys-process/procps/procps-3.3.9-r99.ebuild b/sys-process/procps/procps-3.3.9-r99.ebuild
437 deleted file mode 100644
438 index ec161f5..0000000
439 --- a/sys-process/procps/procps-3.3.9-r99.ebuild
440 +++ /dev/null
441 @@ -1,56 +0,0 @@
442 -# Copyright 1999-2016 Gentoo Foundation
443 -# Distributed under the terms of the GNU General Public License v2
444 -# $Id$
445 -
446 -EAPI="4"
447 -
448 -inherit eutils toolchain-funcs flag-o-matic
449 -
450 -DESCRIPTION="standard informational utilities and process-handling tools"
451 -# http://packages.debian.org/sid/procps
452 -HOMEPAGE="http://procps.sourceforge.net/ http://gitorious.org/procps"
453 -# SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.xz"
454 -FEDORA_HASH="0980646fa25e0be58f7afb6b98f79d74"
455 -SRC_URI="http://pkgs.fedoraproject.org/repo/pkgs/${PN}-ng/${PN}-ng-${PV}.tar.xz/${FEDORA_HASH}/${PN}-ng-${PV}.tar.xz"
456 -
457 -LICENSE="GPL-2"
458 -SLOT="0"
459 -KEYWORDS="amd64 arm ~mips ppc x86"
460 -IUSE="+ncurses nls static-libs test unicode"
461 -
462 -RDEPEND="ncurses? ( >=sys-libs/ncurses-5.7-r7[unicode?] )
463 - !<sys-apps/sysvinit-2.88-r6"
464 -DEPEND="${RDEPEND}
465 - ncurses? ( virtual/pkgconfig )
466 - test? ( dev-util/dejagnu )"
467 -
468 -S=${WORKDIR}/${PN}-ng-${PV}
469 -
470 -src_prepare() {
471 - epatch "${FILESDIR}"/${PN}-3.3.8-kill-neg-pid.patch
472 - epatch "${FILESDIR}"/${PN}-3.3.8-no-GLOB_TILDE.patch
473 - epatch "${FILESDIR}"/${P}-no-error_h.patch
474 - epatch "${FILESDIR}"/${P}-configure.patch
475 - autoreconf
476 -}
477 -
478 -src_configure() {
479 - use elibc_musl && append-cppflags -D_XOPEN_SOURCE_EXTENDED
480 - econf \
481 - --exec-prefix="${EPREFIX}" \
482 - --docdir='$(datarootdir)'/doc/${PF} \
483 - $(use_with ncurses) \
484 - $(use_enable nls) \
485 - $(use_enable static-libs static) \
486 - $(use_enable unicode watch8bit)
487 -}
488 -
489 -src_install() {
490 - default
491 -# dodoc sysctl.conf
492 -
493 - # The configure script is completely whacked in the head
494 - mv "${ED}"/lib* "${ED}"/usr/ || die
495 - gen_usr_ldscript -a procps
496 - prune_libtool_files
497 -}
498 --
499 2.7.3