diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2006-03-22 23:02:29 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2006-03-22 23:02:29 +0000 |
commit | 12176e4cf160266fc9b4f0f98025102307d996e6 (patch) | |
tree | 91f6d8fa81cf448fa0100277d73976e55f3c9d33 /sys-apps/checkpolicy | |
parent | Moved binaries to /sbin. (diff) | |
download | gentoo-2-12176e4cf160266fc9b4f0f98025102307d996e6.tar.gz gentoo-2-12176e4cf160266fc9b4f0f98025102307d996e6.tar.bz2 gentoo-2-12176e4cf160266fc9b4f0f98025102307d996e6.zip |
clean out old
(Portage version: 2.1_pre6-r5)
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-1.24.ebuild | 46 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/checkpolicy-1.16-no-netlink-warn.diff | 23 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/digest-checkpolicy-1.24 | 1 |
3 files changed, 0 insertions, 70 deletions
diff --git a/sys-apps/checkpolicy/checkpolicy-1.24.ebuild b/sys-apps/checkpolicy/checkpolicy-1.24.ebuild deleted file mode 100644 index dd2e0962b04f..000000000000 --- a/sys-apps/checkpolicy/checkpolicy-1.24.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.24.ebuild,v 1.3 2005/12/15 21:59:04 pebenito Exp $ - -IUSE="" - -inherit eutils - -SEPOL_VER="1.6" - -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 amd64 mips" -#KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips" - -DEPEND="=sys-libs/libsepol-${SEPOL_VER}* - sys-devel/flex - sys-devel/bison" - -RDEPEND="sec-policy/selinux-base-policy" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/checkpolicy-1.16-no-netlink-warn.diff - - 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 -} - -src_compile() { - cd ${S} - emake YACC="bison -y" || die -} - -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/checkpolicy-1.16-no-netlink-warn.diff b/sys-apps/checkpolicy/files/checkpolicy-1.16-no-netlink-warn.diff deleted file mode 100644 index f536c10f17e6..000000000000 --- a/sys-apps/checkpolicy/files/checkpolicy-1.16-no-netlink-warn.diff +++ /dev/null @@ -1,23 +0,0 @@ -diff -ur checkpolicy-1.16/policy_parse.y checkpolicy-1.16-old/policy_parse.y ---- checkpolicy-1.16/policy_parse.y 2004-08-13 15:07:52.000000000 -0500 -+++ checkpolicy-1.16-old/policy_parse.y 2004-09-09 11:00:11.081574240 -0500 -@@ -2583,9 +2583,6 @@ - if (policyvers < POLICYDB_VERSION_NLCLASS && - (cladatum->value >= SECCLASS_NETLINK_ROUTE_SOCKET && - cladatum->value <= SECCLASS_NETLINK_DNRT_SOCKET)) { -- sprintf(errormsg, "remapping class %s to netlink_socket " -- "for policy version %d", id, policyvers); -- yywarn(errormsg); - classvalue = SECCLASS_NETLINK_SOCKET; - suppress = 1; - } else -@@ -2761,9 +2758,6 @@ - if (policyvers < POLICYDB_VERSION_NLCLASS && - (cladatum->value >= SECCLASS_NETLINK_ROUTE_SOCKET && - cladatum->value <= SECCLASS_NETLINK_DNRT_SOCKET)) { -- sprintf(errormsg, "remapping class %s to netlink_socket " -- "for policy version %d", id, policyvers); -- yywarn(errormsg); - classvalue = SECCLASS_NETLINK_SOCKET; - suppress = 1; - } else diff --git a/sys-apps/checkpolicy/files/digest-checkpolicy-1.24 b/sys-apps/checkpolicy/files/digest-checkpolicy-1.24 deleted file mode 100644 index 5c5f519a1f1f..000000000000 --- a/sys-apps/checkpolicy/files/digest-checkpolicy-1.24 +++ /dev/null @@ -1 +0,0 @@ -MD5 ac4c6e92411325917393d708443b3022 checkpolicy-1.24.tgz 42667 |