Fixed removed keyword that was inadvertently removed in 0.8.3; version bump for new...
authorArmando Di Cianno <fafhrd@gentoo.org>
Wed, 5 Jan 2005 17:52:00 +0000 (17:52 +0000)
committerArmando Di Cianno <fafhrd@gentoo.org>
Wed, 5 Jan 2005 17:52:00 +0000 (17:52 +0000)
sys-apps/realtime-lsm/ChangeLog
sys-apps/realtime-lsm/Manifest
sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5 [new file with mode: 0644]
sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild
sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild
sys-apps/realtime-lsm/realtime-lsm-0.8.5.ebuild [new file with mode: 0644]

index 9682048d3130fd08ef85d7b1d1c3336dba360293..25215acfa11f2593d05e4a7f627e016abbef07bf 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for sys-apps/realtime-lsm
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.4 2004/11/01 04:30:51 fafhrd Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.5 2005/01/05 17:52:00 fafhrd Exp $
+
+*realtime-lsm-0.8.5 (05 Jan 2005)
+
+  05 Jan 2005; Armando Di Cianno <fafhrd@gentoo.org>
+  realtime-lsm-0.8.3.ebuild, +realtime-lsm-0.8.5.ebuild:
+  Fixed removed keyword that was inadvertently removed in 0.8.3; version bump
+  to 0.8.5
 
 *realtime-lsm-0.8.3 (31 Oct 2004)
 
index 01e80e30c3b3ed7ec8cfc386523d0e31e006dd2a..1f38af2c75c88706bd88fdf5b9a62e9c427ad984 100644 (file)
@@ -1,7 +1,9 @@
-MD5 436848ad9b831d8a0851661b3ed611f1 ChangeLog 1147
+MD5 4c56132ed1191af5f641f75c69e9290b realtime-lsm-0.8.2_pre20041022.ebuild 2524
+MD5 e5fdc434dd01f1b0f01bc5643a271e01 realtime-lsm-0.8.3.ebuild 2535
+MD5 5aa95fac99c84847c24a43aea18c0e46 ChangeLog 1382
 MD5 1b52e1c64bba7ce301fd90cafe5ed480 metadata.xml 1378
-MD5 bc08c4a53b44df574117cfd8b09f798b realtime-lsm-0.8.2_pre20041022.ebuild 2524
-MD5 14bf21c4e2d1a0ae69771d87e1e4591b realtime-lsm-0.8.3.ebuild 2530
+MD5 9a9e6e1070904b1610400a948c0c08a7 realtime-lsm-0.8.5.ebuild 2566
 MD5 c2a4f8c235326082b353136c6393b4f0 files/digest-realtime-lsm-0.8.2_pre20041022 81
-MD5 bd10dcd7b669d837d013107c02b4d17d files/kmisc.patch-0.8.2_pre20041022 679
 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 b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5
new file mode 100644 (file)
index 0000000..28e1ced
--- /dev/null
@@ -0,0 +1 @@
+MD5 89b05985a2d1529c92d74df3dfb357e5 realtime-lsm-0.8.5.tar.gz 11403
index 1f11b76b6f2362a0878f6ebe72f7417ecc339694..66e9e5475fdee6913d31ec9e8c6b4c1cc127a34a 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.2_pre20041022.ebuild,v 1.4 2004/11/01 04:30:51 fafhrd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild,v 1.5 2005/01/05 17:52:00 fafhrd Exp $
 
 inherit kernel-mod eutils
 
index b22c1f75ce15daef3ac4331288ae74ef6ae282ba..9c4eeac5f5247c37b03f84cc1978c0a30d1bccf9 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.3.ebuild,v 1.1 2004/11/01 04:30:51 fafhrd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild,v 1.2 2005/01/05 17:52:00 fafhrd Exp $
 
 inherit kernel-mod eutils
 
@@ -11,7 +11,7 @@ SRC_URI="http://www.joq.us/realtime/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~ppc"
+KEYWORDS="~ppc ~x86"
 
 IUSE=""
 DEPEND="virtual/linux-sources
diff --git a/sys-apps/realtime-lsm/realtime-lsm-0.8.5.ebuild b/sys-apps/realtime-lsm/realtime-lsm-0.8.5.ebuild
new file mode 100644 (file)
index 0000000..ed28eb1
--- /dev/null
@@ -0,0 +1,91 @@
+# 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.ebuild,v 1.1 2005/01/05 17:52:00 fafhrd Exp $
+
+inherit kernel-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"
+
+IUSE=""
+DEPEND="virtual/linux-sources
+       sys-apps/module-init-tools"
+RDEPEND="
+       sys-apps/module-init-tools"
+
+src_unpack() {
+       if ! kernel-mod_configoption_present MODULES
+       then
+               eerror ""
+               eerror "${PN} requires support for modules in your kernel."
+               eerror "In your .config: CONFIG_MODULES=y"
+               eerror "Through 'make menuconfig': Loadable module support-> [*] Enable loadable module support"
+               eerror ""
+               die "Module support not detected."
+       fi
+
+       if ! kernel-mod_configoption_present SECURITY
+       then
+               eerror ""
+               eerror "${PN} requires you to compile in the 'different security models option."
+               eerror "In your .config: CONFIG_SECURITY=y"
+               eerror "Through 'make menuconfig': Security options-> [*] Enable different security models"
+               eerror ""
+               die "Security support not detected."
+       fi
+
+       if ! kernel-mod_configoption_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
+
+       unpack ${A}
+
+       kernel-mod_getversion
+
+       if ! kernel-mod_is_2_6_kernel
+       then
+               die "A Linux kernel of version 2.6 is required."
+       fi
+
+       cd ${S}
+       epatch ${FILESDIR}/kmisc.patch-0.8.2_pre20041022
+}
+
+src_compile() {
+       set_arch_to_kernel
+
+       if [ "${ARCH}" == "ppc" ]; then
+               emake KSRC=${ROOT}/usr/src/linux all TOUT=${TMP}/tmp-gas-check || die "compilation stage failed"
+       else
+               # non ppc arches shouldn't need the TOUT weirdness
+               emake KSRC=${ROOT}/usr/src/linux all || die "compilation stage failed"
+       fi
+}
+
+src_install() {
+       set_arch_to_kernel
+
+       emake KSRC=${ROOT}/usr/src/linux KMISC=${D}/lib/modules/${KV}/extra install || die "module installation has failed."
+
+       dodoc AUTHORS ChangeLog README
+}
+
+pkg_postinst() {
+       einfo "Checking kernel module dependencies"
+       test -r "${ROOT}/usr/src/linux/System.map" && \
+               depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+}
+