freebsd-ports/security/portsentry/pkg-plist
Volker Stolz e4c5d5f26a - Add (non-rcNG) startup-script (patches welcome)
- Cleanup port (me)

PR:		ports/72759
Submitted by:	Alex de Kruijff
2005-04-18 13:16:47 +00:00

12 lines
680 B
Text

bin/portsentry
etc/rc.d/portsentry.sh
@unexec if cmp -s %D/etc/portsentry.conf %D/etc/portsentry.conf.default; then rm -f %D/etc/portsentry.conf; fi
etc/portsentry.conf.default
@exec if [ ! -f %D/etc/portsentry.conf ] ; then cp -p %B/portsentry.conf %D/etc/portsentry.conf ; fi
@unexec if cmp -s %D/etc/portsentry.ignore %D/etc/portsentry.ignore.default; then rm -f %D/etc/portsentry.ignore; fi
etc/portsentry.ignore.default
@exec if [ ! -f %D/etc/portsentry.ignore ] ; then cp -p %B/portsentry.ignore %D/etc/portsentry.ignore ; fi
%%PORTDOCS%%%%DOCSDIR%%/README.install
%%PORTDOCS%%%%DOCSDIR%%/README.methods
%%PORTDOCS%%%%DOCSDIR%%/README.stealth
%%PORTDOCS%%@dirrm %%DOCSDIR%%