diff options
author | Joshua Brindle <method@gentoo.org> | 2004-09-09 16:31:40 +0000 |
---|---|---|
committer | Joshua Brindle <method@gentoo.org> | 2004-09-09 16:31:40 +0000 |
commit | 4f9b4aba473eb4df0e322175206696e96c81d465 (patch) | |
tree | 03aadcec8ff6f972fa4054586ccbcad44b401c3d /sys-apps | |
parent | 3.3.0 is x86 stable (diff) | |
download | historical-4f9b4aba473eb4df0e322175206696e96c81d465.tar.gz historical-4f9b4aba473eb4df0e322175206696e96c81d465.tar.bz2 historical-4f9b4aba473eb4df0e322175206696e96c81d465.zip |
no netlink warn bpatch
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/checkpolicy/Manifest | 17 | ||||
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-1.16.ebuild | 5 | ||||
-rw-r--r-- | sys-apps/checkpolicy/files/checkpolicy-1.16-no-netlink-warn.diff | 23 |
3 files changed, 36 insertions, 9 deletions
diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest index 377fa28c412a..1eec963b6e65 100644 --- a/sys-apps/checkpolicy/Manifest +++ b/sys-apps/checkpolicy/Manifest @@ -1,21 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 96f13a5f9e324e8c7d67738e646616e7 ChangeLog 2855 MD5 13d9ff592213aed3164e009e1db46608 checkpolicy-1.10.ebuild 728 MD5 ae8c52fc05cbdf7fb08cd108b2a119b8 checkpolicy-1.14.ebuild 728 +MD5 763f6b56c477de77826e6402a1b2221b checkpolicy-1.16.ebuild 822 MD5 90c1b8c5598f41b24a3aca4f338b0321 checkpolicy-1.4-r1.ebuild 764 +MD5 96f13a5f9e324e8c7d67738e646616e7 ChangeLog 2855 MD5 927093fd813bc45afc77ef11c9258e91 metadata.xml 360 -MD5 9bfd4b162b2aef9e000416afd4fbfd34 checkpolicy-1.16.ebuild 750 -MD5 66e39152aa61af44ae6671a355da6959 files/checkpolicy-1.4-negset.diff 2482 MD5 80ba921a677d6b02bc9d49f246af2546 files/digest-checkpolicy-1.10 64 MD5 fa01f34ec563792d4ff66110b4f733a3 files/digest-checkpolicy-1.14 64 -MD5 344c1bdea2908053273f77fb584a7074 files/digest-checkpolicy-1.4-r1 63 MD5 f2b40ebba90e0bef0a570012d5a16965 files/digest-checkpolicy-1.16 64 +MD5 344c1bdea2908053273f77fb584a7074 files/digest-checkpolicy-1.4-r1 63 +MD5 d607f647a52bbb00a5bf754fe4f1dc90 files/checkpolicy-1.16-no-netlink-warn.diff 1022 +MD5 66e39152aa61af44ae6671a355da6959 files/checkpolicy-1.4-negset.diff 2482 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.5 (GNU/Linux) +Version: GnuPG v1.2.4 (GNU/Linux) -iD8DBQFBPlV0GFJQsIJWJy4RAmafAJ95ouPpm5gUzdo3TPjGEateReYPfgCfXfXz -rycKY9IrYE9QsjWmnYQDIbg= -=tYKQ +iD8DBQFBQIMmI9RrrOsOLvcRAmwLAJ9K2+Mz0bUvlTrn8vMJ9lKtqdeBqACfVpKt +ulpi+tNEdz9NWNdZn49waiQ= +=u8TB -----END PGP SIGNATURE----- diff --git a/sys-apps/checkpolicy/checkpolicy-1.16.ebuild b/sys-apps/checkpolicy/checkpolicy-1.16.ebuild index 994cbc6642ac..4ea4bd96e535 100644 --- a/sys-apps/checkpolicy/checkpolicy-1.16.ebuild +++ b/sys-apps/checkpolicy/checkpolicy-1.16.ebuild @@ -1,9 +1,11 @@ # 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.1 2004/09/08 00:42:16 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-1.16.ebuild,v 1.2 2004/09/09 16:31:40 method Exp $ IUSE="" +inherit eutils + DESCRIPTION="SELinux policy compiler" HOMEPAGE="http://www.nsa.gov/selinux" SRC_URI="http://www.nsa.gov/selinux/archives/${P}.tgz" @@ -20,6 +22,7 @@ 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 + epatch ${FILESDIR}/checkpolicy-1.16-no-netlink-warn.diff } src_compile() { 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 new file mode 100644 index 000000000000..f536c10f17e6 --- /dev/null +++ b/sys-apps/checkpolicy/files/checkpolicy-1.16-no-netlink-warn.diff @@ -0,0 +1,23 @@ +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 |