summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-10 03:29:28 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-10 03:29:28 +0000
commit7de6573a8352a0036948312209cda83b79ac506f (patch)
treeba0fe7f79dbb264a948e8e5482e96f13ad19252a /sys-apps/shadow
parentstable on ppc64, bug #66647 (diff)
downloadhistorical-7de6573a8352a0036948312209cda83b79ac506f.tar.gz
historical-7de6573a8352a0036948312209cda83b79ac506f.tar.bz2
historical-7de6573a8352a0036948312209cda83b79ac506f.zip
manpage / setuid fixes uNF
Diffstat (limited to 'sys-apps/shadow')
-rw-r--r--sys-apps/shadow/ChangeLog5
-rw-r--r--sys-apps/shadow/Manifest10
-rw-r--r--sys-apps/shadow/shadow-4.0.4.1-r4.ebuild21
3 files changed, 19 insertions, 17 deletions
diff --git a/sys-apps/shadow/ChangeLog b/sys-apps/shadow/ChangeLog
index a2734415afa1..dea6b7d592d3 100644
--- a/sys-apps/shadow/ChangeLog
+++ b/sys-apps/shadow/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/shadow
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/ChangeLog,v 1.69 2004/10/08 00:01:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/ChangeLog,v 1.70 2004/10/10 03:29:28 vapier Exp $
+
+ 09 Oct 2004; Mike Frysinger <vapier@gentoo.org> shadow-4.0.4.1-r4.ebuild:
+ Clean up the manpage fixes and change setuid perms to 4711 by default #47208.
*shadow-4.0.4.1-r4 (07 Oct 2004)
diff --git a/sys-apps/shadow/Manifest b/sys-apps/shadow/Manifest
index bb31795efdcd..699680c30c4e 100644
--- a/sys-apps/shadow/Manifest
+++ b/sys-apps/shadow/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 5b423dcdf2cb80e422412e25319e878c ChangeLog 13453
+MD5 62663b6dddc4851b00a465fb615490a8 ChangeLog 13610
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 2447ad2a0036a0c962627d3f8ae56f1f shadow-4.0.4.1-r4.ebuild 5979
+MD5 5255499982264a91087d63f30d9b9cb3 shadow-4.0.4.1-r4.ebuild 6006
MD5 5e8918c1ffa5fc209873b54e7ac7bc44 shadow-4.0.4.1-r3.ebuild 5944
MD5 cef6788bc7c8c5468c1b1f68df77ed9e files/digest-shadow-4.0.4.1-r4 67
MD5 e70a5f61d37c3c67a4b860d8a6191dbc files/securetty 230
@@ -25,7 +25,7 @@ MD5 1baa646400c4a596290e9d4b9e1c09b2 files/pam.d/system-auth-1.1 491
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBZh1vHTu7gpaalycRAmiSAJ9PCvDxmO+U+wS2TQrT73gwTo74bwCgr+17
-sCFCmiOzFk6mF48/hHEfFCA=
-=kopE
+iD8DBQFBaKyvHTu7gpaalycRAhBeAKDBPOejuJ7dJBjIgg/nZia2EDgrzACg2ove
+x54JEo/JEb5ZzO9GiW50Vb4=
+=3GVn
-----END PGP SIGNATURE-----
diff --git a/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild b/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild
index 8a3e19780a9d..d3622021bdfc 100644
--- a/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild
+++ b/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild,v 1.2 2004/10/08 04:53:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.0.4.1-r4.ebuild,v 1.3 2004/10/10 03:29:28 vapier Exp $
inherit eutils libtool gnuconfig flag-o-matic
@@ -89,7 +89,9 @@ src_compile() {
src_install() {
make DESTDIR=${D} install || die "install problem"
-# dodir /etc/default /etc/skel
+ # lock down setuid perms #47208
+ fperms go-r /bin/su /usr/bin/ch{fn,sh,age} \
+ /usr/bin/{expiry,newgrp,passwd,gpasswd} || die "fperms"
# Remove libshadow and libmisc; see bug 37725 and the following
# comment from shadow's README.linux:
@@ -139,16 +141,13 @@ src_install() {
newins shadow groupadd
fi
+ # Remove manpages that are handled by other packages
+ cd ${D}/usr/share/man
+ find \
+ -name 'id.1' \
+ -o -name 'passwd.5' \
+ -exec rm {} \;
cd ${S}
- # The manpage install is beyond my comprehension, and
- # also broken. Just do it over.
- rm -rf ${D}/usr/share/man/*
-
- rm -f man/id.1 man/getspnam.3 man/passwd.5
- for x in man/*.[0-9]
- do
- [ -f ${x} ] && doman ${x}
- done
if ! use pam; then
# Dont install the manpage, since we dont use