mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Even if it is stupid, people will modify the default.vcl file, so, treat it as
a normal configuration file and install it as .sample. While there, remove a remnant of STAGE conversion. Sponsored by: Absolight
This commit is contained in:
parent
661d7181fe
commit
e018ef891f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344293
2 changed files with 4 additions and 2 deletions
|
@ -61,8 +61,8 @@ post-install:
|
|||
.for f in vct.h vmod_abi.h vre.h vrt.h vqueue.h vsb.h libvarnish.h miniobj.h vas.h vav.h http_headers.h vcl_returns.h
|
||||
${INSTALL_DATA} ${WRKSRC}/include/${f} ${STAGEDIR}${PREFIX}/include/varnish
|
||||
.endfor
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${RM} -f ${STAGEDIR}${PREFIX}/lib/libvarnishapi.*a ${STAGEDIR}${PREFIX}/lib/varnish/lib*a ${STAGEDIR}${PREFIX}/lib/varnish/vmods/lib*a
|
||||
@${MV} ${STAGEDIR}${ETCDIR}/default.vcl ${STAGEDIR}${ETCDIR}/default.vcl.sample
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
|
@ -7,7 +7,9 @@ bin/varnishsizes
|
|||
bin/varnishstat
|
||||
bin/varnishtest
|
||||
bin/varnishtop
|
||||
etc/varnish/default.vcl
|
||||
@unexec if cmp -s %D/etc/varnish/default.vcl.sample %D/etc/varnish/default.vcl; then rm -f %D/etc/varnish/default.vcl; fi
|
||||
etc/varnish/default.vcl.sample
|
||||
@exec if [ ! -f %D/etc/varnish/default.vcl ] ; then cp -p %D/%F %B/default.vcl; fi
|
||||
include/varnish/acct_fields.h
|
||||
include/varnish/body_status.h
|
||||
include/varnish/cache.h
|
||||
|
|
Loading…
Add table
Reference in a new issue