Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6-1]: src/etc Pull up following revision(s) (requested by christo...



details:   https://anonhg.NetBSD.org/src/rev/512aba584b62
branches:  netbsd-6-1
changeset: 776145:512aba584b62
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Aug 27 13:23:05 2016 +0000

description:
Pull up following revision(s) (requested by christos in ticket #1369):
        etc/Makefile: revision 1.403
spwd.db should be 0600 (Brooks Davis)

diffstat:

 etc/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r af81151f01dd -r 512aba584b62 etc/Makefile
--- a/etc/Makefile      Thu Jul 21 13:11:29 2016 +0000
+++ b/etc/Makefile      Sat Aug 27 13:23:05 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.396.2.2 2012/09/17 19:00:34 riz Exp $
+#      $NetBSD: Makefile,v 1.396.2.2.4.1 2016/08/27 13:23:05 bouyer Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -288,8 +288,10 @@
            ${DESTDIR}/etc/master.passwd
 .if ${MKUNPRIVED} != "no"
        ( \
-               for metaent in passwd pwd.db spwd.db; do \
-                       echo "./etc/$${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \
+               mode=0600; \
+               for metaent in spwd.db passwd pwd.db; do \
+                       echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \
+                       mode=0644; \
                done; \
        ) | ${METALOG.add}
 .endif # MKUNPRIVED != no



Home | Main Index | Thread Index | Old Index