1 |
commit: c225e7be4e7f952ea8b3a0fe6d8742084368c831 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 23 13:47:19 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 23 13:47:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c225e7be |
7 |
|
8 |
sys-apps/sysvinit: 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/sysvinit/Manifest | 2 - |
14 |
sys-apps/sysvinit/sysvinit-2.89-r1.ebuild | 117 ------------------------------ |
15 |
sys-apps/sysvinit/sysvinit-2.90.ebuild | 117 ------------------------------ |
16 |
sys-apps/sysvinit/sysvinit-2.91.ebuild | 117 ------------------------------ |
17 |
4 files changed, 353 deletions(-) |
18 |
|
19 |
diff --git a/sys-apps/sysvinit/Manifest b/sys-apps/sysvinit/Manifest |
20 |
index 4415458d985..3df466c2895 100644 |
21 |
--- a/sys-apps/sysvinit/Manifest |
22 |
+++ b/sys-apps/sysvinit/Manifest |
23 |
@@ -1,5 +1,3 @@ |
24 |
DIST sysvinit-2.88dsf.tar.bz2 105551 BLAKE2B 2378a7ab96d059fc781b8b7dd130f4c6311a83527e80e6d40b0970140f0f6c0b081eec502b0c9e461fe5ac02cc064437c2bef2237b20209c8c5f8535a45e50d1 SHA512 0bd8eeb124e84fdfa8e621b05f796804ee69a9076b65f5115826bfa814ac1d5d28d31a5c22ebe77c86a93b2288edf4891adc0afaecc4de656c4ecda8a83807bf |
25 |
-DIST sysvinit-2.89.tar.bz2 113231 BLAKE2B defb82041edd5d9b95a7c73c950df18107aad292279270b0248b6c803b297c7c2f3edebfeb96ef2d7c3908de689ae265790b2379b9fb63c03d42138af8c418c1 SHA512 3582da52364e3c1f1a488c415f875ab264630cb23f85bc356915f50afc5a42ace18278ed04086cf38c1fe9c7a860f6fc3c2bb1cc50e5560b350a92c24411682c |
26 |
-DIST sysvinit-2.90.tar.xz 112840 BLAKE2B 24ecd6cbb0dd5c6695ae60fcfab062cafcbe7867cdba2cb3b05c7cf0e9c129364c968e70579ef904f5c617788bc607bdb9068d633afd53e0bb3cbcf41d562f0f SHA512 0fc05cba767d6285504c1c791e2e136cff7865fc6ef8beb8287bede305668ab09590a9b25ebc75bfc2060ea76707ac3dc529bc661a6a92c7b2cc23f5b0a801e6 |
27 |
DIST sysvinit-2.91.tar.xz 114412 BLAKE2B 5e044f589f5001c2b5a30eda76bf5c24bb2a7e0d308b7027d54031848407e6b7667b59096044eb186a7f6a862521d4a670c05a17dcc929d07da6515058949606 SHA512 8dcf6de79b03567c300ef5f2b7dd211895745e231510d730092085a15f61f06f28cee7c504b0b022bdcb4b4e903f44946537d4fbb2b5069fb5d29bb099fd45f5 |
28 |
DIST sysvinit-2.92-beta.tar.xz 117508 BLAKE2B 3798afc719bc83f7e70727f7de9862eebed81d3f8c708840c6b32d00e83c2a1f43433c9b7bbcdc5560a4a33207caa000e72b7aba3d18abefc13b12e753ffd5fe SHA512 6e1d09c14d07a5159c73149336a97f6c1edac980dc9d9c330c5deaf9a0ee5235fc7add22f00df75f467442479cd900aa9acf538865eb7c10db75b490ff41eb72 |
29 |
|
30 |
diff --git a/sys-apps/sysvinit/sysvinit-2.89-r1.ebuild b/sys-apps/sysvinit/sysvinit-2.89-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index 8e44ac619ed..00000000000 |
33 |
--- a/sys-apps/sysvinit/sysvinit-2.89-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,117 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-inherit toolchain-funcs flag-o-matic |
42 |
- |
43 |
-DESCRIPTION="/sbin/init - parent of all processes" |
44 |
-HOMEPAGE="https://savannah.nongnu.org/projects/sysvinit" |
45 |
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2" |
46 |
- |
47 |
-LICENSE="GPL-2" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
50 |
-IUSE="selinux ibm static kernel_FreeBSD" |
51 |
- |
52 |
-CDEPEND=" |
53 |
- selinux? ( |
54 |
- >=sys-libs/libselinux-1.28 |
55 |
- )" |
56 |
-DEPEND="${CDEPEND} |
57 |
- virtual/os-headers" |
58 |
-RDEPEND="${CDEPEND} |
59 |
- selinux? ( sec-policy/selinux-shutdown ) |
60 |
- !<sys-apps/openrc-0.13 |
61 |
-" |
62 |
- |
63 |
-PATCHES=( |
64 |
- "${FILESDIR}/${PN}-2.86-kexec.patch" #80220 |
65 |
- "${FILESDIR}/${PN}-2.86-shutdown-single.patch" #158615 |
66 |
- "${FILESDIR}/${PN}-2.88-shutdown-h.patch" #449354 |
67 |
- "${FILESDIR}/${PN}-2.88-sysmacros.patch" |
68 |
-) |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- sed -i '/^CPPFLAGS =$/d' src/Makefile || die |
73 |
- |
74 |
- # last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux |
75 |
- sed -i -r \ |
76 |
- -e '/^(USR)?S?BIN/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \ |
77 |
- -e '/^MAN[18]/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \ |
78 |
- src/Makefile || die |
79 |
- |
80 |
- # pidof has moved to >=procps-3.3.9 |
81 |
- sed -i -r \ |
82 |
- -e '/\/bin\/pidof/d' \ |
83 |
- -e '/^MAN8/s:\<pidof.8\>::g' \ |
84 |
- src/Makefile || die |
85 |
- |
86 |
- # Mung inittab for specific architectures |
87 |
- cd "${WORKDIR}" || die |
88 |
- cp "${FILESDIR}"/inittab-2.88 inittab || die "cp inittab" |
89 |
- local insert=() |
90 |
- use ppc && insert=( '#psc0:12345:respawn:/sbin/agetty 115200 ttyPSC0 linux' ) |
91 |
- use arm && insert=( '#f0:12345:respawn:/sbin/agetty 9600 ttyFB0 vt100' ) |
92 |
- use arm64 && insert=( 'f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100' ) |
93 |
- use hppa && insert=( 'b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100' ) |
94 |
- use s390 && insert=( 's0:12345:respawn:/sbin/agetty 38400 console dumb' ) |
95 |
- if use ibm ; then |
96 |
- insert+=( |
97 |
- '#hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0' |
98 |
- '#hvsi:2345:respawn:/sbin/agetty -L 19200 hvsi0' |
99 |
- ) |
100 |
- fi |
101 |
- (use arm || use mips || use sh || use sparc) && sed -i '/ttyS0/s:#::' inittab |
102 |
- if use kernel_FreeBSD ; then |
103 |
- sed -i \ |
104 |
- -e 's/linux/cons25/g' \ |
105 |
- -e 's/ttyS0/cuaa0/g' \ |
106 |
- -e 's/ttyS1/cuaa1/g' \ |
107 |
- inittab #121786 |
108 |
- fi |
109 |
- if use x86 || use amd64 ; then |
110 |
- sed -i \ |
111 |
- -e '/ttyS[01]/s:9600:115200:' \ |
112 |
- inittab |
113 |
- fi |
114 |
- if [[ ${#insert[@]} -gt 0 ]] ; then |
115 |
- printf '%s\n' '' '# Architecture specific features' "${insert[@]}" >> inittab |
116 |
- fi |
117 |
-} |
118 |
- |
119 |
-src_compile() { |
120 |
- tc-export CC |
121 |
- append-lfs-flags |
122 |
- export DISTRO= #381311 |
123 |
- use static && append-ldflags -static |
124 |
- emake -C src $(usex selinux 'WITH_SELINUX=yes' '') |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- emake -C src install ROOT="${D}" |
129 |
- dodoc README doc/* |
130 |
- |
131 |
- insinto /etc |
132 |
- doins "${WORKDIR}"/inittab |
133 |
- |
134 |
- # dead symlink |
135 |
- rm "${ED%/}"/usr/bin/lastb || die |
136 |
-} |
137 |
- |
138 |
-pkg_postinst() { |
139 |
- # Reload init to fix unmounting problems of / on next reboot. |
140 |
- # This is really needed, as without the new version of init cause init |
141 |
- # not to quit properly on reboot, and causes a fsck of / on next reboot. |
142 |
- if [[ ${ROOT} == / ]] ; then |
143 |
- if [[ -e /dev/initctl && ! -e /run/initctl ]]; then |
144 |
- ln -s /dev/initctl /run/initctl |
145 |
- fi |
146 |
- # Do not return an error if this fails |
147 |
- /sbin/telinit U &>/dev/null |
148 |
- fi |
149 |
- |
150 |
- elog "The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to" |
151 |
- elog "sys-apps/util-linux. The pidof tool has been moved to sys-process/procps." |
152 |
-} |
153 |
|
154 |
diff --git a/sys-apps/sysvinit/sysvinit-2.90.ebuild b/sys-apps/sysvinit/sysvinit-2.90.ebuild |
155 |
deleted file mode 100644 |
156 |
index 9d34be95b10..00000000000 |
157 |
--- a/sys-apps/sysvinit/sysvinit-2.90.ebuild |
158 |
+++ /dev/null |
159 |
@@ -1,117 +0,0 @@ |
160 |
-# Copyright 1999-2018 Gentoo Foundation |
161 |
-# Distributed under the terms of the GNU General Public License v2 |
162 |
- |
163 |
-EAPI=6 |
164 |
- |
165 |
-inherit toolchain-funcs flag-o-matic |
166 |
- |
167 |
-DESCRIPTION="/sbin/init - parent of all processes" |
168 |
-HOMEPAGE="https://savannah.nongnu.org/projects/sysvinit" |
169 |
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz" |
170 |
- |
171 |
-LICENSE="GPL-2" |
172 |
-SLOT="0" |
173 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
174 |
-IUSE="selinux ibm static kernel_FreeBSD" |
175 |
- |
176 |
-CDEPEND=" |
177 |
- selinux? ( |
178 |
- >=sys-libs/libselinux-1.28 |
179 |
- )" |
180 |
-DEPEND="${CDEPEND} |
181 |
- virtual/os-headers" |
182 |
-RDEPEND="${CDEPEND} |
183 |
- selinux? ( sec-policy/selinux-shutdown ) |
184 |
- !<sys-apps/openrc-0.13 |
185 |
-" |
186 |
- |
187 |
-PATCHES=( |
188 |
- "${FILESDIR}/${PN}-2.86-kexec.patch" #80220 |
189 |
- "${FILESDIR}/${PN}-2.86-shutdown-single.patch" #158615 |
190 |
- "${FILESDIR}/${PN}-2.88-shutdown-h.patch" #449354 |
191 |
- #"${FILESDIR}/${PN}-2.88-sysmacros.patch" |
192 |
-) |
193 |
- |
194 |
-src_prepare() { |
195 |
- default |
196 |
- sed -i '/^CPPFLAGS =$/d' src/Makefile || die |
197 |
- |
198 |
- # last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux |
199 |
- sed -i -r \ |
200 |
- -e '/^(USR)?S?BIN/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \ |
201 |
- -e '/^MAN[18]/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \ |
202 |
- src/Makefile || die |
203 |
- |
204 |
- # pidof has moved to >=procps-3.3.9 |
205 |
- sed -i -r \ |
206 |
- -e '/\/bin\/pidof/d' \ |
207 |
- -e '/^MAN8/s:\<pidof.8\>::g' \ |
208 |
- src/Makefile || die |
209 |
- |
210 |
- # Mung inittab for specific architectures |
211 |
- cd "${WORKDIR}" || die |
212 |
- cp "${FILESDIR}"/inittab-2.88 inittab || die "cp inittab" |
213 |
- local insert=() |
214 |
- use ppc && insert=( '#psc0:12345:respawn:/sbin/agetty 115200 ttyPSC0 linux' ) |
215 |
- use arm && insert=( '#f0:12345:respawn:/sbin/agetty 9600 ttyFB0 vt100' ) |
216 |
- use arm64 && insert=( 'f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100' ) |
217 |
- use hppa && insert=( 'b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100' ) |
218 |
- use s390 && insert=( 's0:12345:respawn:/sbin/agetty 38400 console dumb' ) |
219 |
- if use ibm ; then |
220 |
- insert+=( |
221 |
- '#hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0' |
222 |
- '#hvsi:2345:respawn:/sbin/agetty -L 19200 hvsi0' |
223 |
- ) |
224 |
- fi |
225 |
- (use arm || use mips || use sh || use sparc) && sed -i '/ttyS0/s:#::' inittab |
226 |
- if use kernel_FreeBSD ; then |
227 |
- sed -i \ |
228 |
- -e 's/linux/cons25/g' \ |
229 |
- -e 's/ttyS0/cuaa0/g' \ |
230 |
- -e 's/ttyS1/cuaa1/g' \ |
231 |
- inittab #121786 |
232 |
- fi |
233 |
- if use x86 || use amd64 ; then |
234 |
- sed -i \ |
235 |
- -e '/ttyS[01]/s:9600:115200:' \ |
236 |
- inittab |
237 |
- fi |
238 |
- if [[ ${#insert[@]} -gt 0 ]] ; then |
239 |
- printf '%s\n' '' '# Architecture specific features' "${insert[@]}" >> inittab |
240 |
- fi |
241 |
-} |
242 |
- |
243 |
-src_compile() { |
244 |
- tc-export CC |
245 |
- append-lfs-flags |
246 |
- export DISTRO= #381311 |
247 |
- use static && append-ldflags -static |
248 |
- emake -C src $(usex selinux 'WITH_SELINUX=yes' '') |
249 |
-} |
250 |
- |
251 |
-src_install() { |
252 |
- emake -C src install ROOT="${D}" |
253 |
- dodoc README doc/* |
254 |
- |
255 |
- insinto /etc |
256 |
- doins "${WORKDIR}"/inittab |
257 |
- |
258 |
- # dead symlink |
259 |
- rm "${ED%/}"/usr/bin/lastb || die |
260 |
-} |
261 |
- |
262 |
-pkg_postinst() { |
263 |
- # Reload init to fix unmounting problems of / on next reboot. |
264 |
- # This is really needed, as without the new version of init cause init |
265 |
- # not to quit properly on reboot, and causes a fsck of / on next reboot. |
266 |
- if [[ ${ROOT} == / ]] ; then |
267 |
- if [[ -e /dev/initctl && ! -e /run/initctl ]]; then |
268 |
- ln -s /dev/initctl /run/initctl |
269 |
- fi |
270 |
- # Do not return an error if this fails |
271 |
- /sbin/telinit U &>/dev/null |
272 |
- fi |
273 |
- |
274 |
- elog "The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to" |
275 |
- elog "sys-apps/util-linux. The pidof tool has been moved to sys-process/procps." |
276 |
-} |
277 |
|
278 |
diff --git a/sys-apps/sysvinit/sysvinit-2.91.ebuild b/sys-apps/sysvinit/sysvinit-2.91.ebuild |
279 |
deleted file mode 100644 |
280 |
index a59013bd45e..00000000000 |
281 |
--- a/sys-apps/sysvinit/sysvinit-2.91.ebuild |
282 |
+++ /dev/null |
283 |
@@ -1,117 +0,0 @@ |
284 |
-# Copyright 1999-2018 Gentoo Authors |
285 |
-# Distributed under the terms of the GNU General Public License v2 |
286 |
- |
287 |
-EAPI=6 |
288 |
- |
289 |
-inherit toolchain-funcs flag-o-matic |
290 |
- |
291 |
-DESCRIPTION="/sbin/init - parent of all processes" |
292 |
-HOMEPAGE="https://savannah.nongnu.org/projects/sysvinit" |
293 |
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz" |
294 |
- |
295 |
-LICENSE="GPL-2" |
296 |
-SLOT="0" |
297 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
298 |
-IUSE="selinux ibm static kernel_FreeBSD" |
299 |
- |
300 |
-CDEPEND=" |
301 |
- selinux? ( |
302 |
- >=sys-libs/libselinux-1.28 |
303 |
- )" |
304 |
-DEPEND="${CDEPEND} |
305 |
- virtual/os-headers" |
306 |
-RDEPEND="${CDEPEND} |
307 |
- selinux? ( sec-policy/selinux-shutdown ) |
308 |
- !<sys-apps/openrc-0.13 |
309 |
-" |
310 |
- |
311 |
-PATCHES=( |
312 |
- "${FILESDIR}/${PN}-2.86-kexec.patch" #80220 |
313 |
- "${FILESDIR}/${PN}-2.86-shutdown-single.patch" #158615 |
314 |
- "${FILESDIR}/${PN}-2.88-shutdown-h.patch" #449354 |
315 |
-) |
316 |
- |
317 |
-src_prepare() { |
318 |
- default |
319 |
- sed -i '/^CPPFLAGS =$/d' src/Makefile || die |
320 |
- |
321 |
- # last/lastb/mesg/mountpoint/sulogin/utmpdump/wall have moved to util-linux |
322 |
- sed -i -r \ |
323 |
- -e '/^(USR)?S?BIN/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)\>::g' \ |
324 |
- -e '/^MAN[18]/s:\<(last|lastb|mesg|mountpoint|sulogin|utmpdump|wall)[.][18]\>::g' \ |
325 |
- src/Makefile || die |
326 |
- |
327 |
- # pidof has moved to >=procps-3.3.9 |
328 |
- sed -i -r \ |
329 |
- -e '/\/bin\/pidof/d' \ |
330 |
- -e '/^MAN8/s:\<pidof.8\>::g' \ |
331 |
- src/Makefile || die |
332 |
- |
333 |
- # Mung inittab for specific architectures |
334 |
- cd "${WORKDIR}" || die |
335 |
- cp "${FILESDIR}"/inittab-2.88 inittab || die "cp inittab" |
336 |
- local insert=() |
337 |
- use ppc && insert=( '#psc0:12345:respawn:/sbin/agetty 115200 ttyPSC0 linux' ) |
338 |
- use arm && insert=( '#f0:12345:respawn:/sbin/agetty 9600 ttyFB0 vt100' ) |
339 |
- use arm64 && insert=( 'f0:12345:respawn:/sbin/agetty 9600 ttyAMA0 vt100' ) |
340 |
- use hppa && insert=( 'b0:12345:respawn:/sbin/agetty 9600 ttyB0 vt100' ) |
341 |
- use s390 && insert=( 's0:12345:respawn:/sbin/agetty 38400 console dumb' ) |
342 |
- if use ibm ; then |
343 |
- insert+=( |
344 |
- '#hvc0:2345:respawn:/sbin/agetty -L 9600 hvc0' |
345 |
- '#hvsi:2345:respawn:/sbin/agetty -L 19200 hvsi0' |
346 |
- ) |
347 |
- fi |
348 |
- (use arm || use mips || use sh || use sparc) && sed -i '/ttyS0/s:#::' inittab |
349 |
- if use kernel_FreeBSD ; then |
350 |
- sed -i \ |
351 |
- -e 's/linux/cons25/g' \ |
352 |
- -e 's/ttyS0/cuaa0/g' \ |
353 |
- -e 's/ttyS1/cuaa1/g' \ |
354 |
- inittab #121786 |
355 |
- fi |
356 |
- if use x86 || use amd64 ; then |
357 |
- sed -i \ |
358 |
- -e '/ttyS[01]/s:9600:115200:' \ |
359 |
- inittab |
360 |
- fi |
361 |
- if [[ ${#insert[@]} -gt 0 ]] ; then |
362 |
- printf '%s\n' '' '# Architecture specific features' "${insert[@]}" >> inittab |
363 |
- fi |
364 |
-} |
365 |
- |
366 |
-src_compile() { |
367 |
- tc-export CC |
368 |
- append-lfs-flags |
369 |
- export DISTRO= #381311 |
370 |
- export VERSION="${PV}" |
371 |
- use static && append-ldflags -static |
372 |
- emake -C src $(usex selinux 'WITH_SELINUX=yes' '') |
373 |
-} |
374 |
- |
375 |
-src_install() { |
376 |
- emake -C src install ROOT="${D}" |
377 |
- dodoc README doc/* |
378 |
- |
379 |
- insinto /etc |
380 |
- doins "${WORKDIR}"/inittab |
381 |
- |
382 |
- # dead symlink |
383 |
- rm "${ED%/}"/usr/bin/lastb || die |
384 |
-} |
385 |
- |
386 |
-pkg_postinst() { |
387 |
- # Reload init to fix unmounting problems of / on next reboot. |
388 |
- # This is really needed, as without the new version of init cause init |
389 |
- # not to quit properly on reboot, and causes a fsck of / on next reboot. |
390 |
- if [[ ${ROOT} == / ]] ; then |
391 |
- if [[ -e /dev/initctl && ! -e /run/initctl ]]; then |
392 |
- ln -s /dev/initctl /run/initctl |
393 |
- fi |
394 |
- # Do not return an error if this fails |
395 |
- /sbin/telinit U &>/dev/null |
396 |
- fi |
397 |
- |
398 |
- elog "The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to" |
399 |
- elog "sys-apps/util-linux. The pidof tool has been moved to sys-process/procps." |
400 |
-} |