Anacron is a periodic command scheduler. It executes commands at
intervals specified in days. Unlike cron, it does not assume that the
system is running continuously. It can therefore be used to control
the execution of daily, weekly and monthly jobs (or anything with a
period of n days), on systems that don't run 24 hours a day.
Anacron is not an attempt to make cron redundant.
Requirements
- A functioning syslog daemon.
- A functioning /usr/sbin/sendmail command. (all MTAs should have that).
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/anacron: Fix start after resume
The anacron utility should be run by it's rc(8) script after resume, since the
time to run jobs from the anacrontab(5) might have passed while the system was
sleeping.
PR: 253567
Reported by: walter.von.entferndt@posteo.net
Approved by: dz@426.ch (maintainer)
When there is a do-install target, do not use a post-install target, do
everything at once. Sometime, rename post-install into a options helper
target.
I did not fix ports that were such a mess that I could not figure out
what they really wanted to do. I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.
With hat: portmgr
Sponsored by: Absolight
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
[1]:
- Add a rcNG startup script
- Use mkstemp() instead of the insecure tempnam()
Moreover:
- Also create /var/spool/anacron when installed from a package
- Try to remove /var/spool/anacron when deinstalling the package; if
it fails, hint the user about removing it manually
- Respect ${CC}
- Install/deinstall ${PREFIX}/etc/anacrontab
- Split the monolithic patch-aa into separate patches
- Refactor some patches into ${REINPLACE_CMD} invocations
- Install the program ourselves (it is more straightforward than
fixing the vendor's Makefile)
- Use SUB_FILES=pkg-message
PR: ports/82168 [1]
Submitted by: maintainer [1]
New port: anacron
Anacron is a periodic command scheduler. It executes
commands at intervals specified in days. Unlike cron, it
does not assume that the system is running continuously.
It can therefore be used to control the execution of daily,
weekly and monthly jobs (or anything with a period of n
days), on systems that don't run 24 hours a day.
Anacron is not an attempt to make cron redundant.
PR: ports/55959
Submitted by: Derik van Zuetphen <dz@426.ch>