Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/epoch/
Date: Thu, 20 Jan 2022 14:25:52
Message-Id: 1642688738.910d2e3701f7911de4d3ba97cf73bd09a0b668d7.asturm@gentoo
1 commit: 910d2e3701f7911de4d3ba97cf73bd09a0b668d7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 14:24:52 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 14:25:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910d2e37
7
8 sys-apps/epoch: Drop 1.2.1
9
10 Closes: https://bugs.gentoo.org/783738
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 sys-apps/epoch/Manifest | 1 -
15 sys-apps/epoch/epoch-1.2.1.ebuild | 73 ---------------------------------------
16 2 files changed, 74 deletions(-)
17
18 diff --git a/sys-apps/epoch/Manifest b/sys-apps/epoch/Manifest
19 index ce77f48c8151..442574622061 100644
20 --- a/sys-apps/epoch/Manifest
21 +++ b/sys-apps/epoch/Manifest
22 @@ -1,2 +1 @@
23 -DIST epoch-1.2.1.tar.gz 66718 BLAKE2B 1fc75001ead0f65df6a303ae4933995eb5607e4f8f2de21c2b74b95f7a8a5ca0be21bf6c509826d36c79795905a1f65c18a755b7944d0eceb0364abc1d58613a SHA512 2d0c767165ec41452d1dabf338c8ea31772f1a8cd1e1dbd60c8469f2f235bb1f0cb60b467189f1fd1079dfc223b0687c1cfe5e729e1142ebc63323b1f9c0cf93
24 DIST epoch_1.3.0.tar.gz 70681 BLAKE2B 7ad2ab4c7f6c5544138aeb29a9b3a3f8889ade23b448abf1ec257fc7bbf811f4f6b01f0c9c81005aec56fe243d1f1e53a2daacdcdc4ff935bfcbd707fb8b2ab6 SHA512 1e4a8bee26d8819303cbeb67265ee74e294502acfb3f5e594222bb7bdcb2d077fe19e73c40e9111a6ef9af788d767434f5a9a357430b59d6a0cac0e36a3b8f9e
25
26 diff --git a/sys-apps/epoch/epoch-1.2.1.ebuild b/sys-apps/epoch/epoch-1.2.1.ebuild
27 deleted file mode 100644
28 index 865e15dc24b2..000000000000
29 --- a/sys-apps/epoch/epoch-1.2.1.ebuild
30 +++ /dev/null
31 @@ -1,73 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -
37 -inherit epatch linux-info
38 -
39 -MY_PV="${PV/rc/RC}"
40 -MY_P="${PN}-${MY_PV}"
41 -
42 -DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity"
43 -HOMEPAGE="http://universe2.us/epoch.html"
44 -SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="public-domain"
47 -SLOT="0"
48 -KEYWORDS="amd64 arm x86"
49 -
50 -S="${WORKDIR}/${MY_P}"
51 -
52 -pkg_pretend() {
53 - local CONFIG_CHECK="~PROC_FS"
54 -
55 - [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
56 -}
57 -
58 -src_prepare() {
59 - epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
60 -}
61 -
62 -src_compile() {
63 - NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
64 -}
65 -
66 -newepochins() {
67 - local type="$1"
68 -
69 - cd ${type} || die "Cannot change directory."
70 - for file in * ; do
71 - if [[ "${file}" != "epoch" ]] ; then
72 - new${type} ${file} epoch-${file}
73 - fi
74 - done
75 - cd .. || die "Cannot change directory."
76 -}
77 -
78 -src_install() {
79 - cd built || die "Cannot change directory."
80 -
81 - dosbin sbin/epoch
82 -
83 - # For now, rename to epoch-* until we can blend in with a standard approach.
84 - newepochins bin
85 - newepochins sbin
86 -
87 - insinto /etc/epoch/
88 - newins "${FILESDIR}"/${PN}-1.0-epoch.conf epoch.conf
89 -}
90 -
91 -pkg_postinst() {
92 - elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
93 - elog ""
94 - elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
95 - elog "which starts a minimal needed to use Gentoo."
96 - elog ""
97 - elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
98 - elog ""
99 - elog "Additional information about epoch is available at"
100 - elog "${HOMEPAGE} and configuration documentation at"
101 - elog "http://universe2.us/epochconfig.html which is useful reading material."
102 - elog ""
103 - elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
104 -}