Source-Changes-HG archive

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

[src/netbsd-6]: src Pull up following revision(s) (requested by joerg in tick...



details:   https://anonhg.NetBSD.org/src/rev/ebacffbd9914
branches:  netbsd-6
changeset: 773763:ebacffbd9914
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Feb 16 19:56:43 2012 +0000

description:
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.

diffstat:

 UPDATING   |  9 ++++++---
 etc/daily  |  4 ++--
 etc/weekly |  4 ++--
 3 files changed, 10 insertions(+), 7 deletions(-)

diffs (64 lines):

diff -r e1e5956535de -r ebacffbd9914 UPDATING
--- a/UPDATING  Thu Feb 16 18:59:42 2012 +0000
+++ b/UPDATING  Thu Feb 16 19:56:43 2012 +0000
@@ -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 @@
 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
diff -r e1e5956535de -r ebacffbd9914 etc/daily
--- a/etc/daily Thu Feb 16 18:59:42 2012 +0000
+++ b/etc/daily Thu Feb 16 19:56:43 2012 +0000
@@ -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 [ -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
 
diff -r e1e5956535de -r ebacffbd9914 etc/weekly
--- a/etc/weekly        Thu Feb 16 18:59:42 2012 +0000
+++ b/etc/weekly        Thu Feb 16 19:56:43 2012 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index