Module Name:    src
Committed By:   riz
Date:           Thu Feb 16 19:56:43 UTC 2012

Modified Files:
        src [netbsd-6]: UPDATING
        src/etc [netbsd-6]: daily weekly

Log Message:
Pull up following revision(s) (requested by joerg in ticket #2):
        etc/weekly: revision 1.26
        etc/daily: revision 1.81
        UPDATING: revision 1.235
Run makemandb with the normal 022 umask, not the restrictive 077.
Extend entry to makemandb permission issue.


To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.234.2.1 src/UPDATING
cvs rdiff -u -r1.80 -r1.80.2.1 src/etc/daily
cvs rdiff -u -r1.25 -r1.25.2.1 src/etc/weekly

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

Modified files:

Index: src/UPDATING
diff -u src/UPDATING:1.234 src/UPDATING:1.234.2.1
--- src/UPDATING:1.234	Thu Feb  9 21:49:31 2012
+++ src/UPDATING	Thu Feb 16 19:56:43 2012
@@ -1,4 +1,4 @@
-$NetBSD: UPDATING,v 1.234 2012/02/09 21:49:31 spz Exp $
+$NetBSD: UPDATING,v 1.234.2.1 2012/02/16 19:56:43 riz Exp $
 
 This file (UPDATING) is intended to be a brief reference to recent
 changes that might cause problems in the build process, and a guide for
@@ -16,9 +16,12 @@ See also: BUILDING, build.sh, Makefile.
 Recent changes:
 ^^^^^^^^^^^^^^^
 
-20120207:
+20120216:
 	Default for MKCATPAGES changed to NO. Update builds will fail
-	unless DESTDIR is cleaned manually.
+	unless DESTDIR is cleaned manually. If you built between 20120207
+	and 20120216, daily and weekly could have created an unreable
+	/var/db/man.db index for apropos. Running makemandb -f or
+	the next run of weekly will fix it.
 
 20111227:
 	If you built between 20111225 and 20111227 you need to remove

Index: src/etc/daily
diff -u src/etc/daily:1.80 src/etc/daily:1.80.2.1
--- src/etc/daily:1.80	Thu Feb  9 13:38:44 2012
+++ src/etc/daily	Thu Feb 16 19:56:43 2012
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: daily,v 1.80 2012/02/09 13:38:44 joerg Exp $
+#	$NetBSD: daily,v 1.80.2.1 2012/02/16 19:56:43 riz Exp $
 #	@(#)daily	8.2 (Berkeley) 1/25/94
 #
 
@@ -294,7 +294,7 @@ if checkyesno run_makemandb; then
 	if [ -f /etc/man.conf -a -x /usr/sbin/makemandb ]; then
 		echo ""
 		echo "Updating man page index:"
-		nice -n 5 /usr/sbin/makemandb
+		(umask 022; nice -n 5 /usr/sbin/makemandb)
 	fi
 fi
 

Index: src/etc/weekly
diff -u src/etc/weekly:1.25 src/etc/weekly:1.25.2.1
--- src/etc/weekly:1.25	Tue Feb  7 19:13:30 2012
+++ src/etc/weekly	Thu Feb 16 19:56:43 2012
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: weekly,v 1.25 2012/02/07 19:13:30 joerg Exp $
+#	$NetBSD: weekly,v 1.25.2.1 2012/02/16 19:56:43 riz Exp $
 #	from: @(#)weekly	8.2 (Berkeley) 1/2/94
 #
 
@@ -94,7 +94,7 @@ if checkyesno rebuild_mandb; then
 	echo ""
 	if [ -f /etc/man.conf -a -x /usr/sbin/makemandb ]; then
 		echo "Rebuilding man page index:"
-		nice -n 5 /usr/sbin/makemandb -f
+		(umask 022; nice -n 5 /usr/sbin/makemandb -f)
 	else
 		echo "Not rebuilding man page index"
 	fi

Reply via email to