Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/checkpolicy: ChangeLog checkpolicy-2.1.0.ebuild
Date: Wed, 03 Aug 2011 09:38:26
Message-Id: 20110803093817.6BC1E2004C@flycatcher.gentoo.org
1 blueness 11/08/03 09:38:17
2
3 Modified: ChangeLog
4 Added: checkpolicy-2.1.0.ebuild
5 Log:
6 Bump to 20110727 SELinux userspace
7
8 (Portage version: 2.1.10.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.60 sys-apps/checkpolicy/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 15 Jul 2011 20:54:05 -0000 1.59
24 +++ ChangeLog 3 Aug 2011 09:38:17 -0000 1.60
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/checkpolicy
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.59 2011/07/15 20:54:05 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.60 2011/08/03 09:38:17 blueness Exp $
30 +
31 +*checkpolicy-2.1.0 (03 Aug 2011)
32 +
33 + 03 Aug 2011; Anthony G. Basile <blueness@g.o>
34 + +checkpolicy-2.1.0.ebuild:
35 + Bump to 20110727 SELinux userspace
36
37 *checkpolicy-2.0.23 (15 Jul 2011)
38
39
40
41
42 1.1 sys-apps/checkpolicy/checkpolicy-2.1.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.1.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.1.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: checkpolicy-2.1.0.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.1.0.ebuild,v 1.1 2011/08/03 09:38:17 blueness Exp $
52
53 inherit toolchain-funcs
54
55 SEPOL_VER="2.1.0"
56 SEMNG_VER="2.1.0"
57
58 DESCRIPTION="SELinux policy compiler"
59 HOMEPAGE="http://userspace.selinuxproject.org"
60 SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="debug"
66
67 DEPEND=">=sys-libs/libsepol-${SEPOL_VER}
68 >=sys-libs/libsemanage-${SEMNG_VER}
69 sys-devel/flex
70 sys-devel/bison"
71
72 RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}"
73
74 src_compile() {
75 emake CC="$(tc-getCC)" YACC="bison -y" || die
76 }
77
78 src_install() {
79 emake DESTDIR="${D}" install || die
80
81 if use debug; then
82 dobin "${S}/test/dismod"
83 dobin "${S}/test/dispol"
84 fi
85 }
86
87 pkg_postinst() {
88 einfo "This checkpolicy can compile version `checkpolicy -V |cut -f 1 -d ' '` policy."
89 }