diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2005-01-05 17:52:00 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2005-01-05 17:52:00 +0000 |
commit | 19d86121eebd7073d94cbc5307195f2f67df1bfe (patch) | |
tree | cad803abd831925c427fc2d01c5eb58a81d8ef7f /sys-apps/realtime-lsm | |
parent | added RDEPEND for selinux systems (diff) | |
download | historical-19d86121eebd7073d94cbc5307195f2f67df1bfe.tar.gz historical-19d86121eebd7073d94cbc5307195f2f67df1bfe.tar.bz2 historical-19d86121eebd7073d94cbc5307195f2f67df1bfe.zip |
Fixed removed keyword that was inadvertently removed in 0.8.3; version bump for new 0.8.5
Diffstat (limited to 'sys-apps/realtime-lsm')
-rw-r--r-- | sys-apps/realtime-lsm/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5 | 1 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/realtime-lsm-0.8.2_pre20041022.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/realtime-lsm-0.8.5.ebuild | 91 |
6 files changed, 112 insertions, 11 deletions
diff --git a/sys-apps/realtime-lsm/ChangeLog b/sys-apps/realtime-lsm/ChangeLog index 9682048d3130..25215acfa11f 100644 --- a/sys-apps/realtime-lsm/ChangeLog +++ b/sys-apps/realtime-lsm/ChangeLog @@ -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) diff --git a/sys-apps/realtime-lsm/Manifest b/sys-apps/realtime-lsm/Manifest index 01e80e30c3b3..1f38af2c75c8 100644 --- a/sys-apps/realtime-lsm/Manifest +++ b/sys-apps/realtime-lsm/Manifest @@ -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 index 000000000000..28e1ced74d3c --- /dev/null +++ b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5 @@ -0,0 +1 @@ +MD5 89b05985a2d1529c92d74df3dfb357e5 realtime-lsm-0.8.5.tar.gz 11403 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 1f11b76b6f23..66e9e5475fde 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 +# 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 diff --git a/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild b/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild index b22c1f75ce15..9c4eeac5f524 100644 --- a/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild +++ b/sys-apps/realtime-lsm/realtime-lsm-0.8.3.ebuild @@ -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 index 000000000000..ed28eb180b69 --- /dev/null +++ b/sys-apps/realtime-lsm/realtime-lsm-0.8.5.ebuild @@ -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} +} + |