summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2004-06-30 11:42:15 +0000
committerGuillaume Destuynder <kang@gentoo.org>2004-06-30 11:42:15 +0000
commit6eab15412808c603326899b910aead788328d7ee (patch)
tree56e503a2d2149c4dda4a1bb44735bfd95cf2c1e2 /sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild
parentwmpower 0.3.1 stable on x86, wipe out old versions. (Manifest recommit) (diff)
downloadgentoo-2-6eab15412808c603326899b910aead788328d7ee.tar.gz
gentoo-2-6eab15412808c603326899b910aead788328d7ee.tar.bz2
gentoo-2-6eab15412808c603326899b910aead788328d7ee.zip
Security bump. fixes CAN 495 and 535
Diffstat (limited to 'sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild')
-rw-r--r--sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild b/sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild
new file mode 100644
index 000000000000..567915363ab7
--- /dev/null
+++ b/sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/rsbac-sources/rsbac-sources-2.4.26-r1.ebuild,v 1.1 2004/06/30 11:42:15 kang Exp $
+
+IUSE=""
+ETYPE="sources"
+inherit kernel-2
+detect_version
+
+# rsbac
+RSBACV=1.2.3
+RSBAC_SRC="http://rsbac.org/download/code/v${RSBACV}/rsbac-v${RSBACV}.tar.bz2"
+
+# rsbac kernel patches
+RGPV=26.7
+RGPV_SRC="mirror://rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}.tar.bz2 http://dev.gentoo.org/~zhware/rsbac/v${RSBACV}/rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}.tar.bz2"
+
+UNIPATCH_STRICTORDER="yes"
+UNIPATCH_LIST="${FILESDIR}/${PN}-2.4.CAN-2004-0495.patch
+ ${FILESDIR}/${PN}-2.4.CAN-2004-0535.patch
+ ${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 patched sources for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+
+SRC_URI="${KERNEL_URI} ${RSBAC_SRC} ${RGPV_SRC}"
+KEYWORDS="~x86"
+
+
+src_unpack() {
+ universal_unpack
+ cd ${WORKDIR}/linux-${KV}; unpack rsbac-v${RSBACV}.tar.bz2
+ unipatch "${UNIPATCH_LIST}"
+ [ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion
+ unpack_2_4
+}
+
+pkg_postinst() {
+ postinst_sources
+}