aboutsummaryrefslogtreecommitdiff
path: root/etc/periodic/weekly
Commit message (Collapse)AuthorAgeFilesLines
* Move all periodic related config and scripts to usr.sbin/periodic/Brad Davis2018-08-116-218/+0
| | | | | | | | | | | | This makes pkgbase easier by tagging these as CONFS so they are properly tagged as config files. Approved by: will (mentor) Sponsored by: Essen Hackathon Differential Revision: https://reviews.freebsd.org/D16553 Notes: svn path=/head/; revision=337648
* Deorbit catman. The tradeoff of disk for performance has long since tippedGordon Tetlow2017-09-132-59/+1
| | | | | | | | | | | | | in favor of just rendering the manpage instead of relying on pre-formatted catpages. Note, this does not impede the ability to use existing catpages, it just removes the utility to generate them. Reviewed by: imp, allanjude Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D12317 Notes: svn path=/head/; revision=323550
* Quiet 450.status-security when *_inline="YES"Alan Somers2017-04-061-7/+13
| | | | | | | | | | | | | | | | | | | | Previously, 450.status-security would always set rc=3 in inline mode, because it doesn't know whether "periodic security" is going to find anything interesting. But this annoyingly results in daily reports that simply say "Security check: \n\n-- End of daily output --". This change fixes that by testing whether "periodic security" printed anything, and setting 450.status-security's exit status to 3 if it did. An alternative would be to change the exit status of periodic(8) to be the worst of its scripts' exit statuses, but that would be a more intrusive change. Reviewed by: brian MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D10267 Notes: svn path=/head/; revision=316548
* Allow 999.local to run scripts in any languageAlan Somers2017-02-011-1/+6
| | | | | | | | | | | | | If one of the scripts listed in (daily|weekly|monthly)_local is executable, 999.local should simply execute it. Only if the script isn't executable should 999.local assume it needs /bin/sh. Reviewed by: brian MFC after: 3 weeks Sponsored by: Spectra Logic Corp Notes: svn path=/head/; revision=313069
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* After around 20 years of duty it is time for pkg_install to retireBaptiste Daroussin2013-10-312-37/+0
| | | | Notes: svn path=/head/; revision=257444
* Make the period of each periodic security script configurable.Jeremie Le Hen2013-08-272-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now six additional variables weekly_status_security_enable weekly_status_security_inline weekly_status_security_output monthly_status_security_enable monthly_status_security_inline monthly_status_security_output alongside their existing daily counterparts. They all have the same default values. All other "daily_status_security_${scriptname}_${whatever}" variables have been renamed to "security_status_${name}_${whatever}". A compatibility shim has been introduced for the old variable names, which we will be able to remove in 11.0-RELEASE. "security_status_${name}_enable" is still a boolean but a new "security_status_${name}_period" allows to define the period of each script. The value is one of "daily" (the default for backward compatibility), "weekly", "monthly" and "NO". Note that when the security periodic scripts are run directly from crontab(5) (as opposed to being called by daily or weekly periodic scripts), they will run unless the test is explicitely disabled with a "NO", either for in the "_enable" or the "_period" variable. When the security output is not inlined, the mail subject has been changed from "$host $arg run output" to "$host $arg $period run output". For instance: myfbsd security run output -> myfbsd security daily run output I don't think this is considered as a stable API, but feel free to correct me if I'm wrong. Finally, I will rearrange periodic.conf(5) and default/periodic.conf to put the security options in their own section. I left them in place for this commit to make reviewing easier. Reviewed by: hackers@ Notes: svn path=/head/; revision=254974
* Add svn:executable property on remaining period scripts without itDoug Barton2011-03-271-0/+0
| | | | Notes: svn path=/head/; revision=220048
* Add a new build option, MAN_UTILS. This option lets you control buildingJung-uk Kim2010-05-191-1/+1
| | | | | | | | | | | | utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212 Notes: svn path=/head/; revision=208320
* Remove trailing white space. No functional changes.Doug Barton2010-05-141-3/+3
| | | | Notes: svn path=/head/; revision=208060
* Fix typo to install 400.status-pkg, again.Hajimu UMEMOTO2009-01-141-1/+1
| | | | Notes: svn path=/head/; revision=187210
* add new build knobs and jigger some existing controls to improveSam Leffler2008-09-211-5/+17
| | | | | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month Notes: svn path=/head/; revision=183242
* Move to the preferred syntax for nice (-n) insteadRemko Lodder2007-02-231-1/+1
| | | | | | | | | | | of the depricated one. PR: conf/108611 Submitted by: TAOKA Fumiyoshi <fmysh at iijmio-mail dot jp> Approved by: imp (mentor) Notes: svn path=/head/; revision=166912
* The kvm_mkdb(8) is long dead.Ruslan Ermilov2006-08-292-51/+1
| | | | Notes: svn path=/head/; revision=161708
* Purge orphan catpages.Ruslan Ermilov2005-03-301-2/+2
| | | | | | | | PR: conf/35242 Submitted by: Annihilator <annihilator.c@usa.net> Notes: svn path=/head/; revision=144343
* Allow the location of the INDEX file to specified to pkg_version.Josef Karthauser2004-05-191-1/+1
| | | | | | | | | | This is particularly convenient on a cluster of machines to prevent having to rebuild the INDEX file on each. Reviewed by: portmgr Notes: svn path=/head/; revision=129424
* Add a pkg_version variable so that it's possible to run portsversion insteadBrian Somers2002-09-251-1/+1
| | | | | | | of pkg_version in periodic/weekly/400.status-pkg. Notes: svn path=/head/; revision=103948
* Install scripts via FILES (purposedly not via SCRIPTS that wouldRuslan Ermilov2002-07-181-1/+1
| | | | | | | strip the suffixes). Notes: svn path=/head/; revision=100316
* Environmental variable was not being passed to a subshell as intended.Crist J. Clark2002-03-051-2/+2
| | | | | | | | PR: bin/35558 Submitted by: Nicolas Rachinsky <list@rachinsky.de> Notes: svn path=/head/; revision=91704
* UUCP removal Phase III.Kris Kennaway2001-10-012-41/+0
| | | | Notes: svn path=/head/; revision=84253
* Recognize and support new output which pkg_version(1) might produce.Anton Berezin2001-06-111-1/+2
| | | | | | | | PR: 27707 Approved by: bmah, markm Notes: svn path=/head/; revision=78111
* Small adjustment to whitespace in outputDoug Barton2001-06-011-1/+1
| | | | Notes: svn path=/head/; revision=77592
* Truly limit the path to local filesystems.Doug Barton2001-05-311-2/+4
| | | | Notes: svn path=/head/; revision=77517
* Remind the user that they need to check CPAN manually for updatesJosef Karthauser2001-04-281-0/+1
| | | | | | | to perl5 modules installed by hand. Notes: svn path=/head/; revision=76107
* Identify obsolete portsBrian Somers2001-03-251-1/+2
| | | | Notes: svn path=/head/; revision=74776
* setlocale(3) has been fixed to match POSIX standard:Ruslan Ermilov2001-03-022-2/+2
| | | | | | | LC_ALL takes precedence over other LC_* envariables. Notes: svn path=/head/; revision=73349
* Cope with ports that have multiple versions *and* have embedded ``-''sBrian Somers2001-01-021-1/+1
| | | | | | | in their name. Notes: svn path=/head/; revision=70602
* Understand ``multiple versions'' lines emitted from pkg_version.Brian Somers2001-01-021-1/+3
| | | | Notes: svn path=/head/; revision=70600
* Finish the job of conditionalizing UUCP by preventing files in /etc/uucpDoug Barton2000-10-291-1/+3
| | | | | | | | | | | from being installed, and make rmail conditional on neither of NO_SENDMAIL and NOUUCP. PR: bin/21321 Submitted by: Me Notes: svn path=/head/; revision=67849
* Another overhaul of the periodic stuff.Brian Somers2000-09-148-50/+120
| | | | | | | | | | | | | | | | | | All periodic sub-scripts <larf> now have their return codes interpreted by periodic(8). Output may be masked based on variable values in periodic.conf. It's also now possible to email periodic output to arbitrary addresses, or to send it to a log file, examples of which can be found in newsyslog.conf. The upshot of it all should be no discernable changes to the default behaviour of periodic(8). PR: 21250 Notes: svn path=/head/; revision=65843
* Added 400.status-pkg.Josef Karthauser2000-06-281-0/+1
| | | | | | | Forgotten by: brian Notes: svn path=/head/; revision=62212
* Add weekly_status_pkg_enable (defaults to NO)Brian Somers2000-06-271-0/+20
| | | | Notes: svn path=/head/; revision=62155
* Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.Brian Somers2000-06-237-80/+174
| | | | | | | | | | The only change in the default functionality should be that the output reports are slightly more verbose WRT files deleted. Not objected to by: freebsd-arch Notes: svn path=/head/; revision=61981
* Use manpath -L for man localesAndrey A. Chernov1999-11-232-16/+4
| | | | Notes: svn path=/head/; revision=53619
* localize itAndrey A. Chernov1999-09-112-3/+47
| | | | | | | Submitted by: "Alexey Zelkin" <phantom@crimea.edu> Notes: svn path=/head/; revision=51173
* $Id$ -> $FreeBSD$Peter Wemm1999-08-278-8/+8
| | | | Notes: svn path=/head/; revision=50472
* Update the locate database even if user nobody can't stat root'sSheldon Hearn1999-06-211-1/+2
| | | | | | | | | | home directory. PR: 10700 Submitted by: Sergey Korsak <skif@1plus1.net> Notes: svn path=/head/; revision=48084
* Finally remove the ancient `-exec rm -f {} ;' cruft that used to beJoerg Wunsch1999-03-211-2/+2
| | | | | | | | used to cleanup old files, and replace it by -delete which has been present in our find(1) for ages now. Notes: svn path=/head/; revision=44926
* Use manpath(1) to determine the value of ${MANPATH} instead ofSteve Price1998-01-091-8/+9
| | | | | | | | | | using one of two hard-coded values. PR: 5365 Submitted by: Ruslan Shevchenko <rssh@cam.grad.kiev.ua> Notes: svn path=/head/; revision=32379
* Don't test for executability of /usr/sbin/sysctl [before execingBruce Evans1998-01-011-2/+2
| | | | | | | | plain sysctl]. We already assumed that many standard commands exist, and sysctl is not special. Notes: svn path=/head/; revision=32154
* Check for files belongs to an unknown user or unknown group.Wolfram Schneider1997-11-012-1/+16
| | | | | | | Do not run by default. Notes: svn path=/head/; revision=30881
* Delete unused code.Wolfram Schneider1997-11-011-4/+2
| | | | Notes: svn path=/head/; revision=30880
* Remove 100.clean-srcPaul Traina1997-08-181-3/+2
| | | | Notes: svn path=/head/; revision=28377
* Cosmetic changes.Paul Traina1997-08-173-3/+6
| | | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=28320
* This was disabled, but it doesn't even make sense to leave it in asPaul Traina1997-08-171-42/+0
| | | | | | | an example, it's totally bogus. Notes: svn path=/head/; revision=28319
* Copy /etc/cron.d to /etc/periodic per-request of many.Paul Traina1997-08-168-0/+138
This wasn't done with a repository copy because there was no history of any consequence. Flames to me. Notes: svn path=/cvs2svn/branches/TRAINA/; revision=28263