Module Name:    src
Committed By:   bouyer
Date:           Sat Aug 27 13:21:44 UTC 2016

Modified Files:
        src/etc [netbsd-6-0]: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.396.2.2 -r1.396.2.2.2.1 src/etc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/Makefile
diff -u src/etc/Makefile:1.396.2.2 src/etc/Makefile:1.396.2.2.2.1
--- src/etc/Makefile:1.396.2.2	Mon Sep 17 19:00:34 2012
+++ src/etc/Makefile	Sat Aug 27 13:21:44 2016
@@ -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.2.1 2016/08/27 13:21:44 bouyer Exp $
 #	from: @(#)Makefile	8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -288,8 +288,10 @@ install-etc-files: .PHONY .MAKE check_DE
 	    ${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

Reply via email to