From: Diego Elio Pettenò Date: Fri, 22 Feb 2008 10:34:27 +0000 (+0000) Subject: Remove old version, add an error message when using a Linux kernel equal or after... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=48e07a50b91c45e2d4de1b5bcfc5221404157f27;p=gentoo.git Remove old version, add an error message when using a Linux kernel equal or after 2.6.24. Closes bug #207561. Package-Manager: portage-2.1.4.4 --- diff --git a/sys-apps/realtime-lsm/ChangeLog b/sys-apps/realtime-lsm/ChangeLog index 9a826d628aa4..e37f2a7628c4 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.19 2007/12/22 17:38:58 dertobi123 Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/ChangeLog,v 1.20 2008/02/22 10:34:27 flameeyes Exp $ + + 22 Feb 2008; Diego Pettenò + -realtime-lsm-0.8.5-r1.ebuild, realtime-lsm-0.8.5-r2.ebuild: + Remove old version, add an error message when using a Linux kernel equal or + after 2.6.24. Closes bug #207561. 22 Dec 2007; Tobias Scherbaum realtime-lsm-0.8.5-r2.ebuild: diff --git a/sys-apps/realtime-lsm/Manifest b/sys-apps/realtime-lsm/Manifest index 76a28bc18dde..b604c24fafa0 100644 --- a/sys-apps/realtime-lsm/Manifest +++ b/sys-apps/realtime-lsm/Manifest @@ -1,7 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX kmisc.patch-0.8.2_pre20041022 679 RMD160 b9aa9d67e7f43d5fd7d1fc9b4e67b9477dac0bb1 SHA1 7d5b2674aa344f3b6d21a708319484a1d3110c9f SHA256 087c21b199e1e539f154005812be5ddcde6f3ba899ba01859d602c35b8f5b633 AUX modulesd-realtime 392 RMD160 7771de61d1a46d37fd5ca861509131f7e40b5540 SHA1 262f933f84653b50ed492cb0a37318056141a068 SHA256 64e476683f91ca8481607114290d5ee524f89d5627b72a93b615f1fc9a6a98a4 DIST realtime-lsm-0.8.5.tar.gz 11403 RMD160 05f4f67cdc68a13e2ba695a05b113d74a1d36626 SHA1 ca0454b2b9917ed6770c19b5e1bf068cc443b80b SHA256 6a7827da9f0e7846587ca3156e4271aed86ae412eab48033eaffbd9ecc7a2901 -EBUILD realtime-lsm-0.8.5-r1.ebuild 1786 RMD160 33d9a15ea7ed6fc8bcdbf1246cbe185f15b55061 SHA1 284daad45a47cebca3a4a0ee19ec13592298409f SHA256 5f90617ae4d6abaabe6ac58e1adac8bfe1cef6cc335e461f43d2094fda89f7cf -EBUILD realtime-lsm-0.8.5-r2.ebuild 2885 RMD160 850185a414709b60598399ea5143b1a4408df64f SHA1 2b0e2a71b52faef66ced49075ebebd3a3e646051 SHA256 63eaaf79e705cd8e02a704bac6cb50345297b3f78f892ab1209ab7694a74bb3a -MISC ChangeLog 3829 RMD160 875107229278b5a050868b220493a6397797a996 SHA1 a104cff9900fb9b07389491b20e24f8b8c24cfe7 SHA256 a8a057d2fd34670f8326012721760f3a2d69309c0f5b90abdffe79bbf8701035 +EBUILD realtime-lsm-0.8.5-r2.ebuild 3293 RMD160 20ba8c7456bd8dee36347630ffcae1b0652f46b7 SHA1 0d21f2e877175719c845c3801b1c41f36c8efb72 SHA256 fb4f364b895447ec3f1aaabead8577f58216c2a9e71306e2e3872e98484b2b62 +MISC ChangeLog 4059 RMD160 ef55426fffc37fcc2560fc2269a22946fac1d25c SHA1 a154c8f2c670a69b11561745c7c688dba537b7cd SHA256 968b78eca26d30318574916d72199dab533ff4db94a3de37fc9db27d3c4ee407 MISC metadata.xml 161 RMD160 2738d17827a71b5ccbadae4c4f909d2b57d147b0 SHA1 90201ddb830142147774cc7b7b5178fbd0a9af0c SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHvqVDAiZjviIA2XgRAkalAJwJjMNMXbFwulgYCgej6t/AZWgl/ACfXmfw +e+HLLVeMDzv0jdHDolpu26c= +=pumw +-----END PGP SIGNATURE----- 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 deleted file mode 100644 index 7093da6e7242..000000000000 --- a/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2007 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.4 2007/02/25 09:24:37 genstef 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="" - -MODULE_NAMES="realtime(extra:)" -BUILD_TARGETS="all" -MODULESD_REALTIME_DOCS="AUTHORS ChangeLog README" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} TOUT=${TMP}/tmp-gas-check" -} - -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-> 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-> 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 -} 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 index 043a5f0bb3a3..eddeef2835d3 100644 --- a/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild +++ b/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 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.7 2007/12/22 17:38:58 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/realtime-lsm/realtime-lsm-0.8.5-r2.ebuild,v 1.8 2008/02/22 10:34:27 flameeyes Exp $ inherit linux-mod eutils @@ -25,6 +25,15 @@ pkg_setup() { } src_unpack() { + if kernel_is ge 2 6 24; then + eerror "Since version 2.6.24 of the Linux kernel, security capabilities can't be" + eerror "made into a module, and external security modules can't be compiled any" + eerror "longer." + eerror "Please refer to the Realtime Guide to set up a PAM-based realtime group." + eerror "http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" + die "Unsupported kernel version." + fi + if ! kernel_is 2 6; then die "A Linux kernel of version 2.6 is required." fi