1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/sysutils/anacron/pkg-plist
Jean-Yves Lefort 610bc835b1 [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]
2005-06-16 15:51:38 +00:00

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'."