summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-09-16 02:36:56 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-09-16 02:36:56 +0000
commitb94d41a93f09e75749e9330e015c4e79aae3dc13 (patch)
tree57b0b8f1ef0e8db0835d0f23e66ba6a28a5aaf3d
parentppc-macos keywording (diff)
downloadhistorical-b94d41a93f09e75749e9330e015c4e79aae3dc13.tar.gz
historical-b94d41a93f09e75749e9330e015c4e79aae3dc13.tar.bz2
historical-b94d41a93f09e75749e9330e015c4e79aae3dc13.zip
rm policy with old headers
-rw-r--r--sec-policy/selinux-base-policy/Manifest8
-rw-r--r--sec-policy/selinux-base-policy/files/digest-selinux-base-policy-200406291
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-20040629.ebuild84
3 files changed, 3 insertions, 90 deletions
diff --git a/sec-policy/selinux-base-policy/Manifest b/sec-policy/selinux-base-policy/Manifest
index d37f528a2745..15a605ac89a8 100644
--- a/sec-policy/selinux-base-policy/Manifest
+++ b/sec-policy/selinux-base-policy/Manifest
@@ -3,16 +3,14 @@ Hash: SHA1
MD5 45160e9a01a18ce2fdc072f0c8e1405e ChangeLog 8815
MD5 808b5f7f5d6654666e9193672d463229 metadata.xml 473
-MD5 c6093a25f1662f9c9938956bcde5dd1d selinux-base-policy-20040629.ebuild 2275
MD5 c95d853ea9fdf166ae11ace4726e8123 selinux-base-policy-20040702.ebuild 2275
MD5 781011f9fe69880969f3af306b957ff5 selinux-base-policy-20040906.ebuild 2278
-MD5 b04dbcde2eb7e0f4177e3076075fe6ca files/digest-selinux-base-policy-20040629 80
MD5 aa75977434391487a1fe3dfe2394157d files/digest-selinux-base-policy-20040702 80
MD5 9ca92516b64d82899ea8fd92f15af3da files/digest-selinux-base-policy-20040906 80
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
-iD8DBQFBRRNQGFJQsIJWJy4RAg3iAJ9QWXqEN38TjmOlZjdRy4w0tS9BsQCdEbFi
-MtLxXm4BRAu3jyz5pB85y/M=
-=9lxD
+iD8DBQFBSPxlGFJQsIJWJy4RAmcEAJ9vFII1Ezex1WCeB+4H9M72zO/ZdgCggTlk
+4vXmolLsTxtxn0EpkOoMC3M=
+=4hJ/
-----END PGP SIGNATURE-----
diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040629 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040629
deleted file mode 100644
index d7060dfe3e2a..000000000000
--- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040629
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fc887edb668623ab77c0696b99c7c0c2 selinux-base-policy-20040629.tar.bz2 69301
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20040629.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20040629.ebuild
deleted file mode 100644
index f915d2bf8d6a..000000000000
--- a/sec-policy/selinux-base-policy/selinux-base-policy-20040629.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2004 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-20040629.ebuild,v 1.3 2004/09/06 01:13:57 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"
-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"
-
-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
- 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
-}