diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-08-04 04:25:26 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-08-04 04:25:26 +0000 |
commit | 67dd86845a679545ab0740facebe9c7969995d37 (patch) | |
tree | 3b32b964a0aea82482047cbf380bd77643998651 /sys-apps/checkpolicy | |
parent | initial commit (diff) | |
download | gentoo-2-67dd86845a679545ab0740facebe9c7969995d37.tar.gz gentoo-2-67dd86845a679545ab0740facebe9c7969995d37.tar.bz2 gentoo-2-67dd86845a679545ab0740facebe9c7969995d37.zip |
initial commit
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r-- | sys-apps/checkpolicy/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/checkpolicy/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-1.0.ebuild | 35 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/checkpolicy-1.0-gentoo.diff | 20 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/digest-checkpolicy-1.0 | 1 | ||||
-rw-r--r-- | sys-apps/checkpolicy/metadata.xml | 9 |
6 files changed, 79 insertions, 1 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog new file mode 100644 index 000000000000..4af761ca09dc --- /dev/null +++ b/sys-apps/checkpolicy/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/checkpolicy +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.1 2003/08/04 04:25:09 pebenito Exp $ + +*checkpolicy-1.0 (03 Aug 2003) + + 03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> checkpolicy-1.0.ebuild, + metadata.xml, files/checkpolicy-1.0-gentoo.diff: + Initial commit + diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest index fc855a0ff742..279b631138e9 100644 --- a/sys-apps/checkpolicy/Manifest +++ b/sys-apps/checkpolicy/Manifest @@ -1,2 +1,5 @@ -MD5 db975c31f3219e44a161103bc735d863 checkpolicy-1.0.ebuild 1248 +MD5 3d42401d41c4eb9c85bfe3739d1b8026 checkpolicy-1.0.ebuild 689 +MD5 925ec5e4ac9c54ff2672fbbc79154b00 metadata.xml 250 +MD5 658ce08f38095ef9731c900ceafd7b6a ChangeLog 401 MD5 caef3839291cd8719631c4c52de9e614 files/digest-checkpolicy-1.0 63 +MD5 afa3bf2d650b8102690fb12eaff327b0 files/checkpolicy-1.0-gentoo.diff 584 diff --git a/sys-apps/checkpolicy/checkpolicy-1.0.ebuild b/sys-apps/checkpolicy/checkpolicy-1.0.ebuild new file mode 100644 index 000000000000..c75a120cc48e --- /dev/null +++ b/sys-apps/checkpolicy/checkpolicy-1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.0.ebuild,v 1.1 2003/08/04 04:25:09 pebenito 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" + +DEPEND="sys-devel/flex + sys-devel/bison" + +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff +} + +src_compile() { + cd ${S} + emake EXTRA_CFLAGS="${CFLAGS}" +} + +src_install() { + make DESTDIR="${D}" install +} diff --git a/sys-apps/checkpolicy/files/checkpolicy-1.0-gentoo.diff b/sys-apps/checkpolicy/files/checkpolicy-1.0-gentoo.diff new file mode 100644 index 000000000000..9031d4713a71 --- /dev/null +++ b/sys-apps/checkpolicy/files/checkpolicy-1.0-gentoo.diff @@ -0,0 +1,20 @@ +diff -urN checkpolicy-1.0.orig/Makefile checkpolicy-1.0/Makefile +--- checkpolicy-1.0.orig/Makefile 2003-07-07 07:52:08.000000000 -0500 ++++ checkpolicy-1.0/Makefile 2003-08-03 20:36:52.000000000 -0500 +@@ -4,13 +4,15 @@ + PREFIX ?= ${DESTDIR}/usr + BINDIR ?= $(PREFIX)/bin + +-CFLAGS = -g -Wall -O2 -pipe ++CFLAGS = -Wall $(EXTRA_CFLAGS) + override CFLAGS += -include global.h -I. -Iinclude + + OBJS = ebitmap.o hashtab.o symtab.o sidtab.o avtab.o policydb.o services.o y.tab.o lex.yy.o queue.o write.o checkpolicy.o + + LIBS=-lfl + ++YACC=bison -y ++ + all: checkpolicy + + checkpolicy: $(OBJS) diff --git a/sys-apps/checkpolicy/files/digest-checkpolicy-1.0 b/sys-apps/checkpolicy/files/digest-checkpolicy-1.0 new file mode 100644 index 000000000000..bec25d060696 --- /dev/null +++ b/sys-apps/checkpolicy/files/digest-checkpolicy-1.0 @@ -0,0 +1 @@ +MD5 5b231f7e63f1d05f173f4d5e17116b18 checkpolicy-1.0.tgz 61330 diff --git a/sys-apps/checkpolicy/metadata.xml b/sys-apps/checkpolicy/metadata.xml new file mode 100644 index 000000000000..323ebf74ce08 --- /dev/null +++ b/sys-apps/checkpolicy/metadata.xml @@ -0,0 +1,9 @@ +<pkgmetadata> +<herd>hardened</herd> +<maintainer> + <email>pebenito@gentoo.org</email> + <name>Chris PeBenito</name> + <description>Primary Maintainer</description> +</maintainer> +<longdescription>SELinux policy compilier</longdescription> +</pkgmetadata> |