Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/ccs-tools: ChangeLog ccs-tools-1.7.2_p20100401.ebuild
Date: Sun, 04 Apr 2010 15:56:46
Message-Id: E1NySBn-0002c7-R3@stork.gentoo.org
1 matsuu 10/04/04 15:56:43
2
3 Modified: ChangeLog
4 Added: ccs-tools-1.7.2_p20100401.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.7 sys-apps/ccs-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ccs-tools/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ccs-tools/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ccs-tools/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 4 Feb 2010 11:24:12 -0000 1.6
23 +++ ChangeLog 4 Apr 2010 15:56:43 -0000 1.7
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/ccs-tools
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.6 2010/02/04 11:24:12 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ChangeLog,v 1.7 2010/04/04 15:56:43 matsuu Exp $
29 +
30 +*ccs-tools-1.7.2_p20100401 (04 Apr 2010)
31 +
32 + 04 Apr 2010; MATSUU Takuto <matsuu@g.o>
33 + +ccs-tools-1.7.2_p20100401.ebuild:
34 + Version bumped.
35
36 *ccs-tools-1.7.1_p20100110 (04 Feb 2010)
37
38
39
40
41 1.1 sys-apps/ccs-tools/ccs-tools-1.7.2_p20100401.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ccs-tools/ccs-tools-1.7.2_p20100401.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/ccs-tools/ccs-tools-1.7.2_p20100401.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ccs-tools-1.7.2_p20100401.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/ccs-tools/ccs-tools-1.7.2_p20100401.ebuild,v 1.1 2010/04/04 15:56:43 matsuu Exp $
51
52 inherit eutils multilib toolchain-funcs
53
54 MY_P="${P/_p/-}"
55 DESCRIPTION="TOMOYO Linux tools"
56 HOMEPAGE="http://tomoyo.sourceforge.jp/"
57 SRC_URI="mirror://sourceforge.jp/tomoyo/43376/${MY_P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE=""
63
64 RESTRICT="test"
65
66 DEPEND="sys-libs/ncurses
67 sys-libs/readline"
68 RDEPEND="${DEPEND}
69 sys-apps/which"
70
71 S="${WORKDIR}/ccstools"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 sed -i \
78 -e "/^CC=/s:gcc:$(tc-getCC):" \
79 -e "/^CFLAGS=/s:-O2:${CFLAGS}:" \
80 -e "s:/usr/lib/:/usr/$(get_libdir)/:g" \
81 Makefile || die
82 }
83
84 src_test() {
85 cd "${S}/kernel_test"
86 emake || die
87 ./testall.sh || die
88 }
89
90 src_install() {
91 emake INSTALLDIR="${D}" install || die
92
93 insinto /etc/ccs
94 doins ccstools.conf || die
95
96 dodoc README.ccs
97 }
98
99 pkg_postinst() {
100 elog "Execute the following command to setup the initial policy configuration:"
101 elog
102 elog "emerge --config =${CATEGORY}/${PF}"
103 elog
104 elog "For more information, please visit the following."
105 elog
106 elog "For >=kernel-2.6.30:"
107 elog "http://tomoyo.sourceforge.jp/en/2.2.x/"
108 elog
109 elog "For <kernel-2.6.30 + ccs-patch:"
110 elog "http://tomoyo.sourceforge.jp/en/1.7/"
111 }
112
113 pkg_config() {
114 /usr/$(get_libdir)/ccs/init_policy.sh
115 }