blob: 7ba49d5ccc0522f51586c20136e9f6e332e383b6 (
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
|
# Copyright 1999-2006 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.32-r4.ebuild,v 1.1 2006/05/13 14:50:59 solar Exp $
IUSE="rsbac"
ETYPE="sources"
inherit kernel-2
detect_version
RDEPEND=""
HGPV=32.4
HGPV_SRC="mirror://gentoo/hardened-patches-${KV_MAJOR}.${KV_MINOR}-${HGPV}.tar.bz2"
UNIPATCH_STRICTORDER="yes"
UNIPATCH_LIST="${DISTDIR}/hardened-patches-${KV_MAJOR}.${KV_MINOR}-${HGPV}.tar.bz2"
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"
pkg_setup() {
if use rsbac; then
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE}
3*.patch"
else
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE}
4*.patch"
fi
:
}
pkg_postinst() {
postinst_sources
}
|