Home | History | Annotate | Download | only in etc
History log of /src/etc/weekly
RevisionDateAuthorComments
 1.32  24-Sep-2018  kre Convert to POSIX specified usage of test (even though it would probably
have never been an issue here, it is trivial..., and one of the two
uses that needed changing was (and still is) commented out anyway).
 1.31  28-Nov-2015  darcy branches: 1.31.14; 1.31.16;
Of course we can always not do something. Doesn't mean that we "can't"
(or "cannot"). In any case make the messages consistent and move the
period to inside the quotes.
 1.30  04-Mar-2015  christos there is no more makewhatis
 1.29  29-Aug-2012  wiz Use new makemandb -Q flag to be really quiet.
 1.28  31-Jul-2012  jdf Call `makemandb -f -q` instead of `makemandb -f`, as Edgar Fu� proposed for daily.
 1.27  02-Jun-2012  christos PR/46521: Jim Bernard: remove duplicate -o
 1.26  16-Feb-2012  joerg Run makemandb with the normal 022 umask, not the restrictive 077.
 1.25  07-Feb-2012  joerg branches: 1.25.2;
Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
 1.24  27-Dec-2010  christos branches: 1.24.6;
`` -> $()
 1.23  06-Jun-2007  martti Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp. (misc/35544)
 1.22  16-Feb-2007  reed Remove unused references to "clean_uucp" variable. (Code was already
removed.)

Add rebuild_whatisdb weekly variable that defaults to NO.
This is for running makewhatis weekly.
This defaults to NO because it is not needed using just base sets/default
install which provide the whatis.db file(s).
 1.21  12-Nov-2006  christos branches: 1.21.2;
goodbye uucp
 1.20  27-Jun-2004  lukem branches: 1.20.2; 1.20.4; 1.20.8;
Run the "su -m nobody -c locate.updatedb" in a subshell with cd / first.
"nobody" doesn't have perms to $WEEKLYDIR which was the cwd previously,
and this may cause a warning to be issued by root's shell as part of the su.
 1.19  09-Apr-2004  kim Avoid the output "Running xxx.local" if the "xxx.local" script
does not produce any output. This matches what /etc/security
already does with /etc/security.local output.
 1.18  02-Apr-2004  jmmv Introduce and use the rcvar_manpage variable, which contains the manual page
name where the user should look at for documentation about rcvar. It defaults
to 'rc.subr(5)', as rc.subr is mainly used by rc.d scripts.

This variable is useful to let the daily, weekly, monthly and security scripts
tune the warning message shown when any of the variables they handle is not
properly set.

Closes PR misc/23908.
 1.17  18-Jun-2001  lukem use mktemp(1) to create temporary directories, and ensure that cleanup traps
are setup asap.
 1.16  15-Oct-2000  kim Setting rebuild_locatedb=NO should not tell you it didn't rebuild the db
because there is no /var/db/locate.database; it should be quiet.

