2005-02-18 11:39:31 +00:00
|
|
|
@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
|
2005-11-23 17:22:15 +00:00
|
|
|
@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
|
2005-02-18 11:39:31 +00:00
|
|
|
@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
|
2005-11-23 17:22:15 +00:00
|
|
|
%%ETCDIR%%/dyn_fqdn.regexp.dist
|
|
|
|
%%ETCDIR%%/smtp_server.regexp.dist
|
2005-02-18 11:39:31 +00:00
|
|
|
%%ETCDIR%%/sqlgrey.conf.dist
|
2005-11-23 17:22:15 +00:00
|
|
|
@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
|
2005-02-18 11:39:31 +00:00
|
|
|
@exec [ -f %B/sqlgrey.conf ] || cp %B/%f %B/sqlgrey.conf
|
2005-11-23 17:22:15 +00:00
|
|
|
bin/sqlgrey-logstats.pl
|
2005-02-18 11:39:31 +00:00
|
|
|
sbin/sqlgrey
|
2005-11-23 17:22:15 +00:00
|
|
|
sbin/update_sqlgrey_config
|
2006-01-22 02:20:05 +00:00
|
|
|
@dirrmtry %%DATADIR%%
|
|
|
|
@dirrmtry %%ETCDIR%%
|