#
1.30 |
|
12-Feb-2020 |
jung |
do not propagate TMPDIR and override value from /etc/locate.rc in weekly effectively reverting r1.9 to follow principal of least surprise
"this is fine" millert "i agree with direction" schwarze
|
#
1.29 |
|
30-Dec-2019 |
espie |
don't suppress error output from running updatelocatedb check that the resulting db works instead of some more specific test
okay schwarze@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.28 |
|
15-Apr-2017 |
schwarze |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.27 |
|
14-Aug-2015 |
rzalamena |
Move locate(1) database build directory back to /tmp and kill non-existent /usr/tmp references.
Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the updatedb script.
ok millert@.
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.26 |
|
18-Apr-2014 |
schwarze |
Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo. "commit the switch now" espie@ "go for it" deraadt@
See the apropos(1) manual for a description of what's new. On machines where you want the full functionality, run "sudo makewhatis" and put "MAKEWHATISARGS=' '" into weekly.local(8). Otherwise, when upgrading via source, run "sudo makewhatis -Q".
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.25 |
|
07-Jul-2011 |
guenther |
Eliminate some $? tests by rolling the command into the condition
ok halex@
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.24 |
|
19-Jan-2011 |
david |
remove EOL whitespace
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.23 |
|
25-May-2009 |
schwarze |
polish comments, no functional change: 1) advertise *.local and next_part near the top of the three scripts 2) daily: mention smtpd(8) mailq behaviour (like for sendmail, postfix, exim) 3) weekly: drop a comment trivially rehashing the next two lines of code documenting next_part in the scripts was suggested by jmc@ ok sthen@ okan@ halex@; "i won't object" ajacoutot@
|
#
1.22 |
|
18-May-2009 |
schwarze |
/usr/libexec should not be put into the PATH rely on the PATH set up in the root crontab(5), just like in monthly(8) suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@; "absolutely" deraadt@
|
#
1.21 |
|
10-May-2009 |
schwarze |
avoid unnecessary changes of the output in order not to annoy parser scripts and their owners (like henning@)
|
#
1.20 |
|
09-May-2009 |
schwarze |
make weekly and monthly silent by default add the same infrastructure to daily; silencing daily needs another step discussed with ajacoutot@ okan@ todd@ sthen@ deraadt@ jmc@ "immediately commit" deraadt@ (without seeing the final diff)
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.19 |
|
02-Feb-2007 |
ajacoutot |
- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way of doing things - make the sort command use "-k" instead of the deprecated "+" option (idea from mk@) - rotate /var/log/wtmp every week just after weekly ac(8) completes
ok mk@
|
#
1.18 |
|
26-Oct-2006 |
ajacoutot |
Force umask to 022 so we don't heritate 077 from root's crontab command (output logs are still umask 077)
"i think this is right" deraadt@
|
#
1.17 |
|
06-Oct-2006 |
hugh |
Exit when asked to here too. Spotted by Theo.
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.16 |
|
19-Nov-2005 |
jmc |
remove unhelpful echo from the ac stuff; ok millert@
|
#
1.15 |
|
12-Nov-2005 |
jmc |
move the ac(8) stuff to weekly, rather than monthly, since by default newsyslog truncates wtmp on a weekly basis; note that the ac stuff remains commented out as before;
spotted by andreas bihlmaier; ok deraadt@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
|
#
1.14 |
|
30-Jun-2003 |
avsm |
spacing nit, and a bit more randomness for mktemp millert@ ok
|
#
1.13 |
|
08-Apr-2003 |
millert |
Use POSIX chown semantics (user:group); noted by Leandro Costa
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.12 |
|
14-Jan-2003 |
jakob |
use /var/tmp as default temporary directory when building locate database. ok millert@
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.11 |
|
27-Jul-2001 |
fgsch |
remove clean.weekly from here. this can be added in weekly.local if needed and we don't ship it anyway; millert@ ok.
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
19-Sep-1999 |
alex |
Rebuild whatis databases.
|
#
1.9 |
|
04-Aug-1999 |
mickey |
propagate TMPDIR into locate.updatedb
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.8 |
|
02-Feb-1998 |
millert |
No need to put a Subject: line. We use "mail -s" in the crontab anyway.
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.7 |
|
15-Sep-1997 |
deraadt |
delete dated stuff
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.6 |
|
04-Jan-1997 |
millert |
Use new options to locate.updatedb so we don't have to make the database owned by non-root at any time.
|
#
1.5 |
|
03-Jan-1997 |
millert |
locate shell scripts now use mktemp(1) and weekly runs updatedb as bin not nobody to avoid NFS problems.
|
#
1.4 |
|
18-Dec-1996 |
millert |
make commented-out stuff secure just in case anyone uncomments it.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
26-May-1996 |
deraadt |
sync & label
|
#
1.2 |
|
19-Dec-1995 |
david |
check for /etc/{daily,weekly,monthly}.local and run if they exist
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
#
1.29 |
|
30-Dec-2019 |
espie |
don't suppress error output from running updatelocatedb check that the resulting db works instead of some more specific test
okay schwarze@
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.28 |
|
15-Apr-2017 |
schwarze |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.27 |
|
14-Aug-2015 |
rzalamena |
Move locate(1) database build directory back to /tmp and kill non-existent /usr/tmp references.
Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the updatedb script.
ok millert@.
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.26 |
|
18-Apr-2014 |
schwarze |
Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo. "commit the switch now" espie@ "go for it" deraadt@
See the apropos(1) manual for a description of what's new. On machines where you want the full functionality, run "sudo makewhatis" and put "MAKEWHATISARGS=' '" into weekly.local(8). Otherwise, when upgrading via source, run "sudo makewhatis -Q".
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.25 |
|
07-Jul-2011 |
guenther |
Eliminate some $? tests by rolling the command into the condition
ok halex@
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.24 |
|
19-Jan-2011 |
david |
remove EOL whitespace
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.23 |
|
25-May-2009 |
schwarze |
polish comments, no functional change: 1) advertise *.local and next_part near the top of the three scripts 2) daily: mention smtpd(8) mailq behaviour (like for sendmail, postfix, exim) 3) weekly: drop a comment trivially rehashing the next two lines of code documenting next_part in the scripts was suggested by jmc@ ok sthen@ okan@ halex@; "i won't object" ajacoutot@
|
#
1.22 |
|
18-May-2009 |
schwarze |
/usr/libexec should not be put into the PATH rely on the PATH set up in the root crontab(5), just like in monthly(8) suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@; "absolutely" deraadt@
|
#
1.21 |
|
10-May-2009 |
schwarze |
avoid unnecessary changes of the output in order not to annoy parser scripts and their owners (like henning@)
|
#
1.20 |
|
09-May-2009 |
schwarze |
make weekly and monthly silent by default add the same infrastructure to daily; silencing daily needs another step discussed with ajacoutot@ okan@ todd@ sthen@ deraadt@ jmc@ "immediately commit" deraadt@ (without seeing the final diff)
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.19 |
|
02-Feb-2007 |
ajacoutot |
- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way of doing things - make the sort command use "-k" instead of the deprecated "+" option (idea from mk@) - rotate /var/log/wtmp every week just after weekly ac(8) completes
ok mk@
|
#
1.18 |
|
26-Oct-2006 |
ajacoutot |
Force umask to 022 so we don't heritate 077 from root's crontab command (output logs are still umask 077)
"i think this is right" deraadt@
|
#
1.17 |
|
06-Oct-2006 |
hugh |
Exit when asked to here too. Spotted by Theo.
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.16 |
|
19-Nov-2005 |
jmc |
remove unhelpful echo from the ac stuff; ok millert@
|
#
1.15 |
|
12-Nov-2005 |
jmc |
move the ac(8) stuff to weekly, rather than monthly, since by default newsyslog truncates wtmp on a weekly basis; note that the ac stuff remains commented out as before;
spotted by andreas bihlmaier; ok deraadt@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
|
#
1.14 |
|
30-Jun-2003 |
avsm |
spacing nit, and a bit more randomness for mktemp millert@ ok
|
#
1.13 |
|
08-Apr-2003 |
millert |
Use POSIX chown semantics (user:group); noted by Leandro Costa
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.12 |
|
14-Jan-2003 |
jakob |
use /var/tmp as default temporary directory when building locate database. ok millert@
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.11 |
|
27-Jul-2001 |
fgsch |
remove clean.weekly from here. this can be added in weekly.local if needed and we don't ship it anyway; millert@ ok.
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
19-Sep-1999 |
alex |
Rebuild whatis databases.
|
#
1.9 |
|
04-Aug-1999 |
mickey |
propagate TMPDIR into locate.updatedb
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.8 |
|
02-Feb-1998 |
millert |
No need to put a Subject: line. We use "mail -s" in the crontab anyway.
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.7 |
|
15-Sep-1997 |
deraadt |
delete dated stuff
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.6 |
|
04-Jan-1997 |
millert |
Use new options to locate.updatedb so we don't have to make the database owned by non-root at any time.
|
#
1.5 |
|
03-Jan-1997 |
millert |
locate shell scripts now use mktemp(1) and weekly runs updatedb as bin not nobody to avoid NFS problems.
|
#
1.4 |
|
18-Dec-1996 |
millert |
make commented-out stuff secure just in case anyone uncomments it.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
26-May-1996 |
deraadt |
sync & label
|
#
1.2 |
|
19-Dec-1995 |
david |
check for /etc/{daily,weekly,monthly}.local and run if they exist
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.28 |
|
15-Apr-2017 |
schwarze |
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@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.27 |
|
14-Aug-2015 |
rzalamena |
Move locate(1) database build directory back to /tmp and kill non-existent /usr/tmp references.
Diff from Craig Skinner via tech@ plus a /usr/tmp removal from me in the updatedb script.
ok millert@.
|
Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.26 |
|
18-Apr-2014 |
schwarze |
Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo. "commit the switch now" espie@ "go for it" deraadt@
See the apropos(1) manual for a description of what's new. On machines where you want the full functionality, run "sudo makewhatis" and put "MAKEWHATISARGS=' '" into weekly.local(8). Otherwise, when upgrading via source, run "sudo makewhatis -Q".
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.25 |
|
07-Jul-2011 |
guenther |
Eliminate some $? tests by rolling the command into the condition
ok halex@
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.24 |
|
19-Jan-2011 |
david |
remove EOL whitespace
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE
|
#
1.23 |
|
25-May-2009 |
schwarze |
polish comments, no functional change: 1) advertise *.local and next_part near the top of the three scripts 2) daily: mention smtpd(8) mailq behaviour (like for sendmail, postfix, exim) 3) weekly: drop a comment trivially rehashing the next two lines of code documenting next_part in the scripts was suggested by jmc@ ok sthen@ okan@ halex@; "i won't object" ajacoutot@
|
#
1.22 |
|
18-May-2009 |
schwarze |
/usr/libexec should not be put into the PATH rely on the PATH set up in the root crontab(5), just like in monthly(8) suggested by ajacoutot@; "i like this" okan@; feedback jmc@ sthen@; "absolutely" deraadt@
|
#
1.21 |
|
10-May-2009 |
schwarze |
avoid unnecessary changes of the output in order not to annoy parser scripts and their owners (like henning@)
|
#
1.20 |
|
09-May-2009 |
schwarze |
make weekly and monthly silent by default add the same infrastructure to daily; silencing daily needs another step discussed with ajacoutot@ okan@ todd@ sthen@ deraadt@ jmc@ "immediately commit" deraadt@ (without seeing the final diff)
|
Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.19 |
|
02-Feb-2007 |
ajacoutot |
- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way of doing things - make the sort command use "-k" instead of the deprecated "+" option (idea from mk@) - rotate /var/log/wtmp every week just after weekly ac(8) completes
ok mk@
|
#
1.18 |
|
26-Oct-2006 |
ajacoutot |
Force umask to 022 so we don't heritate 077 from root's crontab command (output logs are still umask 077)
"i think this is right" deraadt@
|
#
1.17 |
|
06-Oct-2006 |
hugh |
Exit when asked to here too. Spotted by Theo.
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.16 |
|
19-Nov-2005 |
jmc |
remove unhelpful echo from the ac stuff; ok millert@
|
#
1.15 |
|
12-Nov-2005 |
jmc |
move the ac(8) stuff to weekly, rather than monthly, since by default newsyslog truncates wtmp on a weekly basis; note that the ac stuff remains commented out as before;
spotted by andreas bihlmaier; ok deraadt@
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE
|
#
1.14 |
|
30-Jun-2003 |
avsm |
spacing nit, and a bit more randomness for mktemp millert@ ok
|
#
1.13 |
|
08-Apr-2003 |
millert |
Use POSIX chown semantics (user:group); noted by Leandro Costa
|
Revision tags: OPENBSD_3_3_BASE
|
#
1.12 |
|
14-Jan-2003 |
jakob |
use /var/tmp as default temporary directory when building locate database. ok millert@
|
Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
|
#
1.11 |
|
27-Jul-2001 |
fgsch |
remove clean.weekly from here. this can be added in weekly.local if needed and we don't ship it anyway; millert@ ok.
|
Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE
|
#
1.10 |
|
19-Sep-1999 |
alex |
Rebuild whatis databases.
|
#
1.9 |
|
04-Aug-1999 |
mickey |
propagate TMPDIR into locate.updatedb
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
|
#
1.8 |
|
02-Feb-1998 |
millert |
No need to put a Subject: line. We use "mail -s" in the crontab anyway.
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.7 |
|
15-Sep-1997 |
deraadt |
delete dated stuff
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.6 |
|
04-Jan-1997 |
millert |
Use new options to locate.updatedb so we don't have to make the database owned by non-root at any time.
|
#
1.5 |
|
03-Jan-1997 |
millert |
locate shell scripts now use mktemp(1) and weekly runs updatedb as bin not nobody to avoid NFS problems.
|
#
1.4 |
|
18-Dec-1996 |
millert |
make commented-out stuff secure just in case anyone uncomments it.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.3 |
|
26-May-1996 |
deraadt |
sync & label
|
#
1.2 |
|
19-Dec-1995 |
david |
check for /etc/{daily,weekly,monthly}.local and run if they exist
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|