Unified the use of `echo ""'.
 1.15  07-Oct-2000  lukem use ${foo##*/} instead of `basename $foo`. as suggested (with minor variation)
by Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
 1.14  10-Jan-2000  ad - Make /etc/daily run /etc/daily.local if it exists. Make similar change for
weekly and monthly scripts.
- Update FILES section in manpages.
 1.13  23-Apr-1999  kleink Get rid of old-style chown operands.
 1.12  15-Sep-1998  lukem * daily/weekly/monthly:
- change to always output a valid To: and Subject: line.
- To: recipient obtained from $MAILTO (defaults to root).
- add date to Subject: line. closes [bin/4526] from Giles Lean
<giles@nemeton.com.au>
* daily: explicitly print 'Nothing to report' if /etc/security didn't
report anything.
* crontab: pass output of scripts through sendmail -t instead of
 1.11  16-Jul-1998  mycroft Format police.
 1.10  26-Jan-1998  lukem include rc.subr and use appropriately
 1.9  27-Oct-1997  lukem use /usr/libexec/uucp/clean.weekly instead of /usr/lib/uucp/clean.weekly [misc/4357], and use su user -c command instead of echo command | su user
 1.8  10-Mar-1997  mycroft Minor cleanup.
 1.7  15-Feb-1997  mikel cleanup Lite-1 merge
 1.6  05-Jan-1997  mrg add configuration file for daily, weekly, montly, as
daily.conf, weekly.conf and montly.conf. the file
allows each action taken by all scripts to be turned
on or off.
 1.5  08-May-1996  thorpej RCS id police.
 1.4  21-Feb-1994  cgd don't rebuild locate.database if it's not there, etc.
 1.3  21-May-1993  cgd arrange for all log rotations to be handled by /usr/bin/newsyslog
 1.2  02-Apr-1993  cgd updated for current setup, and to compress logs
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  15-Feb-1997  mikel import 4.4BSD-Lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.20.8.1  28-Jun-2007  ghen Pull up following revision(s) (requested by martti in ticket #1800):
etc/monthly: revision 1.11
etc/weekly: revision 1.23
etc/security: revision 1.102
etc/daily: revision 1.70
Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp. (misc/35544)
 1.20.4.1  28-Jun-2007  ghen Pull up following revision(s) (requested by martti in ticket #1800):
etc/monthly: revision 1.11
etc/weekly: revision 1.23
etc/security: revision 1.102
etc/daily: revision 1.70
Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp. (misc/35544)
 1.20.2.1  07-Jun-2007  liamjfoy Pull up following revision(s) (requested by martti in ticket #1800):
etc/monthly: revision 1.11
etc/weekly: revision 1.23
etc/security: revision 1.102
etc/daily: revision 1.70
Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp. (misc/35544)
 1.21.2.2  06-Jun-2007  liamjfoy Pull up following revision(s) (requested by martti in ticket #708):
etc/monthly: revision 1.11
etc/weekly: revision 1.23
etc/security: revision 1.102
etc/daily: revision 1.70
Use "mktemp -d -t xxx" to create the temporary directories. This will use
TMPDIR environment variable if set, otherwise use /tmp. (misc/35544)
 1.21.2.1  19-Feb-2007  riz branches: 1.21.2.1.2;
Pull up following revision(s) (requested by reed in ticket #442):
etc/weekly: revision 1.22
share/man/man5/weekly.conf.5: revision 1.9
etc/defaults/weekly.conf: revision 1.3
Remove unused references to "clean_uucp" variable. (Code was already
removed.)
Add rebuild_whatisdb weekly variable that defaults to NO.
This is for running makewhatis weekly.
This defaults to NO because it is not needed using just base sets/default
install which provide the whatis.db file(s).
 1.21.2.1.2.1  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.24.6.2  30-Oct-2012  yamt sync with head
 1.24.6.1  17-Apr-2012  yamt sync with head
 1.25.2.4  21-Nov-2012  riz Pull up following revision(s) (requested by tron in ticket #676):
usr.sbin/makemandb/apropos.c: revision 1.7
usr.sbin/makemandb/makemandb.8: revision 1.3
usr.sbin/makemandb/makemandb.8: revision 1.4
usr.sbin/makemandb/makemandb.8: revision 1.5
etc/rc.d/makemandb: revision 1.4
etc/weekly: revision 1.29
usr.sbin/makemandb/makemandb.c: revision 1.10
usr.sbin/makemandb/makemandb.c: revision 1.11
usr.sbin/makemandb/makemandb.c: revision 1.12
usr.sbin/makemandb/makemandb.c: revision 1.13
usr.sbin/makemandb/makemandb.c: revision 1.14
usr.sbin/makemandb/apropos.1: revision 1.5
etc/daily: revision 1.87
Add HISTORY section. From Abhinav Upadhyay in private mail.
Sync with reality, From Abhinav Upadhyay in private mail.
Fix typo in a message.
Bug fix for PR 46733:
> makemandb always reports the same number for "Total Number of new or
> updated pages enountered" and "Total number of (hard or symbolic)
> links found".
Patch from Abhinav Upadhyay.
Sort options in SYNOPSIS.
Sync usage with manpage.
Add -Q flag:
Print only fatal error messages (i.e., when the database is left in
an inconsistent state and needs manual intervention).
From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
Use new makemandb -Q flag to be really quiet.
Fix usage, from Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
Use emalloc in one more place, like the rest of the code does.
From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
 1.25.2.3  18-Nov-2012  msaitoh Pull up following revision(s) (requested by christos in ticket #675):
etc/weekly: revision 1.27
PR/46521: Jim Bernard: remove duplicate -o
 1.25.2.2  08-Aug-2012  martin Pull up following revision(s) (requested by jdf in ticket #458):
etc/weekly: revision 1.28
etc/daily: revision 1.84
Call `makemandb -f -q` instead of `makemandb -f`, as Edgar Fuss proposed for daily.
Call `makemandb -q` instead of `makemandb`, as proposed by Edgar Fuss on
tech-userlevel on 20th of July 2012, 12:38.
 1.25.2.1  16-Feb-2012  riz 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.
 1.31.16.1  10-Jun-2019  christos Sync with HEAD
 1.31.14.1  30-Sep-2018  pgoyette Ssync with HEAD

RSS XML Feed