/[gentoo-x86]/sys-kernel/hppa-sources-dev/hppa-sources-dev-2.4.21_p10.ebuild
Gentoo

Contents of /sys-kernel/hppa-sources-dev/hppa-sources-dev-2.4.21_p10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Nov 18 22:45:40 2003 UTC (15 years ago) by gmsoft
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove hppa-sources-dev because grsec-sources replace itand noone never used hppa-sources-dev

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-kernel/hppa-sources-dev/hppa-sources-dev-2.4.21_p10.ebuild,v 1.4 2003/10/27 13:49:11 aliz Exp $
4 #OKV=original kernel version, KV=patched kernel version. They can be the same.
5
6 ETYPE="sources"
7 inherit kernel
8 OKV="${PV/_p*/}"
9 PATCH_LEVEL="${PV/${OKV}_p/}"
10 EXTRAVERSION="-pa${PATCH_LEVEL}-dev"
11 KV=${OKV}${EXTRAVERSION}
12 S=${WORKDIR}/linux-${KV}
13
14 # What's in this kernel?
15
16 # INCLUDED:
17 # stock 2.4.20 kernel sources
18 # patches for hppa
19
20 PATCH_BASE="7"
21
22 DESCRIPTION="Full sources for the Linux kernel with patch for hppa"
23 SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa${PATCH_BASE}.diff.gz
24 `for i in \`seq $((PATCH_BASE + 1)) ${PATCH_LEVEL}\`; do echo http://ftp.parisc-linux.org/cvs/linux-2.4/patch-${OKV}-pa$((i - 1))-pa${i}.gz; done`
25 http://dev.gentoo.org/~gmsoft/${PN}-${OKV}-grsec-crypto-r1.diff.bz2
26 http://dev.gentoo.org/~gmsoft/hppa-sources-dev-grsec-hppa64-fix.patch"
27 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://parisc-linux.org"
28 KEYWORDS="hppa -*"
29 SLOT="${KV}"
30
31
32 src_unpack() {
33 unpack linux-${OKV}.tar.bz2
34 mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV}
35 cd ${S}
36
37 einfo Applying ${OKV}-pa${PATCH_BASE}
38 zcat ${DISTDIR}/patch-${OKV}-pa${PATCH_BASE}.diff.gz | patch -sp 1
39
40 for i in `seq $((PATCH_BASE + 1)) ${PATCH_LEVEL}`
41 do
42 einfo Applying patch from ${OKV}-pa$((i - 1)) to ${OKV}-pa${i}
43 zcat ${DISTDIR}/patch-${OKV}-pa$((i - 1))-pa${i}.gz | patch -sp 1 > /dev/null
44 done
45
46 einfo Patching for grsecurity and CryptoApi support
47 bzcat ${DISTDIR}/${PN}-${OKV}-grsec-crypto-r1.diff.bz2 | patch -sp 1
48 einfo Fixing grsec on hppa64
49 cat ${DISTDIR}/hppa-sources-dev-grsec-hppa64-fix.patch | patch -sp 1
50
51 kernel_universal_unpack
52 }

  ViewVC Help
Powered by ViewVC 1.1.20