diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2004-11-01 04:30:51 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2004-11-01 04:30:51 +0000 |
commit | 7751a8326c5f200c305dd72902dfa95a3ea132fb (patch) | |
tree | 503f82144ddb2aa48cad3f13357e4a6f126ad525 /sys-apps/realtime-lsm | |
parent | Marked stable on mips. (diff) | |
download | historical-7751a8326c5f200c305dd72902dfa95a3ea132fb.tar.gz historical-7751a8326c5f200c305dd72902dfa95a3ea132fb.tar.bz2 historical-7751a8326c5f200c305dd72902dfa95a3ea132fb.zip |
removed extraneous kernel configuration dependency.
Diffstat (limited to 'sys-apps/realtime-lsm')
-rw-r--r-- | sys-apps/realtime-lsm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.3 | 1 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild | 12 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild | 90 |
5 files changed, 103 insertions, 14 deletions
diff --git a/sys-apps/realtime-lsm/ChangeLog b/sys-apps/realtime-lsm/ChangeLog index 5444b6cf11fe..9682048d3130 100644 --- a/sys-apps/realtime-lsm/ChangeLog +++ b/sys-apps/realtime-lsm/ChangeLog @@ -1,6 +1,12 @@ # 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.3 2004/10/23 06:38:20 fafhrd Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.4 2004/11/01 04:30:51 fafhrd Exp $ + +*realtime-lsm-0.8.3 (31 Oct 2004) + + 31 Oct 2004; Armando Di Cianno <fafhrd@gentoo.org> + realtime-lsm-0.8.2_pre20041022.ebuild, +realtime-lsm-0.8.3.ebuild: + Kernel config depend on SELinux support =y removed; version bump as well 23 Oct 2004; Armando Di Cianno <fafhrd@gentoo.org> metadata.xml, realtime-lsm-0.8.2_pre20041022.ebuild: diff --git a/sys-apps/realtime-lsm/Manifest b/sys-apps/realtime-lsm/Manifest index 08a6216fce8f..01e80e30c3b3 100644 --- a/sys-apps/realtime-lsm/Manifest +++ b/sys-apps/realtime-lsm/Manifest @@ -1,5 +1,7 @@ +MD5 436848ad9b831d8a0851661b3ed611f1 ChangeLog 1147 MD5 1b52e1c64bba7ce301fd90cafe5ed480 metadata.xml 1378 -MD5 ffdc9635890627e643c45434cd537a92 ChangeLog 914 -MD5 a08cf6ceb44b1236b343149830347bc4 realtime-lsm-0.8.2_pre20041022.ebuild 2874 +MD5 bc08c4a53b44df574117cfd8b09f798b realtime-lsm-0.8.2_pre20041022.ebuild 2524 +MD5 14bf21c4e2d1a0ae69771d87e1e4591b realtime-lsm-0.8.3.ebuild 2530 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 diff --git a/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.3 b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.3 new file mode 100644 index 000000000000..4e01c84f965f --- /dev/null +++ b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.3 @@ -0,0 +1 @@ +MD5 b82409e407828c7865b8b429a869334c realtime-lsm-0.8.3.tar.gz 11430 diff --git a/sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild b/sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild index d4fa6fed6c51..1f11b76b6f23 100644 --- a/sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild +++ b/sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 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.3 2004/10/23 06:38:20 fafhrd Exp $ +# $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 $ inherit kernel-mod eutils @@ -50,16 +50,6 @@ src_unpack() { die "Default Linux capabilities (security) not detected." fi - if ! kernel-mod_configoption_present SECURITY_SELINUX - then - eerror "" - eerror "${PN} requires that 'NSA SELinux Support' be compiled into your kernel." - eerror "In your .config: CONFIG_SECURITY_SELINUX=y" - eerror "Through 'make menuconfig': Security options-> [*] NSA SELinux Support" - eerror "" - die "NSA SELinux support not detected." - fi - unpack ${A} kernel-mod_getversion diff --git a/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild b/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild new file mode 100644 index 000000000000..b22c1f75ce15 --- /dev/null +++ b/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2004 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 $ + +inherit kernel-mod eutils + +DESCRIPTION="Enable realtime capabilties via a security module." + +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" + +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} +} + |