diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2004-09-13 03:25:42 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2004-09-13 03:25:42 +0000 |
commit | 0ff53a07be39ff548955a6b4791c91365760cd67 (patch) | |
tree | aa8b668ad79b7272929dd8f94f0b3788c50b1d34 /sec-policy/selinux-base-policy | |
parent | bump to version 2.6.1 (Manifest recommit) (diff) | |
download | gentoo-2-0ff53a07be39ff548955a6b4791c91365760cd67.tar.gz gentoo-2-0ff53a07be39ff548955a6b4791c91365760cd67.tar.bz2 gentoo-2-0ff53a07be39ff548955a6b4791c91365760cd67.zip |
rm old
Diffstat (limited to 'sec-policy/selinux-base-policy')
-rw-r--r-- | sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040225 | 1 | ||||
-rw-r--r-- | sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild | 65 |
2 files changed, 0 insertions, 66 deletions
diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040225 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040225 deleted file mode 100644 index 2941a8cf81fc..000000000000 --- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040225 +++ /dev/null @@ -1 +0,0 @@ -MD5 860f28c0b67ede1fb0a245f035faa608 selinux-base-policy-20040225.tar.bz2 61163 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild deleted file mode 100644 index d18be9748fa8..000000000000 --- a/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild +++ /dev/null @@ -1,65 +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-20040225.ebuild,v 1.7 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 )" -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" - -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() { - 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 - ebeep 4 - epause 4 -} |