summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2009-03-02 20:17:47 +0000
committerBenedikt Boehm <hollow@gentoo.org>2009-03-02 20:17:47 +0000
commit5b373c96db2b3e5d4edbfdbcfffb627583e78e00 (patch)
tree24fd38108b4b4035600729e46f5677749f97b58b /sys-apps/baselayout
parentremove old (diff)
downloadhistorical-5b373c96db2b3e5d4edbfdbcfffb627583e78e00.tar.gz
historical-5b373c96db2b3e5d4edbfdbcfffb627583e78e00.tar.bz2
historical-5b373c96db2b3e5d4edbfdbcfffb627583e78e00.zip
fix /etc/shadow permissions when building stages
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/ChangeLog7
-rw-r--r--sys-apps/baselayout/Manifest14
-rw-r--r--sys-apps/baselayout/baselayout-2.0.0.ebuild9
3 files changed, 14 insertions, 16 deletions
diff --git a/sys-apps/baselayout/ChangeLog b/sys-apps/baselayout/ChangeLog
index b0ab0ddd9f30..5eabd98d5f98 100644
--- a/sys-apps/baselayout/ChangeLog
+++ b/sys-apps/baselayout/ChangeLog
@@ -1,10 +1,13 @@
# ChangeLog for sys-apps/baselayout
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.470 2008/08/19 17:51:19 zmedico Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.471 2009/03/02 20:17:46 hollow Exp $
# See the rc-scripts ChangeLog in subversion for release info:
# http://sources.gentoo.org/viewcvs.py/*checkout*/baselayout/trunk/ChangeLog
+ 02 Mar 2009; Benedikt Böhm <hollow@gentoo.org> baselayout-2.0.0.ebuild:
+ fix /etc/shadow permissions when building stages
+
19 Aug 2008; Zac Medico <zmedico@gentoo.org> baselayout-2.0.0.ebuild:
Avoid potential warning messages in the SYMLINK_LIB code which may be
triggered when find traverses a directory whose parent has already been
diff --git a/sys-apps/baselayout/Manifest b/sys-apps/baselayout/Manifest
index 46fa1e08fd2c..c8101d945bee 100644
--- a/sys-apps/baselayout/Manifest
+++ b/sys-apps/baselayout/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX baselayout-1.11.14-man.patch 768 RMD160 b1743f52d71b6ff2bd0d8cb8106112d8fad9d5b7 SHA1 f61b8f985a27dc9f2dd834001602b008030e79ce SHA256 7c12d6ee90b14b3152c2256df5983d3e6d102ca53b5da3ca6505b8925a86a80a
AUX baselayout-1.11.15-coldplug.patch 2449 RMD160 6a8838bbd2b724d305ff14ae66a935773931e51a SHA1 6df3abaf389b40d7b3371849e73d6b0507d63cf6 SHA256 626428986dd21c95b16d464e845ffa79dd535aaf089b91423e704e7d64562d26
AUX baselayout-1.11.15-halt-sort.patch 758 RMD160 282a645738a22098242b56d3f1d39321865f6b49 SHA1 6282f2bc1c7d04e383280fb5367c95e42ac06158 SHA256 496dd355956c960be8a4db1021c3ee76a9250346e0e83f2470974de3859a753e
@@ -11,13 +8,6 @@ DIST rc-scripts-1.6.15.tar.bz2 161524 RMD160 f69c3d5a9e742bf7b7c997d49d443617779
EBUILD baselayout-1.11.15-r3.ebuild 18810 RMD160 70a6adf906ecc25c47084b99d10bd2885da5c4fc SHA1 fd25e055fc06493f265f193e92bbcb02c8809f0a SHA256 7121667401fd361ea636880fd3d29dcb876aff313f14f298e1da4bb8d8ff7660
EBUILD baselayout-1.12.11.1.ebuild 19431 RMD160 f9a9ea6cd713286d16cea13e7a1e43e5b8197026 SHA1 29487a6939425dbc744681b24c0590683ea9267d SHA256 524fced8a4667878dbefa37628b32075623b10cc2f9809dd9b40b8d3cc0e4dff
EBUILD baselayout-1.12.12.ebuild 19417 RMD160 07c5ad50dc02dde2806f2eeed0c165055ca76048 SHA1 08690a566a6b2e13c05254758d75e24f297d2e0f SHA256 fc74698d50dfd8eb3679137b68bada1d3d9c01acec46473e31f92b4d16e5febe
-EBUILD baselayout-2.0.0.ebuild 7188 RMD160 06f6b52c63e424a420c857b9fd835a6c11acfe82 SHA1 a0c8c8fb3ccc32ffaaa760186dd174d317c3ef8f SHA256 cf8ad7041bb21c9fc6f79d81f3d9f39c1f63f46b6bcea97dc86c597eaf3106c0
-MISC ChangeLog 102091 RMD160 7497baad285cfd261ddcd25a8d7352176220174e SHA1 94f770374617753d248fb123f21cda577f3feab7 SHA256 be476c3a2ef35600ab964d063e4883a6c112bb60f8a5009b44f5e29228c4f6de
+EBUILD baselayout-2.0.0.ebuild 7324 RMD160 83d73b789424df6d3293759b6614ffa10dc35d12 SHA1 810b11f27c37db81adccfad595dee8bb9389e65f SHA256 7384b377255d61540c14ef363044e181cebe53f935c2e5601f945903673da6b6
+MISC ChangeLog 102217 RMD160 538549ada949fe1c06351107e64de7b35b0180b2 SHA1 d9de71d0b7d98b563efb4481b347845458efad02 SHA256 4200ba17b9ee2878c266a3279c076d62b1c29e7df0e9d756794a4f2d11ecd777
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkirCCYACgkQ/ejvha5XGaPxWgCg78Jcz2yO4x/axFeKA9ZlgW6h
-Wh8AoL3/gNcDFUhOPcj+HqTnq6T08ZfK
-=1EgZ
------END PGP SIGNATURE-----
diff --git a/sys-apps/baselayout/baselayout-2.0.0.ebuild b/sys-apps/baselayout/baselayout-2.0.0.ebuild
index 926409d53a04..a17351fecb32 100644
--- a/sys-apps/baselayout/baselayout-2.0.0.ebuild
+++ b/sys-apps/baselayout/baselayout-2.0.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.7 2008/08/19 17:51:19 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.0.0.ebuild,v 1.8 2009/03/02 20:17:47 hollow Exp $
inherit multilib
@@ -177,6 +177,11 @@ pkg_postinst() {
cp -p "${ROOT}usr/share/baselayout/${x}" "${ROOT}"etc
done
+ # fix shadow permissions to not be world-readable
+ for x in shadow ; do
+ [ -e "${ROOT}etc/${x}" ] && chmod 0600 "${ROOT}etc/$x"
+ done
+
# This is also written in src_install (so it's in CONTENTS), but
# write it here so that the new version is immediately in the file
# (without waiting for the user to do etc-update)