summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmando Di Cianno <fafhrd@gentoo.org>2005-06-24 04:43:11 +0000
committerArmando Di Cianno <fafhrd@gentoo.org>2005-06-24 04:43:11 +0000
commit5ba7447e7d37696c21ba84685a6bfc266ba7c0a6 (patch)
tree0d679e278b8bd3c182061a715a36b503f9bb2c8f /sys-apps/realtime-lsm
parentRemoving obsolete ebuilds (diff)
downloadhistorical-5ba7447e7d37696c21ba84685a6bfc266ba7c0a6.tar.gz
historical-5ba7447e7d37696c21ba84685a6bfc266ba7c0a6.tar.bz2
historical-5ba7447e7d37696c21ba84685a6bfc266ba7c0a6.zip
Yes, my additions to -r2 were indeed security concerns; a workaround for jack has been discovered (use jackd instead of jackstart); removing this
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-apps/realtime-lsm')
-rw-r--r--sys-apps/realtime-lsm/ChangeLog7
-rw-r--r--sys-apps/realtime-lsm/Manifest5
-rw-r--r--sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r21
-rw-r--r--sys-apps/realtime-lsm/files/realtime-lsm-0.8.5-allcaps.patch39
-rw-r--r--sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild62
5 files changed, 7 insertions, 107 deletions
diff --git a/sys-apps/realtime-lsm/ChangeLog b/sys-apps/realtime-lsm/ChangeLog
index 79aea1582785..68073af19c49 100644
--- a/sys-apps/realtime-lsm/ChangeLog
+++ b/sys-apps/realtime-lsm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/realtime-lsm
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.8 2005/06/24 04:26:41 fafhrd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.9 2005/06/24 04:43:11 fafhrd Exp $
+
+ 24 Jun 2005; Armando Di Cianno <fafhrd@gentoo.org>
+ -files/realtime-lsm-0.8.5-allcaps.patch, -realtime-lsm-0.8.5-r2.ebuild:
+ Yes, my additions to -r2 were indeed security concerns; a workaround for
+ jack has been discovered (use jackd instead of jackstart); removing this
*realtime-lsm-0.8.5-r2 (24 Jun 2005)
diff --git a/sys-apps/realtime-lsm/Manifest b/sys-apps/realtime-lsm/Manifest
index 02def32b48a8..b44f8bbea36e 100644
--- a/sys-apps/realtime-lsm/Manifest
+++ b/sys-apps/realtime-lsm/Manifest
@@ -1,14 +1,11 @@
MD5 4aebd0aa971cbc79ac9a72b13e85fdec realtime-lsm-0.8.5-r1.ebuild 1784
MD5 4c56132ed1191af5f641f75c69e9290b realtime-lsm-0.8.2_pre20041022.ebuild 2524
MD5 e5fdc434dd01f1b0f01bc5643a271e01 realtime-lsm-0.8.3.ebuild 2535
-MD5 4884ef2ae93601b83c0083016646c116 realtime-lsm-0.8.5-r2.ebuild 1877
-MD5 d794fd8d9573b3339c2f83a094ae7e9c ChangeLog 2171
+MD5 0a239287e8ba72cf1474bcbb5bd852d1 ChangeLog 2449
MD5 6c47fd8303924a51fea25d882d2e222b metadata.xml 1598
MD5 9a9e6e1070904b1610400a948c0c08a7 realtime-lsm-0.8.5.ebuild 2566
-MD5 ef4b04229ea27ae0e257a8ce0a68789d files/realtime-lsm-0.8.5-allcaps.patch 1285
MD5 c2a4f8c235326082b353136c6393b4f0 files/digest-realtime-lsm-0.8.2_pre20041022 81
MD5 82204df30e7add750c918a1d2fd2246c files/digest-realtime-lsm-0.8.5-r1 69
-MD5 82204df30e7add750c918a1d2fd2246c files/digest-realtime-lsm-0.8.5-r2 69
MD5 2ed4d388f1dcb7e905726ac4203fd666 files/digest-realtime-lsm-0.8.3 69
MD5 82204df30e7add750c918a1d2fd2246c files/digest-realtime-lsm-0.8.5 69
MD5 bd10dcd7b669d837d013107c02b4d17d files/kmisc.patch-0.8.2_pre20041022 679
diff --git a/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r2 b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r2
deleted file mode 100644
index 28e1ced74d3c..000000000000
--- a/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 89b05985a2d1529c92d74df3dfb357e5 realtime-lsm-0.8.5.tar.gz 11403
diff --git a/sys-apps/realtime-lsm/files/realtime-lsm-0.8.5-allcaps.patch b/sys-apps/realtime-lsm/files/realtime-lsm-0.8.5-allcaps.patch
deleted file mode 100644
index a1ae4212d1af..000000000000
--- a/sys-apps/realtime-lsm/files/realtime-lsm-0.8.5-allcaps.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -ur realtime-lsm-0.8.5/realcap.c realtime-lsm-0.8.5-allcaps/realcap.c
---- realtime-lsm-0.8.5/realcap.c 2004-11-24 13:38:30.000000000 -0500
-+++ realtime-lsm-0.8.5-allcaps/realcap.c 2005-06-23 23:44:03.000000000 -0400
-@@ -43,6 +43,13 @@
- module_param_named(mlock, rt_mlock, int, 0644);
- MODULE_PARM_DESC(mlock, " enable memory locking privileges.");
-
-+/* enable all capabilities */
-+static int rt_allcaps = 0;
-+module_param_named(allcaps, rt_allcaps, int, 0644);
-+MODULE_PARM_DESC(allcaps, " enable all capabilities, including CAP_SETPCAP.");
-+
-+static kernel_cap_t cap_bset_save; /* place to save cap-bound */
-+
- /* helper function for testing group membership */
- static inline int gid_ok(int gid)
- {
-@@ -112,6 +119,12 @@
- secondary = 1;
- }
-
-+ cap_bset_save = cap_bset; /* save cap-bound */
-+ if (rt_allcaps) {
-+ cap_bset = to_cap_t(~0);
-+ printk(KERN_INFO "Realtime LSM enabling all capabilities\n");
-+ }
-+
- if (rt_any)
- printk(KERN_INFO RT_LSM
- "initialized (all groups, mlock=%d)\n", rt_mlock);
-@@ -127,6 +140,8 @@
-
- static void __exit realtime_exit(void)
- {
-+ cap_bset = cap_bset_save; /* restore cap-bound */
-+
- /* remove ourselves from the security framework */
- if (secondary) {
- if (mod_unreg_security(MY_NAME, &capability_ops))
diff --git a/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild b/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild
deleted file mode 100644
index b5ce584392cf..000000000000
--- a/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild,v 1.1 2005/06/24 04:26:41 fafhrd Exp $
-
-inherit linux-mod eutils
-
-DESCRIPTION="Enable realtime capabilties via a security module."
-
-HOMEPAGE="http://www.joq.us/"
-#HOMEPAGE="http://www.sourceforge.net/projects/realtime-lsm/"
-SRC_URI="http://www.joq.us/realtime/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~ppc ~x86 ~amd64"
-
-IUSE="allcaps"
-DEPEND="${DEPEND}"
-RDEPEND="${RDEPEND}"
-
-MODULE_NAMES="realtime(extra:)"
-BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} TOUT=${TMP}/tmp-gas-check"
-BUILD_TARGETS="all"
-MODULESD_REALTIME_DOCS="AUTHORS ChangeLog README"
-
-src_unpack() {
- if ! linux_chkconfig_present SECURITY
- then
- eerror ""
- eerror "${PN} requires you to compile in the 'different security models option."
- eerror "In your .config: CONFIG_SECURITY=y"
- eerror " CONFIG_SECURITY_CAPABILITIES=m"
- eerror "Through 'make menuconfig': Security options-> [*] Enable different security models"
- eerror " Security options-> <M> Default Linux Capabilties"
- eerror ""
- die "Security support not detected."
- fi
-
- if ! linux_chkconfig_module SECURITY_CAPABILITIES
- then
- eerror ""
- eerror "${PN} requires that 'Default Linux Capabilities' be compiled as a module."
- eerror "In your .config: CONFIG_SECURITY_CAPABILITIES=m"
- eerror "Through 'make menuconfig': Security options-> <M> Default Linux Capabilties"
- eerror ""
- die "Default Linux capabilities (security) not detected."
- fi
-
- if ! kernel_is 2 6
- then
- die "A Linux kernel of version 2.6 is required."
- fi
-
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/kmisc.patch-0.8.2_pre20041022
- if use allcaps; then
- epatch ${FILESDIR}/realtime-lsm-${PV}-allcaps.patch
- fi
- convert_to_m Makefile
-}
-