diff options
author | Andrea Luzzardi <scox@gentoo.org> | 2004-02-07 19:54:22 +0000 |
---|---|---|
committer | Andrea Luzzardi <scox@gentoo.org> | 2004-02-07 19:54:22 +0000 |
commit | 319bed1672e938d2f913481ebe0d496eefad5346 (patch) | |
tree | 51b81d678c107e81a7b18503ab779cd1468e84fb /sys-kernel/hardened-sources | |
parent | Fix bug 39797 by scanning for Firebirds running on attached screens prior to ... (diff) | |
download | historical-319bed1672e938d2f913481ebe0d496eefad5346.tar.gz historical-319bed1672e938d2f913481ebe0d496eefad5346.tar.bz2 historical-319bed1672e938d2f913481ebe0d496eefad5346.zip |
removed obsolete ebuilds
Diffstat (limited to 'sys-kernel/hardened-sources')
13 files changed, 0 insertions, 455 deletions
diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 40c4d58519ca..1d93a9837305 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -1,21 +1,9 @@ -MD5 62dbd590a0b10e7b60ff94e3f7a8e84d hardened-sources-2.4.20-r4.ebuild 2220 -MD5 bcb6f42455c668fd90f2aa1015c7ef49 hardened-sources-2.4.22.ebuild 2274 MD5 e9492d001901547618002ca594ddad85 hardened-sources-2.4.22-r2.ebuild 2446 MD5 ea49f66eab6cc1e102bc4e0aabbfd375 hardened-sources-2.4.24.ebuild 1660 -MD5 992f0b2386fb616e6bab558c071d1c25 hardened-sources-2.4.20-r3.ebuild 2220 -MD5 6e9a60791f820fc7994d4f0137c96e0f hardened-sources-2.4.21.ebuild 2480 -MD5 6ecc735e601e6bb705ffb7d789738ef2 hardened-sources-2.4.22-r1.ebuild 2287 MD5 77f39af28f10fc49736c79632cb80a5f ChangeLog 5794 MD5 724c01628b1dd03c8bfe196f0ae31368 metadata.xml 558 -MD5 17a8a3d12f41f23a72b2e666777bf0cf hardened-sources-2.4.20-r2.ebuild 2302 MD5 e2e2b545b6fcdcecf49e33798efa5b84 files/rtc_fix.patch 7073 MD5 e77a93fdf26f06cf3ea5080b27211725 files/mremap-CAN-2003-0985.patch 414 MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242 -MD5 e8b051baa93e07c4185474fb0e94e3af files/digest-hardened-sources-2.4.20-r2 147 -MD5 58eba2e705c5a3f06366c1da54194deb files/digest-hardened-sources-2.4.20-r3 147 -MD5 c0df3343880221029deebeb9498dee44 files/digest-hardened-sources-2.4.20-r4 147 -MD5 0d5619823272f50a9bac7d4a50ca7757 files/digest-hardened-sources-2.4.22-r1 144 MD5 0d5619823272f50a9bac7d4a50ca7757 files/digest-hardened-sources-2.4.22-r2 144 -MD5 1c70b8c63f548b518631d93e5e8ca5cb files/digest-hardened-sources-2.4.21 144 -MD5 0d5619823272f50a9bac7d4a50ca7757 files/digest-hardened-sources-2.4.22 144 MD5 5f7f4f858f6ba088827d50ff2c6db55b files/digest-hardened-sources-2.4.24 321 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r2 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r2 deleted file mode 100644 index 9888c4b09bc7..000000000000 --- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 -MD5 e38b0c9ec1f71a90beec7571257874d7 patches-2.4.20-hardened-r2.tar.bz2 1629013 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r3 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r3 deleted file mode 100644 index dd39585811e6..000000000000 --- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 -MD5 2651bcc92ed09865dcb24f757361a0a5 patches-2.4.20-hardened-r3.tar.bz2 1711654 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r4 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r4 deleted file mode 100644 index 46944ceef544..000000000000 --- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046 -MD5 e2cda990f7f433af5bc59bf89794fd5f patches-2.4.20-hardened-r4.tar.bz2 1711757 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.21 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.21 deleted file mode 100644 index 1079572c8892..000000000000 --- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.21 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 -MD5 59b255d4a72ed88ca801301b0bcce0e6 patches-2.4.21-hardened.tar.bz2 1751699 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.22 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.22 deleted file mode 100644 index ccfd14cb665f..000000000000 --- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.22 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 -MD5 cb58e57bf9c2115eb71745761209df97 patches-2.4.22-hardened.tar.bz2 2592916 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.22-r1 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.22-r1 deleted file mode 100644 index ccfd14cb665f..000000000000 --- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.22-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 -MD5 cb58e57bf9c2115eb71745761209df97 patches-2.4.22-hardened.tar.bz2 2592916 diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.20-r2.ebuild deleted file mode 100644 index f823a3bd118a..000000000000 --- a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.4.20-r2.ebuild,v 1.7 2004/01/05 18:28:54 scox Exp $ - -IUSE="build selinux" - -# OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" - -inherit kernel - -OKV=2.4.20 -EXTRAVERSION=-hardened-r2 -KV=${OKV}${EXTRAVERSION} -S=${WORKDIR}/linux-${KV} -DESCRIPTION="Special Security Hardened Gentoo Kernel (don't use this yet, it isn't ready)" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - mirror://gentoo/patches-${KV}.tar.bz2" - - -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/hardened/" -KEYWORDS="~x86" -SLOT="${KV}" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - - cd ${KV} - # We can't use LSM/SELinux and GRSec in the same kernel. If USE=selinux, we will - # patch in LSM/SELinux and drop support for GRsec. Otherwise we will include GRSec. - if [ "`use selinux`" ]; then - einfo "Enabling SELinux support. This will drop GRSec support." - for file in *grsec*; do - einfo "Dropping ${file}.." - rm -f ${file} - done - else - einfo "Did not find \"selinux\" in use, building with GRSec support." - for file in *lsm* *selinux*; do - einfo "Dropping ${file}..." - rm -f ${file} - done - fi - - epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" - - 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 - - kernel_src_install -} - -pkg_postinst() { - einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace" - einfo "Also included are various other performance and security related patches" - 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" - einfo "frogger@gentoo.org" -} diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r3.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.20-r3.ebuild deleted file mode 100644 index 86b7bc96ce58..000000000000 --- a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r3.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/sys-kernel/hardened-sources/hardened-sources-2.4.20-r3.ebuild,v 1.8 2004/01/05 18:28:54 scox Exp $ - -IUSE="build selinux" - -# OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" - -inherit kernel - -OKV=2.4.20 -EXTRAVERSION=-hardened-r3 -KV=${OKV}${EXTRAVERSION} -S=${WORKDIR}/linux-${KV} -DESCRIPTION="Special Security Hardened Gentoo Linux Kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - mirror://gentoo/patches-${KV}.tar.bz2" - - -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/hardened/" -KEYWORDS="~x86" -SLOT="${KV}" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - - cd ${KV} - # We can't use LSM/SELinux and GRSec in the same kernel. If USE=selinux, we will - # patch in LSM/SELinux and drop support for GRsec. Otherwise we will include GRSec. - if [ "`use selinux`" ]; then - einfo "Enabling SELinux support. This will drop GRSec2 support." - for file in *grsec*; do - einfo "Dropping ${file}.." - rm -f ${file} - done - else - einfo "Did not find \"selinux\" in use, building with GRSec2 support." - for file in *lsm* *selinux*; do - einfo "Dropping ${file}..." - rm -f ${file} - done - fi - - epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" - - 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 - - kernel_src_install -} - -pkg_postinst() { - einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace" - einfo "Also included are various other performance and security related patches" - einfo "If you experience problems with this kernel please report them by" - einfo "assigning bugs on bugs.gentoo.org to frogger@gentoo.org" -} diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r4.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.20-r4.ebuild deleted file mode 100644 index 162123cd9bb9..000000000000 --- a/sys-kernel/hardened-sources/hardened-sources-2.4.20-r4.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/sys-kernel/hardened-sources/hardened-sources-2.4.20-r4.ebuild,v 1.6 2004/01/05 18:28:54 scox Exp $ - -IUSE="build selinux" - -# OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" - -inherit kernel - -OKV=2.4.20 -EXTRAVERSION=-hardened-r4 -KV=${OKV}${EXTRAVERSION} -S=${WORKDIR}/linux-${KV} -DESCRIPTION="Special Security Hardened Gentoo Linux Kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - mirror://gentoo/patches-${KV}.tar.bz2" - - -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/hardened/" -KEYWORDS="~x86" -SLOT="${KV}" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - - cd ${KV} - # We can't use LSM/SELinux and GRSec in the same kernel. If USE=selinux, we will - # patch in LSM/SELinux and drop support for GRsec. Otherwise we will include GRSec. - if [ "`use selinux`" ]; then - einfo "Enabling SELinux support. This will drop GRSec2 support." - for file in *grsec*; do - einfo "Dropping ${file}.." - rm -f ${file} - done - else - einfo "Did not find \"selinux\" in use, building with GRSec2 support." - for file in *lsm* *selinux*; do - einfo "Dropping ${file}..." - rm -f ${file} - done - fi - - epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" - - 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 - - kernel_src_install -} - -pkg_postinst() { - einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace" - einfo "Also included are various other performance and security related patches" - einfo "If you experience problems with this kernel please report them by" - einfo "assigning bugs on bugs.gentoo.org to frogger@gentoo.org" -} diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.21.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.21.ebuild deleted file mode 100644 index 7892d3f05810..000000000000 --- a/sys-kernel/hardened-sources/hardened-sources-2.4.21.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.4.21.ebuild,v 1.3 2004/01/05 18:28:54 scox Exp $ - -IUSE="build selinux" - -# OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" - -inherit kernel || die - -OKV=2.4.21 -EXTRAVERSION=-hardened -KV=${OKV}${EXTRAVERSION} -S=${WORKDIR}/linux-${KV} -DESCRIPTION="Special Security Hardened Gentoo Linux Kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - mirror://gentoo/patches-${KV}.tar.bz2" - - -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/proj/en/hardened/" -KEYWORDS="~x86 ~ppc ~sparc" -SLOT="${KV}" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - - cd ${KV} - # We can't use LSM/SELinux and GRSec in the same kernel. If USE=selinux, we will - # patch in LSM/SELinux and drop support for GRsec. Otherwise we will include GRSec. - if [ "`use selinux`" ]; then - einfo "Enabling SELinux support. This will drop GRSec2 support." - for file in *grsec*; do - einfo "Dropping ${file}.." - rm -f ${file} - done - else - einfo "Did not find \"selinux\" in use, building with GRSec2 support." - for file in *lsm* *selinux*; do - einfo "Dropping ${file}..." - rm -f ${file} - done - fi - - epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" - - 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 - - kernel_src_install -} - -pkg_postinst() { - einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace" - einfo "Also included are various other performance and security related patches" - einfo "If you experience problems with this kernel please report them by" - einfo "assigning bugs on bugs.gentoo.org to frogger@gentoo.org" - einfo "" - einfo "Please note that this kernel should be treated as highly experimental on" - einfo "non-x86 architectures such as PPC or sparc. If you are able to test" - einfo "on these platforms, feedback would be greatly appreciated." -} diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.22-r1.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.22-r1.ebuild deleted file mode 100644 index 5e85827f659b..000000000000 --- a/sys-kernel/hardened-sources/hardened-sources-2.4.22-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.4.22-r1.ebuild,v 1.3 2004/01/05 18:28:54 scox Exp $ - -IUSE="build selinux" - -# OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" - -inherit kernel || die - -OKV=2.4.22 -EXTRAVERSION=-hardened -KV=${OKV}${EXTRAVERSION} -S=${WORKDIR}/linux-${KV} -DESCRIPTION="Special Security Hardened Gentoo Linux Kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - mirror://gentoo/patches-${KV}.tar.bz2" - - -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/proj/en/hardened/" -KEYWORDS="~x86 ~ppc" -SLOT="${KV}" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - - cd ${KV} - # We can't use LSM/SELinux and GRSec in the same kernel. If USE=selinux, we will - # patch in LSM/SELinux and drop support for GRsec. Otherwise we will include GRSec. - if [ "`use selinux`" ]; then - einfo "Enabling SELinux support. This will drop GRSec2 support." - for file in *grsec*; do - einfo "Dropping ${file}.." - rm -f ${file} - done - else - einfo "Did not find \"selinux\" in use, building with GRSec2 support." - for file in *lsm* *selinux*; do - einfo "Dropping ${file}..." - rm -f ${file} - done - fi - - kernel_src_unpack - - cd ${S} - epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" - -} - -pkg_postinst() { - einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace" - einfo "Also included are various other performance and security related patches" - einfo "If you experience problems with this kernel please report them by" - einfo "assigning bugs on bugs.gentoo.org to frogger@gentoo.org" - if [ "`use selinux`" ]; then - einfo "" - einfo "Warning! This kernel contains the new SELinux API and currently" - einfo "does not support ReiserFS. If you need ReiserFS support, and are" - einfo "using SELinux, then do not use this kernel." - einfo "" - einfo "The new SELinux API contains many changes from the previous API," - einfo "including new userspace utilities. Please see " - einfo "http://www.gentoo.org/proj/en/hardened/selinux for more info." - fi -} - diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.22.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.22.ebuild deleted file mode 100644 index 87f032bffae7..000000000000 --- a/sys-kernel/hardened-sources/hardened-sources-2.4.22.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.4.22.ebuild,v 1.4 2004/01/05 18:28:54 scox Exp $ - -IUSE="build selinux" - -# OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" - -inherit kernel || die - -OKV=2.4.22 -EXTRAVERSION=-hardened -KV=${OKV}${EXTRAVERSION} -S=${WORKDIR}/linux-${KV} -DESCRIPTION="Special Security Hardened Gentoo Linux Kernel" -SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 - mirror://gentoo/patches-${KV}.tar.bz2" - - -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/proj/en/hardened/" -KEYWORDS="~x86 ~ppc" -SLOT="${KV}" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - - cd ${KV} - # We can't use LSM/SELinux and GRSec in the same kernel. If USE=selinux, we will - # patch in LSM/SELinux and drop support for GRsec. Otherwise we will include GRSec. - if [ "`use selinux`" ]; then - einfo "Enabling SELinux support. This will drop GRSec2 support." - for file in *grsec*; do - einfo "Dropping ${file}.." - rm -f ${file} - done - else - einfo "Did not find \"selinux\" in use, building with GRSec2 support." - for file in *lsm* *selinux*; do - einfo "Dropping ${file}..." - rm -f ${file} - done - fi - - epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" - - kernel_src_unpack -} - -pkg_postinst() { - einfo "This kernel contains LSM/SElinux or GRSecurity, and Systrace" - einfo "Also included are various other performance and security related patches" - einfo "If you experience problems with this kernel please report them by" - einfo "assigning bugs on bugs.gentoo.org to frogger@gentoo.org" - if [ "`use selinux`" ]; then - einfo "" - einfo "Warning! This kernel contains the new SELinux API and currently" - einfo "does not support ReiserFS. If you need ReiserFS support, and are" - einfo "using SELinux, then do not use this kernel." - einfo "" - einfo "The new SELinux API contains many changes from the previous API," - einfo "including new userspace utilities. Please see " - einfo "http://www.gentoo.org/proj/en/hardened/selinux for more info." - fi -} - |