summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-05-26 21:01:37 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-05-26 21:01:37 +0000
commitd20ec7bcee3e540f6edab16fc70b76cffba7d010 (patch)
tree00f7d2ae9f25de6b637da94ca8349054f35a8ea5 /sec-policy
parentSparc fixes (diff)
downloadhistorical-d20ec7bcee3e540f6edab16fc70b76cffba7d010.tar.gz
historical-d20ec7bcee3e540f6edab16fc70b76cffba7d010.tar.bz2
historical-d20ec7bcee3e540f6edab16fc70b76cffba7d010.zip
rm old
Diffstat (limited to 'sec-policy')
-rw-r--r--sec-policy/selinux-base-policy/Manifest4
-rw-r--r--sec-policy/selinux-base-policy/files/digest-selinux-base-policy-200404141
-rw-r--r--sec-policy/selinux-base-policy/files/digest-selinux-base-policy-200404181
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-20040414.ebuild88
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-20040418.ebuild87
5 files changed, 0 insertions, 181 deletions
diff --git a/sec-policy/selinux-base-policy/Manifest b/sec-policy/selinux-base-policy/Manifest
index b10eda042b09..b006eaf6beed 100644
--- a/sec-policy/selinux-base-policy/Manifest
+++ b/sec-policy/selinux-base-policy/Manifest
@@ -1,10 +1,6 @@
MD5 2b9a3f12ac151d0b4c71816e637589b9 selinux-base-policy-20040225.ebuild 2199
-MD5 26febc0d378194c942b3c319000416bb selinux-base-policy-20040414.ebuild 2705
MD5 30c2a9c8aeb2bafe1ab6cde535ef3bf2 ChangeLog 7190
MD5 b111dbc4552261aebaa3b55e164f31a1 selinux-base-policy-20040509.ebuild 2655
MD5 808b5f7f5d6654666e9193672d463229 metadata.xml 473
-MD5 945ec02783513826001b5bea697c9c22 selinux-base-policy-20040418.ebuild 2671
-MD5 e3ef36d7c3722c35db97e8256f800831 files/digest-selinux-base-policy-20040414 80
MD5 7afea4eea1a3c5611ca773551fbd1bb5 files/digest-selinux-base-policy-20040225 80
MD5 0671869ee0d92a38cfabe4491da88e1c files/digest-selinux-base-policy-20040509 80
-MD5 f952bc21c0f26d0805ac84774c656930 files/digest-selinux-base-policy-20040418 80
diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040414 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040414
deleted file mode 100644
index e6ecc14a5ff4..000000000000
--- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040414
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a9c2d3dbddfad5140350282a4e015a92 selinux-base-policy-20040414.tar.bz2 64986
diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040418 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040418
deleted file mode 100644
index 347ef7dcdbcd..000000000000
--- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040418
+++ /dev/null
@@ -1 +0,0 @@
-MD5 d77b7672c66f8e10fe6a728be3d61d3a selinux-base-policy-20040418.tar.bz2 67396
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20040414.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20040414.ebuild
deleted file mode 100644
index 59f272cd404f..000000000000
--- a/sec-policy/selinux-base-policy/selinux-base-policy-20040414.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-20040414.ebuild,v 1.1 2004/04/14 19:34:30 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
- !build? ( >=sys-libs/pam-0.77 )"
-
-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_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."
-
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- sleep 4
-}
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20040418.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20040418.ebuild
deleted file mode 100644
index a4df2530f1a6..000000000000
--- a/sec-policy/selinux-base-policy/selinux-base-policy-20040418.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-20040418.ebuild,v 1.2 2004/04/19 01:08:03 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_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."
-
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1
- sleep 4
-}