summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rickard <frogger@gentoo.org>2003-04-13 02:57:38 +0000
committerMatt Rickard <frogger@gentoo.org>2003-04-13 02:57:38 +0000
commit25fdcfbfe14f02410bf1aa2f68d80b2e2c2a3eb9 (patch)
tree35bb67262ed7e901779badff2aad25f077c1c1c7 /sys-kernel/hardened-sources
parentAdd flask install (diff)
downloadgentoo-2-25fdcfbfe14f02410bf1aa2f68d80b2e2c2a3eb9.tar.gz
gentoo-2-25fdcfbfe14f02410bf1aa2f68d80b2e2c2a3eb9.tar.bz2
gentoo-2-25fdcfbfe14f02410bf1aa2f68d80b2e2c2a3eb9.zip
Add flask install
Diffstat (limited to 'sys-kernel/hardened-sources')
-rw-r--r--sys-kernel/hardened-sources/ChangeLog6
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-2.4.20-r1.ebuild16
-rw-r--r--sys-kernel/hardened-sources/manifest2
3 files changed, 21 insertions, 3 deletions
diff --git a/sys-kernel/hardened-sources/ChangeLog b/sys-kernel/hardened-sources/ChangeLog
index 8ebd73163568..7d2ac4638d81 100644
--- a/sys-kernel/hardened-sources/ChangeLog
+++ b/sys-kernel/hardened-sources/ChangeLog
@@ -1,10 +1,14 @@
# ChangeLog for sys-kernel/hardened-sources
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.5 2003/04/12 23:39:26 frogger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.6 2003/04/13 02:57:26 frogger Exp $
*hardened-sources-2.4.20-r1 (09 Apr 2003)
12 Apr 2003; Matthew Rickard <frogger@gentoo.org>
+ hardened-sources-2.4.20-r1.ebuild, manifest:
+ Updated to install flask components correctly for selinux
+
+ 12 Apr 2003; Matthew Rickard <frogger@gentoo.org>
hardened-sources-2.4.20-r1.ebuild:
LSM/SELinux is now patched in when "selinux" is in USE. Otherwise, GRSecurity
is patched in instead. Ptrace patches for selinux have also been added. In
diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.20-r1.ebuild
index 7edd0766f91a..7623b75668d8 100644
--- a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r1.ebuild
+++ b/sys-kernel/hardened-sources/hardened-sources-2.4.20-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-IUSE="build"
+IUSE="build selinux"
# OKV=original kernel version, KV=patched kernel version. They can be the same.
@@ -46,8 +46,22 @@ src_unpack() {
kernel_src_unpack
}
+src_install() {
+ if [ "`use selinux`" ]; then
+ insinto /usr/flask
+ doins ${S}/security/selinux/flask/access_vectors
+ doins ${S}/security/selinux/flask/security_classes
+ doins ${S}/security/selinux/flask/initial_sids
+ insinto /usr/include/linux/flask
+ doins ${S}/security/selinux/include/linux/flask/*.h
+ insinto /usr/include/asm/flask
+ doins ${S}/security/selinux/include/asm/flask/uninstd.h
+ fi
+}
+
pkg_postinst() {
kernel_pkg_postinst
+
einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace"
einfo "This is not yet a production ready kernel. If you experience problems with"
einfo "this kernel please report them by assigning bugs on bugs.gentoo.org to"
diff --git a/sys-kernel/hardened-sources/manifest b/sys-kernel/hardened-sources/manifest
index a35571c8fa29..f564c088224f 100644
--- a/sys-kernel/hardened-sources/manifest
+++ b/sys-kernel/hardened-sources/manifest
@@ -1,5 +1,5 @@
MD5 f9d67e9ab9bee46794e59cb76b070248 hardened-sources-2.4.20.ebuild 1141
MD5 c9e05e6d4026fbc779120d469e8e816c hardened-sources-2.4.20-r1.ebuild 2019
-MD5 20b7cfb62f3cff6a84640ac0e21700a2 ChangeLog 1072
+MD5 d878d1ab808e30141853f1e9a6c42bea ChangeLog 1232
MD5 af924609b3daad940a82ce31f516779a files/digest-hardened-sources-2.4.20-r1 146
MD5 77b6c798023422b48dc9282b1f667fe3 files/digest-hardened-sources-2.4.20 142