OpenBSD CVS

CVS log for src/etc/weekly


[BACK] Up to [local] / src / etc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 12 20:51:49 2020 UTC (4 years, 3 months ago) by jung
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, HEAD
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

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

Revision 1.29 / (download) - annotate - [select for diffs], Mon Dec 30 16:49:51 2019 UTC (4 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.28: +7 -5 lines
Diff to previous 1.28 (colored)

don't suppress error output from running updatelocatedb
check that the resulting db works instead of some more specific test

okay schwarze@

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 15 13:12:08 2017 UTC (7 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

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 1.27 / (download) - annotate - [select for diffs], Fri Aug 14 03:02:07 2015 UTC (8 years, 9 months ago) by rzalamena
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

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 1.26 / (download) - annotate - [select for diffs], Fri Apr 18 10:00:48 2014 UTC (10 years, 1 month ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

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 1.25 / (download) - annotate - [select for diffs], Thu Jul 7 23:09:46 2011 UTC (12 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Eliminate some $? tests by rolling the command into the condition

ok halex@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 19 06:18:05 2011 UTC (13 years, 4 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

remove EOL whitespace

Revision 1.23 / (download) - annotate - [select for diffs], Mon May 25 21:31:24 2009 UTC (14 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

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@

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 18 19:57:56 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.21: +2 -5 lines
Diff to previous 1.21 (colored)

/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@

Revision 1.21 / (download) - annotate - [select for diffs], Sun May 10 19:27:25 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

avoid unnecessary changes of the output
in order not to annoy parser scripts and their owners (like henning@)

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 9 17:15:49 2009 UTC (15 years ago) by schwarze
Branch: MAIN
Changes since 1.19: +44 -14 lines
Diff to previous 1.19 (colored)

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 1.19 / (download) - annotate - [select for diffs], Fri Feb 2 14:52:48 2007 UTC (17 years, 3 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.18: +8 -4 lines
Diff to previous 1.18 (colored)

- 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@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Oct 26 12:20:55 2006 UTC (17 years, 6 months ago) by ajacoutot
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

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@

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 6 04:50:31 2006 UTC (17 years, 7 months ago) by hugh
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Exit when asked to here too. Spotted by Theo.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 19 15:13:34 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

remove unhelpful echo from the ac stuff;
ok millert@

Revision 1.15 / (download) - annotate - [select for diffs], Sat Nov 12 16:14:37 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.14: +7 -1 lines
Diff to previous 1.14 (colored)

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 1.14 / (download) - annotate - [select for diffs], Mon Jun 30 22:04:57 2003 UTC (20 years, 10 months ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

spacing nit, and a bit more randomness for mktemp
millert@ ok

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 8 20:42:42 2003 UTC (21 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Use POSIX chown semantics (user:group); noted by Leandro Costa

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 14 08:12:41 2003 UTC (21 years, 4 months ago) by jakob
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

use /var/tmp as default temporary directory when building locate database. ok millert@

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jul 27 07:24:40 2001 UTC (22 years, 9 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.10: +1 -7 lines
Diff to previous 1.10 (colored)

remove clean.weekly from here. this can be added in weekly.local if
needed and we don't ship it anyway; millert@ ok.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 19 23:15:28 1999 UTC (24 years, 8 months ago) by alex
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Rebuild whatis databases.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Aug 4 17:55:16 1999 UTC (24 years, 9 months ago) by mickey
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

propagate TMPDIR into locate.updatedb

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 2 23:08:56 1998 UTC (26 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.7: +1 -4 lines
Diff to previous 1.7 (colored)

No need to put a Subject: line.  We use "mail -s" in the crontab anyway.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 15 09:54:40 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.6: +3 -37 lines
Diff to previous 1.6 (colored)

delete dated stuff

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 4 01:36:52 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +17 -6 lines
Diff to previous 1.5 (colored)

Use new options to locate.updatedb so we don't have to make the
database owned by non-root at any time.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 3 23:33:50 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

locate shell scripts now use mktemp(1) and weekly runs updatedb
as bin not nobody to avoid NFS problems.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 18 04:32:57 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.3: +17 -13 lines
Diff to previous 1.3 (colored)

make commented-out stuff secure just in case anyone uncomments it.

Revision 1.3 / (download) - annotate - [select for diffs], Sun May 26 10:25:32 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

sync & label

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 19 13:14:15 1995 UTC (28 years, 5 months ago) by david
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1 (colored)

check for /etc/{daily,weekly,monthly}.local and run if they exist

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:57 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:37:57 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.