summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/hardened-sources')
-rw-r--r--sys-kernel/hardened-sources/ChangeLog6
-rw-r--r--sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.202
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild25
-rw-r--r--sys-kernel/hardened-sources/manifest2
4 files changed, 19 insertions, 16 deletions
diff --git a/sys-kernel/hardened-sources/ChangeLog b/sys-kernel/hardened-sources/ChangeLog
index 17d703a76b28..512b36608c8b 100644
--- a/sys-kernel/hardened-sources/ChangeLog
+++ b/sys-kernel/hardened-sources/ChangeLog
@@ -1,9 +1,13 @@
# 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.1 2003/03/30 23:54:41 method Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.2 2003/04/09 20:27:52 frogger Exp $
*hardened-sources-2.4.20 (30 Mar 2003)
+ 09 Apr 2003; Matthew Rickard <frogger@gentoo.org>
+ hardened-sources-2.4.20.ebuild:
+ Now includes LSM1, GRSec-2.0-pre1, and systrace-v1.2
+
30 Mar 2003; Joshua Brindle <method@gentoo.org>
hardened-sources-2.4.20.ebuild:
initial import, only has systrace support
diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20
index 93212441753e..702732dde3fe 100644
--- a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20
+++ b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.20
@@ -1,2 +1,2 @@
MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 b3ea5794c74b5a9ce63462a5e5bb47b5 systrace-linux-2.4.20-v1.2.diff 75853
+MD5 8a678d92afb418806ec82c9fad8fee2e patches-2.4.20-hardened.tar.bz2 305146
diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild
index 196959c56b78..8938caa62e14 100644
--- a/sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild
+++ b/sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild
@@ -17,8 +17,8 @@ EXTRAVERSION=-hardened
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
- http://www.citi.umich.edu/u/provos/systrace/systrace-linux-2.4.20-v1.2.diff"
+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/"
@@ -26,18 +26,17 @@ KEYWORDS="~x86"
SLOT="${KV}"
src_unpack() {
- unpack linux-${OKV}.tar.bz2
+ unpack linux-${OKV}.tar.bz2 patches-${KV}.tar.bz2
mv linux-${OKV} linux-${KV} || die
- cd ${S}
- patch -p1 < ${DISTDIR}/${KPATCH} || die "Cannot find systrace patch"
+
+ cd ${KV}
+ kernel_src_unpack
}
-src_compile() {
- einfo "You must compile and install this kernel *before* you can emerge and use the systrace userland utilities."
-}
-
-src_install() {
- dodir /usr/src
- echo ">>> Copying sources..."
- mv ${WORKDIR}/linux-${KV} ${D}/usr/src
+pkg_postinst() {
+ kernel_pkg_postinst
+ einfo "This kernel contains LSM, GRSec2, 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"
+ einfo "frogger@gentoo.org"
}
diff --git a/sys-kernel/hardened-sources/manifest b/sys-kernel/hardened-sources/manifest
index 17b18d60624c..c6a03bb97cd2 100644
--- a/sys-kernel/hardened-sources/manifest
+++ b/sys-kernel/hardened-sources/manifest
@@ -1,3 +1,3 @@
MD5 5960a86d170c1ad62b56fb99964ba142 hardened-sources-2.4.20.ebuild 1126
-MD5 2ae23b8f8c5ca2100dadf88aabe66463 ChangeLog 547
+MD5 324485faf2d3be3c252b9606ae9b26e3 ChangeLog 548
MD5 6402fe8dd0793003c2675ae8c0a57afe files/digest-hardened-sources-2.4.20 143