summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-24 14:37:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-24 14:37:39 +0000
commit0223f033e1a66bdd92baeac0effefa7b8f96fcfd (patch)
tree9d02a2c98e60f25d2fdb8d8060e77fe7ec0e4fe9
parentalpha/ia64/sparc stable wrt security #209148 (diff)
downloadgentoo-2-0223f033e1a66bdd92baeac0effefa7b8f96fcfd.tar.gz
gentoo-2-0223f033e1a66bdd92baeac0effefa7b8f96fcfd.tar.bz2
gentoo-2-0223f033e1a66bdd92baeac0effefa7b8f96fcfd.zip
Port pambase to 4.1.0 version, and remove the version based off 4.0.18.2.
(Portage version: 2.1.4.4)
-rw-r--r--sys-apps/shadow/ChangeLog8
-rw-r--r--sys-apps/shadow/shadow-4.1.0-r1.ebuild (renamed from sys-apps/shadow/shadow-4.0.18.2-r2.ebuild)27
2 files changed, 12 insertions, 23 deletions
diff --git a/sys-apps/shadow/ChangeLog b/sys-apps/shadow/ChangeLog
index c81f186e713e..679e3e254d3c 100644
--- a/sys-apps/shadow/ChangeLog
+++ b/sys-apps/shadow/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/shadow
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/ChangeLog,v 1.184 2008/02/24 12:00:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/ChangeLog,v 1.185 2008/02/24 14:37:39 flameeyes Exp $
+
+*shadow-4.1.0-r1 (24 Feb 2008)
+
+ 24 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
+ -shadow-4.0.18.2-r2.ebuild, +shadow-4.1.0-r1.ebuild:
+ Port pambase to 4.1.0 version, and remove the version based off 4.0.18.2.
*shadow-4.1.0 (24 Feb 2008)
diff --git a/sys-apps/shadow/shadow-4.0.18.2-r2.ebuild b/sys-apps/shadow/shadow-4.1.0-r1.ebuild
index c272689a22a0..e4851eed21d7 100644
--- a/sys-apps/shadow/shadow-4.0.18.2-r2.ebuild
+++ b/sys-apps/shadow/shadow-4.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.18.2-r2.ebuild,v 1.3 2008/02/24 11:02:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.1.0-r1.ebuild,v 1.1 2008/02/24 14:37:39 flameeyes Exp $
inherit eutils libtool toolchain-funcs autotools pam multilib
@@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/s/shadow/shadow_${PV}.orig.tar.gz"
LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="nls pam selinux skey nousuid cracklib"
+IUSE="nls pam selinux skey cracklib"
# Does not work with OpenPAM (yet?)
RDEPEND="cracklib? ( >=sys-libs/cracklib-2.7-r3 )
@@ -30,9 +30,6 @@ src_unpack() {
unpack ${A}
cd "${S}"
- # uclibc support, corrects NIS usage
- epatch "${FILESDIR}"/${PN}-4.0.13-nonis.patch
-
# If su should not simulate a login shell, use '/bin/sh' as shell to enable
# running of commands as user with /bin/false as shell, closing bug #15015.
# *** This one could be a security hole; disable for now ***
@@ -45,19 +42,7 @@ src_unpack() {
# Make user/group names more flexible #3485 / #22920
epatch "${FILESDIR}"/${PN}-4.0.13-dots-in-usernames.patch
epatch "${FILESDIR}"/${PN}-4.0.13-long-groupnames.patch
-
- # Fix compiling with gcc-2.95.x
- epatch "${FILESDIR}"/${PN}-4.0.12-gcc2.patch
-
- # lock down setuid perms #47208
- epatch "${FILESDIR}"/${PN}-4.0.11.1-perms.patch
-
- epatch "${FILESDIR}"/${PN}-4.0.15-uclibc-missing-l64a.patch
- epatch "${FILESDIR}"/${PN}-4.0.16-fix-useradd-usergroups.patch #128715
- epatch "${FILESDIR}"/${PN}-4.0.18.2-useradd.patch
-
- # Needed by the UCLIBC patches
- eautoconf || die
+ epatch "${FILESDIR}"/${PN}-4.1.0-fix-useradd-usergroups.patch #128715
elibtoolize
epunt_cxx
@@ -80,9 +65,7 @@ src_compile() {
}
src_install() {
- local perms=4711
- use nousuid && perms=711
- make DESTDIR="${D}" suiduperms=${perms} install || die "install problem"
+ emake DESTDIR="${D}" suidperms=4711 install || die "install problem"
dosym useradd /usr/sbin/adduser
# Remove libshadow and libmisc; see bug 37725 and the following
@@ -128,7 +111,7 @@ src_install() {
if use pam ; then
dopamd "${FILESDIR}/pam.d-include/"{su,passwd,shadow}
- newpamd "${FILESDIR}/login.pamd.3" login
+ newpamd "${FILESDIR}/login.pamd.2" login
for x in chage chsh chfn chpasswd newusers \
user{add,del,mod} group{add,del,mod} ; do