diff options
Diffstat (limited to 'sec-policy/selinux-base-policy')
10 files changed, 27 insertions, 390 deletions
diff --git a/sec-policy/selinux-base-policy/ChangeLog b/sec-policy/selinux-base-policy/ChangeLog index e43c092801d9..e74ba75fc701 100644 --- a/sec-policy/selinux-base-policy/ChangeLog +++ b/sec-policy/selinux-base-policy/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sec-policy/selinux-base-policy # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 1.45 2006/01/14 01:23:10 spb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 1.46 2006/02/02 00:23:03 pebenito Exp $ + + 02 Feb 2006; Chris PeBenito <pebenito@gentoo.org> + -selinux-base-policy-20050322.ebuild, + -selinux-base-policy-20050618.ebuild, + -selinux-base-policy-20050821.ebuild, + -selinux-base-policy-20051022.ebuild: + Clean out old ebuilds. 14 Jan 2006; Stephen Bennett <spb@gentoo.org> selinux-base-policy-20051022-r1.ebuild: diff --git a/sec-policy/selinux-base-policy/Manifest b/sec-policy/selinux-base-policy/Manifest index aa94dd1d2bca..12e87f548f6d 100644 --- a/sec-policy/selinux-base-policy/Manifest +++ b/sec-policy/selinux-base-policy/Manifest @@ -1,12 +1,22 @@ -MD5 519b3159b388a87159778f046233733b ChangeLog 11281 -MD5 5b8c65e44cb570ebee4e17345bb4f262 files/digest-selinux-base-policy-20050322 80 -MD5 7630716cefae6d19aa69756e59ecf136 files/digest-selinux-base-policy-20050618 80 -MD5 ed7cdf2d44decbfb09c2a534fc12af17 files/digest-selinux-base-policy-20050821 80 -MD5 e98762e20bb0670885487f9d1998489e files/digest-selinux-base-policy-20051022 80 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 1e2a1fe16338558a7a15cdd7d3196f0e ChangeLog 11524 +RMD160 c485801af59fa1c8715f46f8f4717716de84647e ChangeLog 11524 +SHA256 95757bda36f06addccd1de38502b9049ce7595fc1e8a453c8a543e165baf652d ChangeLog 11524 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 808b5f7f5d6654666e9193672d463229 metadata.xml 473 -MD5 67260c4c2cbc9b44df8cff56e08a7da9 selinux-base-policy-20050322.ebuild 2624 -MD5 ae5d2348fdc5509b7d4f912a7f1736d6 selinux-base-policy-20050618.ebuild 2635 -MD5 ad76350c877b532b992fdc81d13bec0f selinux-base-policy-20050821.ebuild 2635 +RMD160 2bc7b92e3958e9371896025467bd896501fe19bf metadata.xml 473 +SHA256 c45743d603ee47355e9d7b1b14d850678825e9c1252d96ec44ce21ac0b2a55b9 metadata.xml 473 MD5 6a260be192432081ffa67def3bf21d4b selinux-base-policy-20051022-r1.ebuild 2702 -MD5 9300977856f85730475099c651a3cf24 selinux-base-policy-20051022.ebuild 2635 +RMD160 6a2d95b75e6a10bf9f868526274f3112c54bc846 selinux-base-policy-20051022-r1.ebuild 2702 +SHA256 2a422ccc9eb99504492cc9cde77dab7db66d3b9c9ecb17f55a112ce040d46b15 selinux-base-policy-20051022-r1.ebuild 2702 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFD4VDzJ+ChZlpDtAoRAisGAKCeFvmvXgxRKHsYuo/mw5KcL3kbwwCfWZP+ +QQO7j2Gt5rkjhhaNp4sQXJ4= +=Y/bb +-----END PGP SIGNATURE----- diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050322 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050322 deleted file mode 100644 index 3a25703b82c8..000000000000 --- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050322 +++ /dev/null @@ -1 +0,0 @@ -MD5 148710530c5bbdc5386066cdd8d49a6c selinux-base-policy-20050322.tar.bz2 77828 diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050618 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050618 deleted file mode 100644 index f15e92b8e8f5..000000000000 --- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050618 +++ /dev/null @@ -1 +0,0 @@ -MD5 b50d941478923c0c54b943b4e35b3e54 selinux-base-policy-20050618.tar.bz2 78345 diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050821 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050821 deleted file mode 100644 index 7d32a62824f4..000000000000 --- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20050821 +++ /dev/null @@ -1 +0,0 @@ -MD5 a1930fda21f3e8e2b016a7d5334479cb selinux-base-policy-20050821.tar.bz2 78407 diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20051022 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20051022 deleted file mode 100644 index 2c1f8e7e16fc..000000000000 --- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20051022 +++ /dev/null @@ -1 +0,0 @@ -MD5 d15ed697e76eb7494174752ed93cb76f selinux-base-policy-20051022.tar.bz2 78419 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20050322.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20050322.ebuild deleted file mode 100644 index ba950aa9ed7d..000000000000 --- a/sec-policy/selinux-base-policy/selinux-base-policy-20050322.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2005 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-20050322.ebuild,v 1.3 2005/05/10 18:31:19 spb Exp $ - -IUSE="build" - -inherit eutils - -DESCRIPTION="Gentoo base policy for SELinux" -HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~x86 ~ppc ~sparc ~amd64" -KEYWORDS="x86 ppc sparc amd64 mips" -DEPEND="build? ( sys-devel/make - sys-devel/m4 )" -RDEPEND="sys-devel/m4 - sys-devel/make" - -S=${WORKDIR}/base-policy - -[ -z ${POLICYDIR} ] && POLICYDIR="/etc/security/selinux/src/policy" - -# deprecated policies: -DEPRECATED="domains/program/devfsd.te domains/program/opt.te - file_contexts/program/devfsd.fc file_contexts/program/opt.fc - file_contexts/users.fc domains/program/inetd.te - domains/program/tcpd.te file_contexts/program/inetd.fc - file_contexts/program/tcpd.fc macros/program/ypbind_macros.te" - -src_compile() { - return -} - -src_install() { - if use build; then - # generate a file_contexts - dodir ${POLICYDIR}/file_contexts - einfo "Ignore the checkpolicy error on the next line." - make -C ${S} \ - FC=${D}/${POLICYDIR}/file_contexts/file_contexts \ - ${D}/${POLICYDIR}/file_contexts/file_contexts - - [ ! -f ${D}/${POLICYDIR}/file_contexts/file_contexts ] && \ - die "file_contexts was not generated." - else - # install full policy - dodir /etc/security/selinux/src - - insinto /etc/security - doins ${S}/appconfig/* - - cp -a ${S} ${D}/${POLICYDIR} - rm -fR ${D}/${POLICYDIR}/appconfig - fi -} - -pkg_postinst() { - local isdeprecated - - if ! ( use build || use bootstrap ) - then - ewarn "Removing invalid backup copies of critical config files..." - rm -f ${ROOT}/${POLICYDIR}/._cfg????_users - fi - - echo - einfo "This is the base policy for SELinux on Gentoo. This policy" - einfo "package only covers the applications in the system profile." - einfo "More policy may need to be added according to your requirements." - echo - eerror "It is STRONGLY suggested that you evaluate and merge the" - eerror "policy changes. If any of the file contexts (*.fc) have" - eerror "changed, you should also relabel." - echo - ewarn "Please check the Changelog, there may be important information." - echo - echo - - einfo "Checking for deprecated policy..." - for i in $DEPRECATED; do - if [ -f "${POLICYDIR}/${i}" ]; then - eerror "${POLICYDIR}/${i}" - isdeprecated="y" - fi - done - [ "${isdeprecated}" ] && \ - eerror "The above policy file(s) should be removed if possible." || \ - einfo "None found." - - ebeep 4 - epause 4 -} diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20050618.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20050618.ebuild deleted file mode 100644 index 1142e9e8927f..000000000000 --- a/sec-policy/selinux-base-policy/selinux-base-policy-20050618.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2005 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-20050618.ebuild,v 1.2 2005/06/22 00:00:49 pebenito Exp $ - -IUSE="build" - -inherit eutils - -DESCRIPTION="Gentoo base policy for SELinux" -HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips" -KEYWORDS="x86 ppc sparc amd64 mips" -DEPEND="build? ( sys-devel/make - sys-devel/m4 )" -RDEPEND="sys-devel/m4 - sys-devel/make" - -S=${WORKDIR}/base-policy - -[ -z ${POLICYDIR} ] && POLICYDIR="/etc/security/selinux/src/policy" - -# deprecated policies: -DEPRECATED="domains/program/devfsd.te domains/program/opt.te - file_contexts/program/devfsd.fc file_contexts/program/opt.fc - file_contexts/users.fc domains/program/inetd.te - domains/program/tcpd.te file_contexts/program/inetd.fc - file_contexts/program/tcpd.fc macros/program/ypbind_macros.te" - -src_compile() { - return -} - -src_install() { - if use build; then - # generate a file_contexts - dodir ${POLICYDIR}/file_contexts - einfo "Ignore the checkpolicy error on the next line." - make -C ${S} \ - FC=${D}/${POLICYDIR}/file_contexts/file_contexts \ - ${D}/${POLICYDIR}/file_contexts/file_contexts - - [ ! -f ${D}/${POLICYDIR}/file_contexts/file_contexts ] && \ - die "file_contexts was not generated." - else - # install full policy - dodir /etc/security/selinux/src - - insinto /etc/security - doins ${S}/appconfig/* - - cp -a ${S} ${D}/${POLICYDIR} - rm -fR ${D}/${POLICYDIR}/appconfig - fi -} - -pkg_postinst() { - local isdeprecated - - if ! ( use build || use bootstrap ) - then - ewarn "Removing invalid backup copies of critical config files..." - rm -f ${ROOT}/${POLICYDIR}/._cfg????_users - fi - - echo - einfo "This is the base policy for SELinux on Gentoo. This policy" - einfo "package only covers the applications in the system profile." - einfo "More policy may need to be added according to your requirements." - echo - eerror "It is STRONGLY suggested that you evaluate and merge the" - eerror "policy changes. If any of the file contexts (*.fc) have" - eerror "changed, you should also relabel." - echo - ewarn "Please check the Changelog, there may be important information." - echo - echo - - einfo "Checking for deprecated policy..." - for i in $DEPRECATED; do - if [ -f "${POLICYDIR}/${i}" ]; then - eerror "${POLICYDIR}/${i}" - isdeprecated="y" - fi - done - [ "${isdeprecated}" ] && \ - eerror "The above policy file(s) should be removed if possible." || \ - einfo "None found." - - ebeep 4 - epause 4 -} diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20050821.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20050821.ebuild deleted file mode 100644 index 540fd747d547..000000000000 --- a/sec-policy/selinux-base-policy/selinux-base-policy-20050821.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2005 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-20050821.ebuild,v 1.2 2005/09/08 01:34:14 pebenito Exp $ - -IUSE="build" - -inherit eutils - -DESCRIPTION="Gentoo base policy for SELinux" -HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips" -KEYWORDS="x86 ppc sparc amd64 mips" -DEPEND="build? ( sys-devel/make - sys-devel/m4 )" -RDEPEND="sys-devel/m4 - sys-devel/make" - -S=${WORKDIR}/base-policy - -[ -z ${POLICYDIR} ] && POLICYDIR="/etc/security/selinux/src/policy" - -# deprecated policies: -DEPRECATED="domains/program/devfsd.te domains/program/opt.te - file_contexts/program/devfsd.fc file_contexts/program/opt.fc - file_contexts/users.fc domains/program/inetd.te - domains/program/tcpd.te file_contexts/program/inetd.fc - file_contexts/program/tcpd.fc macros/program/ypbind_macros.te" - -src_compile() { - return -} - -src_install() { - if use build; then - # generate a file_contexts - dodir ${POLICYDIR}/file_contexts - einfo "Ignore the checkpolicy error on the next line." - make -C ${S} \ - FC=${D}/${POLICYDIR}/file_contexts/file_contexts \ - ${D}/${POLICYDIR}/file_contexts/file_contexts - - [ ! -f ${D}/${POLICYDIR}/file_contexts/file_contexts ] && \ - die "file_contexts was not generated." - else - # install full policy - dodir /etc/security/selinux/src - - insinto /etc/security - doins ${S}/appconfig/* - - cp -a ${S} ${D}/${POLICYDIR} - rm -fR ${D}/${POLICYDIR}/appconfig - fi -} - -pkg_postinst() { - local isdeprecated - - if ! ( use build || use bootstrap ) - then - ewarn "Removing invalid backup copies of critical config files..." - rm -f ${ROOT}/${POLICYDIR}/._cfg????_users - fi - - echo - einfo "This is the base policy for SELinux on Gentoo. This policy" - einfo "package only covers the applications in the system profile." - einfo "More policy may need to be added according to your requirements." - echo - eerror "It is STRONGLY suggested that you evaluate and merge the" - eerror "policy changes. If any of the file contexts (*.fc) have" - eerror "changed, you should also relabel." - echo - ewarn "Please check the Changelog, there may be important information." - echo - echo - - einfo "Checking for deprecated policy..." - for i in $DEPRECATED; do - if [ -f "${POLICYDIR}/${i}" ]; then - eerror "${POLICYDIR}/${i}" - isdeprecated="y" - fi - done - [ "${isdeprecated}" ] && \ - eerror "The above policy file(s) should be removed if possible." || \ - einfo "None found." - - ebeep 4 - epause 4 -} diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20051022.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20051022.ebuild deleted file mode 100644 index dd6d7ca5fa0a..000000000000 --- a/sec-policy/selinux-base-policy/selinux-base-policy-20051022.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2005 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-20051022.ebuild,v 1.1 2005/10/22 14:16:00 pebenito Exp $ - -IUSE="build" - -inherit eutils - -DESCRIPTION="Gentoo base policy for SELinux" -HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -#KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~mips" -KEYWORDS="x86 ppc sparc amd64 mips" -DEPEND="build? ( sys-devel/make - sys-devel/m4 )" -RDEPEND="sys-devel/m4 - sys-devel/make" - -S=${WORKDIR}/base-policy - -[ -z ${POLICYDIR} ] && POLICYDIR="/etc/security/selinux/src/policy" - -# deprecated policies: -DEPRECATED="domains/program/devfsd.te domains/program/opt.te - file_contexts/program/devfsd.fc file_contexts/program/opt.fc - file_contexts/users.fc domains/program/inetd.te - domains/program/tcpd.te file_contexts/program/inetd.fc - file_contexts/program/tcpd.fc macros/program/ypbind_macros.te" - -src_compile() { - return -} - -src_install() { - if use build; then - # generate a file_contexts - dodir ${POLICYDIR}/file_contexts - einfo "Ignore the checkpolicy error on the next line." - make -C ${S} \ - FC=${D}/${POLICYDIR}/file_contexts/file_contexts \ - ${D}/${POLICYDIR}/file_contexts/file_contexts - - [ ! -f ${D}/${POLICYDIR}/file_contexts/file_contexts ] && \ - die "file_contexts was not generated." - else - # install full policy - dodir /etc/security/selinux/src - - insinto /etc/security - doins ${S}/appconfig/* - - cp -a ${S} ${D}/${POLICYDIR} - rm -fR ${D}/${POLICYDIR}/appconfig - fi -} - -pkg_postinst() { - local isdeprecated - - if ! ( use build || use bootstrap ) - then - ewarn "Removing invalid backup copies of critical config files..." - rm -f ${ROOT}/${POLICYDIR}/._cfg????_users - fi - - echo - einfo "This is the base policy for SELinux on Gentoo. This policy" - einfo "package only covers the applications in the system profile." - einfo "More policy may need to be added according to your requirements." - echo - eerror "It is STRONGLY suggested that you evaluate and merge the" - eerror "policy changes. If any of the file contexts (*.fc) have" - eerror "changed, you should also relabel." - echo - ewarn "Please check the Changelog, there may be important information." - echo - echo - - einfo "Checking for deprecated policy..." - for i in $DEPRECATED; do - if [ -f "${POLICYDIR}/${i}" ]; then - eerror "${POLICYDIR}/${i}" - isdeprecated="y" - fi - done - [ "${isdeprecated}" ] && \ - eerror "The above policy file(s) should be removed if possible." || \ - einfo "None found." - - ebeep 4 - epause 4 -} |