summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-07-15 20:54:05 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-07-15 20:54:05 +0000
commit28ade654d65efcd247ce6dac7f7adfa08dc7d647 (patch)
treeee4322a12c9e98e2b0f3ac74c457b21709c3f81e /sys-apps
parentx86 stable, bug #373357 (diff)
downloadgentoo-2-28ade654d65efcd247ce6dac7f7adfa08dc7d647.tar.gz
gentoo-2-28ade654d65efcd247ce6dac7f7adfa08dc7d647.tar.bz2
gentoo-2-28ade654d65efcd247ce6dac7f7adfa08dc7d647.zip
Bump to 2.0.23 - proxy for SwifT
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/checkpolicy/ChangeLog8
-rw-r--r--sys-apps/checkpolicy/checkpolicy-2.0.23.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog
index 5dcf502f49ca..9ccba74d1730 100644
--- a/sys-apps/checkpolicy/ChangeLog
+++ b/sys-apps/checkpolicy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/checkpolicy
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.58 2011/07/08 11:01:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.59 2011/07/15 20:54:05 blueness Exp $
+
+*checkpolicy-2.0.23 (15 Jul 2011)
+
+ 15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
+ +checkpolicy-2.0.23.ebuild:
+ Bump to 2.0.23 - proxy for SwifT
08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
checkpolicy-2.0.16.ebuild, checkpolicy-2.0.19.ebuild:
diff --git a/sys-apps/checkpolicy/checkpolicy-2.0.23.ebuild b/sys-apps/checkpolicy/checkpolicy-2.0.23.ebuild
new file mode 100644
index 000000000000..0275d03eee4c
--- /dev/null
+++ b/sys-apps/checkpolicy/checkpolicy-2.0.23.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.0.23.ebuild,v 1.1 2011/07/15 20:54:05 blueness Exp $
+
+inherit toolchain-funcs
+
+SEPOL_VER="2.0.42"
+SEMNG_VER="2.0.46"
+
+DESCRIPTION="SELinux policy compiler"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20101221/devel/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}
+ >=sys-libs/libsemanage-${SEMNG_VER}
+ sys-devel/flex
+ sys-devel/bison"
+
+RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}"
+
+src_compile() {
+ emake CC="$(tc-getCC)" YACC="bison -y" || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ if use debug; then
+ dobin "${S}/test/dismod"
+ dobin "${S}/test/dispol"
+ fi
+}
+
+pkg_postinst() {
+ einfo "This checkpolicy can compile version `checkpolicy -V |cut -f 1 -d ' '` policy."
+}