summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r--sys-apps/checkpolicy/ChangeLog10
-rw-r--r--sys-apps/checkpolicy/checkpolicy-1.34.0.ebuild46
-rw-r--r--sys-apps/checkpolicy/files/digest-checkpolicy-1.282
-rw-r--r--sys-apps/checkpolicy/files/digest-checkpolicy-1.34.03
4 files changed, 59 insertions, 2 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog
index 979510a9081d..9bbfdff6004d 100644
--- a/sys-apps/checkpolicy/ChangeLog
+++ b/sys-apps/checkpolicy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/checkpolicy
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.41 2006/10/05 06:24:54 pebenito Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.42 2007/02/15 05:27:51 pebenito Exp $
+
+*checkpolicy-1.34.0 (15 Feb 2007)
+
+ 15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
+ +checkpolicy-1.34.0.ebuild:
+ New upstream release.
*checkpolicy-1.30.12 (05 Oct 2006)
diff --git a/sys-apps/checkpolicy/checkpolicy-1.34.0.ebuild b/sys-apps/checkpolicy/checkpolicy-1.34.0.ebuild
new file mode 100644
index 000000000000..6aa5ec709f4b
--- /dev/null
+++ b/sys-apps/checkpolicy/checkpolicy-1.34.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.34.0.ebuild,v 1.1 2007/02/15 05:27:51 pebenito Exp $
+
+IUSE="debug"
+
+inherit eutils
+
+SEMNG_VER="1.10"
+
+# BUGFIX_PATCH="${FILESDIR}/checkpolicy-1.30.4.diff"
+
+DESCRIPTION="SELinux policy compiler"
+HOMEPAGE="http://www.nsa.gov/selinux"
+SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+
+DEPEND="=sys-libs/libsemanage-${SEMNG_VER}*
+ sys-devel/flex
+ sys-devel/bison"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ [ ! -z "${BUGFIX_PATCH}" ] && epatch "${BUGFIX_PATCH}"
+}
+
+src_compile() {
+ cd ${S}
+ emake YACC="bison -y" || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install
+
+ if useq debug; then
+ dobin ${S}/test/{dismod,dispol}
+ fi
+}
+
+pkg_postinst() {
+ einfo "This checkpolicy can compile version `checkpolicy -V |cut -f 1 -d ' '` policy."
+}
diff --git a/sys-apps/checkpolicy/files/digest-checkpolicy-1.28 b/sys-apps/checkpolicy/files/digest-checkpolicy-1.28
index ad66d5f7e213..662b0f7aa030 100644
--- a/sys-apps/checkpolicy/files/digest-checkpolicy-1.28
+++ b/sys-apps/checkpolicy/files/digest-checkpolicy-1.28
@@ -1 +1,3 @@
MD5 f74b79f44c6c39191ab67bd04c977851 checkpolicy-1.28.tgz 56473
+RMD160 cb19f41fe9196e1db2d41eecec7f851517875d10 checkpolicy-1.28.tgz 56473
+SHA256 e8e9111830b9c9e817a19fb72bdd6d393ae29e2d777f939119e95a376788523d checkpolicy-1.28.tgz 56473
diff --git a/sys-apps/checkpolicy/files/digest-checkpolicy-1.34.0 b/sys-apps/checkpolicy/files/digest-checkpolicy-1.34.0
new file mode 100644
index 000000000000..4bcc2a8a33fb
--- /dev/null
+++ b/sys-apps/checkpolicy/files/digest-checkpolicy-1.34.0
@@ -0,0 +1,3 @@
+MD5 e19bb29db50955fbae60c4cdb569c658 checkpolicy-1.34.0.tgz 56473
+RMD160 bf537ae61389487e6aa181517d5d64fd5b975cc6 checkpolicy-1.34.0.tgz 56473
+SHA256 c870534ef0c8aa5ab61fada4a8e19d4988a31e1c5023876b8db701bd13f71f06 checkpolicy-1.34.0.tgz 56473