varnish: update to 6.6.0 Based on pkgsrc-wip 5.1.1 package by Filip Hajny. Changes in Varnish 6.0 Support for UDS (Unix Domain Sockets) Because UNIX Domain Sockets have nothing like IP numbers, we were forced to define a new level of the VCL language vcl 4.1 to cope with UDS. The HTTP/2 code has received a lot of attention from Dag Haavi Finstad (Varnish Software) and it holds up in production on several large sites now. There are new and improved VMODs: vmod_directors – Much work on the shard director vmod_proxy – Proxy protocol information vmod_unix – Unix Domain Socket information vmod_vtc – Utility functions for writing varnishtest cases. The umem stevedore has been brought back on Solaris and it is the default storage method there now. More error situations now get vcl failure handling, this should make life simpler for everybody we hope. And it goes without saying that we have fixed a lot of bugs too. Changes in Varnish 5.0 Varnish 5.0 changes some (mostly) internal APIs and adds some major new features over Varnish 4.1. Separate VCL files and VCL labels Very Experimental HTTP/2 support The Shard Director Hit-For-Pass is now actually Hit-For-Miss Ban Lurker Improvements Request Body sent always / "cacheable POST" ESI and Backend Request Coalescing ("waitinglist") Improvement Backend PROXY protocol requests Default VCL search path devicedetect.vcl varnishtest misc News for VMOD authors Changes in Varnish 4 Varnish 4 is quite an extensive update to Varnish 3, with some very big improvements to central parts of varnish. Client/backend splitdiff -r1.30 -r1.31 pkgsrc/www/varnish/Makefile
(tnn)
@@ -1,68 +1,86 @@ | @@ -1,68 +1,86 @@ | |||
1 | # $NetBSD: Makefile,v 1.30 2020/01/26 17:32:25 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.31 2021/06/25 12:21:08 tnn Exp $ | |
2 | # | |||
3 | 2 | |||
4 | DISTNAME= varnish-3.0.6 | 3 | DISTNAME= varnish-6.6.0 | |
5 | PKGREVISION= 3 | |||
6 | CATEGORIES= www | 4 | CATEGORIES= www | |
7 | MASTER_SITES= http://repo.varnish-cache.org/source/ | 5 | MASTER_SITES= https://varnish-cache.org/_downloads/ | |
6 | EXTRACT_SUFX= .tgz | |||
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://varnish-cache.org/ | 9 | HOMEPAGE= https://varnish-cache.org/ | |
11 | COMMENT= High-performace HTTP accelerator | 10 | COMMENT= High-performace HTTP accelerator | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils | |||
14 | PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool | |||
15 | ||||
14 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
15 | USE_LIBTOOL= yes | 17 | USE_LIBTOOL= yes | |
16 | USE_TOOLS+= pkg-config gmake | 18 | USE_TOOLS+= pkg-config gmake | |
19 | ||||
17 | BUILD_DEFS+= VARBASE | 20 | BUILD_DEFS+= VARBASE | |
21 | BUILD_DEFS+= PKG_SYSCONFBASE | |||
18 | 22 | |||
23 | PKG_SYSCONFSUBDIR= varnish | |||
19 | EGDIR= ${PREFIX}/share/examples/varnish | 24 | EGDIR= ${PREFIX}/share/examples/varnish | |
20 | CONF_FILES= ${EGDIR}/default.vcl ${PKG_SYSCONFDIR}/default.vcl | 25 | CONF_FILES= ${EGDIR}/builtin.vcl \ | |
26 | ${PKG_SYSCONFDIR}/builtin.vcl | |||
27 | ||||
28 | .include "../../mk/bsd.prefs.mk" | |||
21 | 29 | |||
22 | VRNUSER?= varnish | 30 | VRNUSER?= varnish | |
23 | VRNGROUP?= ${VRNUSER} | 31 | VRNGROUP?= ${VRNUSER} | |
24 | STATEDIR= ${VARBASE}/db | 32 | STATEDIR= ${VARBASE}/db | |
25 | VRNDIR= ${STATEDIR}/${PKGBASE} | 33 | VRNDIR= ${STATEDIR}/${PKGBASE} | |
26 | 34 | |||
27 | CONFIGURE_ARGS+= --localstatedir=${STATEDIR} | |||
28 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |||
29 | OWN_DIRS+= ${VRNDIR} | 35 | OWN_DIRS+= ${VRNDIR} | |
30 | OWN_DIRS_PERMS+= ${VRNDIR} ${VRNUSER} ${VRNGROUP} 0770 | 36 | OWN_DIRS_PERMS+= ${VRNDIR} ${VRNUSER} ${VRNGROUP} 0770 | |
31 | 37 | |||
32 | PKG_GROUPS+= ${VRNGROUP} | 38 | PKG_GROUPS+= ${VRNGROUP} | |
33 | PKG_USERS+= ${VRNUSER}:${VRNGROUP} | 39 | PKG_USERS+= ${VRNUSER}:${VRNGROUP} | |
34 | PKG_HOME.${VRNUSER}= ${VRNDIR} | 40 | PKG_HOME.${VRNUSER}= ${VRNDIR} | |
35 | PKG_SHELL.${VRNUSER}= ${SH} | 41 | PKG_SHELL.${VRNUSER}= ${SH} | |
36 | PKG_GECOS.${VRNUSER}= Varnish daemon user | 42 | PKG_GECOS.${VRNUSER}= Varnish daemon user | |
37 | 43 | |||
38 | FILES_SUBST+= VRNUSER=${VRNUSER} | 44 | FILES_SUBST+= VRNUSER=${VRNUSER} | |
39 | FILES_SUBST+= VRNGROUP=${VRNGROUP} | 45 | FILES_SUBST+= VRNGROUP=${VRNGROUP} | |
40 | 46 | |||
41 | RCD_SCRIPTS= varnishd varnishlog varnishncsa | 47 | REPLACE_PYTHON+= lib/libvcc/vmodtool.py | |
42 | PYTHON_FOR_BUILD_ONLY= yes | 48 | REPLACE_PYTHON+= lib/libvcc/vsctool.py | |
43 | 49 | |||
44 | REPLACE_PYTHON+= lib/libvcl/generate.py | 50 | CONFIGURE_ARGS+= --localstatedir=${STATEDIR} | |
45 | REPLACE_PYTHON+= lib/libvmod_std/vmod.py | 51 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} | |
46 | ||||
47 | .include "../../lang/python/pyversion.mk" | |||
48 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils | |||
49 | CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} | |||
50 | CONFIGURE_ARGS+= --with-rst2html=${PREFIX}/bin/rst2html-${PYVERSSUFFIX} | 52 | CONFIGURE_ARGS+= --with-rst2html=${PREFIX}/bin/rst2html-${PYVERSSUFFIX} | |
53 | CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} | |||
54 | CONFIGURE_ARGS+= --with-sphinx-build=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} | |||
51 | 55 | |||
52 | .include "../../devel/pcre/buildlink3.mk" | |||
53 | .include "../../mk/bsd.prefs.mk" | |||
54 | ||||
55 | .if ${OPSYS} == "SunOS" | |||
56 | # Explicitly disable epoll on illumos, provided for Linux compat only. | 56 | # Explicitly disable epoll on illumos, provided for Linux compat only. | |
57 | CONFIGURE_ENV+= ac_cv_func_epoll_ctl=no | 57 | CONFIGURE_ARGS.SunOS+= --disable-epoll | |
58 | . if ${PKGSRC_COMPILER:Msunpro} | 58 | ||
59 | CONFIGURE_ENV+= VCC_CC="cc ${_COMPILER_ABI_FLAG.${ABI}} -Kpic -G -o %o %s" | 59 | .include "../../mk/compiler.mk" | |
60 | . else | 60 | ||
61 | CONFIGURE_ENV+= VCC_CC="gcc ${_COMPILER_ABI_FLAG.${ABI}} -fpic -shared -o %o %s" | 61 | # Fixes build on at least SunOS/i386 | |
62 | . endif | 62 | # See https://github.com/varnishcache/varnish-cache/issues/1875 | |
63 | .if !empty(CC_VERSION:Mgcc*) && ${MACHINE_ARCH} == "i386" | |||
64 | CFLAGS+= -fexcess-precision=standard | |||
63 | .endif | 65 | .endif | |
66 | LDFLAGS.NetBSD+= -lm # for ldexp | |||
67 | ||||
68 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} | |||
69 | ||||
70 | # not signed/unsigned char safe | |||
71 | BUILDLINK_TRANSFORM+= rm:-Werror | |||
64 | 72 | |||
73 | PKGCONFIG_OVERRIDE+= varnishapi.pc.in | |||
74 | ||||
75 | RCD_SCRIPTS= varnishd varnishlog varnishncsa | |||
76 | ||||
77 | TEST_TARGET= check | |||
78 | ||||
79 | .include "../../devel/pcre/buildlink3.mk" | |||
80 | .include "../../devel/libexecinfo/buildlink3.mk" | |||
81 | .include "../../lang/python/application.mk" | |||
82 | .include "../../lang/python/versioned_dependencies.mk" | |||
65 | .include "../../mk/curses.buildlink3.mk" | 83 | .include "../../mk/curses.buildlink3.mk" | |
66 | .include "../../mk/pthread.buildlink3.mk" | 84 | .include "../../mk/pthread.buildlink3.mk" | |
67 | .include "../../mk/readline.buildlink3.mk" | 85 | .include "../../mk/readline.buildlink3.mk" | |
68 | .include "../../mk/bsd.pkg.mk" | 86 | .include "../../mk/bsd.pkg.mk" |
@@ -1,41 +1,132 @@ | @@ -1,41 +1,132 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.9 2014/03/11 14:05:18 jperkin Exp $ | 1 | @comment $NetBSD: PLIST,v 1.10 2021/06/25 12:21:08 tnn Exp $ | |
2 | bin/varnishadm | 2 | bin/varnishadm | |
3 | bin/varnishhist | 3 | bin/varnishhist | |
4 | bin/varnishlog | 4 | bin/varnishlog | |
5 | bin/varnishncsa | 5 | bin/varnishncsa | |
6 | bin/varnishreplay | |||
7 | bin/varnishsizes | |||
8 | bin/varnishstat | 6 | bin/varnishstat | |
7 | bin/varnishstat_help_gen | |||
9 | bin/varnishtest | 8 | bin/varnishtest | |
10 | bin/varnishtop | 9 | bin/varnishtop | |
11 | include/varnish/varnishapi.h | 10 | include/varnish/cache/cache.h | |
11 | include/varnish/cache/cache_backend.h | |||
12 | include/varnish/cache/cache_director.h | |||
13 | include/varnish/cache/cache_filter.h | |||
14 | include/varnish/cache/cache_varnishd.h | |||
15 | include/varnish/common/common_param.h | |||
16 | include/varnish/miniobj.h | |||
17 | include/varnish/tbl/acct_fields_bereq.h | |||
18 | include/varnish/tbl/acct_fields_req.h | |||
19 | include/varnish/tbl/backend_poll.h | |||
20 | include/varnish/tbl/ban_arg_oper.h | |||
21 | include/varnish/tbl/ban_oper.h | |||
22 | include/varnish/tbl/ban_vars.h | |||
23 | include/varnish/tbl/bo_flags.h | |||
24 | include/varnish/tbl/boc_state.h | |||
25 | include/varnish/tbl/body_status.h | |||
26 | include/varnish/tbl/cli_cmds.h | |||
27 | include/varnish/tbl/debug_bits.h | |||
28 | include/varnish/tbl/feature_bits.h | |||
29 | include/varnish/tbl/h2_error.h | |||
30 | include/varnish/tbl/h2_frames.h | |||
31 | include/varnish/tbl/h2_settings.h | |||
32 | include/varnish/tbl/h2_stream.h | |||
33 | include/varnish/tbl/htc.h | |||
34 | include/varnish/tbl/http_headers.h | |||
35 | include/varnish/tbl/http_response.h | |||
36 | include/varnish/tbl/locks.h | |||
37 | include/varnish/tbl/mgt_vcc.h | |||
38 | include/varnish/tbl/obj_attr.h | |||
39 | include/varnish/tbl/oc_exp_flags.h | |||
40 | include/varnish/tbl/oc_flags.h | |||
41 | include/varnish/tbl/params.h | |||
42 | include/varnish/tbl/req_flags.h | |||
43 | include/varnish/tbl/sess_attr.h | |||
44 | include/varnish/tbl/sess_close.h | |||
45 | include/varnish/tbl/symbol_kind.h | |||
46 | include/varnish/tbl/vcl_returns.h | |||
47 | include/varnish/tbl/vcl_states.h | |||
48 | include/varnish/tbl/vhd_fsm.h | |||
49 | include/varnish/tbl/vhd_fsm_funcs.h | |||
50 | include/varnish/tbl/vhd_return.h | |||
51 | include/varnish/tbl/vhp_huffman.h | |||
52 | include/varnish/tbl/vhp_static.h | |||
53 | include/varnish/tbl/vrt_stv_var.h | |||
54 | include/varnish/tbl/vsc_levels.h | |||
55 | include/varnish/tbl/vsig_list.h | |||
56 | include/varnish/tbl/vsl_tags.h | |||
57 | include/varnish/tbl/vsl_tags_http.h | |||
58 | include/varnish/tbl/waiters.h | |||
59 | include/varnish/vapi/vapi_options.h | |||
60 | include/varnish/vapi/voptget.h | |||
61 | include/varnish/vapi/vsc.h | |||
62 | include/varnish/vapi/vsig.h | |||
63 | include/varnish/vapi/vsl.h | |||
64 | include/varnish/vapi/vsl_int.h | |||
65 | include/varnish/vapi/vsm.h | |||
66 | include/varnish/vas.h | |||
67 | include/varnish/vav.h | |||
68 | include/varnish/vbh.h | |||
69 | include/varnish/vbm.h | |||
70 | include/varnish/vcl.h | |||
12 | include/varnish/vcli.h | 71 | include/varnish/vcli.h | |
13 | include/varnish/vsc.h | 72 | include/varnish/vcs.h | |
14 | include/varnish/vsc_all.h | 73 | include/varnish/vdef.h | |
15 | include/varnish/vsc_fields.h | 74 | include/varnish/vmod_abi.h | |
16 | include/varnish/vsl.h | 75 | include/varnish/vqueue.h | |
17 | include/varnish/vsl_tags.h | 76 | include/varnish/vre.h | |
18 | include/varnish/vsm.h | 77 | include/varnish/vrnd.h | |
78 | include/varnish/vrt.h | |||
79 | include/varnish/vrt_obj.h | |||
80 | include/varnish/vsa.h | |||
81 | include/varnish/vsb.h | |||
82 | include/varnish/vsha256.h | |||
83 | include/varnish/vtcp.h | |||
84 | include/varnish/vtim.h | |||
85 | include/varnish/vtree.h | |||
86 | include/varnish/vut.h | |||
87 | include/varnish/vut_options.h | |||
88 | include/varnish/waiter/waiter.h | |||
19 | lib/libvarnishapi.la | 89 | lib/libvarnishapi.la | |
20 | lib/pkgconfig/varnishapi.pc | 90 | lib/pkgconfig/varnishapi.pc | |
21 | lib/varnish/libvarnish.la | 91 | lib/varnish/vmods/libvmod_blob.la | |
22 | lib/varnish/libvarnishcompat.la | 92 | lib/varnish/vmods/libvmod_cookie.la | |
23 | lib/varnish/libvcl.la | 93 | lib/varnish/vmods/libvmod_debug.la | |
24 | lib/varnish/libvgz.la | 94 | lib/varnish/vmods/libvmod_directors.la | |
95 | lib/varnish/vmods/libvmod_proxy.la | |||
96 | lib/varnish/vmods/libvmod_purge.la | |||
25 | lib/varnish/vmods/libvmod_std.la | 97 | lib/varnish/vmods/libvmod_std.la | |
98 | lib/varnish/vmods/libvmod_unix.la | |||
99 | lib/varnish/vmods/libvmod_vtc.la | |||
26 | man/man1/varnishadm.1 | 100 | man/man1/varnishadm.1 | |
27 | man/man1/varnishd.1 | 101 | man/man1/varnishd.1 | |
28 | man/man1/varnishhist.1 | 102 | man/man1/varnishhist.1 | |
29 | man/man1/varnishlog.1 | 103 | man/man1/varnishlog.1 | |
30 | man/man1/varnishncsa.1 | 104 | man/man1/varnishncsa.1 | |
31 | man/man1/varnishreplay.1 | |||
32 | man/man1/varnishsizes.1 | |||
33 | man/man1/varnishstat.1 | 105 | man/man1/varnishstat.1 | |
34 | man/man1/varnishtest.1 | 106 | man/man1/varnishtest.1 | |
35 | man/man1/varnishtop.1 | 107 | man/man1/varnishtop.1 | |
108 | man/man3/vmod_blob.3 | |||
109 | man/man3/vmod_cookie.3 | |||
110 | man/man3/vmod_directors.3 | |||
111 | man/man3/vmod_proxy.3 | |||
112 | man/man3/vmod_purge.3 | |||
36 | man/man3/vmod_std.3 | 113 | man/man3/vmod_std.3 | |
114 | man/man3/vmod_unix.3 | |||
115 | man/man3/vmod_vtc.3 | |||
37 | man/man7/varnish-cli.7 | 116 | man/man7/varnish-cli.7 | |
38 | man/man7/varnish-counters.7 | 117 | man/man7/varnish-counters.7 | |
118 | man/man7/vcl-backend.7 | |||
119 | man/man7/vcl-probe.7 | |||
120 | man/man7/vcl-var.7 | |||
39 | man/man7/vcl.7 | 121 | man/man7/vcl.7 | |
122 | man/man7/vsl-query.7 | |||
123 | man/man7/vsl.7 | |||
124 | man/man7/vtc.7 | |||
40 | sbin/varnishd | 125 | sbin/varnishd | |
41 | share/examples/varnish/default.vcl | 126 | share/aclocal/varnish-legacy.m4 | |
127 | share/aclocal/varnish.m4 | |||
128 | share/examples/varnish/builtin.vcl | |||
129 | share/examples/varnish/example.vcl | |||
130 | share/varnish/vcl/devicedetect.vcl | |||
131 | share/varnish/vmodtool.py | |||
132 | share/varnish/vsctool.py |
@@ -1,20 +1,16 @@ | @@ -1,20 +1,16 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.1 2020/07/13 18:43:22 wiz Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.2 2021/06/25 12:21:08 tnn Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= varnish | 3 | BUILDLINK_TREE+= varnish | |
4 | 4 | |||
5 | .if !defined(VARNISH_BUILDLINK3_MK) | 5 | .if !defined(VARNISH_BUILDLINK3_MK) | |
6 | VARNISH_BUILDLINK3_MK:= | 6 | VARNISH_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.varnish+= varnish>=3.0.6nb3 | 8 | BUILDLINK_API_DEPENDS.varnish+= varnish>=6.6.0 | |
9 | BUILDLINK_PKGSRCDIR.varnish?= ../../www/varnish | 9 | BUILDLINK_PKGSRCDIR.varnish?= ../../www/varnish | |
10 | BUILDLINK_INCDIRS.varnish= include/varnish | |||
11 | BUILDLINK_LIBDIRS.varnish= lib/varnish | |||
12 | 10 | |||
11 | .include "../../devel/libexecinfo/buildlink3.mk" | |||
13 | .include "../../devel/pcre/buildlink3.mk" | 12 | .include "../../devel/pcre/buildlink3.mk" | |
14 | .include "../../mk/curses.buildlink3.mk" | |||
15 | .include "../../mk/pthread.buildlink3.mk" | |||
16 | .include "../../mk/readline.buildlink3.mk" | |||
17 | 13 | |||
18 | .endif # VARNISH_BUILDLINK3_MK | 14 | .endif # VARNISH_BUILDLINK3_MK | |
19 | 15 | |||
20 | BUILDLINK_TREE+= -varnish | 16 | BUILDLINK_TREE+= -varnish |
@@ -1,7 +1,9 @@ | @@ -1,7 +1,9 @@ | |||
1 | $NetBSD: distinfo,v 1.14 2015/11/04 02:47:41 agc Exp $ | 1 | $NetBSD: distinfo,v 1.15 2021/06/25 12:21:08 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (varnish-3.0.6.tar.gz) = c58590f87f0981c3c10c4066d739e93352678824 | 3 | SHA1 (varnish-6.6.0.tgz) = c330a3cbdbb13586338d1419ef8913efbd3816ae | |
4 | RMD160 (varnish-3.0.6.tar.gz) = 29b298800bff08ff471e081fa64e49e34d484bcd | 4 | RMD160 (varnish-6.6.0.tgz) = 550dfcf68597dc2937c7eafa7dd03ff805c3cdfa | |
5 | SHA512 (varnish-3.0.6.tar.gz) = 6dcbbf1407e72f9fe6c156a4074d9d42ce147d225cd3001b3240a22ed02e7adf2e900671f9f7e81cbd6b565b29ac65e0436c08c295763b5f7d48b6ab76a1c6b3 | 5 | SHA512 (varnish-6.6.0.tgz) = 0f52e94dd866a7cf141f9333a9169b396627f169907acb2d64f18dcac3188f9d9f1e72ea9eb9f2c0c19a5f53df0c90446041eb2b1e52f4756ea257efb329d0d1 | |
6 | Size (varnish-3.0.6.tar.gz) = 2049810 bytes | 6 | Size (varnish-6.6.0.tgz) = 3519048 bytes | |
7 | SHA1 (patch-etc__Makefile.in) = 86424950049721ef224facdfbe4cb630a2c46532 | 7 | SHA1 (patch-bin_varnishd_cache_cache__panic.c) = cf2b9c1f2c3ba15c7e20baca3c9af607a3e1fa82 | |
8 | SHA1 (patch-etc_Makefile.in) = f4407cad5f9f6c6402ab3b7fce0e1577d70b36be | |||
9 | SHA1 (patch-include_tbl_params.h) = 7a52ef6a98ec29409c7284876adffdb5c53facff |
$NetBSD: patch-bin_varnishd_cache_cache__panic.c,v 1.1 2021/06/25 12:21:08 tnn Exp $
Need sys/cdefs.h for __BEGIN_DECLS/__END_DECLS.
--- bin/varnishd/cache/cache_panic.c.orig 2021-03-12 15:02:41.000000000 +0000
+++ bin/varnishd/cache/cache_panic.c
@@ -31,6 +31,10 @@
#include "config.h"
+#ifdef __NetBSD__
+#include <sys/cdefs.h>
+#endif
+
#ifdef WITH_UNWIND
# include <libunwind.h>
#else
$NetBSD: patch-etc_Makefile.in,v 1.1 2021/06/25 12:21:08 tnn Exp $
Use standard sysconfdir for vcl files.
--- etc/Makefile.in.orig 2021-03-15 11:36:30.000000000 +0000
+++ etc/Makefile.in
@@ -157,7 +157,7 @@ am__uninstall_files_from_dir = { \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
-am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(vcldir)"
+am__installdirs = "$(DESTDIR)$(sysconfdir)" "$(DESTDIR)$(vcldir)"
DATA = $(dist_doc_DATA) $(dist_vcl_DATA)
am__extra_recursive_targets = recheck-recursive
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
@@ -380,18 +380,18 @@ clean-libtool:
-rm -rf .libs _libs
install-dist_docDATA: $(dist_doc_DATA)
@$(NORMAL_INSTALL)
- @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
+ @list='$(dist_doc_DATA)'; test -n "$(sysconfdir)" || list=; \
if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
+ echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
done
uninstall-dist_docDATA:
@@ -465,7 +465,7 @@ check-am: all-am
check: check-am
all-am: Makefile $(DATA)
installdirs:
- for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(vcldir)"; do \
+ for dir in "$(DESTDIR)$(sysconfdir)" "$(DESTDIR)$(vcldir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
$NetBSD: patch-include_tbl_params.h,v 1.1 2021/06/25 12:21:08 tnn Exp $
Change some default limits to cover NetBSD defaults.
--- include/tbl/params.h.orig 2021-03-12 15:02:41.000000000 +0000
+++ include/tbl/params.h
@@ -856,7 +856,7 @@ PARAM_SIMPLE(
/* name */ tcp_keepalive_intvl,
/* type */ timeout,
/* min */ "1",
- /* max */ "100",
+ /* max */ "150",
/* def */ NULL,
/* units */ "seconds",
/* descr */
@@ -889,7 +889,7 @@ PARAM_SIMPLE(
/* name */ tcp_keepalive_time,
/* type */ timeout,
/* min */ "1",
- /* max */ "7200",
+ /* max */ "14400",
/* def */ NULL,
/* units */ "seconds",
/* descr */