From 518142c928ec4b6b5d4e7399b90710c68a19dd98 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sat, 15 Apr 2017 13:12:08 +0000 Subject: [PATCH] Build full mandoc.db(5) databases by default using makewhatis(8) without -Q during the build and in weekly(8). According to tests by many developers, makewhatis(8) takes a few minutes at most even on slower hardware like octeon, loongson, ALIX, RPI3, Soekris, cubox, softiron etc., and security(8) is often worse than makewhatis(8). In case this causes excessive weekly(8) run times on even slower (~50 MHz-class) CPUs, consider adding "MAKEWHATISARGS=-Q" to /etc/weekly.local on machines that feel unhappy. OK sthen@ kettenis@ millert@ deraadt@ --- src/etc/weekly | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/weekly b/src/etc/weekly index d0170ba2..f4609e4e 100644 --- a/src/etc/weekly +++ b/src/etc/weekly @@ -1,5 +1,5 @@ # -# $OpenBSD: weekly,v 1.27 2015/08/14 03:02:07 rzalamena Exp $ +# $OpenBSD: weekly,v 1.28 2017/04/15 13:12:08 schwarze Exp $ # # For local additions, create the file /etc/weekly.local. # To get section headers, use the function next_part in weekly.local. @@ -63,7 +63,7 @@ if [ -f /var/db/locate.database ]; then fi next_part "Rebuilding whatis databases:" -/usr/sbin/makewhatis ${MAKEWHATISARGS:--Q} +/usr/sbin/makewhatis $MAKEWHATISARGS next_part "Doing login accounting:" [ "X$LOGINACCOUNTING" = X1 ] && {