freebsd-ports/security/nessus/pkg-plist
Edwin Groothuis 508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00

39 lines
1.5 KiB
Plaintext

bin/nessus
bin/nessus-fetch
bin/nessus-mkcert-client
bin/nessus-mkrand
@unexec if cmp -s %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; then rm -f %D/etc/nessus/nessusd.conf 2> /dev/null; fi || true
@unexec if cmp -s %D/etc/nessus/nessusd.rules.dist %D/etc/nessus/nessusd.rules; then rm -f %D/etc/nessus/nessusd.rules 2> /dev/null; fi || true
etc/nessus/nessusd.conf.dist
etc/nessus/nessusd.rules.dist
@exec if [ ! -f %D/etc/nessus/nessusd.conf ]; then cp -p %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; fi
@exec if [ ! -f %D/etc/nessus/nessusd.rules ]; then cp -p %D/etc/nessus/nessusd.conf.dist %D/etc/nessus/nessusd.conf; fi
etc/rc.d/nessusd.sh
include/nessus/config.h
include/nessus/includes.h
include/nessus/nessus-devel.h
include/nessus/nessusicmp.h
include/nessus/nessusip.h
include/nessus/nessusraw.h
include/nessus/nessustcp.h
include/nessus/nessusudp.h
include/nessus/ntcompat.h
sbin/nessus-adduser
sbin/nessus-check-signature
sbin/nessus-mkcert
sbin/nessus-rmuser
sbin/nessusd
@exec mkdir -p %D/var/nessus/jobs
@exec mkdir -p %D/var/nessus/logs
@exec mkdir -p %D/var/nessus/users
@unexec if [ ! -s %D/var/nessus/logs/nessusd.messages ]; then rm %D/var/nessus/logs/nessusd.messages 2> /dev/null; fi || true
@dirrmtry var/nessus/jobs
@dirrmtry var/nessus/logs
@dirrmtry var/nessus/users
@dirrmtry var/nessus
@dirrmtry etc/nessus
@exec mkdir -p %D/lib/nessus/plugins
@dirrmtry lib/nessus/plugins
@dirrmtry lib/nessus
@exec if [ ! -f %D/var/CA/serverkey.pem ]; then %D/sbin/nessus-mkcert; fi