diff options
author | Ned Ludd <solar@gentoo.org> | 2003-09-04 06:33:52 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2003-09-04 06:33:52 +0000 |
commit | 3cfae15967617fd059723e527855a44aeedbccc2 (patch) | |
tree | ae98c90f3df566d4804f8c13fcea8bd3aa04bd19 /sys-kernel/grsec-sources | |
parent | version bumps for 2.4.22 (diff) | |
download | historical-3cfae15967617fd059723e527855a44aeedbccc2.tar.gz historical-3cfae15967617fd059723e527855a44aeedbccc2.tar.bz2 historical-3cfae15967617fd059723e527855a44aeedbccc2.zip |
version bumps for 2.4.22
Diffstat (limited to 'sys-kernel/grsec-sources')
5 files changed, 113 insertions, 3 deletions
diff --git a/sys-kernel/grsec-sources/Manifest b/sys-kernel/grsec-sources/Manifest index cc912bf75b78..63f571d4eb1c 100644 --- a/sys-kernel/grsec-sources/Manifest +++ b/sys-kernel/grsec-sources/Manifest @@ -1,9 +1,9 @@ MD5 9089c9d8bb77456b8d35a6f25b268e23 grsec-sources-2.4.21.2.0_rc2.ebuild 1671 MD5 852d21edf1e3eb9530a9bbac9610f804 grsec-sources-2.4.21.1.9.11.ebuild 1670 MD5 f546d12b85c9dc51d1707a31d9367487 metadata.xml 371 -MD5 4992dbeeee1e704aaf57fcac885c3040 ChangeLog 432 -MD5 5804bd0e4c97907d5d1046f1a08e21e2 grsec-sources-2.4.22.1.9.12.ebuild 1670 -MD5 ea6a6b6cdc817c7d554f492fef4081a6 grsec-sources-2.4.22.2.0_rc3.ebuild 1671 +MD5 d4e87fb688576aa96bf32fff4fadbba3 ChangeLog 603 +MD5 efbb1f08da9baabbcbd8add8e993b0d6 grsec-sources-2.4.22.1.9.12.ebuild 1670 +MD5 bc107d8f2c850e5fa12287b1d91d2a32 grsec-sources-2.4.22.2.0_rc3.ebuild 1671 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 08b7d088a6681d925452a15c4b6f9e89 files/digest-grsec-sources-2.4.22.1.9.12 219 diff --git a/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.22.1.9.12 b/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.22.1.9.12 new file mode 100644 index 000000000000..f4cda01e902f --- /dev/null +++ b/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.22.1.9.12 @@ -0,0 +1,3 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 1765203a3f5ba2d73e2eae2f2cb6c604 grsecurity-1.9.12-2.4.22.patch 508872 +MD5 243b95e2305af88af637fd051c97babe grsecurity-1.9.12-2.4.22.patch.sign 189 diff --git a/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.22.2.0_rc3 b/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.22.2.0_rc3 new file mode 100644 index 000000000000..a5167a4c774d --- /dev/null +++ b/sys-kernel/grsec-sources/files/digest-grsec-sources-2.4.22.2.0_rc3 @@ -0,0 +1,3 @@ +MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 +MD5 d57abdd2f765e8f144d206c28ad3a0b0 grsecurity-2.0-rc3-2.4.22.patch 548938 +MD5 9762f7d127660f4e1f13fc8f38db7149 grsecurity-2.0-rc3-2.4.22.patch.sign 189 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 new file mode 100644 index 000000000000..ed3428c781db --- /dev/null +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.22.1.9.12.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2003 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.1 2003/09/04 06:33:49 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.22" + +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://www.grsecuirty.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 + + mkdir -p docs + touch docs/patches.txt + + kernel_universal_unpack + # kernel_src_unpack +} + +#src_install() { +# kernel_src_install +#} 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 new file mode 100644 index 000000000000..6b297baa82d3 --- /dev/null +++ b/sys-kernel/grsec-sources/grsec-sources-2.4.22.2.0_rc3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2003 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.1 2003/09/04 06:33:49 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.22" + +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://www.grsecuirty.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 + + mkdir -p docs + touch docs/patches.txt + + kernel_universal_unpack + # kernel_src_unpack +} + +#src_install() { +# kernel_src_install +#} |