freebsd-ports/mail/sqlgrey/pkg-plist
Mathieu Arnold 6156da4b83 Update to 1.6.7
give back to ports@ (ENOTIME)

PR:		89418
Submitted by:	den
2005-11-23 17:22:15 +00:00

24 lines
1.8 KiB
Text

@unexec if cmp -s %D/%%ETCDIR%%/clients_fqdn_whitelist.dist %D/%%ETCDIR%%/clients_fqdn_whitelist; then rm -f %D/%%ETCDIR%%/clients_fqdn_whitelist; fi
@unexec [ -e %D/%%ETCDIR%%/clients_fqdn_whitelist.local -a ! -s %D/%%ETCDIR%%/clients_fqdn_whitelist.local ] && rm -f %D/%%ETCDIR%%/clients_fqdn_whitelist.local
@unexec if cmp -s %D/%%ETCDIR%%/clients_ip_whitelist.dist %D/%%ETCDIR%%/clients_ip_whitelist; then rm -f %D/%%ETCDIR%%/clients_ip_whitelist; fi
@unexec [ -e %D/%%ETCDIR%%/clients_ip_whitelist.local -a ! -s %D/%%ETCDIR%%/clients_ip_whitelist.local ] && rm -f %D/%%ETCDIR%%/clients_ip_whitelist.local
@unexec if cmp -s %D/%%ETCDIR%%/dyn_fqdn.regexp.dist %D/%%ETCDIR%%/dyn_fqdn.regexp; then rm -f %D/%%ETCDIR%%/dyn_fqdn.regexp; fi
@unexec if cmp -s %D/%%ETCDIR%%/smtp_server.regexp.dist %D/%%ETCDIR%%/smtp_server.regexp; then rm -f %D/%%ETCDIR%%/smtp_server.regexp; fi
@unexec if cmp -s %D/%%ETCDIR%%/sqlgrey.conf.dist %D/%%ETCDIR%%/sqlgrey.conf; then rm -f %D/%%ETCDIR%%/sqlgrey.conf; fi
%%ETCDIR%%/clients_fqdn_whitelist.dist
@exec [ -f %B/clients_fqdn_whitelist ] || cp %B/%f %B/clients_fqdn_whitelist
@exec [ -f %B/clients_fqdn_whitelist.local ] || %%TOUCH%% %B/clients_fqdn_whitelist.local
%%ETCDIR%%/clients_ip_whitelist.dist
@exec [ -f %B/clients_ip_whitelist ] || cp %B/%f %B/clients_ip_whitelist
@exec [ -f %B/clients_ip_whitelist.local ] || %%TOUCH%% %B/clients_ip_whitelist.local
%%ETCDIR%%/dyn_fqdn.regexp.dist
%%ETCDIR%%/smtp_server.regexp.dist
%%ETCDIR%%/sqlgrey.conf.dist
@exec [ -f %B/dyn_fqdn.regexp.dist ] || cp %B/%f %B/dyn_fqdn.regexp.dist
@exec [ -f %B/smtp_server.regexp.dist ] || cp %B/%f %B/smtp_server.regexp.dist
@exec [ -f %B/sqlgrey.conf ] || cp %B/%f %B/sqlgrey.conf
bin/sqlgrey-logstats.pl
sbin/sqlgrey
sbin/update_sqlgrey_config
@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
@unexec rmdir %D/%%ETCDIR%% 2>/dev/null || true