1 |
commit: 816224a7cee6615732891f846835291e2dcd119e |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 03:11:48 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 04:11:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=816224a7 |
7 |
|
8 |
sys-apps/util-linux: drop old versions |
9 |
|
10 |
sys-apps/util-linux/Manifest | 4 - |
11 |
.../files/util-linux-2.24-fix-fdisk-on-alpha.patch | 13 -- |
12 |
.../files/util-linux-2.24-last-tests.patch | 86 ---------- |
13 |
.../files/util-linux-2.24-skip-last-tests.patch | 41 ----- |
14 |
.../files/util-linux-2.25-parallel-setarch.patch | 33 ---- |
15 |
...util-linux-2.25.2-runuser-bash-completion.patch | 33 ---- |
16 |
sys-apps/util-linux/metadata.xml | 1 - |
17 |
sys-apps/util-linux/util-linux-2.24.1-r3.ebuild | 174 -------------------- |
18 |
sys-apps/util-linux/util-linux-2.24.2.ebuild | 177 -------------------- |
19 |
sys-apps/util-linux/util-linux-2.25.2-r2.ebuild | 183 --------------------- |
20 |
sys-apps/util-linux/util-linux-2.27.ebuild | 182 -------------------- |
21 |
11 files changed, 927 deletions(-) |
22 |
|
23 |
diff --git a/sys-apps/util-linux/Manifest b/sys-apps/util-linux/Manifest |
24 |
index 888f6a4..28427c3 100644 |
25 |
--- a/sys-apps/util-linux/Manifest |
26 |
+++ b/sys-apps/util-linux/Manifest |
27 |
@@ -1,6 +1,2 @@ |
28 |
-DIST util-linux-2.24.1.tar.xz 3543692 SHA256 835eb6232cfab0118ef2e4fd649de0ba9f5bd1b8cbf9a7d4d84594541dec8410 SHA512 5636e1c57bd57954518e90ff0f079810cc2927f52bb925dde556ce2744a088577f8adbc19c19b2bd079efd253406767faa44d1de5f557e024762522e647f044b WHIRLPOOL 25862a85788eb1c275c7e06f3d2be8e6a9605811665e06a4b21d1e274fc4a5e19dd03e5c52061ee5d98ce8c86ba757a7f8076683edb603ad0c43c05ab5e52a51 |
29 |
-DIST util-linux-2.24.2.tar.xz 3586580 SHA256 1243d6c07f1c5b38aa4c3814c81a71c24cba7dafe08942916bf216a90a460ff0 SHA512 a0c03876ef19fa09e434e3e5362fb3f3e0a254b3b39a623ac7a9a207d06afce00366792244ed0fac86931f8340c046620660f33c3444a07a12037182fc191240 WHIRLPOOL 4b8185e1832145c050a8aa0761ae017d846ed58cd7e07710e4c32bf92a8f6e530bddb56dab70c8025eddb4cafafed79e658b0aced3a190b61b508078a438a9ed |
30 |
-DIST util-linux-2.25.2.tar.xz 3703644 SHA256 e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6 SHA512 cf8c5bde78f844425150c2a81bdecb87aa57bcd5cebd177a78160835627f58037fa2cfe4db26fd8f35eedb3beb499a91492a297a27d065465e2ea0c6218dc387 WHIRLPOOL dd1685f2e694bf3de95acc3ba3170d231426c18c3395a867c815bbd3ab5ee0f07567b49d0ae083ce669c89db711e39fd2b990bc7321985ec2279d78816ec5258 |
31 |
DIST util-linux-2.26.2.tar.xz 3863868 SHA256 0e29bda142528a48a0a953c39ff63093651a4809042e1790fbd6aa8663fd9666 SHA512 1cb8e2f32882b3f496d31c250a45cfb61bedb79f7a2802b358c23134d4257fa9bc9cde8888cfa1aaba12109f82b93345c6dc0bec2d11629ffa084f2a4476a91b WHIRLPOOL 699ff057f9930fe53f44090817c64ffe089345e7aba4c836e18cd3d2088881add805640b0e41b8d60bc08e3632be919025417feb9c2ddda454c87821a59122ed |
32 |
DIST util-linux-2.27.1.tar.xz 3964512 SHA256 0a818fcdede99aec43ffe6ca5b5388bff80d162f2f7bd4541dca94fecb87a290 SHA512 a450a0c2d26a6deaf5e53b8f6bddf59409aefb1f0aaf07393f68a418408fbc62c5da353c8ba53c7cac8ea6e3dddfad59161753d888c31f5ccea445e81accbad8 WHIRLPOOL b0641f013762a667efcb2fabe6e3e09dd09252835d841e25cde506aca3a74876ad34f8130f3227683c7e8f19359205c4014dfcd9055d860ae6e3e54621478639 |
33 |
-DIST util-linux-2.27.tar.xz 3968872 SHA256 fcbf04e3ef8377fc8369af7f9afee341c5eef9b02dd5a7ce71532d0957e86dc7 SHA512 06ee17f4801fd3e35fb4cf3717722ea3f709e3dd9f9153510c399742a5cfca341e3a3a400d35a091b74f0de3636e62c7a14b7dd91d63482b7b98b1991aa6fa3c WHIRLPOOL da19c56dfe424c59bc982096f08c02d864718f030bbad79661968f1da972ea10e0eacaa2477cda45ec9a3c688d220740ca2c8823918dae5139a943f6c9d8e2a4 |
34 |
|
35 |
diff --git a/sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch b/sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch |
36 |
deleted file mode 100644 |
37 |
index f01a55d..0000000 |
38 |
--- a/sys-apps/util-linux/files/util-linux-2.24-fix-fdisk-on-alpha.patch |
39 |
+++ /dev/null |
40 |
@@ -1,13 +0,0 @@ |
41 |
---- libfdisk/src/bsd.c.orig 2014-06-11 10:15:47.000000000 +0200 |
42 |
-+++ libfdisk/src/bsd.c 2014-06-11 10:16:18.000000000 +0200 |
43 |
-@@ -787,8 +787,10 @@ |
44 |
- case 0x06: /* DOS 16-bit >=32M */ |
45 |
- case 0xe1: /* DOS access */ |
46 |
- case 0xe3: /* DOS R/O */ |
47 |
-+#if !defined (__alpha__) |
48 |
- case 0xf2: /* DOS secondary */ |
49 |
- return BSD_FS_MSDOS; |
50 |
-+#endif |
51 |
- case 0x07: /* OS/2 HPFS */ |
52 |
- return BSD_FS_HPFS; |
53 |
- default: |
54 |
|
55 |
diff --git a/sys-apps/util-linux/files/util-linux-2.24-last-tests.patch b/sys-apps/util-linux/files/util-linux-2.24-last-tests.patch |
56 |
deleted file mode 100644 |
57 |
index 77cf478..0000000 |
58 |
--- a/sys-apps/util-linux/files/util-linux-2.24-last-tests.patch |
59 |
+++ /dev/null |
60 |
@@ -1,86 +0,0 @@ |
61 |
-https://bugs.gentoo.org/501408 |
62 |
- |
63 |
-From 3c76515abd2e80dc1da03041eb868b8c1e596fb1 Mon Sep 17 00:00:00 2001 |
64 |
-From: Sami Kerola <kerolasa@×××.fi> |
65 |
-Date: Sun, 16 Feb 2014 23:54:18 +0000 |
66 |
-Subject: [PATCH] tests: align last.1 with recent phantom detection |
67 |
- |
68 |
-None existing account is not still-logged-in but gone mysteriously, |
69 |
-assuming wtmp logout markup is missing. |
70 |
- |
71 |
-Signed-off-by: Sami Kerola <kerolasa@×××.fi> |
72 |
---- |
73 |
- tests/expected/last/last | 16 ++++++++-------- |
74 |
- 1 file changed, 8 insertions(+), 8 deletions(-) |
75 |
- |
76 |
-diff --git a/tests/expected/last/last b/tests/expected/last/last |
77 |
-index 2ff5cc1..dfb140b 100644 |
78 |
---- a/tests/expected/last/last |
79 |
-+++ b/tests/expected/last/last |
80 |
-@@ -1,6 +1,6 @@ |
81 |
- ~~~ basic output ~~~ |
82 |
- rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14) |
83 |
--torvalds linux hobby Mon Aug 26 00:57 still logged in |
84 |
-+torvalds linux hobby Mon Aug 26 00:57 gone - no logout |
85 |
- reboot system boot system-name Wed Aug 28 18:00 still running |
86 |
- reboot system boot system-name Wed Aug 28 16:00 - 17:00 (01:00) |
87 |
- IPv4 root dns-server Wed Aug 28 13:00 - 14:00 (01:00) |
88 |
-@@ -17,7 +17,7 @@ accounti foo nine Wed Aug 28 03:00 - 04:00 (01:00) |
89 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
90 |
- ~~~ include system ~~~ |
91 |
- rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14) |
92 |
--torvalds linux hobby Mon Aug 26 00:57 still logged in |
93 |
-+torvalds linux hobby Mon Aug 26 00:57 gone - no logout |
94 |
- reboot system boot system-name Wed Aug 28 18:00 still running |
95 |
- shutdown system down system-name Wed Aug 28 17:00 - 18:00 (01:00) |
96 |
- reboot system boot system-name Wed Aug 28 16:00 - 17:00 (01:00) |
97 |
-@@ -47,16 +47,16 @@ IPv4 root Wed Aug 28 13:00 - 14:00 (01:00) a.root-servers.net |
98 |
- |
99 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
100 |
- ~~~ show ip ~~~ |
101 |
--torvalds linux 128.214.205.14 Mon Aug 26 00:57 still logged in |
102 |
-+torvalds linux 128.214.205.14 Mon Aug 26 00:57 gone - no logout |
103 |
- |
104 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
105 |
- ~~~ no host ~~~ |
106 |
--torvalds linux Mon Aug 26 00:57 still logged in |
107 |
-+torvalds linux Mon Aug 26 00:57 gone - no logout |
108 |
- |
109 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
110 |
- ~~~ full times ~~~ |
111 |
- rick long never-gonna-logo Thu Jan 1 00:00:00 1970 - Tue Jan 19 03:14:07 2038 (24855+03:14) |
112 |
--torvalds linux hobby Mon Aug 26 00:57:08 1991 still logged in |
113 |
-+torvalds linux hobby Mon Aug 26 00:57:08 1991 gone - no logout |
114 |
- reboot system boot system-name Wed Aug 28 18:00:00 2013 still running |
115 |
- reboot system boot system-name Wed Aug 28 16:00:00 2013 - Wed Aug 28 17:00:00 2013 (01:00) |
116 |
- IPv4 root dns-server Wed Aug 28 13:00:00 2013 - Wed Aug 28 14:00:00 2013 (01:00) |
117 |
-@@ -73,7 +73,7 @@ accounti foo nine Wed Aug 28 03:00:00 2013 - Wed Aug 28 04: |
118 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
119 |
- ~~~ no time ~~~ |
120 |
- rick long never-gonna-logo (24855+03:14) |
121 |
--torvalds linux hobby logged in |
122 |
-+torvalds linux hobby - no logout |
123 |
- reboot system boot system-name running |
124 |
- reboot system boot system-name (01:00) |
125 |
- IPv4 root dns-server (01:00) |
126 |
-@@ -90,7 +90,7 @@ accounti foo nine (01:00) |
127 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
128 |
- ~~~ iso-8601 time ~~~ |
129 |
- rick long never-gonna-logout 1970-01-01T00:00:00+0000 - 2038-01-19T03:14:07+0000 (24855+03:14) |
130 |
--torvalds linux hobby 1991-08-26T00:57:08+0000 still logged in |
131 |
-+torvalds linux hobby 1991-08-26T00:57:08+0000 gone - no logout |
132 |
- reboot system boot system-name 2013-08-28T18:00:00+0000 still running |
133 |
- reboot system boot system-name 2013-08-28T16:00:00+0000 - 2013-08-28T17:00:00+0000 (01:00) |
134 |
- IPv4 root dns-server 2013-08-28T13:00:00+0000 - 2013-08-28T14:00:00+0000 (01:00) |
135 |
-@@ -115,7 +115,7 @@ accounti foo nine Wed Aug 28 03:00 - 04:00 (01:00) |
136 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
137 |
- ~~~ present ~~~ |
138 |
- rick long never-gonna-logo Thu Jan 1 00:00 - 03:14 (24855+03:14) |
139 |
--torvalds linux hobby Mon Aug 26 00:57 still logged in |
140 |
-+torvalds linux hobby Mon Aug 26 00:57 gone - no logout |
141 |
- runlevel foo one Wed Aug 28 11:00 - 12:00 (01:00) |
142 |
- |
143 |
- wtmp begins Wed Aug 28 03:00:00 2013 |
144 |
--- |
145 |
-1.8.5.5 |
146 |
- |
147 |
|
148 |
diff --git a/sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch b/sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch |
149 |
deleted file mode 100644 |
150 |
index 5148053..0000000 |
151 |
--- a/sys-apps/util-linux/files/util-linux-2.24-skip-last-tests.patch |
152 |
+++ /dev/null |
153 |
@@ -1,41 +0,0 @@ |
154 |
-From 6b55612b9ad1193a042f3c3a1d9216e63b0d2907 Mon Sep 17 00:00:00 2001 |
155 |
-From: Mike Frysinger <vapier@g.o> |
156 |
-Date: Sun, 22 Dec 2013 18:17:15 -0500 |
157 |
-Subject: [PATCH] tests: last: skip when last is not enabled |
158 |
- |
159 |
-References: https://bugs.gentoo.org/489794 |
160 |
-Signed-off-by: Mike Frysinger <vapier@g.o> |
161 |
---- |
162 |
- tests/ts/last/ipv6 | 2 ++ |
163 |
- tests/ts/last/last | 2 ++ |
164 |
- 2 files changed, 4 insertions(+) |
165 |
- |
166 |
-diff --git a/tests/ts/last/ipv6 b/tests/ts/last/ipv6 |
167 |
-index 8e2b01e..60b72bd 100755 |
168 |
---- a/tests/ts/last/ipv6 |
169 |
-+++ b/tests/ts/last/ipv6 |
170 |
-@@ -18,6 +18,8 @@ TS_DESC="last ipv6" |
171 |
- . $TS_TOPDIR/functions.sh |
172 |
- ts_init "$*" |
173 |
- |
174 |
-+[ -x $TS_CMD_LAST ] || ts_skip "last not enabled" |
175 |
-+ |
176 |
- export LANG=C |
177 |
- export TZ=GMT |
178 |
- |
179 |
-diff --git a/tests/ts/last/last b/tests/ts/last/last |
180 |
-index 4ad38cb..83b7f8d 100755 |
181 |
---- a/tests/ts/last/last |
182 |
-+++ b/tests/ts/last/last |
183 |
-@@ -18,6 +18,8 @@ TS_DESC="last" |
184 |
- . $TS_TOPDIR/functions.sh |
185 |
- ts_init "$*" |
186 |
- |
187 |
-+[ -x $TS_CMD_LAST ] || ts_skip "last not enabled" |
188 |
-+ |
189 |
- export LANG=C |
190 |
- export TZ=GMT |
191 |
- |
192 |
--- |
193 |
-1.8.4.3 |
194 |
- |
195 |
|
196 |
diff --git a/sys-apps/util-linux/files/util-linux-2.25-parallel-setarch.patch b/sys-apps/util-linux/files/util-linux-2.25-parallel-setarch.patch |
197 |
deleted file mode 100644 |
198 |
index e694af5..0000000 |
199 |
--- a/sys-apps/util-linux/files/util-linux-2.25-parallel-setarch.patch |
200 |
+++ /dev/null |
201 |
@@ -1,33 +0,0 @@ |
202 |
-From 762b4d8691c46964dfc0d40dab772191538c807a Mon Sep 17 00:00:00 2001 |
203 |
-From: Mike Frysinger <vapier@××××××××.org> |
204 |
-Date: Sun, 3 May 2015 23:37:04 -0400 |
205 |
-Subject: [PATCH] build-sys: fix parallel builds w/setarch links |
206 |
- |
207 |
-The symlink generation tries to write to the sys-utils/ subdir but does |
208 |
-not make sure that dir exists. This can sometimes lead to parallel build |
209 |
-failures when building out-of-tree like: |
210 |
-... |
211 |
-echo ".so man8/setarch.8" > sys-utils/linux64.8 |
212 |
-/bin/bash: sys-utils/linux64.8: No such file or directory |
213 |
-Makefile:11503: recipe for target 'sys-utils/linux64.8' failed |
214 |
-make: *** [sys-utils/linux64.8] Error 1 |
215 |
- |
216 |
-URL: https://bugs.gentoo.org/511812 |
217 |
-Signed-off-by: Mike Frysinger <vapier@××××××××.org> |
218 |
---- |
219 |
- sys-utils/Makemodule.am | 1 + |
220 |
- 1 file changed, 1 insertion(+) |
221 |
- |
222 |
---- a/Makefile.in |
223 |
-+++ b/Makefile.in |
224 |
-@@ -10806,6 +10806,7 @@ install-exec-hook: |
225 |
- @BUILD_VIPW_TRUE@ cd $(DESTDIR)$(usrsbin_execdir) && ln -sf vipw vigr |
226 |
- |
227 |
- @BUILD_SETARCH_TRUE@$(SETARCH_MAN_LINKS): |
228 |
-+@BUILD_SETARCH_TRUE@ $(AM_V_at) test -d $(dir $@) || mkdir -p $(dir $@) |
229 |
- @BUILD_SETARCH_TRUE@ $(AM_V_GEN)echo ".so man8/setarch.8" > $@ |
230 |
- |
231 |
- @BUILD_SETARCH_TRUE@install-exec-hook-setarch: |
232 |
--- |
233 |
-2.4.0 |
234 |
- |
235 |
|
236 |
diff --git a/sys-apps/util-linux/files/util-linux-2.25.2-runuser-bash-completion.patch b/sys-apps/util-linux/files/util-linux-2.25.2-runuser-bash-completion.patch |
237 |
deleted file mode 100644 |
238 |
index 85c4811..0000000 |
239 |
--- a/sys-apps/util-linux/files/util-linux-2.25.2-runuser-bash-completion.patch |
240 |
+++ /dev/null |
241 |
@@ -1,33 +0,0 @@ |
242 |
-https://bugs.gentoo.org/522288 |
243 |
- |
244 |
-From a95987423c4d7781a14ffda34f082086cd51f4f7 Mon Sep 17 00:00:00 2001 |
245 |
-From: Mike Frysinger <vapier@g.o> |
246 |
-Date: Fri, 24 Oct 2014 12:08:22 -0400 |
247 |
-Subject: [PATCH] bash-completion: fix runuser install |
248 |
- |
249 |
-The runuser symlink used to depend on su being enabled, but a refactoring |
250 |
-broke that. So if you build with runuser enabled but not su, you end up |
251 |
-with a broken symlink. Rework the logic so it works in both cases. |
252 |
- |
253 |
-Signed-off-by: Mike Frysinger <vapier@g.o> |
254 |
---- |
255 |
- bash-completion/Makemodule.am | 4 ++++ |
256 |
- 1 file changed, 4 insertions(+) |
257 |
- |
258 |
-diff --git a/bash-completion/Makemodule.am b/bash-completion/Makemodule.am |
259 |
-index 271a6db..045c2d5 100644 |
260 |
---- a/Makefile.in |
261 |
-+++ b/Makefile.in |
262 |
-@@ -11071,7 +10823,8 @@ |
263 |
- @BUILD_MOUNT_TRUE@@MAKEINSTALL_DO_SETUID_TRUE@ chmod 4755 $(DESTDIR)$(bindir)/umount |
264 |
- |
265 |
- @BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@install-data-hook-bashcomp-runuser:: |
266 |
--@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@ ln -sf su $(DESTDIR)$(bashcompletiondir)/runuser |
267 |
-+@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@@BUILD_SU_TRUE@ ln -sf su $(DESTDIR)$(bashcompletiondir)/runuser |
268 |
-+@BUILD_BASH_COMPLETION_TRUE@@BUILD_RUNUSER_TRUE@@BUILD_SU_FALSE@ cp $(top_srcdir)/bash-completion/su $(DESTDIR)$(bashcompletiondir)/runuser |
269 |
- |
270 |
- clean-local-tests: |
271 |
- rm -rf $(top_builddir)/tests/output $(top_builddir)/tests/diff |
272 |
--- |
273 |
-2.1.2 |
274 |
- |
275 |
|
276 |
diff --git a/sys-apps/util-linux/metadata.xml b/sys-apps/util-linux/metadata.xml |
277 |
index c2ad0f9..9a5be00 100644 |
278 |
--- a/sys-apps/util-linux/metadata.xml |
279 |
+++ b/sys-apps/util-linux/metadata.xml |
280 |
@@ -8,7 +8,6 @@ |
281 |
<use> |
282 |
<flag name="caps">build setpriv helper (run programs with diff capabilities)</flag> |
283 |
<flag name="cramfs">build mkfs/fsck helpers for cramfs filesystems</flag> |
284 |
- <flag name="cytune">build cytune for Cyclades-Z multiport serial cards</flag> |
285 |
<flag name="fdformat">build fdformat (floppy disk format)</flag> |
286 |
<flag name="kill">build the kill program</flag> |
287 |
<flag name="pam">build runuser helper</flag> |
288 |
|
289 |
diff --git a/sys-apps/util-linux/util-linux-2.24.1-r3.ebuild b/sys-apps/util-linux/util-linux-2.24.1-r3.ebuild |
290 |
deleted file mode 100644 |
291 |
index 8c25f44..0000000 |
292 |
--- a/sys-apps/util-linux/util-linux-2.24.1-r3.ebuild |
293 |
+++ /dev/null |
294 |
@@ -1,174 +0,0 @@ |
295 |
-# Copyright 1999-2015 Gentoo Foundation |
296 |
-# Distributed under the terms of the GNU General Public License v2 |
297 |
-# $Id$ |
298 |
- |
299 |
-EAPI="4" |
300 |
- |
301 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
302 |
- |
303 |
-inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 \ |
304 |
- python-single-r1 multilib-minimal |
305 |
- |
306 |
-MY_PV=${PV/_/-} |
307 |
-MY_P=${PN}-${MY_PV} |
308 |
- |
309 |
-if [[ ${PV} == 9999 ]] ; then |
310 |
- inherit git-2 autotools |
311 |
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
312 |
-else |
313 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" |
314 |
- SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz" |
315 |
-fi |
316 |
- |
317 |
-DESCRIPTION="Various useful Linux utilities" |
318 |
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/" |
319 |
- |
320 |
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain" |
321 |
-SLOT="0" |
322 |
-IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls pam python selinux slang static-libs +suid test tty-helpers udev unicode" |
323 |
- |
324 |
-RDEPEND="!sys-process/schedutils |
325 |
- !sys-apps/setarch |
326 |
- !<sys-apps/sysvinit-2.88-r7 |
327 |
- !sys-block/eject |
328 |
- !<sys-libs/e2fsprogs-libs-1.41.8 |
329 |
- !<sys-fs/e2fsprogs-1.41.8 |
330 |
- !<app-shells/bash-completion-1.3-r2 |
331 |
- caps? ( sys-libs/libcap-ng ) |
332 |
- cramfs? ( sys-libs/zlib ) |
333 |
- ncurses? ( >=sys-libs/ncurses-5.2-r2 ) |
334 |
- pam? ( sys-libs/pam ) |
335 |
- python? ( ${PYTHON_DEPS} ) |
336 |
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) |
337 |
- slang? ( sys-libs/slang ) |
338 |
- udev? ( virtual/udev ) |
339 |
- abi_x86_32? ( |
340 |
- !<=app-emulation/emul-linux-x86-baselibs-20140406-r2 |
341 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
342 |
- )" |
343 |
-DEPEND="${RDEPEND} |
344 |
- virtual/pkgconfig |
345 |
- nls? ( sys-devel/gettext ) |
346 |
- test? ( sys-devel/bc ) |
347 |
- virtual/os-headers" |
348 |
- |
349 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
350 |
- |
351 |
-S=${WORKDIR}/${MY_P} |
352 |
- |
353 |
-pkg_setup() { |
354 |
- use python && python-single-r1_pkg_setup |
355 |
-} |
356 |
- |
357 |
-src_prepare() { |
358 |
- if [[ ${PV} == 9999 ]] ; then |
359 |
- po/update-potfiles |
360 |
- eautoreconf |
361 |
- fi |
362 |
- epatch "${FILESDIR}"/${PN}-2.24-skip-last-tests.patch #491742 |
363 |
- epatch "${FILESDIR}"/${PN}-2.24-last-tests.patch #501408 |
364 |
- # http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9237 |
365 |
- epatch "${FILESDIR}"/${PN}-2.24-fix-fdisk-on-alpha.patch |
366 |
- find tests/ -name bigyear -delete #489794 |
367 |
- elibtoolize |
368 |
-} |
369 |
- |
370 |
-lfs_fallocate_test() { |
371 |
- # Make sure we can use fallocate with LFS #300307 |
372 |
- cat <<-EOF > "${T}"/fallocate.${ABI}.c |
373 |
- #define _GNU_SOURCE |
374 |
- #include <fcntl.h> |
375 |
- main() { return fallocate(0, 0, 0, 0); } |
376 |
- EOF |
377 |
- append-lfs-flags |
378 |
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \ |
379 |
- || export ac_cv_func_fallocate=no |
380 |
- rm -f "${T}"/fallocate.${ABI}.c |
381 |
-} |
382 |
- |
383 |
-multilib_src_configure() { |
384 |
- lfs_fallocate_test |
385 |
- export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486 |
386 |
- ECONF_SOURCE=${S} \ |
387 |
- econf \ |
388 |
- --docdir="/usr/share/doc/${PF}" \ |
389 |
- --enable-fs-paths-extra=/usr/sbin:/bin:/usr/bin \ |
390 |
- $(multilib_native_use_enable nls) \ |
391 |
- --enable-agetty \ |
392 |
- --with-bashcompletiondir="$(get_bashcompdir)" \ |
393 |
- $(multilib_native_use_enable bash-completion) \ |
394 |
- $(multilib_native_use_enable caps setpriv) \ |
395 |
- $(multilib_native_use_enable cramfs) \ |
396 |
- $(multilib_native_use_enable cytune) \ |
397 |
- $(multilib_native_use_enable fdformat) \ |
398 |
- --with-ncurses=$(multilib_native_usex ncurses $(usex unicode auto yes) no) \ |
399 |
- --disable-kill \ |
400 |
- --disable-login \ |
401 |
- $(multilib_native_use_enable tty-helpers mesg) \ |
402 |
- --disable-nologin \ |
403 |
- --enable-partx \ |
404 |
- $(multilib_native_use_with python) \ |
405 |
- --enable-raw \ |
406 |
- --enable-rename \ |
407 |
- --disable-reset \ |
408 |
- --enable-schedutils \ |
409 |
- --disable-su \ |
410 |
- $(multilib_native_use_enable tty-helpers wall) \ |
411 |
- $(multilib_native_use_enable tty-helpers write) \ |
412 |
- $(multilib_native_use_enable suid makeinstall-chown) \ |
413 |
- $(multilib_native_use_enable suid makeinstall-setuid) \ |
414 |
- $(use_with selinux) \ |
415 |
- $(multilib_native_use_with slang) \ |
416 |
- $(use_enable static-libs static) \ |
417 |
- $(multilib_native_use_with udev) \ |
418 |
- $(tc-has-tls || echo --disable-tls) |
419 |
-} |
420 |
- |
421 |
-multilib_src_compile() { |
422 |
- if multilib_is_native_abi; then |
423 |
- default |
424 |
- else |
425 |
- # build libraries only |
426 |
- emake -f Makefile -f - mylibs \ |
427 |
- <<< 'mylibs: $(usrlib_exec_LTLIBRARIES) $(pkgconfig_DATA)' |
428 |
- fi |
429 |
-} |
430 |
- |
431 |
-multilib_src_test() { |
432 |
- multilib_is_native_abi && emake check |
433 |
-} |
434 |
- |
435 |
-multilib_src_install() { |
436 |
- if multilib_is_native_abi; then |
437 |
- default |
438 |
- else |
439 |
- emake DESTDIR="${D}" install-usrlib_execLTLIBRARIES \ |
440 |
- install-pkgconfigDATA install-uuidincHEADERS \ |
441 |
- install-nodist_blkidincHEADERS install-nodist_mountincHEADERS |
442 |
- fi |
443 |
- |
444 |
- if multilib_is_native_abi; then |
445 |
- # need the libs in / |
446 |
- gen_usr_ldscript -a blkid mount uuid |
447 |
- |
448 |
- use python && python_optimize |
449 |
- fi |
450 |
-} |
451 |
- |
452 |
-multilib_src_install_all() { |
453 |
- dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
454 |
- |
455 |
- # e2fsprogs-libs didnt install .la files, and .pc work fine |
456 |
- prune_libtool_files |
457 |
-} |
458 |
- |
459 |
-pkg_postinst() { |
460 |
- if ! use tty-helpers; then |
461 |
- elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers." |
462 |
- fi |
463 |
- |
464 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
465 |
- elog "The agetty util now clears the terminal by default. You" |
466 |
- elog "might want to add --noclear to your /etc/inittab lines." |
467 |
- fi |
468 |
-} |
469 |
|
470 |
diff --git a/sys-apps/util-linux/util-linux-2.24.2.ebuild b/sys-apps/util-linux/util-linux-2.24.2.ebuild |
471 |
deleted file mode 100644 |
472 |
index 47d580b..0000000 |
473 |
--- a/sys-apps/util-linux/util-linux-2.24.2.ebuild |
474 |
+++ /dev/null |
475 |
@@ -1,177 +0,0 @@ |
476 |
-# Copyright 1999-2015 Gentoo Foundation |
477 |
-# Distributed under the terms of the GNU General Public License v2 |
478 |
-# $Id$ |
479 |
- |
480 |
-EAPI="4" |
481 |
- |
482 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
483 |
- |
484 |
-inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 \ |
485 |
- python-single-r1 multilib-minimal |
486 |
- |
487 |
-MY_PV=${PV/_/-} |
488 |
-MY_P=${PN}-${MY_PV} |
489 |
- |
490 |
-if [[ ${PV} == 9999 ]] ; then |
491 |
- inherit git-2 autotools |
492 |
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
493 |
-else |
494 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
495 |
- SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz" |
496 |
-fi |
497 |
- |
498 |
-DESCRIPTION="Various useful Linux utilities" |
499 |
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/" |
500 |
- |
501 |
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain" |
502 |
-SLOT="0" |
503 |
-IUSE="caps +cramfs cytune fdformat ncurses nls pam python selinux slang static-libs +suid test tty-helpers udev unicode" |
504 |
- |
505 |
-RDEPEND="!sys-process/schedutils |
506 |
- !sys-apps/setarch |
507 |
- !<sys-apps/sysvinit-2.88-r7 |
508 |
- !sys-block/eject |
509 |
- !<sys-libs/e2fsprogs-libs-1.41.8 |
510 |
- !<sys-fs/e2fsprogs-1.41.8 |
511 |
- !<app-shells/bash-completion-1.3-r2 |
512 |
- caps? ( sys-libs/libcap-ng ) |
513 |
- cramfs? ( sys-libs/zlib ) |
514 |
- ncurses? ( >=sys-libs/ncurses-5.2-r2 ) |
515 |
- pam? ( sys-libs/pam ) |
516 |
- python? ( ${PYTHON_DEPS} ) |
517 |
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) |
518 |
- slang? ( sys-libs/slang ) |
519 |
- udev? ( virtual/udev ) |
520 |
- abi_x86_32? ( |
521 |
- !<=app-emulation/emul-linux-x86-baselibs-20140406-r2 |
522 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
523 |
- )" |
524 |
-DEPEND="${RDEPEND} |
525 |
- virtual/pkgconfig |
526 |
- nls? ( sys-devel/gettext ) |
527 |
- test? ( sys-devel/bc ) |
528 |
- virtual/os-headers" |
529 |
- |
530 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
531 |
- |
532 |
-S=${WORKDIR}/${MY_P} |
533 |
- |
534 |
-pkg_setup() { |
535 |
- use python && python-single-r1_pkg_setup |
536 |
-} |
537 |
- |
538 |
-src_prepare() { |
539 |
- if [[ ${PV} == 9999 ]] ; then |
540 |
- po/update-potfiles |
541 |
- eautoreconf |
542 |
- fi |
543 |
- epatch "${FILESDIR}"/${PN}-2.24-last-tests.patch #501408 |
544 |
- # http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/9237 |
545 |
- epatch "${FILESDIR}"/${PN}-2.24-fix-fdisk-on-alpha.patch |
546 |
- find tests/ -name bigyear -delete #489794 |
547 |
- elibtoolize |
548 |
-} |
549 |
- |
550 |
-lfs_fallocate_test() { |
551 |
- # Make sure we can use fallocate with LFS #300307 |
552 |
- cat <<-EOF > "${T}"/fallocate.${ABI}.c |
553 |
- #define _GNU_SOURCE |
554 |
- #include <fcntl.h> |
555 |
- main() { return fallocate(0, 0, 0, 0); } |
556 |
- EOF |
557 |
- append-lfs-flags |
558 |
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \ |
559 |
- || export ac_cv_func_fallocate=no |
560 |
- rm -f "${T}"/fallocate.${ABI}.c |
561 |
-} |
562 |
- |
563 |
-multilib_src_configure() { |
564 |
- lfs_fallocate_test |
565 |
- export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486 |
566 |
- # We manually set --libdir to the default since on prefix, econf will set it to |
567 |
- # a value which the configure script does not recognize. This makes it set the |
568 |
- # usrlib_execdir to a bad value. bug #518898#c2, fixed upstream for >2.25 |
569 |
- ECONF_SOURCE=${S} \ |
570 |
- econf \ |
571 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
572 |
- --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin" \ |
573 |
- --libdir='${prefix}/'"$(get_libdir)" \ |
574 |
- $(multilib_native_use_enable nls) \ |
575 |
- --enable-agetty \ |
576 |
- --with-bashcompletiondir="$(get_bashcompdir)" \ |
577 |
- --enable-bash-completion \ |
578 |
- $(multilib_native_use_enable caps setpriv) \ |
579 |
- $(multilib_native_use_enable cramfs) \ |
580 |
- $(multilib_native_use_enable cytune) \ |
581 |
- $(multilib_native_use_enable fdformat) \ |
582 |
- --with-ncurses=$(multilib_native_usex ncurses $(usex unicode auto yes) no) \ |
583 |
- --disable-kill \ |
584 |
- --disable-login \ |
585 |
- $(multilib_native_use_enable tty-helpers mesg) \ |
586 |
- --disable-nologin \ |
587 |
- --enable-partx \ |
588 |
- $(multilib_native_use_with python) \ |
589 |
- --enable-raw \ |
590 |
- --enable-rename \ |
591 |
- --disable-reset \ |
592 |
- --enable-schedutils \ |
593 |
- --disable-su \ |
594 |
- $(multilib_native_use_enable tty-helpers wall) \ |
595 |
- $(multilib_native_use_enable tty-helpers write) \ |
596 |
- $(multilib_native_use_enable suid makeinstall-chown) \ |
597 |
- $(multilib_native_use_enable suid makeinstall-setuid) \ |
598 |
- $(use_with selinux) \ |
599 |
- $(multilib_native_use_with slang) \ |
600 |
- $(use_enable static-libs static) \ |
601 |
- $(multilib_native_use_with udev) \ |
602 |
- $(tc-has-tls || echo --disable-tls) |
603 |
-} |
604 |
- |
605 |
-multilib_src_compile() { |
606 |
- if multilib_is_native_abi; then |
607 |
- default |
608 |
- else |
609 |
- # build libraries only |
610 |
- emake -f Makefile -f - mylibs \ |
611 |
- <<< 'mylibs: $(usrlib_exec_LTLIBRARIES) $(pkgconfig_DATA)' |
612 |
- fi |
613 |
-} |
614 |
- |
615 |
-multilib_src_test() { |
616 |
- multilib_is_native_abi && emake check |
617 |
-} |
618 |
- |
619 |
-multilib_src_install() { |
620 |
- if multilib_is_native_abi; then |
621 |
- default |
622 |
- else |
623 |
- emake DESTDIR="${D}" install-usrlib_execLTLIBRARIES \ |
624 |
- install-pkgconfigDATA install-uuidincHEADERS \ |
625 |
- install-nodist_blkidincHEADERS install-nodist_mountincHEADERS |
626 |
- fi |
627 |
- |
628 |
- if multilib_is_native_abi; then |
629 |
- # need the libs in / |
630 |
- gen_usr_ldscript -a blkid mount uuid |
631 |
- |
632 |
- use python && python_optimize |
633 |
- fi |
634 |
-} |
635 |
- |
636 |
-multilib_src_install_all() { |
637 |
- dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
638 |
- |
639 |
- # e2fsprogs-libs didnt install .la files, and .pc work fine |
640 |
- prune_libtool_files |
641 |
-} |
642 |
- |
643 |
-pkg_postinst() { |
644 |
- if ! use tty-helpers; then |
645 |
- elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers." |
646 |
- fi |
647 |
- |
648 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
649 |
- elog "The agetty util now clears the terminal by default. You" |
650 |
- elog "might want to add --noclear to your /etc/inittab lines." |
651 |
- fi |
652 |
-} |
653 |
|
654 |
diff --git a/sys-apps/util-linux/util-linux-2.25.2-r2.ebuild b/sys-apps/util-linux/util-linux-2.25.2-r2.ebuild |
655 |
deleted file mode 100644 |
656 |
index e99c954..0000000 |
657 |
--- a/sys-apps/util-linux/util-linux-2.25.2-r2.ebuild |
658 |
+++ /dev/null |
659 |
@@ -1,183 +0,0 @@ |
660 |
-# Copyright 1999-2015 Gentoo Foundation |
661 |
-# Distributed under the terms of the GNU General Public License v2 |
662 |
-# $Id$ |
663 |
- |
664 |
-EAPI="4" |
665 |
- |
666 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
667 |
- |
668 |
-inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 \ |
669 |
- python-single-r1 multilib-minimal systemd |
670 |
- |
671 |
-MY_PV=${PV/_/-} |
672 |
-MY_P=${PN}-${MY_PV} |
673 |
- |
674 |
-if [[ ${PV} == 9999 ]] ; then |
675 |
- inherit git-2 autotools |
676 |
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
677 |
-else |
678 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~arm-linux ~x86-linux" |
679 |
- SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz" |
680 |
-fi |
681 |
- |
682 |
-DESCRIPTION="Various useful Linux utilities" |
683 |
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/" |
684 |
- |
685 |
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain" |
686 |
-SLOT="0" |
687 |
-IUSE="caps +cramfs fdformat ncurses nls pam python selinux slang static-libs +suid systemd test tty-helpers udev unicode" |
688 |
- |
689 |
-RDEPEND="!sys-process/schedutils |
690 |
- !sys-apps/setarch |
691 |
- !<sys-apps/sysvinit-2.88-r7 |
692 |
- !sys-block/eject |
693 |
- !<sys-libs/e2fsprogs-libs-1.41.8 |
694 |
- !<sys-fs/e2fsprogs-1.41.8 |
695 |
- !<app-shells/bash-completion-1.3-r2 |
696 |
- caps? ( sys-libs/libcap-ng ) |
697 |
- cramfs? ( sys-libs/zlib ) |
698 |
- ncurses? ( >=sys-libs/ncurses-5.2-r2 ) |
699 |
- pam? ( sys-libs/pam ) |
700 |
- python? ( ${PYTHON_DEPS} ) |
701 |
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) |
702 |
- slang? ( sys-libs/slang ) |
703 |
- systemd? ( sys-apps/systemd ) |
704 |
- udev? ( virtual/libudev ) |
705 |
- abi_x86_32? ( |
706 |
- !<=app-emulation/emul-linux-x86-baselibs-20140406-r2 |
707 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
708 |
- )" |
709 |
-DEPEND="${RDEPEND} |
710 |
- virtual/pkgconfig |
711 |
- nls? ( sys-devel/gettext ) |
712 |
- test? ( sys-devel/bc ) |
713 |
- virtual/os-headers" |
714 |
- |
715 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
716 |
- |
717 |
-S=${WORKDIR}/${MY_P} |
718 |
- |
719 |
-pkg_setup() { |
720 |
- use python && python-single-r1_pkg_setup |
721 |
-} |
722 |
- |
723 |
-src_prepare() { |
724 |
- epatch "${FILESDIR}"/${P}-runuser-bash-completion.patch #522288 |
725 |
- epatch "${FILESDIR}"/${PN}-2.25-parallel-setarch.patch #511812 |
726 |
- if [[ ${PV} == 9999 ]] ; then |
727 |
- po/update-potfiles |
728 |
- eautoreconf |
729 |
- fi |
730 |
- elibtoolize |
731 |
-} |
732 |
- |
733 |
-lfs_fallocate_test() { |
734 |
- # Make sure we can use fallocate with LFS #300307 |
735 |
- cat <<-EOF > "${T}"/fallocate.${ABI}.c |
736 |
- #define _GNU_SOURCE |
737 |
- #include <fcntl.h> |
738 |
- main() { return fallocate(0, 0, 0, 0); } |
739 |
- EOF |
740 |
- append-lfs-flags |
741 |
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \ |
742 |
- || export ac_cv_func_fallocate=no |
743 |
- rm -f "${T}"/fallocate.${ABI}.c |
744 |
-} |
745 |
- |
746 |
-multilib_src_configure() { |
747 |
- lfs_fallocate_test |
748 |
- # The scanf test in a run-time test which fails while cross-compiling. |
749 |
- # Blindly assume a POSIX setup since we require libmount, and libmount |
750 |
- # itself fails when the scanf test fails. #531856 |
751 |
- tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms |
752 |
- export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486 |
753 |
- # We manually set --libdir to the default since on prefix, econf will set it to |
754 |
- # a value which the configure script does not recognize. This makes it set the |
755 |
- # usrlib_execdir to a bad value. bug #518898#c2, fixed upstream for >2.25 |
756 |
- ECONF_SOURCE=${S} \ |
757 |
- econf \ |
758 |
- --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin" \ |
759 |
- --libdir='${prefix}/'"$(get_libdir)" \ |
760 |
- --docdir='${datarootdir}'/doc/${PF} \ |
761 |
- $(multilib_native_use_enable nls) \ |
762 |
- --enable-agetty \ |
763 |
- --with-bashcompletiondir="$(get_bashcompdir)" \ |
764 |
- --enable-bash-completion \ |
765 |
- $(multilib_native_use_enable caps setpriv) \ |
766 |
- --disable-chfn-chsh \ |
767 |
- $(multilib_native_use_enable cramfs) \ |
768 |
- $(multilib_native_use_enable fdformat) \ |
769 |
- --with-ncurses=$(multilib_native_usex ncurses $(usex unicode auto yes) no) \ |
770 |
- --disable-kill \ |
771 |
- --disable-login \ |
772 |
- $(multilib_native_use_enable tty-helpers mesg) \ |
773 |
- --disable-nologin \ |
774 |
- --enable-partx \ |
775 |
- $(multilib_native_use_with python) \ |
776 |
- --enable-raw \ |
777 |
- --enable-rename \ |
778 |
- --disable-reset \ |
779 |
- --enable-schedutils \ |
780 |
- --disable-su \ |
781 |
- $(multilib_native_use_enable tty-helpers wall) \ |
782 |
- $(multilib_native_use_enable tty-helpers write) \ |
783 |
- $(multilib_native_use_enable suid makeinstall-chown) \ |
784 |
- $(multilib_native_use_enable suid makeinstall-setuid) \ |
785 |
- $(use_with selinux) \ |
786 |
- $(multilib_native_use_with slang) \ |
787 |
- $(use_enable static-libs static) \ |
788 |
- $(multilib_native_use_with systemd) \ |
789 |
- --with-systemdsystemunitdir=$(multilib_native_usex systemd "$(systemd_get_unitdir)" "no") \ |
790 |
- $(multilib_native_use_with udev) \ |
791 |
- $(tc-has-tls || echo --disable-tls) |
792 |
-} |
793 |
- |
794 |
-multilib_src_compile() { |
795 |
- if multilib_is_native_abi; then |
796 |
- default |
797 |
- else |
798 |
- # build libraries only |
799 |
- emake -f Makefile -f - mylibs \ |
800 |
- <<< 'mylibs: $(usrlib_exec_LTLIBRARIES) $(pkgconfig_DATA)' |
801 |
- fi |
802 |
-} |
803 |
- |
804 |
-multilib_src_test() { |
805 |
- multilib_is_native_abi && emake check |
806 |
-} |
807 |
- |
808 |
-multilib_src_install() { |
809 |
- if multilib_is_native_abi; then |
810 |
- default |
811 |
- else |
812 |
- emake DESTDIR="${D}" install-usrlib_execLTLIBRARIES \ |
813 |
- install-pkgconfigDATA install-uuidincHEADERS \ |
814 |
- install-nodist_blkidincHEADERS install-nodist_mountincHEADERS \ |
815 |
- install-nodist_smartcolsincHEADERS |
816 |
- fi |
817 |
- |
818 |
- if multilib_is_native_abi; then |
819 |
- # need the libs in / |
820 |
- gen_usr_ldscript -a blkid mount smartcols uuid |
821 |
- |
822 |
- use python && python_optimize |
823 |
- fi |
824 |
-} |
825 |
- |
826 |
-multilib_src_install_all() { |
827 |
- dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
828 |
- |
829 |
- # e2fsprogs-libs didnt install .la files, and .pc work fine |
830 |
- prune_libtool_files |
831 |
-} |
832 |
- |
833 |
-pkg_postinst() { |
834 |
- if ! use tty-helpers; then |
835 |
- elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers." |
836 |
- fi |
837 |
- |
838 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
839 |
- elog "The agetty util now clears the terminal by default. You" |
840 |
- elog "might want to add --noclear to your /etc/inittab lines." |
841 |
- fi |
842 |
-} |
843 |
|
844 |
diff --git a/sys-apps/util-linux/util-linux-2.27.ebuild b/sys-apps/util-linux/util-linux-2.27.ebuild |
845 |
deleted file mode 100644 |
846 |
index 9dc186f..0000000 |
847 |
--- a/sys-apps/util-linux/util-linux-2.27.ebuild |
848 |
+++ /dev/null |
849 |
@@ -1,182 +0,0 @@ |
850 |
-# Copyright 1999-2015 Gentoo Foundation |
851 |
-# Distributed under the terms of the GNU General Public License v2 |
852 |
-# $Id$ |
853 |
- |
854 |
-EAPI="5" |
855 |
- |
856 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
857 |
- |
858 |
-inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 \ |
859 |
- python-single-r1 multilib-minimal systemd |
860 |
- |
861 |
-MY_PV=${PV/_/-} |
862 |
-MY_P=${PN}-${MY_PV} |
863 |
- |
864 |
-if [[ ${PV} == 9999 ]] ; then |
865 |
- inherit git-2 autotools |
866 |
- EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
867 |
-else |
868 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
869 |
- SRC_URI="mirror://kernel/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz" |
870 |
-fi |
871 |
- |
872 |
-DESCRIPTION="Various useful Linux utilities" |
873 |
-HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/" |
874 |
- |
875 |
-LICENSE="GPL-2 LGPL-2.1 BSD-4 MIT public-domain" |
876 |
-SLOT="0" |
877 |
-IUSE="build caps +cramfs fdformat ncurses nls pam python selinux slang static-libs +suid systemd test tty-helpers udev unicode" |
878 |
- |
879 |
-RDEPEND="!sys-process/schedutils |
880 |
- !sys-apps/setarch |
881 |
- !<sys-apps/sysvinit-2.88-r7 |
882 |
- !sys-block/eject |
883 |
- !<sys-libs/e2fsprogs-libs-1.41.8 |
884 |
- !<sys-fs/e2fsprogs-1.41.8 |
885 |
- !<app-shells/bash-completion-1.3-r2 |
886 |
- caps? ( sys-libs/libcap-ng ) |
887 |
- cramfs? ( sys-libs/zlib ) |
888 |
- ncurses? ( >=sys-libs/ncurses-5.2-r2:0=[unicode?] ) |
889 |
- pam? ( sys-libs/pam ) |
890 |
- python? ( ${PYTHON_DEPS} ) |
891 |
- selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) |
892 |
- slang? ( sys-libs/slang ) |
893 |
- !build? ( systemd? ( sys-apps/systemd ) ) |
894 |
- udev? ( virtual/libudev:= ) |
895 |
- abi_x86_32? ( |
896 |
- !<=app-emulation/emul-linux-x86-baselibs-20150406-r2 |
897 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32] |
898 |
- )" |
899 |
-DEPEND="${RDEPEND} |
900 |
- virtual/pkgconfig |
901 |
- nls? ( sys-devel/gettext ) |
902 |
- test? ( sys-devel/bc ) |
903 |
- virtual/os-headers" |
904 |
- |
905 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
906 |
- |
907 |
-S=${WORKDIR}/${MY_P} |
908 |
- |
909 |
-pkg_setup() { |
910 |
- use python && python-single-r1_pkg_setup |
911 |
-} |
912 |
- |
913 |
-src_prepare() { |
914 |
- if [[ ${PV} == 9999 ]] ; then |
915 |
- po/update-potfiles |
916 |
- eautoreconf |
917 |
- fi |
918 |
- elibtoolize |
919 |
-} |
920 |
- |
921 |
-lfs_fallocate_test() { |
922 |
- # Make sure we can use fallocate with LFS #300307 |
923 |
- cat <<-EOF > "${T}"/fallocate.${ABI}.c |
924 |
- #define _GNU_SOURCE |
925 |
- #include <fcntl.h> |
926 |
- main() { return fallocate(0, 0, 0, 0); } |
927 |
- EOF |
928 |
- append-lfs-flags |
929 |
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} "${T}"/fallocate.${ABI}.c -o /dev/null >/dev/null 2>&1 \ |
930 |
- || export ac_cv_func_fallocate=no |
931 |
- rm -f "${T}"/fallocate.${ABI}.c |
932 |
-} |
933 |
- |
934 |
-multilib_src_configure() { |
935 |
- lfs_fallocate_test |
936 |
- # The scanf test in a run-time test which fails while cross-compiling. |
937 |
- # Blindly assume a POSIX setup since we require libmount, and libmount |
938 |
- # itself fails when the scanf test fails. #531856 |
939 |
- tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms |
940 |
- export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) #485486 |
941 |
- export ac_cv_header_security_pam_appl_h=$(multilib_native_usex pam) #545042 |
942 |
- # We manually set --libdir to the default since on prefix, econf will set it to |
943 |
- # a value which the configure script does not recognize. This makes it set the |
944 |
- # usrlib_execdir to a bad value. bug #518898#c2, fixed upstream for >2.25 |
945 |
- ECONF_SOURCE=${S} \ |
946 |
- econf \ |
947 |
- --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin" \ |
948 |
- --libdir='${prefix}/'"$(get_libdir)" \ |
949 |
- --docdir='${datarootdir}'/doc/${PF} \ |
950 |
- $(multilib_native_use_enable nls) \ |
951 |
- --enable-agetty \ |
952 |
- --with-bashcompletiondir="$(get_bashcompdir)" \ |
953 |
- --enable-bash-completion \ |
954 |
- $(multilib_native_use_enable caps setpriv) \ |
955 |
- --disable-chfn-chsh \ |
956 |
- $(multilib_native_use_enable cramfs) \ |
957 |
- $(multilib_native_use_enable fdformat) \ |
958 |
- --with-ncurses=$(multilib_native_usex ncurses $(usex unicode auto yes) no) \ |
959 |
- --disable-kill \ |
960 |
- --disable-login \ |
961 |
- $(multilib_native_use_enable tty-helpers mesg) \ |
962 |
- --disable-nologin \ |
963 |
- --enable-partx \ |
964 |
- $(multilib_native_use_with python) \ |
965 |
- --enable-raw \ |
966 |
- --enable-rename \ |
967 |
- --disable-reset \ |
968 |
- --enable-schedutils \ |
969 |
- --disable-su \ |
970 |
- $(multilib_native_use_enable tty-helpers wall) \ |
971 |
- $(multilib_native_use_enable tty-helpers write) \ |
972 |
- $(multilib_native_use_enable suid makeinstall-chown) \ |
973 |
- $(multilib_native_use_enable suid makeinstall-setuid) \ |
974 |
- $(use_with selinux) \ |
975 |
- $(multilib_native_use_with slang) \ |
976 |
- $(use_enable static-libs static) \ |
977 |
- $(multilib_native_use_with systemd) \ |
978 |
- --with-systemdsystemunitdir=$(multilib_native_usex systemd "$(systemd_get_unitdir)" "no") \ |
979 |
- $(multilib_native_use_with udev) \ |
980 |
- $(tc-has-tls || echo --disable-tls) |
981 |
-} |
982 |
- |
983 |
-multilib_src_compile() { |
984 |
- if multilib_is_native_abi; then |
985 |
- default |
986 |
- else |
987 |
- # build libraries only |
988 |
- emake -f Makefile -f - mylibs \ |
989 |
- <<< 'mylibs: $(usrlib_exec_LTLIBRARIES) $(pkgconfig_DATA)' |
990 |
- fi |
991 |
-} |
992 |
- |
993 |
-multilib_src_test() { |
994 |
- multilib_is_native_abi && emake check |
995 |
-} |
996 |
- |
997 |
-multilib_src_install() { |
998 |
- if multilib_is_native_abi; then |
999 |
- default |
1000 |
- else |
1001 |
- emake DESTDIR="${D}" install-usrlib_execLTLIBRARIES \ |
1002 |
- install-pkgconfigDATA install-uuidincHEADERS \ |
1003 |
- install-nodist_blkidincHEADERS install-nodist_mountincHEADERS \ |
1004 |
- install-nodist_smartcolsincHEADERS install-nodist_fdiskincHEADERS |
1005 |
- fi |
1006 |
- |
1007 |
- if multilib_is_native_abi; then |
1008 |
- # need the libs in / |
1009 |
- gen_usr_ldscript -a blkid mount smartcols uuid |
1010 |
- |
1011 |
- use python && python_optimize |
1012 |
- fi |
1013 |
-} |
1014 |
- |
1015 |
-multilib_src_install_all() { |
1016 |
- dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
1017 |
- |
1018 |
- # e2fsprogs-libs didnt install .la files, and .pc work fine |
1019 |
- prune_libtool_files |
1020 |
-} |
1021 |
- |
1022 |
-pkg_postinst() { |
1023 |
- if ! use tty-helpers; then |
1024 |
- elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers." |
1025 |
- fi |
1026 |
- |
1027 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
1028 |
- elog "The agetty util now clears the terminal by default. You" |
1029 |
- elog "might want to add --noclear to your /etc/inittab lines." |
1030 |
- fi |
1031 |
-} |