File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,9 +177,8 @@ post-install:
177177 -${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
178178 -${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/apache24/mod_*.so
179179
180- .if ${PORT_OPTIONS :MLOG_FORENSIC}
180+ post-install-LOG_FORENSIC-on :
181181 ${INSTALL_SCRIPT} ${WRKSRC} /support/check_forensic ${STAGEDIR}${PREFIX} /sbin
182- .endif
183182
184183# maintainer only, check for new modules
185184modlist : extract
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ envvars="%%PREFIX%%/sbin/envvars"
5252apache24_accf ()
5353{
5454 if checkyesno apache24_http_accept_enable; then
55- /sbin/kldstat -v | grep accf_http > /dev/null 2>&1 || /sbin/kldload accf_http || return ${?}
56- /sbin/kldstat -v | grep accf_data > /dev/null 2>&1 || /sbin/kldload accf_data || return ${?}
55+ /sbin/kldstat -qm accf_http || /sbin/kldload accf_http || return ${?}
56+ /sbin/kldstat -qm accf_data || /sbin/kldload accf_data || return ${?}
5757 else
5858 apache24_flags=" ${apache24_flags} -DNOHTTPACCEPT"
5959 fi
Original file line number Diff line number Diff line change @@ -243,9 +243,9 @@ sbin/split-logfile
243243%%DATADIR%%/build/program.mk
244244%%DATADIR%%/build/rules.mk
245245%%DATADIR%%/build/special.mk
246- @unexec if cmp -s %D/%%WWWDIR%%/data/index.html %D/%%DATADIR%%/misc/index.html; then rm -f %D/%%WWWDIR%%/data/index.html; fi
246+ @preunexec if cmp -s %D/%%WWWDIR%%/data/index.html %D/%%DATADIR%%/misc/index.html; then rm -f %D/%%WWWDIR%%/data/index.html; fi
247247%%DATADIR%%/misc/index.html
248- @exec [ -f %D/%%WWWDIR%%/data/index.html ] || cp %D/%%DATADIR%%/misc/index.html %D/%%WWWDIR%%/data/index.html
248+ @postexec [ -f %D/%%WWWDIR%%/data/index.html ] || cp %D/%%DATADIR%%/misc/index.html %D/%%WWWDIR%%/data/index.html
249249@(,,0400) %%WWWDIR%%/cgi-bin/printenv
250250@(,,0400) %%WWWDIR%%/cgi-bin/test-cgi
251251%%WWWDIR%%/error/HTTP_BAD_GATEWAY.html.var
@@ -510,6 +510,6 @@ sbin/split-logfile
510510%%WWWDIR%%/icons/world2.gif
511511%%WWWDIR%%/icons/world2.png
512512%%WWWDIR%%/icons/xml.png
513- @unexec rm -f %D/%%ETCDIR%%/httpd.conf.bak 2> /dev/null || true
513+ @preunexec rm -f %D/%%ETCDIR%%/httpd.conf.bak 2> /dev/null || true
514514@dir %%ETCDIR%%/envvars.d
515515@dir %%WWWDIR%%/data
You can’t perform that action at this time.
0 commit comments