/[gentoo-x86]/sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild
Gentoo

Contents of /sys-kernel/hardened-sources/hardened-sources-2.4.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jun 9 00:44:04 2003 UTC (10 years, 10 months ago) by frogger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
FILE REMOVED
Cleared out old revisions

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3
4 IUSE="build"
5
6 # OKV=original kernel version, KV=patched kernel version. They can be the same.
7
8 ETYPE="sources"
9
10 inherit kernel || die
11
12 # Kernel patch name
13 KPATCH=systrace-linux-2.4.20-v1.2.diff
14
15 OKV=2.4.20
16 EXTRAVERSION=-hardened
17 KV=${OKV}${EXTRAVERSION}
18 S=${WORKDIR}/linux-${KV}
19 DESCRIPTION="Special Security Hardened Gentoo Kernel (don't use this yet, it isn't ready)"
20 SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
21 http://www.citi.umich.edu/u/provos/systrace/systrace-linux-2.4.20-v1.2.diff"
22
23
24 HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/hardened/"
25 KEYWORDS="~x86"
26 SLOT="${KV}"
27
28 src_unpack() {
29 unpack linux-${OKV}.tar.bz2
30 mv linux-${OKV} linux-${KV} || die
31 cd ${S}
32 patch -p1 < ${DISTDIR}/${KPATCH} || die "Cannot find systrace patch"
33 }
34
35 src_compile() {
36 einfo "You must compile and install this kernel *before* you can emerge and use the systrace userland utilities."
37 }
38
39 src_install() {
40 dodir /usr/src
41 echo ">>> Copying sources..."
42 mv ${WORKDIR}/linux-${KV} ${D}/usr/src
43 }

  ViewVC Help
Powered by ViewVC 1.1.20