1 |
naota 11/09/29 22:34:06 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tomoyo-tools-2.3.0_p20110929.ebuild |
5 |
Removed: tomoyo-tools-2.3.0_p20100820.ebuild |
6 |
Log: |
7 |
Version bumped. Bug #355823 |
8 |
|
9 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 sys-apps/tomoyo-tools/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- ChangeLog 29 Sep 2011 22:15:13 -0000 1.4 |
25 |
+++ ChangeLog 29 Sep 2011 22:34:06 -0000 1.5 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for sys-apps/tomoyo-tools |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog,v 1.4 2011/09/29 22:15:13 naota Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/ChangeLog,v 1.5 2011/09/29 22:34:06 naota Exp $ |
31 |
+ |
32 |
+*tomoyo-tools-2.3.0_p20110929 (29 Sep 2011) |
33 |
+ |
34 |
+ 29 Sep 2011; Naohiro Aota <naota@g.o> |
35 |
+ -tomoyo-tools-2.3.0_p20100820.ebuild, +tomoyo-tools-2.3.0_p20110929.ebuild, |
36 |
+ -files/tomoyo-tools-2.3.0_p20100820-flags-parallel.patch, |
37 |
+ -files/tomoyo-tools-2.3.0_p20100820-gentoo.patch, |
38 |
+ +files/tomoyo-tools-2.3.0_p20110929-flags-parallel.patch, |
39 |
+ +files/tomoyo-tools-2.3.0_p20110929-gentoo.patch: |
40 |
+ Version bumped. Bug #355823 |
41 |
|
42 |
*tomoyo-tools-2.2.0_p20110211 (29 Sep 2011) |
43 |
|
44 |
|
45 |
|
46 |
|
47 |
1.1 sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20110929.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20110929.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20110929.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: tomoyo-tools-2.3.0_p20110929.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2011 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/tomoyo-tools/tomoyo-tools-2.3.0_p20110929.ebuild,v 1.1 2011/09/29 22:34:06 naota Exp $ |
57 |
|
58 |
EAPI="2" |
59 |
|
60 |
inherit eutils multilib toolchain-funcs |
61 |
|
62 |
MY_P="${P/_p/-}" |
63 |
DESCRIPTION="TOMOYO Linux tools" |
64 |
HOMEPAGE="http://tomoyo.sourceforge.jp/" |
65 |
SRC_URI="mirror://sourceforge.jp/tomoyo/48663/${MY_P}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="" |
71 |
|
72 |
DEPEND="sys-libs/ncurses" |
73 |
RDEPEND="${DEPEND} |
74 |
!sys-apps/ccs-tools" |
75 |
|
76 |
S="${WORKDIR}/${PN}" |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}"/${P}-flags-parallel.patch \ |
80 |
"${FILESDIR}"/${P}-gentoo.patch |
81 |
|
82 |
# Fix libdir |
83 |
for makefile in {,*/}Makefile |
84 |
do |
85 |
sed -i \ |
86 |
-e "s:/usr/lib/:/usr/$(get_libdir)/:g" \ |
87 |
"${makefile}" || die |
88 |
done |
89 |
|
90 |
echo "CONFIG_PROTECT=\"/usr/$(get_libdir)/tomoyo/conf\"" > "${T}/50${PN}" |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
dodir /usr/"$(get_libdir)" || die |
95 |
|
96 |
emake INSTALLDIR="${D}" install || die |
97 |
|
98 |
# Move-link tomoyotools.conf to subdir "conf" |
99 |
rm "${D}"/usr/$(get_libdir)/tomoyo/tomoyotools.conf || die |
100 |
insinto /usr/$(get_libdir)/tomoyo/conf |
101 |
doins usr_lib_tomoyo/tomoyotools.conf || die |
102 |
dosym conf/tomoyotools.conf /usr/$(get_libdir)/tomoyo/tomoyotools.conf || die |
103 |
|
104 |
doenvd "${T}/50${PN}" || die |
105 |
|
106 |
# Fix out-of-place readme and license |
107 |
rm "${D}"/usr/$(get_libdir)/tomoyo/{COPYING.tomoyo,README.tomoyo} || die |
108 |
dodoc README.tomoyo || die |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
elog "Execute the following command to setup the initial policy configuration:" |
113 |
elog |
114 |
elog "emerge --config =${CATEGORY}/${PF}" |
115 |
elog |
116 |
elog "For more information, please visit the following." |
117 |
elog |
118 |
elog "http://tomoyo.sourceforge.jp/" |
119 |
} |
120 |
|
121 |
pkg_config() { |
122 |
/usr/$(get_libdir)/tomoyo/init_policy |
123 |
} |