summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-12-02 20:22:29 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-12-02 20:22:29 +0000
commit6993577ef3394f140d9390974708882836a56042 (patch)
tree6115bfc93d919757171e8dcd46d0a40e50a8ff53 /sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild
parentcreated linux2423grsec1913 patch and added ~hppa keywords (diff)
downloadgentoo-2-6993577ef3394f140d9390974708882836a56042.tar.gz
gentoo-2-6993577ef3394f140d9390974708882836a56042.tar.bz2
gentoo-2-6993577ef3394f140d9390974708882836a56042.zip
created linux2423grsec1913 patch and added ~hppa keywords
Diffstat (limited to 'sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild')
-rw-r--r--sys-kernel/grsec-sources/grsec-sources-2.4.23.1.9.13.ebuild20
1 files changed, 4 insertions, 16 deletions
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 6e5fb09d302f..7b85200203f4 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.
# 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.1 2003/12/01 21:27:08 solar Exp $
+# $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 $
# Documentation on the patch contained in this kernel will be installed someday
@@ -16,15 +16,13 @@ PATCH_BASE="${PV/${OKV}./}"
PATCH_BASE="${PATCH_BASE/_/-}"
EXTRAVERSION="-grsec-${PATCH_BASE}"
KV="${OKV}${EXTRAVERSION}"
-PARISC_KERNEL_VERSION="pa7"
+PARISC_KERNEL_VERSION="pa1"
###################
DESCRIPTION="Vanilla sources of the linux kernel with the grsecurity ${PATCH_BASE} patch"
-# hppa? ( http://cvs.parisc-linux.org/download/linux-2.4/patch-${OKV}-${PARISC_KERNEL_VERSION}.gz ) \
-# hppa? ( http://dev.gentoo.org/~pappy/gentoo-x86/sys-kernel/grsec-sources/parisc-linux-${OKV}-${PARISC_KERNEL_VERSION}${EXTRAVERSION}.gz )
-
SRC_URI="
+ hppa? ( http://dev.gentoo.org/~pappy/gentoo-x86/sys-kernel/grsec-sources/parisc-linux-${OKV}-${PARISC_KERNEL_VERSION}${EXTRAVERSION}.gz ) \
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
@@ -32,7 +30,7 @@ SRC_URI="
HOMEPAGE="http://www.kernel.org/ http://www.grsecurity.net"
-[ ${PATCH_BASE/.*/} == 1 ] && KEYWORDS="x86" || KEYWORDS="~x86 ~sparc ~ppc ~alpha"
+[ ${PATCH_BASE/.*/} == 1 ] && KEYWORDS="x86 ~hppa" || KEYWORDS="~x86 ~sparc ~ppc ~alpha"
SLOT="${OKV}"
S="${WORKDIR}/linux-${KV}"
@@ -43,20 +41,10 @@ src_unpack() {
then
KV="${OKV}-${PARISC_KERNEL_VERSION}${EXTRAVERSION}"
S="${WORKDIR}/linux-${KV}"
- # ewarn "custom patch for gentoo-${ARCH}: linux-${KV}"
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}/patch-${OKV}-${PARISC_KERNEL_VERSION}.gz" ]; then
- ebegin "applying patch-${OKV}-${PARISC_KERNEL_VERSION}"
- zcat "${DISTDIR}"/patch-"${OKV}"-"${PARISC_KERNEL_VERSION}".gz | patch -p 1 --quiet
- eend $?
- else
- eerror "FAILURE: applying patch-${OKV}-${PARISC_KERNEL_VERSION}"
- die "unable to apply parisc-linux kernel patch"
- fi
-
if [ -f "${DISTDIR}/parisc-linux-${OKV}-${PARISC_KERNEL_VERSION}${EXTRAVERSION}.gz" ]; then
ebegin "applying parisc-linux-grsecurity-${OKV}-${PARISC_KERNEL_VERSION}"
zcat "${DISTDIR}"/parisc-linux-"${OKV}"-"${PARISC_KERNEL_VERSION}${EXTRAVERSION}".gz | patch -p 1 --quiet