Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/epoch: epoch-1.0.ebuild epoch-9999.ebuild ChangeLog
Date: Fri, 07 Feb 2014 13:39:26
Message-Id: 20140207133920.BF1D82004E@flycatcher.gentoo.org
1 tomwij 14/02/07 13:39:20
2
3 Modified: epoch-9999.ebuild ChangeLog
4 Added: epoch-1.0.ebuild
5 Log:
6 Version bump to 1.0, fixes bug #500462.
7
8 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.3 sys-apps/epoch/epoch-9999.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild?r1=1.2&r2=1.3
16
17 Index: epoch-9999.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- epoch-9999.ebuild 7 Dec 2013 21:17:40 -0000 1.2
24 +++ epoch-9999.ebuild 7 Feb 2014 13:39:20 -0000 1.3
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2013 Gentoo Foundation
27 +# Copyright 1999-2014 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild,v 1.2 2013/12/07 21:17:40 tomwij Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild,v 1.3 2014/02/07 13:39:20 tomwij Exp $
31
32 EAPI="5"
33
34 @@ -26,7 +26,7 @@
35 }
36
37 src_prepare() {
38 - epatch "${FILESDIR}"/${PN}-1.0_rc1-fix-CFLAGS.patch
39 + epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
40 }
41
42 src_compile() {
43
44
45
46 1.4 sys-apps/epoch/ChangeLog
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/ChangeLog?rev=1.4&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/ChangeLog?rev=1.4&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/ChangeLog?r1=1.3&r2=1.4
51
52 Index: ChangeLog
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/sys-apps/epoch/ChangeLog,v
55 retrieving revision 1.3
56 retrieving revision 1.4
57 diff -u -r1.3 -r1.4
58 --- ChangeLog 22 Dec 2013 12:45:09 -0000 1.3
59 +++ ChangeLog 7 Feb 2014 13:39:20 -0000 1.4
60 @@ -1,6 +1,12 @@
61 # ChangeLog for sys-apps/epoch
62 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
63 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/ChangeLog,v 1.3 2013/12/22 12:45:09 tomwij Exp $
64 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
65 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/ChangeLog,v 1.4 2014/02/07 13:39:20 tomwij Exp $
66 +
67 +*epoch-1.0 (07 Feb 2014)
68 +
69 + 07 Feb 2014; Tom Wijsman <TomWij@g.o> +epoch-1.0.ebuild,
70 + +files/epoch-1.0-fix-CFLAGS.patch, epoch-9999.ebuild:
71 + Version bump to 1.0, fixes bug #500462.
72
73 *epoch-1.0_rc2 (22 Dec 2013)
74
75
76
77
78 1.1 sys-apps/epoch/epoch-1.0.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-1.0.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-1.0.ebuild?rev=1.1&content-type=text/plain
82
83 Index: epoch-1.0.ebuild
84 ===================================================================
85 # Copyright 1999-2014 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/epoch-1.0.ebuild,v 1.1 2014/02/07 13:39:20 tomwij Exp $
88
89 EAPI="5"
90
91 inherit eutils linux-info
92
93 MY_PV="${PV/rc/RC}"
94 MY_P="${PN}-${MY_PV}"
95
96 DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity."
97 HOMEPAGE="http://universe2.us/epoch.html"
98 SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
99
100 LICENSE="public-domain"
101 SLOT="0"
102 KEYWORDS="~amd64"
103
104 S="${WORKDIR}/${MY_P}"
105
106 pkg_pretend() {
107 local CONFIG_CHECK="~PROC_FS"
108
109 [[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
110 }
111
112 src_prepare() {
113 epatch "${FILESDIR}"/${PN}-1.0-fix-CFLAGS.patch
114 }
115
116 src_compile() {
117 NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
118 }
119
120 newepochins() {
121 local type="$1"
122
123 cd ${type} || die "Cannot change directory."
124 for file in * ; do
125 if [[ "${file}" != "epoch" ]] ; then
126 new${type} ${file} epoch-${file}
127 fi
128 done
129 cd .. || die "Cannot change directory."
130 }
131
132 src_install() {
133 cd built || die "Cannot change directory."
134
135 dosbin sbin/epoch
136
137 # For now, rename to epoch-* until we can blend in with a standard approach.
138 newepochins bin
139 newepochins sbin
140
141 insinto /etc/epoch/
142 newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
143 }
144
145 pkg_postinst() {
146 elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
147 elog ""
148 elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
149 elog "which starts a minimal needed to use Gentoo."
150 elog ""
151 elog "To use epoch, add this kernel parameter: init=/usr/sbin/epoch-init"
152 elog ""
153 elog "Additional information about epoch is available at"
154 elog "${HOMEPAGE} and configuration documentation at"
155 elog "http://universe2.us/epochconfig.html which is useful reading material."
156 elog ""
157 elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
158 }