summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2004-06-09 12:34:51 +0000
committerGuillaume Destuynder <kang@gentoo.org>2004-06-09 12:34:51 +0000
commit2ae9d972a890c79d5c0118af035e274ad45ec788 (patch)
tree4acbce52f9b4a4b6f7853552d088b39182f4b591 /sys-kernel/rsbac-dev-sources
parentinitial import, bug #52410 (diff)
downloadhistorical-2ae9d972a890c79d5c0118af035e274ad45ec788.tar.gz
historical-2ae9d972a890c79d5c0118af035e274ad45ec788.tar.bz2
historical-2ae9d972a890c79d5c0118af035e274ad45ec788.zip
Initial import.
Diffstat (limited to 'sys-kernel/rsbac-dev-sources')
-rw-r--r--sys-kernel/rsbac-dev-sources/ChangeLog9
-rw-r--r--sys-kernel/rsbac-dev-sources/Manifest4
-rw-r--r--sys-kernel/rsbac-dev-sources/files/digest-rsbac-dev-sources-2.6.53
-rw-r--r--sys-kernel/rsbac-dev-sources/metadata.xml11
-rw-r--r--sys-kernel/rsbac-dev-sources/rsbac-dev-sources-2.6.5.ebuild42
5 files changed, 69 insertions, 0 deletions
diff --git a/sys-kernel/rsbac-dev-sources/ChangeLog b/sys-kernel/rsbac-dev-sources/ChangeLog
new file mode 100644
index 000000000000..35cffb16f0ac
--- /dev/null
+++ b/sys-kernel/rsbac-dev-sources/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-kernel/rsbac-dev-sources
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/rsbac-dev-sources/ChangeLog,v 1.1 2004/06/09 12:34:51 kang Exp $
+
+*rsbac-dev-sources-2.6.5 (09 Jun 2004)
+
+ 09 Jun 2004; Guillaume Destuynder <kang@gentoo.org>:
+ Initial import. Ebuild submitted by Michal Purzynski
+ <mailto:albeiro@gentoo.pl>.
diff --git a/sys-kernel/rsbac-dev-sources/Manifest b/sys-kernel/rsbac-dev-sources/Manifest
new file mode 100644
index 000000000000..7ad12d4825e7
--- /dev/null
+++ b/sys-kernel/rsbac-dev-sources/Manifest
@@ -0,0 +1,4 @@
+MD5 bfb647fe0bae6ee7c6b8b2146d9a48fd rsbac-dev-sources-2.6.5.ebuild 1423
+MD5 f6ade05e8ca1146816258a339abc8003 ChangeLog 318
+MD5 4e800db7dd38c5c3a9b5fa8924c5cddd metadata.xml 473
+MD5 df80f2b0e3e4b832b26e59c30042bb4a files/digest-rsbac-dev-sources-2.6.5 210
diff --git a/sys-kernel/rsbac-dev-sources/files/digest-rsbac-dev-sources-2.6.5 b/sys-kernel/rsbac-dev-sources/files/digest-rsbac-dev-sources-2.6.5
new file mode 100644
index 000000000000..60e446567061
--- /dev/null
+++ b/sys-kernel/rsbac-dev-sources/files/digest-rsbac-dev-sources-2.6.5
@@ -0,0 +1,3 @@
+MD5 9a76bf64c1151369b250f967d83077aa linux-2.6.5.tar.bz2 34684611
+MD5 0cceda57d9cae4794fe1b99e2153d2c5 rsbac-v1.2.3-pre5.tar.bz2 482975
+MD5 53c8bd1e1b5847527eb731eaba6b00a7 rsbac-patches-2.6-5.3.tar.bz2 104985
diff --git a/sys-kernel/rsbac-dev-sources/metadata.xml b/sys-kernel/rsbac-dev-sources/metadata.xml
new file mode 100644
index 000000000000..2711d62b96d9
--- /dev/null
+++ b/sys-kernel/rsbac-dev-sources/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>hardened</herd>
+<maintainer>
+ <email>kang@gentoo.org</email>
+ <name>Guillaume Destuynder</name>
+ <description>Hotline packages maintainer</description>
+</maintainer>
+<longdescription>The RSBAC kernel is a security enhanced kernel based on the Gentoo hardened kernel, but featuring RSBAC instead of SELinux.</longdescription>
+</pkgmetadata>
diff --git a/sys-kernel/rsbac-dev-sources/rsbac-dev-sources-2.6.5.ebuild b/sys-kernel/rsbac-dev-sources/rsbac-dev-sources-2.6.5.ebuild
new file mode 100644
index 000000000000..f0d1daedc858
--- /dev/null
+++ b/sys-kernel/rsbac-dev-sources/rsbac-dev-sources-2.6.5.ebuild
@@ -0,0 +1,42 @@
+# 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-dev-sources/rsbac-dev-sources-2.6.5.ebuild,v 1.1 2004/06/09 12:34:51 kang Exp $
+
+IUSE=""
+ETYPE="sources"
+inherit kernel-2
+detect_version
+
+# rsbac
+RSBACV=1.2.3
+REL="-pre5"
+RSBAC_SRC="mirror://rsbac-v${RSBACV}${REL}.tar.bz2 http://zeus.polsl.gliwice.pl/~albeiro/rsbac/v$RSBACV/rsbac-v${RSBACV}${REL}.tar.bz2"
+
+# rsbac kernel patches
+RGPV=5.3
+RGPV_SRC="mirror://rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}.tar.bz2 http://zeus.polsl.gliwice.pl/~albeiro/rsbac/v${RSBACV}/rsbac-patches-${KV_MAJOR}.${KV_MINOR}-${RGPV}.tar.bz2"
+
+UNIPATCH_STRICTORDER="yes"
+# exclude 12xx grsec and 13xx selinux patches
+UNIPATCH_EXCLUDE="12 13"
+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://www.gentoo.org/proj/en/hardened/rsbac"
+DESCRIPTION="RSBAC hardened sources for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+
+SRC_URI="${KERNEL_URI} ${RSBAC_SRC} ${RGPV_SRC} ${GPV_SRC}"
+KEYWORDS="~x86"
+
+
+src_unpack() {
+ universal_unpack
+ (cd ${WORKDIR}/linux-${KV}; unpack rsbac-v${RSBACV}${REL}.tar.bz2)
+ [ -n "${UNIPATCH_LIST}" -o -n "${UNIPATCH_LIST_DEFAULT}" ] && unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST}"
+ [ -z "${K_NOSETEXTRAVERSION}" ] && unpack_set_extraversion
+ [ $(kernel_is_2_4) $? == 0 ] && unpack_2_4
+}
+
+pkg_postinst() {
+ postinst_sources
+}