diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-11-20 07:43:56 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-11-20 07:43:56 +0000 |
commit | c3d2cbe0c97dcd8af8069b0f9ad9681fcfc620aa (patch) | |
tree | d7a33afb57336367586aa12d8e3ad6134c9d5423 /sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild | |
parent | minor fix in the r5 patch (diff) | |
download | historical-c3d2cbe0c97dcd8af8069b0f9ad9681fcfc620aa.tar.gz historical-c3d2cbe0c97dcd8af8069b0f9ad9681fcfc620aa.tar.bz2 historical-c3d2cbe0c97dcd8af8069b0f9ad9681fcfc620aa.zip |
All version setting for kernels is now handled by ebuilds on an individual basis, there were only about 15 which were doing none of it before, so this way we are consistent, the eclass will now simply utilize the variables as they are set in the kernel ebuilds.
Diffstat (limited to 'sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild')
-rw-r--r-- | sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild b/sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild index 16e0ee073b07..451a12a5d86d 100644 --- a/sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild +++ b/sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild @@ -1,12 +1,15 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild,v 1.1 2003/10/26 21:52:21 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/selinux-sources/selinux-sources-2.4.21-r4.ebuild,v 1.2 2003/11/20 07:43:38 lostlogic Exp $ IUSE="" ETYPE="sources" inherit kernel -#KV="2.4.21-selinux" +OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`" +EXTRAVERSION="-${PN/-*/}" +[ ! "${PR}" == "r0" ] && EXTRAVERSION="${EXTRAVERSION}-${PR}" +KV="${OKV}${EXTRAVERSION}" S=${WORKDIR}/linux-${KV} DESCRIPTION="LSM patched kernel with SELinux" |