diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2005-01-05 18:15:22 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2005-01-05 18:15:22 +0000 |
commit | 18479ec2772655f046cdac04051a64a3fb4745f8 (patch) | |
tree | 3bf239608f18d655dc83a30fbef58e02698521e0 /sys-apps/realtime-lsm | |
parent | Icon is a PNG not a XPM. (Manifest recommit) (diff) | |
download | gentoo-2-18479ec2772655f046cdac04051a64a3fb4745f8.tar.gz gentoo-2-18479ec2772655f046cdac04051a64a3fb4745f8.tar.bz2 gentoo-2-18479ec2772655f046cdac04051a64a3fb4745f8.zip |
Updated ebuild to support linux-mod eclass.
Diffstat (limited to 'sys-apps/realtime-lsm')
-rw-r--r-- | sys-apps/realtime-lsm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r1 | 1 | ||||
-rw-r--r-- | sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild | 57 |
4 files changed, 67 insertions, 1 deletions
diff --git a/sys-apps/realtime-lsm/ChangeLog b/sys-apps/realtime-lsm/ChangeLog index 25215acfa11f..6037c9c967d4 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-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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.6 2005/01/05 18:15:22 fafhrd Exp $ + +*realtime-lsm-0.8.5-r1 (05 Jan 2005) + + 05 Jan 2005; Armando Di Cianno <fafhrd@gentoo.org> + +realtime-lsm-0.8.5-r1.ebuild: + Updated ebuild to support linux-mod eclass. *realtime-lsm-0.8.5 (05 Jan 2005) diff --git a/sys-apps/realtime-lsm/Manifest b/sys-apps/realtime-lsm/Manifest index 1f38af2c75c8..46905a31df42 100644 --- a/sys-apps/realtime-lsm/Manifest +++ b/sys-apps/realtime-lsm/Manifest @@ -1,9 +1,11 @@ +MD5 2a930574cf6cec6582f37f5a5e7bdf96 realtime-lsm-0.8.5-r1.ebuild 1525 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 9a9e6e1070904b1610400a948c0c08a7 realtime-lsm-0.8.5.ebuild 2566 MD5 c2a4f8c235326082b353136c6393b4f0 files/digest-realtime-lsm-0.8.2_pre20041022 81 +MD5 82204df30e7add750c918a1d2fd2246c files/digest-realtime-lsm-0.8.5-r1 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-r1 b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r1 new file mode 100644 index 000000000000..28e1ced74d3c --- /dev/null +++ b/sys-apps/realtime-lsm/files/digest-realtime-lsm-0.8.5-r1 @@ -0,0 +1 @@ +MD5 89b05985a2d1529c92d74df3dfb357e5 realtime-lsm-0.8.5.tar.gz 11403 diff --git a/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild b/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild new file mode 100644 index 000000000000..dba9e16b1141 --- /dev/null +++ b/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild @@ -0,0 +1,57 @@ +# 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-r1.ebuild,v 1.1 2005/01/05 18:15:22 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" + +IUSE="" +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 "Through 'make menuconfig': Security options-> [*] Enable different security models" + 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 + convert_to_m Makefile +} + |