mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
009c4d7c5b
While I'm here: o) utilize %%ETCDIR%%; o) do not overwrite configuration and service files in ${ETCDIR} if they exist; o) remove necessary DISTNAME (found by portlint(1)); o) fix build with clang. Bump PORTREVISION. Tested by: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
66 lines
3.1 KiB
Plaintext
66 lines
3.1 KiB
Plaintext
@unexec if cmp -s %D/%%ETCDIR%%/accel_maps %D/%%ETCDIR%%/accel_maps.sample; then rm -f %D/%%ETCDIR%%/accel_maps; fi
|
|
%%ETCDIR%%/accel_maps.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/accel_maps ] ; then cp -p %D/%F %B/accel_maps; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/acl_local_networks %D/%%ETCDIR%%/acl_local_networks.sample; then rm -f %D/%%ETCDIR%%/acl_local_networks; fi
|
|
%%ETCDIR%%/acl_local_networks.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/acl_local_networks ] ; then cp -p %D/%F %B/acl_local_networks; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/auth_template.html %D/%%ETCDIR%%/auth_template.html.sample; then rm -f %D/%%ETCDIR%%/auth_template.html; fi
|
|
%%ETCDIR%%/auth_template.html.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/auth_template.html ] ; then cp -p %D/%F %B/auth_template.html; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/err_template.html %D/%%ETCDIR%%/err_template.html.sample; then rm -f %D/%%ETCDIR%%/err_template.html; fi
|
|
%%ETCDIR%%/err_template.html.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/err_template.html ] ; then cp -p %D/%F %B/err_template.html; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/oops.cfg %D/%%ETCDIR%%/oops.cfg.sample; then rm -f %D/%%ETCDIR%%/oops.cfg; fi
|
|
%%ETCDIR%%/oops.cfg.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/oops.cfg ] ; then cp -p %D/%F %B/oops.cfg; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/passwd %D/%%ETCDIR%%/passwd.sample; then rm -f %D/%%ETCDIR%%/passwd; fi
|
|
%%ETCDIR%%/passwd.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/passwd ] ; then cp -p %D/%F %B/passwd; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/redir_rules %D/%%ETCDIR%%/redir_rules.sample; then rm -f %D/%%ETCDIR%%/redir_rules; fi
|
|
%%ETCDIR%%/redir_rules.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/redir_rules ] ; then cp -p %D/%F %B/redir_rules; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/redir_template.html %D/%%ETCDIR%%/redir_template.html.sample; then rm -f %D/%%ETCDIR%%/redir_template.html; fi
|
|
%%ETCDIR%%/redir_template.html.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/redir_template.html ] ; then cp -p %D/%F %B/redir_template.html; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/select.sql %D/%%ETCDIR%%/select.sql.sample; then rm -f %D/%%ETCDIR%%/select.sql; fi
|
|
%%ETCDIR%%/select.sql.sample
|
|
@exec if [ ! -f %D/%%ETCDIR%%/select.sql ] ; then cp -p %D/%F %B/select.sql; fi
|
|
%%ETCDIR%%/tables/koi-alt.tab
|
|
%%ETCDIR%%/tables/koi-iso.tab
|
|
%%ETCDIR%%/tables/koi-win.tab
|
|
libexec/oops/accel.so
|
|
libexec/oops/berkeley_db_api.so
|
|
libexec/oops/custom_log.so
|
|
libexec/oops/err.so
|
|
libexec/oops/fastredir.so
|
|
libexec/oops/gigabase_db_api.so
|
|
libexec/oops/lang.so
|
|
libexec/oops/log_dummy.so
|
|
libexec/oops/netflow.so
|
|
libexec/oops/oopsctl_mod.so
|
|
libexec/oops/pam.so
|
|
libexec/oops/passwd_file.so
|
|
libexec/oops/passwd_ldap.so
|
|
libexec/oops/passwd_mysql.so
|
|
libexec/oops/passwd_pgsql.so
|
|
libexec/oops/redir.so
|
|
libexec/oops/transparent.so
|
|
libexec/oops/vary_header.so
|
|
libexec/oops/wccp2.so
|
|
libexec/oops/win_http.so
|
|
sbin/oops
|
|
sbin/oopsctl
|
|
@dirrm libexec/oops
|
|
@dirrm %%ETCDIR%%/tables
|
|
@dirrmtry %%ETCDIR%%
|
|
@dirrmtry oops/DB
|
|
@dirrmtry oops/logs
|
|
@dirrmtry oops/storages
|
|
@dirrmtry oops
|
|
@cwd /
|
|
@dirrmtry /var/log/oops
|
|
@unexec rm -f /var/run/oops/oopsctl 2>/dev/null || true
|
|
@unexec rm -f /var/run/oops/oops_statfile 2>/dev/null || true
|
|
@unexec rm -f /var/run/oops/oops.pid 2>/dev/null || true
|
|
@dirrmtry /var/run/oops
|