summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-02-28 20:22:46 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-02-28 20:22:46 +0000
commit98a3d1aaf7505924325f0d3260082cfa2bb65d12 (patch)
tree29bde7048f17b0c8b547db73fd0afaf5917d5e01 /sec-policy
parentadd vanilla flag for mutt (diff)
downloadgentoo-2-98a3d1aaf7505924325f0d3260082cfa2bb65d12.tar.gz
gentoo-2-98a3d1aaf7505924325f0d3260082cfa2bb65d12.tar.bz2
gentoo-2-98a3d1aaf7505924325f0d3260082cfa2bb65d12.zip
mark stable
Diffstat (limited to 'sec-policy')
-rw-r--r--sec-policy/selinux-base-policy/ChangeLog6
-rw-r--r--sec-policy/selinux-base-policy/files/digest-selinux-base-policy-200402091
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-20040209.ebuild72
-rw-r--r--sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild4
4 files changed, 7 insertions, 76 deletions
diff --git a/sec-policy/selinux-base-policy/ChangeLog b/sec-policy/selinux-base-policy/ChangeLog
index aac09a1e9f95..06453f1be6d4 100644
--- a/sec-policy/selinux-base-policy/ChangeLog
+++ b/sec-policy/selinux-base-policy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sec-policy/selinux-base-policy
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 1.16 2004/02/26 01:12:58 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 1.17 2004/02/28 20:22:46 pebenito Exp $
+
+ 28 Feb 2004; Chris PeBenito <pebenito@gentoo.org>
+ selinux-base-policy-20040225.ebuild:
+ Mark stable.
*selinux-base-policy-20040225 (25 Feb 2004)
diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040209 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040209
deleted file mode 100644
index 22abc1cd70b1..000000000000
--- a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20040209
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8e4249edef338e7b3812c89863ed6d20 selinux-base-policy-20040209.tar.bz2 60580
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20040209.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20040209.ebuild
deleted file mode 100644
index b9f8bd5fd900..000000000000
--- a/sec-policy/selinux-base-policy/selinux-base-policy-20040209.ebuild
+++ /dev/null
@@ -1,72 +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-20040209.ebuild,v 1.1 2004/02/10 03:50:04 pebenito Exp $
-
-IUSE="build"
-
-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_unpack() {
-# unpack ${A}
-# cd ${S}
-# epatch ${FILESDIR}/${P}-cvs.diff
-#}
-
-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
- 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 8
-}
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild
index 50ed9d05784b..24d7ffb9b883 100644
--- a/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild
+++ b/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild
@@ -1,6 +1,6 @@
# 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-20040225.ebuild,v 1.1 2004/02/26 01:12:58 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/selinux-base-policy-20040225.ebuild,v 1.2 2004/02/28 20:22:46 pebenito Exp $
IUSE="build"
@@ -9,7 +9,7 @@ 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"
+KEYWORDS="x86 ppc sparc"
DEPEND="build? ( sys-devel/make )"
RDEPEND="sys-devel/m4
sys-devel/make