summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/hardened-sources/hardened-sources-2.4.32-r7.ebuild')
-rw-r--r--sys-kernel/hardened-sources/hardened-sources-2.4.32-r7.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-kernel/hardened-sources/hardened-sources-2.4.32-r7.ebuild b/sys-kernel/hardened-sources/hardened-sources-2.4.32-r7.ebuild
new file mode 100644
index 000000000000..7d31a80a92e5
--- /dev/null
+++ b/sys-kernel/hardened-sources/hardened-sources-2.4.32-r7.ebuild
@@ -0,0 +1,38 @@
+# 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-r7.ebuild,v 1.1 2006/07/11 10:50:41 kang Exp $
+
+IUSE="rsbac"
+ETYPE="sources"
+inherit kernel-2
+detect_version
+RDEPEND=""
+HGPV=32.7
+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
+ 6001*.patch"
+ else
+ UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE}
+ 4*.patch
+ 63*.patch"
+ fi
+ :
+}
+pkg_postinst() {
+ postinst_sources
+}