diff options
author | Chris PeBenito <pebenito@gentoo.org> | 2003-07-30 02:10:21 +0000 |
---|---|---|
committer | Chris PeBenito <pebenito@gentoo.org> | 2003-07-30 02:10:21 +0000 |
commit | 78e9e94b02b5c9fcaf8fc66e3ed035aacd35c92e (patch) | |
tree | 15fdffe1ad5eb6573bc780aa6eb7821990136915 /sec-policy | |
parent | Initial commit here from split apis (diff) | |
download | historical-78e9e94b02b5c9fcaf8fc66e3ed035aacd35c92e.tar.gz historical-78e9e94b02b5c9fcaf8fc66e3ed035aacd35c92e.tar.bz2 historical-78e9e94b02b5c9fcaf8fc66e3ed035aacd35c92e.zip |
new release
Diffstat (limited to 'sec-policy')
4 files changed, 77 insertions, 4 deletions
diff --git a/sec-policy/selinux-base-policy/ChangeLog b/sec-policy/selinux-base-policy/ChangeLog index 77698ec539d0..d9a8e18c95a0 100644 --- a/sec-policy/selinux-base-policy/ChangeLog +++ b/sec-policy/selinux-base-policy/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-apps/selinux-base-policy # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 1.1 2003/07/28 19:38:14 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sec-policy/selinux-base-policy/ChangeLog,v 1.2 2003/07/30 02:10:14 pebenito Exp $ + +*selinux-base-policy-20030729 (29 Jul 2003) + + 29 Jul 2003; Chris PeBenito <pebenito@gentoo.org> + selinux-base-policy-20030729.ebuild: + Make the ebuild use POLICYDIR. Important fix so portage can load policy so + selinux-policy.eclass works. update_modules_t cleanup. Fix for an access when + merging baselayout. *selinux-base-policy-20030720 (20 Jul 2003) diff --git a/sec-policy/selinux-base-policy/Manifest b/sec-policy/selinux-base-policy/Manifest index f66202ce01aa..85e640bf4a44 100644 --- a/sec-policy/selinux-base-policy/Manifest +++ b/sec-policy/selinux-base-policy/Manifest @@ -1,6 +1,8 @@ -MD5 f26e692fc91d3c693bf592290ccd4a0c ChangeLog 2757 +MD5 f6777e661ceadeb9559b4c976d2586ab ChangeLog 3073 MD5 808b5f7f5d6654666e9193672d463229 metadata.xml 473 -MD5 ea1b4c7f7b273d07e5b6ed72e9e22548 selinux-base-policy-20030720.ebuild 2049 MD5 f69b789c5dedf6b114e28c134b4d73a3 selinux-base-policy-20030604.ebuild 2048 -MD5 d10857a9bb40eeac10d0e5b3e83c27b8 files/digest-selinux-base-policy-20030720 80 +MD5 ea1b4c7f7b273d07e5b6ed72e9e22548 selinux-base-policy-20030720.ebuild 2049 +MD5 3aa0af0b702ab2a8506da26e35a0e7eb selinux-base-policy-20030729.ebuild 2030 MD5 ca4360b2c75e8cc5e4d3f65ac763d5b4 files/digest-selinux-base-policy-20030604 80 +MD5 d10857a9bb40eeac10d0e5b3e83c27b8 files/digest-selinux-base-policy-20030720 80 +MD5 4d266a57f64936ce65e5018775edefd8 files/digest-selinux-base-policy-20030729 80 diff --git a/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20030729 b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20030729 new file mode 100644 index 000000000000..a6882eb096cc --- /dev/null +++ b/sec-policy/selinux-base-policy/files/digest-selinux-base-policy-20030729 @@ -0,0 +1 @@ +MD5 9f160d929ee0171a885d2cd39717cdb3 selinux-base-policy-20030729.tar.bz2 47040 diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-20030729.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-20030729.ebuild new file mode 100644 index 000000000000..dfef4faa6b5b --- /dev/null +++ b/sec-policy/selinux-base-policy/selinux-base-policy-20030729.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2003 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-20030729.ebuild,v 1.1 2003/07/30 02:10:14 pebenito Exp $ + +IUSE="selinux" + +DESCRIPTION="Gentoo base policy for SELinux" +HOMEPAGE="http://www.gentoo.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +RDEPEND="|| ( + >=sys-kernel/selinux-sources-2.4.20-r1 + >=sys-kernel/hardened-sources-2.4.20-r1 + ) + sys-devel/m4 + sys-devel/make" +DEPEND="" +S=${WORKDIR}/base-policy + +pkg_setup() { + if [ -z "`use selinux`" ]; then + eerror "selinux is missing from your USE. You seem to be using the" + eerror "incorrect profile. SELinux has a different profile than" + eerror "mainline Gentoo. Make sure the /etc/make.profile symbolic" + eend 1 "link is pointing to /usr/portage/profiles/selinux-x86-1.4/" + fi +} + +src_install() { + dodir /etc/security/selinux/src + + insinto /etc/security + doins ${S}/appconfig/* + rm -fR ${S}/appconfig + + mv ${S} ${D}/${POLICYDIR} +} + +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 +} |