summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2013-04-25 18:56:30 +0000
committerSven Vermeulen <swift@gentoo.org>2013-04-25 18:56:30 +0000
commitba2e0d910b15e07b93d31ed2c05acd4ff130e757 (patch)
treef9183ca46099a03639c0ad49f683d45c19b59f13 /sys-apps/checkpolicy
parentNew upstream release (diff)
downloadgentoo-2-ba2e0d910b15e07b93d31ed2c05acd4ff130e757.tar.gz
gentoo-2-ba2e0d910b15e07b93d31ed2c05acd4ff130e757.tar.bz2
gentoo-2-ba2e0d910b15e07b93d31ed2c05acd4ff130e757.zip
New upstream release
(Portage version: 2.1.11.60/cvs/Linux x86_64, signed Manifest commit with key 0xCDBA2FDB)
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r--sys-apps/checkpolicy/ChangeLog9
-rw-r--r--sys-apps/checkpolicy/checkpolicy-2.1.12.ebuild45
2 files changed, 52 insertions, 2 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog
index c2365fa97456..8ed2ef6b0eec 100644
--- a/sys-apps/checkpolicy/ChangeLog
+++ b/sys-apps/checkpolicy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/checkpolicy
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.69 2012/11/17 16:57:55 swift Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.70 2013/04/25 18:56:30 swift Exp $
+
+*checkpolicy-2.1.12 (25 Apr 2013)
+
+ 25 Apr 2013; Sven Vermeulen <swift@gentoo.org> +checkpolicy-2.1.12.ebuild:
+ New upstream release
17 Nov 2012; Sven Vermeulen checkpolicy-2.1.11.ebuild:
Stabilize SELinux userspace utilities
diff --git a/sys-apps/checkpolicy/checkpolicy-2.1.12.ebuild b/sys-apps/checkpolicy/checkpolicy-2.1.12.ebuild
new file mode 100644
index 000000000000..3eba631b6a1c
--- /dev/null
+++ b/sys-apps/checkpolicy/checkpolicy-2.1.12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.1.12.ebuild,v 1.1 2013/04/25 18:56:30 swift Exp $
+
+inherit toolchain-funcs eutils
+
+SEPOL_VER="2.1.9"
+SEMNG_VER="2.1.10"
+
+DESCRIPTION="SELinux policy compiler"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${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_prepare() {
+ epatch_user
+}
+
+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."
+}