mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
610bc835b1
- 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]
7 lines
362 B
Plaintext
7 lines
362 B
Plaintext
sbin/anacron
|
|
@unexec if cmp -s %D/etc/anacrontab.default %D/etc/anacrontab; then rm -f %D/etc/anacrontab; fi
|
|
etc/anacrontab.default
|
|
@exec [ -f %B/anacrontab ] || cp %B/%f %B/anacrontab
|
|
@exec mkdir -p /var/spool/anacron
|
|
@unexec rmdir /var/spool/anacron 2>/dev/null || echo "If you are permanently removing this port, you should do a 'rm -rf /var/spool/anacron'."
|