summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Brindle <method@gentoo.org>2003-03-24 03:11:55 +0000
committerJoshua Brindle <method@gentoo.org>2003-03-24 03:11:55 +0000
commitf6d11c20bc46c4d97a15c32b97451fc709209bee (patch)
treebefe0c8520a65b809a04be916e3cf4991ca864ec /sys-apps/util-linux
parentAdded sparc64-asm_offsets.h (diff)
downloadhistorical-f6d11c20bc46c4d97a15c32b97451fc709209bee.tar.gz
historical-f6d11c20bc46c4d97a15c32b97451fc709209bee.tar.bz2
historical-f6d11c20bc46c4d97a15c32b97451fc709209bee.zip
added selinux support
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/ChangeLog17
-rw-r--r--sys-apps/util-linux/util-linux-2.11z-r1.ebuild11
2 files changed, 17 insertions, 11 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index 96e13e88d40e..a224d5e40033 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,21 +1,24 @@
# ChangeLog for sys-apps/util-linux
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.28 2003/02/27 21:22:18 tuxus Exp $
-
- 21 Feb 2003; Zach Welch <zwelch@gentoo.org> :
- Added arm to keywords.
-
- 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
- Added hppa to keywords.
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.29 2003/03/24 03:11:55 method Exp $
*util-linux-2.11z (03 Feb 2003)
+ 23 Mar 2003; Joshua Brindle <method@gentoo.org> util-linux-2.11z-r1.ebuild:
+ added selinux support, thanks sindian
+
27 Feb 2003; Jan Seidel <tuxus@gentoo.org> util-linux-2.11z-r1.ebuild :
Mark as unstable for mips
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> util-linux-2.11z-r1.ebuild :
Mark as stable for mips.
+ 21 Feb 2003; Zach Welch <zwelch@gentoo.org> :
+ Added arm to keywords.
+
+ 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> :
+ Added hppa to keywords.
+
07 Feb 2003; Jon Portnoy <avenj@gentoo.org>
util-linux-2.11z-r1.ebuild files/no-symlink-resolve.patch :
diff --git a/sys-apps/util-linux/util-linux-2.11z-r1.ebuild b/sys-apps/util-linux/util-linux-2.11z-r1.ebuild
index 3502c8305500..894cb486647e 100644
--- a/sys-apps/util-linux/util-linux-2.11z-r1.ebuild
+++ b/sys-apps/util-linux/util-linux-2.11z-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11z-r1.ebuild,v 1.6 2003/03/11 21:11:46 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.11z-r1.ebuild,v 1.7 2003/03/24 03:11:55 method Exp $
-IUSE="crypt nls"
+IUSE="crypt nls selinux"
inherit eutils flag-o-matic
@@ -21,7 +21,9 @@ LICENSE="GPL-2"
DEPEND="virtual/glibc
>=sys-libs/ncurses-5.2-r2
- sys-apps/pam-login"
+ !selinux? ( sys-apps/pam-login )
+ selinux? ( sys-apps/shadow )"
+
RDEPEND="${DEPEND} dev-lang/perl
nls? ( sys-devel/gettext )"
@@ -44,6 +46,7 @@ src_unpack() {
epatch ${FILESDIR}/no-symlink-resolve.patch
cp MCONFIG MCONFIG.orig
+
sed -e "s:-pipe -O2 \$(CPUOPT) -fomit-frame-pointer:${CFLAGS}:" \
-e "s:CPU=.*:CPU=${CHOST%%-*}:" \
-e "s:HAVE_PAM=no:HAVE_PAM=yes:" \
@@ -51,7 +54,7 @@ src_unpack() {
-e "s:HAVE_TSORT=no:HAVE_TSORT=yes:" \
-e "s:usr/man:usr/share/man:" \
-e "s:usr/info:usr/share/info:" \
- MCONFIG.orig > MCONFIG
+ MCONFIG.orig > MCONFIG
}
src_compile() {