From: Chris PeBenito Date: Mon, 9 Oct 2006 23:44:57 +0000 (+0000) Subject: First mainstream reference policy testing release. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abe29210ee10fbee81753cba23692a3d9a935c65;p=gentoo.git First mainstream reference policy testing release. Package-Manager: portage-2.1.2_pre2-r5 --- diff --git a/sec-policy/selinux-base-policy/Manifest b/sec-policy/selinux-base-policy/Manifest index fbd46769ffc6..446b3e9d954b 100644 --- a/sec-policy/selinux-base-policy/Manifest +++ b/sec-policy/selinux-base-policy/Manifest @@ -13,23 +13,20 @@ AUX modules.conf.targeted 670 RMD160 8b36b672f70e932eeaa3288d6251d6ad79be10f3 SH MD5 3de3bf4aae74324df77dc14a55556b59 files/modules.conf.targeted 670 RMD160 8b36b672f70e932eeaa3288d6251d6ad79be10f3 files/modules.conf.targeted 670 SHA256 b774c2d7175f2d4f73ac7068b3c62bbaa1b6e5f92294dfdee2afdf0d2ccff8b3 files/modules.conf.targeted 670 -AUX semanage.conf 673 RMD160 2559310f799ac23fc5a3318030b088e2a42ea5a1 SHA1 c78676cd6dd25a8bb0c1ac4af52ac9ebfc710e14 SHA256 73a23a39b344d0c79970e8c09c3d50ec34f41757694b4461e2c296efd8e16b35 -MD5 e64f9e3356786fd807e67c514575fd73 files/semanage.conf 673 -RMD160 2559310f799ac23fc5a3318030b088e2a42ea5a1 files/semanage.conf 673 -SHA256 73a23a39b344d0c79970e8c09c3d50ec34f41757694b4461e2c296efd8e16b35 files/semanage.conf 673 +DIST refpolicy-20061008.tar.bz2 301484 RMD160 b079c1bad4f7122915e50390131c2091aad1dd9a SHA1 6d5d042724df988740e669f2779a84806b46aa87 SHA256 4aa8add76221e4e578eeb9bca2184e1a68c7007e46358f4b77f50a5f4af8a68f DIST selinux-base-policy-20051022.tar.bz2 78419 EBUILD selinux-base-policy-20051022-r1.ebuild 2701 RMD160 888e6df97c9cbd6f4d84db8667b527fa2416cbcf SHA1 8ca64e47834bf3f9115e26647cc886778bc180d8 SHA256 02235c69aae16cac9228bba9adb7004a1f491fbf69d5e293081deb6c23d6ebec MD5 3ae66c409521d346c33ee7fcc78d1cb8 selinux-base-policy-20051022-r1.ebuild 2701 RMD160 888e6df97c9cbd6f4d84db8667b527fa2416cbcf selinux-base-policy-20051022-r1.ebuild 2701 SHA256 02235c69aae16cac9228bba9adb7004a1f491fbf69d5e293081deb6c23d6ebec selinux-base-policy-20051022-r1.ebuild 2701 -EBUILD selinux-base-policy-99999999.ebuild 2585 RMD160 9e2e9fe4c15ae6d191d2994364a54da3fdd3b4e7 SHA1 803dfa390af9d2787f839ced7bfadebabad51394 SHA256 514334cf946b6cd3a598206be24e54fcd98ed43b41a93cd65cf5f6967f34c5c1 -MD5 c6fcced890bec0dd436033df24a30bb2 selinux-base-policy-99999999.ebuild 2585 -RMD160 9e2e9fe4c15ae6d191d2994364a54da3fdd3b4e7 selinux-base-policy-99999999.ebuild 2585 -SHA256 514334cf946b6cd3a598206be24e54fcd98ed43b41a93cd65cf5f6967f34c5c1 selinux-base-policy-99999999.ebuild 2585 -MISC ChangeLog 12097 RMD160 36b72639dbcb90aa4e302b5f1b95abf6ee389b73 SHA1 530523e135e1d8b596530db3619d993e63d705b6 SHA256 18c43b90e6604b6b108aeff5140acab0c0d571f46b092257fc4afdef53cd1f86 -MD5 2b272e03030fb88897439eb261cbf7e2 ChangeLog 12097 -RMD160 36b72639dbcb90aa4e302b5f1b95abf6ee389b73 ChangeLog 12097 -SHA256 18c43b90e6604b6b108aeff5140acab0c0d571f46b092257fc4afdef53cd1f86 ChangeLog 12097 +EBUILD selinux-base-policy-20061008.ebuild 2484 RMD160 562ae302c85ce9eb0870de93d8e1bb7655bb0894 SHA1 2726c64db5b8b6c2b25c4c9ea15276ef4cabc6b4 SHA256 2df11d2505400d64a64fc650ebe6ae26182c076b1898425eafc5658da2915817 +MD5 5a4711646c1afd3dee5f23b7baf0cae6 selinux-base-policy-20061008.ebuild 2484 +RMD160 562ae302c85ce9eb0870de93d8e1bb7655bb0894 selinux-base-policy-20061008.ebuild 2484 +SHA256 2df11d2505400d64a64fc650ebe6ae26182c076b1898425eafc5658da2915817 selinux-base-policy-20061008.ebuild 2484 +MISC ChangeLog 12350 RMD160 fded28b33c5ea0c4a2e4096c928baa658563cd3c SHA1 9381608cf8dac4f66f2f7ddcf5a1c902993d0dc6 SHA256 dcde9e3b3927a8394de27ff8482fe02c32d8ecb98ef6b5794297d3eee41994e9 +MD5 9154c676788334412d4afb541980aca0 ChangeLog 12350 +RMD160 fded28b33c5ea0c4a2e4096c928baa658563cd3c ChangeLog 12350 +SHA256 dcde9e3b3927a8394de27ff8482fe02c32d8ecb98ef6b5794297d3eee41994e9 ChangeLog 12350 MISC metadata.xml 473 RMD160 2bc7b92e3958e9371896025467bd896501fe19bf SHA1 e5a10b5fddb435fa3d58ef67a1952ae5a0262f72 SHA256 c45743d603ee47355e9d7b1b14d850678825e9c1252d96ec44ce21ac0b2a55b9 MD5 808b5f7f5d6654666e9193672d463229 metadata.xml 473 RMD160 2bc7b92e3958e9371896025467bd896501fe19bf metadata.xml 473 @@ -37,13 +34,13 @@ SHA256 c45743d603ee47355e9d7b1b14d850678825e9c1252d96ec44ce21ac0b2a55b9 metadata MD5 e98762e20bb0670885487f9d1998489e files/digest-selinux-base-policy-20051022-r1 80 RMD160 fd8b1e3edbafd7c82e3b3229b8f8ede6a049e178 files/digest-selinux-base-policy-20051022-r1 80 SHA256 ea385a52842f99c4014977b5369d3fb01d26ffacde34148bbedddd562c1f97de files/digest-selinux-base-policy-20051022-r1 80 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-selinux-base-policy-99999999 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-selinux-base-policy-99999999 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-selinux-base-policy-99999999 1 +MD5 ee5c4091cfebe8deda3555a372d34b84 files/digest-selinux-base-policy-20061008 259 +RMD160 da6753a43cb7513f7a7d989a08936a6fc6249ef2 files/digest-selinux-base-policy-20061008 259 +SHA256 9ef2f56df74624eedd2ba705b9215c1a1a0d4f36025070476db62c4091e9fbe5 files/digest-selinux-base-policy-20061008 259 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFHIci3gmyzsILbxIRAiPOAJ9Wu5CyLZuX3OlDMLxHnZYRL0YK/gCeIHlw -Wy9yJvHxWGxGrqZfgtpTGS4= -=vr9s +iD8DBQFFKt6P3gmyzsILbxIRAthzAKCpW6KPLdFNiKhAEa8FyPHoG9JOGACfTanL +DZYdRoBmdLsoE5DNB2S8KCI= +=JGnE -----END PGP SIGNATURE----- diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-99999999 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-99999999 deleted file mode 100644 index 8b137891791f..000000000000 --- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-99999999 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/sec-policy/selinux-base-policy/files/semanage.conf b/sec-policy/selinux-base-policy/files/semanage.conf deleted file mode 100644 index b01ffe0fc031..000000000000 --- a/sec-policy/selinux-base-policy/files/semanage.conf +++ /dev/null @@ -1,13 +0,0 @@ -# Specify how libsemanage will interact with a SELinux policy manager. -# The four options are: -# -# "source" - libsemanage manipulates a source SELinux policy -# "direct" - libsemanage will write directly to a module store. -# /foo/bar - Write by way of a policy management server, whose -# named socket is at /foo/bar. The path must begin -# with a '/'. -# foo.com:4242 - Establish a TCP connection to a remote policy -# management server at foo.com. If there is a colon -# then the remainder is interpreted as a port number; -# otherwise default to port 4242. -module-store = direct diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-99999999.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-99999999.ebuild deleted file mode 100644 index d79b5578089c..000000000000 --- a/sec-policy/selinux-base-policy/selinux-base-policy-99999999.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-99999999.ebuild,v 1.4 2006/09/29 02:39:05 pebenito Exp $ - -POLICY_TYPES="strict targeted" -OPTS="MONOLITHIC=n DISTRO=gentoo QUIET=y" - -IUSE="" - -inherit eutils subversion - -DESCRIPTION="Gentoo base policy for SELinux" -HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" -LICENSE="GPL-2" -SLOT="0" - -KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips ~alpha" -#KEYWORDS="x86 ppc sparc amd64 mips alpha" - -RDEPEND=">=sys-apps/policycoreutils-1.28" -DEPEND="${RDEPEND} - sys-devel/m4 - >=sys-apps/checkpolicy-1.28" - -S=${WORKDIR}/ - -ESVN_REPO_URI="http://oss.tresys.com/repos/refpolicy/trunk" -ESVN_PROJECT="refpolicy" - -src_unpack() { - subversion_src_unpack - mkdir ${S}/refpolicy - mv ${S}/* ${S}/refpolicy - - for i in ${POLICY_TYPES}; do - mkdir -p ${S}/${i}/policy - cp ${FILESDIR}/modules.conf.${i} ${S}/${i}/policy/modules.conf - done -} - -src_compile() { - cd ${S}/refpolicy - - make ${OPTS} generate || die "Failed to create generated module files" - - make ${OPTS} xml || "XML generation failed." - - for i in ${POLICY_TYPES}; do -# make ${OPTS} TYPE=${i} NAME=${i} LOCAL_ROOT=${S}/${i} conf \ -# || die "${i} modules.conf update failed" - - make ${OPTS} TYPE=${i} NAME=${i} LOCAL_ROOT=${S}/${i} base \ - || die "${i} compile failed" - done -} - -src_install() { - OPTS="${OPTS} DESTDIR=${D}" - - cd ${S}/refpolicy - - for i in ${POLICY_TYPES}; do - make ${OPTS} TYPE=${i} NAME=${i} LOCAL_ROOT=${S}/${i} install \ - || die "${i} install failed." - - make ${OPTS} TYPE=${i} NAME=${i} install-headers \ - || die "${i} headers install failed." - - echo "run_init_t" > ${D}/etc/selinux/${i}/contexts/run_init_type - - echo "textrel_shlib_t" >> ${D}/etc/selinux/${i}/contexts/customizable_types - - # libsemanage won't make this on its own - keepdir /etc/selinux/${i}/policy - done - - dodoc doc/Makefile.example doc/example.{te,fc,if} - - insinto /etc/selinux - doins ${FILESDIR}/semanage.conf - doins ${FILESDIR}/config -} - -pkg_postinst() { - if has "loadpolicy" $FEATURES ; then - for i in ${POLICY_TYPES}; do - einfo "Inserting base module into ${i} module store." - - cd /usr/share/selinux/${i} - semodule -s ${i} -b base.pp - done - else - echo - echo - eerror "Policy has not been loaded. It is strongly suggested" - eerror "that the policy be loaded before continuing!!" - echo - einfo "Automatic policy loading can be enabled by adding" - einfo "\"loadpolicy\" to the FEATURES in make.conf." - echo - echo - ebeep 4 - epause 4 - fi -}