From e5f23a6e0004e984be2176587d4569bb99b9e10e Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 31 Aug 2004 18:03:06 +0000 Subject: Added hardened-sources-2.4.27-r2 --- sys-kernel/hardened-sources/ChangeLog | 10 +++++- sys-kernel/hardened-sources/Manifest | 4 ++- .../files/digest-hardened-sources-2.4.27-r2 | 2 ++ .../hardened-sources-2.4.27-r2.ebuild | 36 ++++++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.27-r2 create mode 100644 sys-kernel/hardened-sources/hardened-sources-2.4.27-r2.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/hardened-sources/ChangeLog b/sys-kernel/hardened-sources/ChangeLog index 382d5578a5e9..0fb2fb97829e 100644 --- a/sys-kernel/hardened-sources/ChangeLog +++ b/sys-kernel/hardened-sources/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-kernel/hardened-sources # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.36 2004/08/10 00:11:08 scox Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/ChangeLog,v 1.37 2004/08/31 18:03:06 scox Exp $ + +*hardened-sources-2.4.27-r2 (31 Aug 2004) + + 31 Aug 2004; Andrea Luzzardi + +hardened-sources-2.4.27-r2.ebuild: + Version bump. + This version uses the new 2.4-27.1 patchball which updates + both the SELinux PaX hooks patch and the SELinux headers. *hardened-sources-2.4.27-r1 (09 Aug 2004) diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index 1f84347d7156..7e6eb67e87a7 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -1,6 +1,8 @@ +MD5 e9109d9a07301f5f4eb657ed8ff784f0 hardened-sources-2.4.27-r2.ebuild 907 MD5 d688e1806469832dc64c58cf50885f19 hardened-sources-2.4.27-r1.ebuild 1027 -MD5 16915a75338c4be0a64c34d27a144ff5 ChangeLog 9788 +MD5 0d23e69e5e78309bd47571ddc72e61d6 ChangeLog 9960 MD5 0a473e60c059cb41c96a6bbcbff84769 metadata.xml 459 MD5 b6117ce855b957361c71b35e8c035dc8 files/digest-hardened-sources-2.4.27-r1 145 +MD5 74a78acf26bd9b18f7bd7558940b968b files/digest-hardened-sources-2.4.27-r2 145 MD5 8850fb5244d9d10736d95a85f3c5b3f1 files/2.4.27-CAN-2004-0394.patch 448 MD5 d1ccc2047be533c992f67270a150a210 files/2.4.27-cmdline-race.patch 388 diff --git a/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.27-r2 b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.27-r2 new file mode 100644 index 000000000000..71c2a4a18da5 --- /dev/null +++ b/sys-kernel/hardened-sources/files/digest-hardened-sources-2.4.27-r2 @@ -0,0 +1,2 @@ +MD5 59a2e6fde1d110e2ffa20351ac8b4d9e linux-2.4.27.tar.bz2 30898453 +MD5 ced7b72fd0a34c4bcfc7f0543be913c7 hardened-patches-2.4-27.1.tar.bz2 797538 diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.27-r2.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.27-r2.ebuild new file mode 100644 index 000000000000..97d08e2209d0 --- /dev/null +++ b/sys-kernel/hardened-sources/hardened-sources-2.4.27-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/hardened-sources/hardened-sources-2.4.27-r2.ebuild,v 1.1 2004/08/31 18:03:06 scox Exp $ + +IUSE="selinux" +ETYPE="sources" +inherit kernel-2 +detect_version + +HGPV=27.1 +HGPV_SRC="http://dev.gentoo.org/~scox/kernels/v2.4/hardened-patches-${KV_MAJOR}.${KV_MINOR}-${HGPV}.tar.bz2" + +UNIPATCH_STRICTORDER="yes" + +# According to the patchset numbering scheme, 31xx patches are grsec related +# while 32xx are SELinux related. + +if use selinux; then + UNIPATCH_EXCLUDE="31" +else + UNIPATCH_EXCLUDE="32" +fi + +UNIPATCH_LIST=" ${DISTDIR}/hardened-patches-${KV_MAJOR}.${KV_MINOR}-${HGPV}.tar.bz2 \ + ${FILESDIR}/${OKV}*.patch" + +UNIPATCH_DOCS="${WORKDIR}/patches/hardened-patches-${KV_MAJOR}.${KV_MINOR}-${HGPV}/0000_README" + +DESCRIPTION="Hardened sources for the ${KV_MAJOR}.${KV_MINOR} kernel tree" + +SRC_URI="${KERNEL_URI} ${HGPV_SRC}" +KEYWORDS="~x86 -ppc" + +pkg_postinst() { + postinst_sources +} -- cgit v1.2.3-65-gdbad