summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-10-07 23:24:59 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-10-07 23:24:59 +0000
commit40b4844073805efa09377f4bb0664f75aff14416 (patch)
tree101a0cb9de6c0203766a9a45997b00ae7c6c1b0f /sys-apps/checkpolicy
parentmark stable (diff)
downloadhistorical-40b4844073805efa09377f4bb0664f75aff14416.tar.gz
historical-40b4844073805efa09377f4bb0664f75aff14416.tar.bz2
historical-40b4844073805efa09377f4bb0664f75aff14416.zip
mark stable
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r--sys-apps/checkpolicy/checkpolicy-1.10.ebuild31
-rw-r--r--sys-apps/checkpolicy/checkpolicy-1.16.ebuild11
-rw-r--r--sys-apps/checkpolicy/files/digest-checkpolicy-1.101
3 files changed, 9 insertions, 34 deletions
diff --git a/sys-apps/checkpolicy/checkpolicy-1.10.ebuild b/sys-apps/checkpolicy/checkpolicy-1.10.ebuild
deleted file mode 100644
index d13a56666fdd..000000000000
--- a/sys-apps/checkpolicy/checkpolicy-1.10.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.10.ebuild,v 1.4 2004/06/24 22:00:09 agriffis Exp $
-
-IUSE=""
-
-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="x86 ppc sparc"
-
-DEPEND="sys-devel/flex
- sys-devel/bison"
-
-RDEPEND="sec-policy/selinux-base-policy"
-
-src_unpack() {
- unpack ${A}
- sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" -e 's/$(LIBS)/$(LIBS) $(LDFLAGS)/' ${S}/Makefile
-}
-
-src_compile() {
- cd ${S}
- emake YACC="bison -y" || die
-}
-
-src_install() {
- make DESTDIR="${D}" install
-}
diff --git a/sys-apps/checkpolicy/checkpolicy-1.16.ebuild b/sys-apps/checkpolicy/checkpolicy-1.16.ebuild
index da32c49ea2f5..21a7711721de 100644
--- a/sys-apps/checkpolicy/checkpolicy-1.16.ebuild
+++ b/sys-apps/checkpolicy/checkpolicy-1.16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.16.ebuild,v 1.4 2004/09/20 02:08:14 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.16.ebuild,v 1.5 2004/10/07 23:21:42 pebenito Exp $
IUSE=""
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.nsa.gov/selinux"
SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+KEYWORDS="x86 ppc sparc amd64"
DEPEND="sys-libs/libsepol
sys-devel/flex
@@ -24,6 +24,9 @@ src_unpack() {
sed -i -e "s:-Wall:-Wall ${CFLAGS}:g" -e 's/$(LIBS)/$(LIBS) $(LDFLAGS)/' ${S}/Makefile
sed -i -e '/^lex\.yy\.c/s/\.l/\.l y\.tab\.c/' ${S}/Makefile
epatch ${FILESDIR}/checkpolicy-1.16-no-netlink-warn.diff
+
+ # MLS support is experimental!
+# use mls && sed -i -e '/^MLS/s/n/y/' ${S}/Makefile
}
src_compile() {
@@ -34,3 +37,7 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install
}
+
+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.10 b/sys-apps/checkpolicy/files/digest-checkpolicy-1.10
deleted file mode 100644
index 31debadb13e6..000000000000
--- a/sys-apps/checkpolicy/files/digest-checkpolicy-1.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3800a40b485b0641343a98d013a9a79e checkpolicy-1.10.tgz 87574