summaryrefslogtreecommitdiff
blob: 14f30c4a9fb0ae1e32e3f3013c7317a21b9632e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/rsbac-sources/rsbac-sources-2.4.99.ebuild,v 1.5 2006/02/27 20:14:47 chutzpah Exp $

IUSE=""
ETYPE="sources"
inherit kernel-2 subversion
detect_version

# rsbac versions
RSBACV=1.2.5

# Gentoo rsbac kernel patches
# arent used in SVN but you can still get them applied if you wish
RGPV_SRC="http://dev.gentoo.org/~kang/rsbac/patches/${RSBACV}/2.4/rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}.tar.bz2"
UNIPATCH_STRICTORDER="yes"
UNIPATCH_LIST="${DISTDIR}/rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}.tar.bz2"
UNIPATCH_DOCS="${WORKDIR}/patches/rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}/0000_README"


HOMEPAGE="http://hardened.gentoo.org/rsbac/"
DESCRIPTION="RSBAC hardened sources for the ${KV_MAJOR}.${KV_MINOR} kernel tree"

#SRC_URI="${KERNEL_URI} ${RGPV_SRC}"
KEYWORDS="~x86"

K_NOUSENAME="yes"
K_PREPATCHED="yes"
K_EXTRAEINFO="Guides are available from the Gentoo Documentation Project for
this kernel
Please see http://www.gentoo.org/proj/en/hardened/rsbac/quickstart.xml
And the RSBAC hardened project http://www.gentoo.org/proj/en/hardened/rsbac/
For help setting up and using RSBAC."
K_EXTRAEWARN="Please configure and compile your RSBAC kernel before installing
rsbac-admin tools. This is a LIVE SVN ebuild, it will probably break you! you
have been warned ! Also, be sure to use the SVN rsbac-admin tools if you use the
SVN sources!"
ESVN_PROJECT="rsbac-sources-2.4-svn"

src_unpack() {
	ESVN_REPO_URI="svn://rsbac.mprivacy-update.de/rsbac1/linux-kernel/2.4/branches/linux-rsbac"
	subversion_src_unpack
	S=${WORKDIR}/${P}
}