Gentoo Archives: gentoo-commits

From: Alice Ferrazzi <alicef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/epoch/, sys-apps/epoch/files/
Date: Wed, 25 Jan 2017 13:12:03
Message-Id: 1485349715.0dd83e11c9d80fd0f994dd1e9fdf1df012a81d9a.alicef@gentoo
1 commit: 0dd83e11c9d80fd0f994dd1e9fdf1df012a81d9a
2 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 25 13:07:51 2017 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 25 13:08:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd83e11
7
8 sys-apps/epoch: Removed old files
9
10 Package-Manager: portage-2.3.0
11
12 sys-apps/epoch/Manifest | 6 --
13 sys-apps/epoch/epoch-1.0.1.ebuild | 74 ---------------------
14 sys-apps/epoch/epoch-1.0.ebuild | 74 ---------------------
15 sys-apps/epoch/epoch-1.0_rc1.ebuild | 74 ---------------------
16 sys-apps/epoch/epoch-1.0_rc2.ebuild | 74 ---------------------
17 sys-apps/epoch/epoch-1.1.1.ebuild | 74 ---------------------
18 sys-apps/epoch/epoch-1.2.0.ebuild | 74 ---------------------
19 sys-apps/epoch/files/epoch-1.0_rc1-epoch.conf | 77 ----------------------
20 .../epoch/files/epoch-1.0_rc1-fix-CFLAGS.patch | 11 ----
21 9 files changed, 538 deletions(-)
22
23 diff --git a/sys-apps/epoch/Manifest b/sys-apps/epoch/Manifest
24 index 438de50..7f00859 100644
25 --- a/sys-apps/epoch/Manifest
26 +++ b/sys-apps/epoch/Manifest
27 @@ -1,9 +1,3 @@
28 -DIST epoch-1.0.1.tar.gz 63180 SHA256 40bc17c6d1efcbd709489bcb4920595dde7c4dce49a027487453740eef6a8d8f SHA512 6b2532e86b489eb9e192194bb3d59edd2383e99ceea0bd09c60b64783260171540921a20cf235dd086423d16110b6bbd9974f134c28205635934f1700835d86c WHIRLPOOL 436a11beb0c0ede496ce4ffbf49600e5713962690691c8deb26082f5ff2faea9f5210917ddeca86d1d75e05187fefc39073d4db68144723e2f6d29a7f3980aeb
29 -DIST epoch-1.0.tar.gz 62623 SHA256 32d858de4c9a5f0996a0561b46dda72e3ac3744a2c65bf6006bb9f8d4aec9e2c SHA512 6d174d6065472c24516d7cbcbd84e51abbec4c062354d6caaf736e167f0a17db5c1c757d5e73222551b26b75aec6649933d55052c831bbabd9bdfd11014ccd5e WHIRLPOOL 6028f6f53d1fdabf360cc2a28542affa8385952009ee44e5855f46b3588654741ed553aa1e9f8275b0cd90b212a9f4bc0f125f57270bbfa5ece9538c4a36acda
30 -DIST epoch-1.0_rc1.tar.gz 50606 SHA256 074b39766b51a3b59ea4cb9673db3b3ad35e425f2aecf6b5ff880d2651aff7e9 SHA512 cbf8fad0657061b06fa19ae03e666d71fa8a8afab57cf6202570d3b6093f1a5c09aa40dda9798be1dd3a64fc73ed88474b974c98283533f1a1a67f0e6010b6a8 WHIRLPOOL 915698cb9901e9e2d740d13a12e435964cf007d8bee5a8c73dba3c3188939e07a38f1075f88db0dbf761b43982e2a434a66ba42d4c85f82af6c634af4ac6473c
31 -DIST epoch-1.0_rc2.tar.gz 54826 SHA256 740f32bbf5bae4daf78295c7f237bd4f11da5f9d77430b6bdbb7bea9a742a86b SHA512 f8a835cbcfd391d53f69a7e0ec97bbe3c63e5ae1d4abe19d48f419d131786fbcbc7959fe09059ffd753bfc573bf3b9b7f7ae84797bdf87d545f58289a5c7fcd1 WHIRLPOOL 4efbe5f34d27a1109999d2ad3675a9aa055209f11682f182c984c6f9619b992028e876565ace7e77b93cbcbbee53d96cb6a2a65dd7196e7931da1e5c3d8f4cd6
32 -DIST epoch-1.1.1.tar.gz 64969 SHA256 98a410ba66952bfc1c326fafd8ceeaf23262e3c3a9768cde4e80f208a37586b2 SHA512 0cfd8ee6c6b211d85d268ef8ac00a029ca4db4931077d81ec82478d7a56e84205f6c7712e58545369b9da2f99e93d99f7f29494c7be902b1f2c16574d6b7b431 WHIRLPOOL d32aaa494f107171ac2ce8cdc8f3349a3d905e2d600239e74221bed84ae65112fbe4344c33f2f4fb123db8478ed7740ab7e662b3fb9d8c262bc564fb1806d1ce
33 -DIST epoch-1.2.0.tar.gz 66380 SHA256 26147efd855a157d6774111e8171deaa7ce0f8df34ea13910d88fef54bec4b6f SHA512 d017e9f7078bd10596212769a8927f93f0ceb8a34beaf39b7708632bce55f107aa49904de68cfb9ee7aefc40ba28a455a0aecfe7c1afe838bf9e4144ea65544a WHIRLPOOL d49ec73337816b86512757f5a07ca1fbc660bb315e7a997efa36f776806f001fe73e87af4dd0ce0d5a3ba1b8683d775d9783c83072990ffc4c4f9b48dc89d4e7
34 DIST epoch-1.2.1.tar.gz 66718 SHA256 9ad6573ca71599f17cf6a567eef902cd1caadb5b5460764ae7bb4e16fa3a9423 SHA512 2d0c767165ec41452d1dabf338c8ea31772f1a8cd1e1dbd60c8469f2f235bb1f0cb60b467189f1fd1079dfc223b0687c1cfe5e729e1142ebc63323b1f9c0cf93 WHIRLPOOL 3c6382f6b2dfd0260f2a036403e995a7bca0b2ceb60a740c3294d736e091c6f9d21541f87a42019bfa25817135ea12bfaf59662ecd2eb85a1e126b9b2ad4c9d7
35 DIST epoch_1.2.2.tar.gz 229377 SHA256 3c8bdc4e3ddcaf2410f2c6082cab61f0957dfacf5c14300dadc6c22afd5bca8b SHA512 9e3e38ef95c20237a3db4f47c9464f27e893a665f0692200d89e96b12f6b2e3af9b84d951356b7b354f19ea4fbe372e2e0ba406fdfeb8819914d46cfed3024a3 WHIRLPOOL 1235b63f15435ccdfaf451aca11bd7ab07bc1e0ea148c6430e4b896d7c5838966000c85fabcc03ed86e92a28b46814db80fea528881bce0aa8653af3492d1533
36 DIST epoch_1.3.0.tar.gz 70681 SHA256 80ae3faa708976dfb15d5a59f10dfc0750fca9d16f164daea771757f89ddaa08 SHA512 1e4a8bee26d8819303cbeb67265ee74e294502acfb3f5e594222bb7bdcb2d077fe19e73c40e9111a6ef9af788d767434f5a9a357430b59d6a0cac0e36a3b8f9e WHIRLPOOL 6cd76694337f79a4a6e96a4506ec14a8a16c3861d808fa3a640fa02632833e79c3063c41dc210969798329df6467b4a21a367ed9c3182609c0a3fe26fbe0f60e
37
38 diff --git a/sys-apps/epoch/epoch-1.0.1.ebuild b/sys-apps/epoch/epoch-1.0.1.ebuild
39 deleted file mode 100644
40 index 65a0931..00000000
41 --- a/sys-apps/epoch/epoch-1.0.1.ebuild
42 +++ /dev/null
43 @@ -1,74 +0,0 @@
44 -# Copyright 1999-2014 Gentoo Foundation
45 -# Distributed under the terms of the GNU General Public License v2
46 -# $Id$
47 -
48 -EAPI="5"
49 -
50 -inherit eutils linux-info
51 -
52 -MY_PV="${PV/rc/RC}"
53 -MY_P="${PN}-${MY_PV}"
54 -
55 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
56 -HOMEPAGE="http://universe2.us/epoch.html"
57 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
58 -
59 -LICENSE="public-domain"
60 -SLOT="0"
61 -KEYWORDS="~amd64"
62 -
63 -S="${WORKDIR}/${MY_P}"
64 -
65 -pkg_pretend() {
66 - local CONFIG_CHECK="~PROC_FS"
67 -
68 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
69 -}
70 -
71 -src_prepare() {
72 - epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
73 -}
74 -
75 -src_compile() {
76 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
77 -}
78 -
79 -newepochins() {
80 - local type="$1"
81 -
82 - cd ${type} || die "Cannot change directory."
83 - for file in * ; do
84 - if [[ "${file}" != "epoch" ]] ; then
85 - new${type} ${file} epoch-${file}
86 - fi
87 - done
88 - cd .. || die "Cannot change directory."
89 -}
90 -
91 -src_install() {
92 - cd built || die "Cannot change directory."
93 -
94 - dosbin sbin/epoch
95 -
96 - # For now, rename to epoch-* until we can blend in with a standard approach.
97 - newepochins bin
98 - newepochins sbin
99 -
100 - insinto /etc/epoch/
101 - newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
102 -}
103 -
104 -pkg_postinst() {
105 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
106 - elog ""
107 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
108 - elog "which starts a minimal needed to use Gentoo."
109 - elog ""
110 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
111 - elog ""
112 - elog "Additional information about epoch is available at"
113 - elog "${HOMEPAGE} and configuration documentation at"
114 - elog "http://universe2.us/epochconfig.html which is useful reading material."
115 - elog ""
116 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
117 -}
118
119 diff --git a/sys-apps/epoch/epoch-1.0.ebuild b/sys-apps/epoch/epoch-1.0.ebuild
120 deleted file mode 100644
121 index 65a0931..00000000
122 --- a/sys-apps/epoch/epoch-1.0.ebuild
123 +++ /dev/null
124 @@ -1,74 +0,0 @@
125 -# Copyright 1999-2014 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Id$
128 -
129 -EAPI="5"
130 -
131 -inherit eutils linux-info
132 -
133 -MY_PV="${PV/rc/RC}"
134 -MY_P="${PN}-${MY_PV}"
135 -
136 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
137 -HOMEPAGE="http://universe2.us/epoch.html"
138 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
139 -
140 -LICENSE="public-domain"
141 -SLOT="0"
142 -KEYWORDS="~amd64"
143 -
144 -S="${WORKDIR}/${MY_P}"
145 -
146 -pkg_pretend() {
147 - local CONFIG_CHECK="~PROC_FS"
148 -
149 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
150 -}
151 -
152 -src_prepare() {
153 - epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
154 -}
155 -
156 -src_compile() {
157 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
158 -}
159 -
160 -newepochins() {
161 - local type="$1"
162 -
163 - cd ${type} || die "Cannot change directory."
164 - for file in * ; do
165 - if [[ "${file}" != "epoch" ]] ; then
166 - new${type} ${file} epoch-${file}
167 - fi
168 - done
169 - cd .. || die "Cannot change directory."
170 -}
171 -
172 -src_install() {
173 - cd built || die "Cannot change directory."
174 -
175 - dosbin sbin/epoch
176 -
177 - # For now, rename to epoch-* until we can blend in with a standard approach.
178 - newepochins bin
179 - newepochins sbin
180 -
181 - insinto /etc/epoch/
182 - newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
183 -}
184 -
185 -pkg_postinst() {
186 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
187 - elog ""
188 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
189 - elog "which starts a minimal needed to use Gentoo."
190 - elog ""
191 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
192 - elog ""
193 - elog "Additional information about epoch is available at"
194 - elog "${HOMEPAGE} and configuration documentation at"
195 - elog "http://universe2.us/epochconfig.html which is useful reading material."
196 - elog ""
197 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
198 -}
199
200 diff --git a/sys-apps/epoch/epoch-1.0_rc1.ebuild b/sys-apps/epoch/epoch-1.0_rc1.ebuild
201 deleted file mode 100644
202 index fa2d19e..00000000
203 --- a/sys-apps/epoch/epoch-1.0_rc1.ebuild
204 +++ /dev/null
205 @@ -1,74 +0,0 @@
206 -# Copyright 1999-2014 Gentoo Foundation
207 -# Distributed under the terms of the GNU General Public License v2
208 -# $Id$
209 -
210 -EAPI="5"
211 -
212 -inherit eutils linux-info
213 -
214 -MY_PV="${PV/rc/RC}"
215 -MY_P="${PN}-${MY_PV}"
216 -
217 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
218 -HOMEPAGE="http://universe2.us/epoch.html"
219 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
220 -
221 -LICENSE="public-domain"
222 -SLOT="0"
223 -KEYWORDS="~amd64"
224 -
225 -S="${WORKDIR}/${MY_P}"
226 -
227 -pkg_pretend() {
228 - local CONFIG_CHECK="~PROC_FS"
229 -
230 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
231 -}
232 -
233 -src_prepare() {
234 - epatch "${FILESDIR}"/${P}-fix-CFLAGS.patch
235 -}
236 -
237 -src_compile() {
238 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
239 -}
240 -
241 -newepochins() {
242 - local type="$1"
243 -
244 - cd ${type} || die "Cannot change directory."
245 - for file in * ; do
246 - if [[ "${file}" != "epoch" ]] ; then
247 - new${type} ${file} epoch-${file}
248 - fi
249 - done
250 - cd .. || die "Cannot change directory."
251 -}
252 -
253 -src_install() {
254 - cd built || die "Cannot change directory."
255 -
256 - dosbin sbin/epoch
257 -
258 - # For now, rename to epoch-* until we can blend in with a standard approach.
259 - newepochins bin
260 - newepochins sbin
261 -
262 - insinto /etc/epoch/
263 - newins "${FILESDIR}"/${P}-epoch.conf epoch.conf
264 -}
265 -
266 -pkg_postinst() {
267 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
268 - elog ""
269 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
270 - elog "which starts a minimal needed to use Gentoo."
271 - elog ""
272 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
273 - elog ""
274 - elog "Additional information about epoch is available at"
275 - elog "${HOMEPAGE} and configuration documentation at"
276 - elog "http://universe2.us/epochconfig.html which is useful reading material."
277 - elog ""
278 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
279 -}
280
281 diff --git a/sys-apps/epoch/epoch-1.0_rc2.ebuild b/sys-apps/epoch/epoch-1.0_rc2.ebuild
282 deleted file mode 100644
283 index 5610bec..00000000
284 --- a/sys-apps/epoch/epoch-1.0_rc2.ebuild
285 +++ /dev/null
286 @@ -1,74 +0,0 @@
287 -# Copyright 1999-2014 Gentoo Foundation
288 -# Distributed under the terms of the GNU General Public License v2
289 -# $Id$
290 -
291 -EAPI="5"
292 -
293 -inherit eutils linux-info
294 -
295 -MY_PV="${PV/rc/RC}"
296 -MY_P="${PN}-${MY_PV}"
297 -
298 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
299 -HOMEPAGE="http://universe2.us/epoch.html"
300 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
301 -
302 -LICENSE="public-domain"
303 -SLOT="0"
304 -KEYWORDS="~amd64"
305 -
306 -S="${WORKDIR}/${MY_P}"
307 -
308 -pkg_pretend() {
309 - local CONFIG_CHECK="~PROC_FS"
310 -
311 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
312 -}
313 -
314 -src_prepare() {
315 - epatch "${FILESDIR}"/${PN}-1.0_rc1-fix-CFLAGS.patch
316 -}
317 -
318 -src_compile() {
319 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
320 -}
321 -
322 -newepochins() {
323 - local type="$1"
324 -
325 - cd ${type} || die "Cannot change directory."
326 - for file in * ; do
327 - if [[ "${file}" != "epoch" ]] ; then
328 - new${type} ${file} epoch-${file}
329 - fi
330 - done
331 - cd .. || die "Cannot change directory."
332 -}
333 -
334 -src_install() {
335 - cd built || die "Cannot change directory."
336 -
337 - dosbin sbin/epoch
338 -
339 - # For now, rename to epoch-* until we can blend in with a standard approach.
340 - newepochins bin
341 - newepochins sbin
342 -
343 - insinto /etc/epoch/
344 - newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
345 -}
346 -
347 -pkg_postinst() {
348 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
349 - elog ""
350 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
351 - elog "which starts a minimal needed to use Gentoo."
352 - elog ""
353 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
354 - elog ""
355 - elog "Additional information about epoch is available at"
356 - elog "${HOMEPAGE} and configuration documentation at"
357 - elog "http://universe2.us/epochconfig.html which is useful reading material."
358 - elog ""
359 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
360 -}
361
362 diff --git a/sys-apps/epoch/epoch-1.1.1.ebuild b/sys-apps/epoch/epoch-1.1.1.ebuild
363 deleted file mode 100644
364 index 65a0931..00000000
365 --- a/sys-apps/epoch/epoch-1.1.1.ebuild
366 +++ /dev/null
367 @@ -1,74 +0,0 @@
368 -# Copyright 1999-2014 Gentoo Foundation
369 -# Distributed under the terms of the GNU General Public License v2
370 -# $Id$
371 -
372 -EAPI="5"
373 -
374 -inherit eutils linux-info
375 -
376 -MY_PV="${PV/rc/RC}"
377 -MY_P="${PN}-${MY_PV}"
378 -
379 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
380 -HOMEPAGE="http://universe2.us/epoch.html"
381 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
382 -
383 -LICENSE="public-domain"
384 -SLOT="0"
385 -KEYWORDS="~amd64"
386 -
387 -S="${WORKDIR}/${MY_P}"
388 -
389 -pkg_pretend() {
390 - local CONFIG_CHECK="~PROC_FS"
391 -
392 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
393 -}
394 -
395 -src_prepare() {
396 - epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
397 -}
398 -
399 -src_compile() {
400 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
401 -}
402 -
403 -newepochins() {
404 - local type="$1"
405 -
406 - cd ${type} || die "Cannot change directory."
407 - for file in * ; do
408 - if [[ "${file}" != "epoch" ]] ; then
409 - new${type} ${file} epoch-${file}
410 - fi
411 - done
412 - cd .. || die "Cannot change directory."
413 -}
414 -
415 -src_install() {
416 - cd built || die "Cannot change directory."
417 -
418 - dosbin sbin/epoch
419 -
420 - # For now, rename to epoch-* until we can blend in with a standard approach.
421 - newepochins bin
422 - newepochins sbin
423 -
424 - insinto /etc/epoch/
425 - newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
426 -}
427 -
428 -pkg_postinst() {
429 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
430 - elog ""
431 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
432 - elog "which starts a minimal needed to use Gentoo."
433 - elog ""
434 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
435 - elog ""
436 - elog "Additional information about epoch is available at"
437 - elog "${HOMEPAGE} and configuration documentation at"
438 - elog "http://universe2.us/epochconfig.html which is useful reading material."
439 - elog ""
440 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
441 -}
442
443 diff --git a/sys-apps/epoch/epoch-1.2.0.ebuild b/sys-apps/epoch/epoch-1.2.0.ebuild
444 deleted file mode 100644
445 index e6b06bf..00000000
446 --- a/sys-apps/epoch/epoch-1.2.0.ebuild
447 +++ /dev/null
448 @@ -1,74 +0,0 @@
449 -# Copyright 1999-2015 Gentoo Foundation
450 -# Distributed under the terms of the GNU General Public License v2
451 -# $Id$
452 -
453 -EAPI="5"
454 -
455 -inherit eutils linux-info
456 -
457 -MY_PV="${PV/rc/RC}"
458 -MY_P="${PN}-${MY_PV}"
459 -
460 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
461 -HOMEPAGE="http://universe2.us/epoch.html"
462 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
463 -
464 -LICENSE="public-domain"
465 -SLOT="0"
466 -KEYWORDS="~amd64 ~arm ~x86"
467 -
468 -S="${WORKDIR}/${MY_P}"
469 -
470 -pkg_pretend() {
471 - local CONFIG_CHECK="~PROC_FS"
472 -
473 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
474 -}
475 -
476 -src_prepare() {
477 - epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
478 -}
479 -
480 -src_compile() {
481 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
482 -}
483 -
484 -newepochins() {
485 - local type="$1"
486 -
487 - cd ${type} || die "Cannot change directory."
488 - for file in * ; do
489 - if [[ "${file}" != "epoch" ]] ; then
490 - new${type} ${file} epoch-${file}
491 - fi
492 - done
493 - cd .. || die "Cannot change directory."
494 -}
495 -
496 -src_install() {
497 - cd built || die "Cannot change directory."
498 -
499 - dosbin sbin/epoch
500 -
501 - # For now, rename to epoch-* until we can blend in with a standard approach.
502 - newepochins bin
503 - newepochins sbin
504 -
505 - insinto /etc/epoch/
506 - newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
507 -}
508 -
509 -pkg_postinst() {
510 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
511 - elog ""
512 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
513 - elog "which starts a minimal needed to use Gentoo."
514 - elog ""
515 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
516 - elog ""
517 - elog "Additional information about epoch is available at"
518 - elog "${HOMEPAGE} and configuration documentation at"
519 - elog "http://universe2.us/epochconfig.html which is useful reading material."
520 - elog ""
521 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
522 -}
523
524 diff --git a/sys-apps/epoch/files/epoch-1.0_rc1-epoch.conf b/sys-apps/epoch/files/epoch-1.0_rc1-epoch.conf
525 deleted file mode 100644
526 index e0550d4..00000000
527 --- a/sys-apps/epoch/files/epoch-1.0_rc1-epoch.conf
528 +++ /dev/null
529 @@ -1,77 +0,0 @@
530 -BootBannerText=Welcome!
531 -BootBannerColor=RED
532 -
533 -Hostname=FILE /etc/hostname
534 -DefaultRunlevel=boot
535 -EnableLogging=true
536 -MountVirtual=procfs sysfs devpts+ devshm+
537 -
538 -ObjectID=mountrun
539 - ObjectDescription=Mounting /run
540 - ObjectStartCommand=mount /run
541 - ObjectStartPriority=1
542 - ObjectStopPriority=0
543 - ObjectEnabled=true
544 - ObjectOptions=RAWDESCRIPTION
545 - ObjectRunlevels=boot
546 -
547 -ObjectID=mounttmp
548 - ObjectDescription=Mounting /tmp
549 - ObjectStartCommand=mount /tmp
550 - ObjectStartPriority=1
551 - ObjectStopPriority=0
552 - ObjectEnabled=true
553 - ObjectOptions=RAWDESCRIPTION
554 - ObjectRunlevels=boot
555 -
556 -ObjectID=rwfs
557 - ObjectDescription=read-write support on /
558 - ObjectStartCommand=/bin/mount -o remount,rw /
559 - ObjectStopCommand=/bin/mount -o remount,ro /
560 - ObjectStartPriority=2
561 - ObjectStopPriority=5
562 - ObjectEnabled=true
563 - ObjectRunlevels=boot
564 -
565 -ObjectID=getty1
566 - ObjectDescription=agetty on /dev/tty1
567 - ObjectStartCommand=agetty --noclear tty1 &
568 - ObjectStopCommand=NONE
569 - ObjectStartPriority=3
570 - ObjectStopPriority=0
571 - ObjectEnabled=true
572 - ObjectOptions=SERVICE AUTORESTART
573 - ObjectRunlevels=boot
574 -
575 -ObjectID=extrafs
576 - ObjectDescription=extra filesystems and swaps
577 - ObjectStartCommand=mount -a && swapon -a
578 - ObjectStopCommand=swapoff -a && umount -a -r -t nodevtmpfs,notmpfs,nosysfs,noproc
579 - ObjectStartPriority=4
580 - ObjectStopPriority=4
581 - ObjectEnabled=true
582 - ObjectRunlevels=boot
583 -
584 -ObjectID=killall5_soft
585 - ObjectDescription=Terminating all processes
586 - ObjectStopCommand=killall5 -15 && sleep 1
587 - ObjectStartPriority=0
588 - ObjectStopPriority=1
589 - ObjectEnabled=true
590 - ObjectOptions=HALTONLY RAWDESCRIPTION
591 -
592 -ObjectID=sync
593 - ObjectDescription=Syncing
594 - ObjectStopCommand=/bin/sync
595 - ObjectStartPriority=0
596 - ObjectStopPriority=2
597 - ObjectEnabled=true
598 - ObjectOptions=HALTONLY RAWDESCRIPTION
599 -
600 -ObjectID=killall5
601 - ObjectDescription=Killing all processes
602 - ObjectStopCommand=killall5 -9 && sleep 1
603 - ObjectStartPriority=0
604 - ObjectStopPriority=3
605 - ObjectEnabled=true
606 - ObjectOptions=HALTONLY RAWDESCRIPTION
607
608 diff --git a/sys-apps/epoch/files/epoch-1.0_rc1-fix-CFLAGS.patch b/sys-apps/epoch/files/epoch-1.0_rc1-fix-CFLAGS.patch
609 deleted file mode 100644
610 index a603c56..00000000
611 --- a/sys-apps/epoch/files/epoch-1.0_rc1-fix-CFLAGS.patch
612 +++ /dev/null
613 @@ -1,11 +0,0 @@
614 ---- a/buildepoch.sh
615 -+++ b/buildepoch.sh
616 -@@ -53,7 +53,7 @@
617 - }
618 -
619 - MEMBUS_SIZE_SET="0"
620 --NEED_EMPTY_CFLAGS="0"
621 -+NEED_EMPTY_CFLAGS="1"
622 - outdir="../built"
623 -
624 - if [ "$CC" == "" ]; then