summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2004-06-26 20:54:14 +0000
committerGuillaume Destuynder <kang@gentoo.org>2004-06-26 20:54:14 +0000
commit540466a4e32f5e1baa8500b3ef582e3f07229cba (patch)
tree28a783a103643995ec6d9eefc3644a0d74bd7e9c /sys-kernel
parentadd missing defaults (this should go into every profile) (diff)
downloadhistorical-540466a4e32f5e1baa8500b3ef582e3f07229cba.tar.gz
historical-540466a4e32f5e1baa8500b3ef582e3f07229cba.tar.bz2
historical-540466a4e32f5e1baa8500b3ef582e3f07229cba.zip
Initial import.
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rsbac-sources/ChangeLog9
-rw-r--r--sys-kernel/rsbac-sources/Manifest4
-rw-r--r--sys-kernel/rsbac-sources/files/digest-rsbac-sources-2.4.263
-rw-r--r--sys-kernel/rsbac-sources/metadata.xml11
-rw-r--r--sys-kernel/rsbac-sources/rsbac-sources-2.4.26.ebuild39
5 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/rsbac-sources/ChangeLog b/sys-kernel/rsbac-sources/ChangeLog
new file mode 100644
index 000000000000..60d9d054ace2
--- /dev/null
+++ b/sys-kernel/rsbac-sources/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-kernel/rsbac-sources
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/rsbac-sources/ChangeLog,v 1.8 2004/06/26 20:54:14 kang Exp $
+
+*rsbac-sources-2.4.26 (24 Jun 2004)
+
+ 24 Jun 2004; Guillaume Destuynder <kang@gentoo.org>:
+ Initial import. Ebuild submitted by zhware <zhware@gentoo.org>
+ Added 1.2.3-1 security bugfixe from rsbac.org
diff --git a/sys-kernel/rsbac-sources/Manifest b/sys-kernel/rsbac-sources/Manifest
new file mode 100644
index 000000000000..a560ae75d0a0
--- /dev/null
+++ b/sys-kernel/rsbac-sources/Manifest
@@ -0,0 +1,4 @@
+MD5 9c1200f609cd79b83b0292286d4b0752 rsbac-sources-2.4.26.ebuild 1125
+MD5 fee9abc7797fef753c42454679bae9a7 metadata.xml 456
+MD5 b409aac244a5da05184079a4df0f8573 ChangeLog 339
+MD5 6f7531a1113b6ecc54c506b918d40e95 files/digest-rsbac-sources-2.4.26 207
diff --git a/sys-kernel/rsbac-sources/files/digest-rsbac-sources-2.4.26 b/sys-kernel/rsbac-sources/files/digest-rsbac-sources-2.4.26
new file mode 100644
index 000000000000..2d70a2ab07f6
--- /dev/null
+++ b/sys-kernel/rsbac-sources/files/digest-rsbac-sources-2.4.26
@@ -0,0 +1,3 @@
+MD5 88d7aefa03c92739cb70298a0b486e2c linux-2.4.26.tar.bz2 30772389
+MD5 f3759250e9c4bb5ccb773174fafe0ba7 rsbac-v1.2.3.tar.bz2 489127
+MD5 26604fdd9cc696510c65b5db124c7527 rsbac-patches-2.4-26.7.tar.bz2 294589
diff --git a/sys-kernel/rsbac-sources/metadata.xml b/sys-kernel/rsbac-sources/metadata.xml
new file mode 100644
index 000000000000..721bd1328c7c
--- /dev/null
+++ b/sys-kernel/rsbac-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>RSBAC lead</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-sources/rsbac-sources-2.4.26.ebuild b/sys-kernel/rsbac-sources/rsbac-sources-2.4.26.ebuild
new file mode 100644
index 000000000000..12c976778a3d
--- /dev/null
+++ b/sys-kernel/rsbac-sources/rsbac-sources-2.4.26.ebuild
@@ -0,0 +1,39 @@
+# 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.ebuild,v 1.1 2004/06/26 20:54:14 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="${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
+}