Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/tomoyo-tools: tomoyo-tools-2.2.0_p20120414.ebuild tomoyo-tools-2.4.0_p20120414.ebuild tomoyo-tools-2.3.0_p20120414.ebuild tomoyo-tools-2.5.0_p20120414.ebuild ChangeLog tomoyo-tools-2.4.0_p20111025.ebuild tomoyo-tools-2.5.0_p20111025.ebuild tomoyo-tools-2.3.0_p20110929.ebuild tomoyo-tools-2.2.0_p20110211.ebuild
Date: Fri, 01 Jun 2012 07:56:17
Message-Id: 20120601075606.DA1C12004C@flycatcher.gentoo.org
1 naota 12/06/01 07:56:06
2
3 Modified: ChangeLog
4 Added: tomoyo-tools-2.2.0_p20120414.ebuild
5 tomoyo-tools-2.4.0_p20120414.ebuild
6 tomoyo-tools-2.3.0_p20120414.ebuild
7 tomoyo-tools-2.5.0_p20120414.ebuild
8 Removed: tomoyo-tools-2.4.0_p20111025.ebuild
9 tomoyo-tools-2.5.0_p20111025.ebuild
10 tomoyo-tools-2.3.0_p20110929.ebuild
11 tomoyo-tools-2.2.0_p20110211.ebuild
12 Log:
13 Version bump. Drop old.
14
15 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
16
17 Revision Changes Path
18 1.10 sys-apps/tomoyo-tools/ChangeLog
19
20 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog?rev=1.10&view=markup
21 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog?rev=1.10&content-type=text/plain
22 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog?r1=1.9&r2=1.10
23
24 Index: ChangeLog
25 ===================================================================
26 RCS file: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog,v
27 retrieving revision 1.9
28 retrieving revision 1.10
29 diff -u -r1.9 -r1.10
30 --- ChangeLog 14 Nov 2011 18:50:26 -0000 1.9
31 +++ ChangeLog 1 Jun 2012 07:56:06 -0000 1.10
32 @@ -1,6 +1,26 @@
33 # ChangeLog for sys-apps/tomoyo-tools
34 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
35 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog,v 1.9 2011/11/14 18:50:26 naota Exp $
36 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
37 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog,v 1.10 2012/06/01 07:56:06 naota Exp $
38 +
39 +*tomoyo-tools-2.3.0_p20120414 (01 Jun 2012)
40 +*tomoyo-tools-2.4.0_p20120414 (01 Jun 2012)
41 +*tomoyo-tools-2.5.0_p20120414 (01 Jun 2012)
42 +*tomoyo-tools-2.2.0_p20120414 (01 Jun 2012)
43 +
44 + 01 Jun 2012; Naohiro Aota <naota@g.o>
45 + +files/tomoyo-tools-2.2.0_p20120414-gentoo.patch,
46 + +files/tomoyo-tools-2.2.0_p20120414-ldflags.patch,
47 + +files/tomoyo-tools-2.3.0_p20120414-flags-parallel.patch,
48 + +files/tomoyo-tools-2.5.0_p20120414-flags-parallel.patch,
49 + +tomoyo-tools-2.2.0_p20120414.ebuild, +tomoyo-tools-2.3.0_p20120414.ebuild,
50 + +tomoyo-tools-2.4.0_p20120414.ebuild, +tomoyo-tools-2.5.0_p20120414.ebuild,
51 + -files/tomoyo-tools-2.2.0_p20110211-gentoo.patch,
52 + -files/tomoyo-tools-2.2.0_p20110211-ldflags.patch,
53 + -files/tomoyo-tools-2.3.0_p20110929-flags-parallel.patch,
54 + -files/tomoyo-tools-2.5.0_p20111025-flags-parallel.patch,
55 + -tomoyo-tools-2.2.0_p20110211.ebuild, -tomoyo-tools-2.3.0_p20110929.ebuild,
56 + -tomoyo-tools-2.4.0_p20111025.ebuild, -tomoyo-tools-2.5.0_p20111025.ebuild:
57 + Version bump. Drop old.
58
59 *tomoyo-tools-2.5.0_p20111025 (14 Nov 2011)
60
61
62
63
64 1.1 sys-apps/tomoyo-tools/tomoyo-tools-2.2.0_p20120414.ebuild
65
66 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.2.0_p20120414.ebuild?rev=1.1&view=markup
67 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.2.0_p20120414.ebuild?rev=1.1&content-type=text/plain
68
69 Index: tomoyo-tools-2.2.0_p20120414.ebuild
70 ===================================================================
71 # Copyright 1999-2012 Gentoo Foundation
72 # Distributed under the terms of the GNU General Public License v2
73 # $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.2.0_p20120414.ebuild,v 1.1 2012/06/01 07:56:06 naota Exp $
74
75 inherit eutils multilib toolchain-funcs
76
77 MY_P="${P/_p/-}"
78 DESCRIPTION="TOMOYO Linux tools"
79 HOMEPAGE="http://tomoyo.sourceforge.jp/"
80 SRC_URI="mirror://sourceforge.jp/tomoyo/41908/${MY_P}.tar.gz"
81
82 LICENSE="GPL-2"
83 SLOT="0"
84 KEYWORDS="~amd64 ~x86"
85 IUSE=""
86
87 DEPEND="sys-libs/ncurses"
88 RDEPEND="${DEPEND}
89 !sys-apps/ccs-tools"
90
91 S="${WORKDIR}/${PN}"
92
93 src_unpack() {
94 unpack ${A}
95 cd "${S}"
96
97 epatch "${FILESDIR}/${P}-gentoo.patch"
98 epatch "${FILESDIR}/${P}-ldflags.patch"
99
100 sed -i \
101 -e "/^CC/s:gcc:$(tc-getCC):" \
102 -e "/^CFLAGS/s:-O2:${CFLAGS}:" \
103 -e "/^USRLIBDIR/s:/usr/lib:/usr/$(get_libdir):g" \
104 Include.make || die
105
106 echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/tomoyo/conf\"" > "${T}/50${PN}"
107 }
108
109 src_install() {
110 emake INSTALLDIR="${D}" install || die
111
112 rm "${D}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo,tomoyotools.conf} || die
113 insinto /usr/$(get_libdir)/tomoyo/conf
114 doins tomoyotools.conf || die
115 dosym conf/tomoyotools.conf /usr/$(get_libdir)/tomoyo/tomoyotools.conf || die
116
117 doenvd "${T}/50${PN}" || die
118
119 dodoc README.tomoyo
120 }
121
122 pkg_postinst() {
123 elog "Execute the following command to setup the initial policy configuration:"
124 elog
125 elog "emerge --config =${CATEGORY}/${PF}"
126 elog
127 elog "For more information, please visit the following."
128 elog
129 elog "http://tomoyo.sourceforge.jp/"
130 }
131
132 pkg_config() {
133 /usr/$(get_libdir)/tomoyo/tomoyo_init_policy
134 }
135
136
137
138 1.1 sys-apps/tomoyo-tools/tomoyo-tools-2.4.0_p20120414.ebuild
139
140 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.4.0_p20120414.ebuild?rev=1.1&view=markup
141 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.4.0_p20120414.ebuild?rev=1.1&content-type=text/plain
142
143 Index: tomoyo-tools-2.4.0_p20120414.ebuild
144 ===================================================================
145 # Copyright 1999-2012 Gentoo Foundation
146 # Distributed under the terms of the GNU General Public License v2
147 # $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.4.0_p20120414.ebuild,v 1.1 2012/06/01 07:56:06 naota Exp $
148
149 EAPI="2"
150
151 inherit eutils multilib toolchain-funcs
152
153 MY_P="${P/_p/-}"
154 DESCRIPTION="TOMOYO Linux tools"
155 HOMEPAGE="http://tomoyo.sourceforge.jp/"
156 SRC_URI="mirror://sourceforge.jp/tomoyo/52848/${MY_P}.tar.gz"
157
158 LICENSE="GPL-2"
159 SLOT="0"
160 KEYWORDS="~amd64 ~x86"
161 IUSE=""
162
163 DEPEND="sys-libs/ncurses"
164 RDEPEND="${DEPEND}
165 !sys-apps/ccs-tools"
166
167 S="${WORKDIR}/${PN}"
168
169 src_prepare() {
170 epatch "${FILESDIR}"/${PN}-2.4.0_p20110929-flags-parallel.patch
171
172 # Fix libdir
173 sed -i \
174 -e "s:/usr/lib:/usr/$(get_libdir):g" \
175 Include.make || die "sed failed"
176
177 echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/tomoyo/conf\"" > "${T}/50${PN}"
178
179 tc-export CC
180 }
181
182 src_install() {
183 dodir /usr/"$(get_libdir)" || die
184
185 emake INSTALLDIR="${D}" install || die
186
187 doenvd "${T}/50${PN}" || die
188
189 # Fix out-of-place readme and license
190 rm "${D}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo} || die
191 dodoc README.tomoyo || die
192 }
193
194 pkg_postinst() {
195 elog "Execute the following command to setup the initial policy configuration:"
196 elog
197 elog "emerge --config =${CATEGORY}/${PF}"
198 elog
199 elog "For more information, please visit the following."
200 elog
201 elog "http://tomoyo.sourceforge.jp/"
202 }
203
204 pkg_config() {
205 /usr/$(get_libdir)/tomoyo/init_policy
206 }
207
208
209
210 1.1 sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20120414.ebuild
211
212 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20120414.ebuild?rev=1.1&view=markup
213 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20120414.ebuild?rev=1.1&content-type=text/plain
214
215 Index: tomoyo-tools-2.3.0_p20120414.ebuild
216 ===================================================================
217 # Copyright 1999-2012 Gentoo Foundation
218 # Distributed under the terms of the GNU General Public License v2
219 # $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20120414.ebuild,v 1.1 2012/06/01 07:56:06 naota Exp $
220
221 EAPI="2"
222
223 inherit eutils multilib toolchain-funcs
224
225 MY_P="${P/_p/-}"
226 DESCRIPTION="TOMOYO Linux tools"
227 HOMEPAGE="http://tomoyo.sourceforge.jp/"
228 SRC_URI="mirror://sourceforge.jp/tomoyo/48663/${MY_P}.tar.gz"
229
230 LICENSE="GPL-2"
231 SLOT="0"
232 KEYWORDS="~amd64 ~x86"
233 IUSE=""
234
235 DEPEND="sys-libs/ncurses"
236 RDEPEND="${DEPEND}
237 !sys-apps/ccs-tools"
238
239 S="${WORKDIR}/${PN}"
240
241 src_prepare() {
242 epatch "${FILESDIR}"/${P}-flags-parallel.patch \
243 "${FILESDIR}"/${PN}-2.3.0_p20110929-gentoo.patch
244
245 # Fix libdir
246 sed -i \
247 -e "s:/usr/lib:/usr/$(get_libdir):g" \
248 Include.make || die "sed failed"
249
250 echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/tomoyo/conf\"" > "${T}/50${PN}"
251 }
252
253 src_install() {
254 dodir /usr/"$(get_libdir)" || die
255
256 emake INSTALLDIR="${D}" install || die
257
258 # Move-link tomoyotools.conf to subdir "conf"
259 rm "${D}"/usr/$(get_libdir)/tomoyo/tomoyotools.conf || die
260 insinto /usr/$(get_libdir)/tomoyo/conf
261 doins usr_lib_tomoyo/tomoyotools.conf || die
262 dosym conf/tomoyotools.conf /usr/$(get_libdir)/tomoyo/tomoyotools.conf || die
263
264 doenvd "${T}/50${PN}" || die
265
266 # Fix out-of-place readme and license
267 rm "${D}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo} || die
268 dodoc README.tomoyo || die
269 }
270
271 pkg_postinst() {
272 elog "Execute the following command to setup the initial policy configuration:"
273 elog
274 elog "emerge --config =${CATEGORY}/${PF}"
275 elog
276 elog "For more information, please visit the following."
277 elog
278 elog "http://tomoyo.sourceforge.jp/"
279 }
280
281 pkg_config() {
282 /usr/$(get_libdir)/tomoyo/init_policy
283 }
284
285
286
287 1.1 sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20120414.ebuild
288
289 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20120414.ebuild?rev=1.1&view=markup
290 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20120414.ebuild?rev=1.1&content-type=text/plain
291
292 Index: tomoyo-tools-2.5.0_p20120414.ebuild
293 ===================================================================
294 # Copyright 1999-2012 Gentoo Foundation
295 # Distributed under the terms of the GNU General Public License v2
296 # $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.5.0_p20120414.ebuild,v 1.1 2012/06/01 07:56:06 naota Exp $
297
298 EAPI="2"
299
300 inherit eutils multilib toolchain-funcs
301
302 MY_P="${P/_p/-}"
303 DESCRIPTION="TOMOYO Linux tools"
304 HOMEPAGE="http://tomoyo.sourceforge.jp/"
305 SRC_URI="mirror://sourceforge.jp/tomoyo/53357/${MY_P}.tar.gz"
306
307 LICENSE="GPL-2"
308 SLOT="0"
309 KEYWORDS="~amd64 ~x86"
310 IUSE=""
311
312 DEPEND="sys-libs/ncurses"
313 RDEPEND="${DEPEND}
314 !sys-apps/ccs-tools"
315
316 S="${WORKDIR}/${PN}"
317
318 src_prepare() {
319 epatch "${FILESDIR}"/${P}-flags-parallel.patch
320
321 # Fix libdir
322 sed -i \
323 -e "s:/usr/lib:/usr/$(get_libdir):g" \
324 Include.make || die "sed failed"
325
326 echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/tomoyo/conf\"" > "${T}/50${PN}"
327
328 tc-export CC
329 }
330
331 src_install() {
332 dodir /usr/"$(get_libdir)" || die
333
334 emake INSTALLDIR="${D}" install || die
335
336 doenvd "${T}/50${PN}" || die
337
338 # Fix out-of-place readme and license
339 rm "${D}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo} || die
340 dodoc README.tomoyo || die
341 }
342
343 pkg_postinst() {
344 elog "Execute the following command to setup the initial policy configuration:"
345 elog
346 elog "emerge --config =${CATEGORY}/${PF}"
347 elog
348 elog "For more information, please visit the following."
349 elog
350 elog "http://tomoyo.sourceforge.jp/"
351 }
352
353 pkg_config() {
354 /usr/$(get_libdir)/tomoyo/init_policy
355 }