diff options
Diffstat (limited to 'sys-kernel')
11 files changed, 86 insertions, 24 deletions
diff --git a/sys-kernel/grsec-sources/ChangeLog b/sys-kernel/grsec-sources/ChangeLog index a36612d4fd77..5ca23732951d 100644 --- a/sys-kernel/grsec-sources/ChangeLog +++ b/sys-kernel/grsec-sources/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/grsec-sources # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/ChangeLog,v 1.9 2003/12/04 22:55:21 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/ChangeLog,v 1.10 2004/01/05 22:10:53 solar Exp $ + +*grsec-sources-2.4.23.2.0_rc4 (02 Jan 2004) + + 02 Jan 2004; <solar@gentoo.org> grsec-sources-2.4.23.2.0_rc4.ebuild: + grsecurity II kernel sources version bump 02 Dec 2003; Alexander Gabert <pappy@gentoo.org> grsec-sources-2.4.23.1.9.13.ebuild: diff --git a/sys-kernel/grsec-sources/Manifest b/sys-kernel/grsec-sources/Manifest index 282445d40cfe..d58d01f30cb7 100644 --- a/sys-kernel/grsec-sources/Manifest +++ b/sys-kernel/grsec-sources/Manifest @@ -1,13 +1,13 @@ -MD5 84913aa6659b0bdd6898ac173bf7301b grsec-sources-2.4.21.2.0_rc2.ebuild 1745 -MD5 2581233dddaca4d5ce1513f029c1207e grsec-sources-2.4.21.1.9.11.ebuild 1744 +MD5 9ea3e24bb7fc9d5b0126f254f66640dd grsec-sources-2.4.21.2.0_rc2.ebuild 1746 +MD5 d1ccf1a5f7f12892234cd400ecaffe3e grsec-sources-2.4.21.1.9.11.ebuild 1745 MD5 225cb9e370f4e7d3bc1a98549377249e metadata.xml 484 -MD5 245dacd4ecba20b3590270de106e2452 ChangeLog 1833 -MD5 8567a295a9c2475224081ff538858894 grsec-sources-2.4.22.1.9.12.ebuild 3295 -MD5 9a49af475db421eb00346696719b0c89 grsec-sources-2.4.22.2.0_rc3.ebuild 1745 -MD5 d03c43b95cb395cf636f6678a0bab4c9 grsec-sources-2.4.23.1.9.13.ebuild 2690 -MD5 63252eb649d34286d5dbb5612ceb1bcc grsec-sources-2.4.22.1.9.12-r1.ebuild 3298 -MD5 164153540ce7f5c8a4ca19ac7a565372 grsec-sources-2.4.22.2.0_rc3-r1.ebuild 1748 -MD5 39916009979ff7372e8b5ebb69cacffd grsec-sources-2.4.23.2.0_rc4.ebuild 1748 +MD5 db92f78c7a526edfd0ea722f11190879 ChangeLog 1991 +MD5 bb4c0ed18b7f0c2e955f154a5c4193a9 grsec-sources-2.4.22.1.9.12.ebuild 3296 +MD5 17e406a1b7e4c48a8337d295d372875e grsec-sources-2.4.22.2.0_rc3.ebuild 1746 +MD5 9f568adf761b880688a48358febf458e grsec-sources-2.4.23.1.9.13.ebuild 2690 +MD5 a3416de79b3afb24265e3a5980c42537 grsec-sources-2.4.22.1.9.12-r1.ebuild 3299 +MD5 36bbe3ffa7373d9db63750249e05f5ea grsec-sources-2.4.22.2.0_rc3-r1.ebuild 1749 +MD5 21332b215e1b2568de209c564305f1a8 grsec-sources-2.4.23.2.0_rc4.ebuild 1746 MD5 8ce72e4001839fb39f9d3b0597e681b8 files/digest-grsec-sources-2.4.21.1.9.11 219 MD5 a66ec80566f602367995d845a5266ed4 files/digest-grsec-sources-2.4.21.2.0_rc2 221 MD5 d321249b3131edd6a4a7b55bd63a5f47 files/digest-grsec-sources-2.4.22.1.9.12 367 diff --git a/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.23.2.0_rc4 b/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.23.2.0_rc4 new file mode 100644 index 000000000000..d5e5ac091a38 --- /dev/null +++ b/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.23.2.0_rc4 @@ -0,0 +1,3 @@ +MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609 +MD5 b410c3f47fd3b574456e2682819c2a0b grsecurity-2.0-rc4-2.4.23.patch 569580 +MD5 ce3962ea3fd58538cd00f8444b1a91e1 grsecurity-2.0-rc4-2.4.23.patch.sign 189 diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.21.1.9.11.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.21.1.9.11.ebuild index 341450b63a55..1f79c994f1ee 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.21.1.9.11.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.21.1.9.11.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.21.1.9.11.ebuild,v 1.3 2003/12/01 22:48:34 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.21.1.9.11.ebuild,v 1.4 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.21.2.0_rc2.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.21.2.0_rc2.ebuild index d736501f266d..3bba04fc9ea0 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.21.2.0_rc2.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.21.2.0_rc2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.21.2.0_rc2.ebuild,v 1.3 2003/12/01 22:48:34 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.21.2.0_rc2.ebuild,v 1.4 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12-r1.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12-r1.ebuild index c97c5b5d55d4..2f4a2f5790ad 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12-r1.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12-r1.ebuild,v 1.1 2003/12/02 07:04:05 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12-r1.ebuild,v 1.2 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild index 6fde8e2028db..bc4d0dc7c128 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild,v 1.3 2003/12/01 22:48:34 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild,v 1.4 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3-r1.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3-r1.ebuild index 10f518d6f29b..5dd26b17bc9e 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3-r1.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3-r1.ebuild,v 1.1 2003/12/02 07:04:05 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3-r1.ebuild,v 1.2 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild index 33ce7dd21966..0b7a494c671d 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild,v 1.3 2003/12/01 22:48:34 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild,v 1.4 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild index 7b85200203f4..5564a6980d0b 100644 --- a/sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild,v 1.2 2003/12/02 20:22:22 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild,v 1.3 2004/01/05 22:10:53 solar Exp $ # Documentation on the patch contained in this kernel will be installed someday diff --git a/sys-kernel/grsec-sources/grsec-sources-2.4.23.2.0_rc4.ebuild b/sys-kernel/grsec-sources/grsec-sources-2.4.23.2.0_rc4.ebuild new file mode 100644 index 000000000000..957c4e60e296 --- /dev/null +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.23.2.0_rc4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/grsec-sources/grsec-sources-2.4.23.2.0_rc4.ebuild,v 1.1 2004/01/05 22:10:53 solar Exp $ + +# Documentation on the patch contained in this kernel will be installed someday + +ETYPE="sources" +IUSE="" + +inherit eutils +inherit kernel + +[ "$OKV" == "" ] && OKV="2.4.23" + +PATCH_BASE="${PV/${OKV}./}" +PATCH_BASE=${PATCH_BASE/_/-} +EXTRAVERSION="-grsec-${PATCH_BASE}" +KV=${OKV}${EXTRAVERSION} + +################### +DESCRIPTION="Vanilla sources of the linux kernel with the grsecurity ${PATCH_BASE} patch" +SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2 \ + http://grsecurity.net/grsecurity-${PATCH_BASE}-${OKV}.patch \ + http://grsecurity.net/grsecurity-${PATCH_BASE}-${OKV}.patch.sign" +HOMEPAGE="http://www.kernel.org/ http://grsecurity.net" +[ ${PATCH_BASE/.*/} == 1 ] && KEYWORDS="x86" || KEYWORDS="~x86 ~sparc ~ppc ~alpha" +SLOT="${OKV}" +S=${WORKDIR}/linux-${KV} +################### + +src_unpack() { + unpack linux-${OKV}.tar.bz2 || die "Unable to unpack the kernel" + mv linux-${OKV} linux-${KV} || die "Unable to move the kernel" + cd linux-${KV} || die "Unable to cd into the kernel source tree" + if [ -f "${DISTDIR}/grsecurity-${PATCH_BASE}-${OKV}.patch" ]; then + ebegin "Patching the kernel with the grsecurity-${PATCH_BASE}-${OKV} patch" + cat ${DISTDIR}/grsecurity-${PATCH_BASE}-${OKV}.patch | patch -p 1 + eend $? + else + die "Unable to the kernel patch" + fi + + epatch ${FILESDIR}/do_brk_fix.patch || die "failed to patch for do_brk vuln" + + mkdir -p docs + touch docs/patches.txt + + kernel_universal_unpack + # kernel_src_unpack +} + +#src_install() { +# kernel_src_install +#} |