Received: by mail.netbsd.org (Postfix, from userid 605) id DA4C484D1B; Fri, 25 Jun 2021 12:21:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 21B9884D10 for ; Fri, 25 Jun 2021 12:21:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id VYK218miIFc9 for ; Fri, 25 Jun 2021 12:21:08 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C0C6D84CE1 for ; Fri, 25 Jun 2021 12:21:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B47AFFA95; Fri, 25 Jun 2021 12:21:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1624623668186840" MIME-Version: 1.0 Date: Fri, 25 Jun 2021 12:21:08 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/www/varnish To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20210625122108.B47AFFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1624623668186840 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: tnn Date: Fri Jun 25 12:21:08 UTC 2021 Modified Files: pkgsrc/www/varnish: Makefile PLIST buildlink3.mk distinfo Added Files: pkgsrc/www/varnish/patches: patch-bin_varnishd_cache_cache__panic.c patch-etc_Makefile.in patch-include_tbl_params.h Removed Files: pkgsrc/www/varnish/patches: patch-etc__Makefile.in Log Message: 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 split To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 pkgsrc/www/varnish/Makefile cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/varnish/PLIST cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/varnish/buildlink3.mk cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/varnish/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/www/varnish/patches/patch-bin_varnishd_cache_cache__panic.c \ pkgsrc/www/varnish/patches/patch-etc_Makefile.in \ pkgsrc/www/varnish/patches/patch-include_tbl_params.h cvs rdiff -u -r1.1 -r0 pkgsrc/www/varnish/patches/patch-etc__Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1624623668186840 Content-Disposition: inline Content-Length: 14444 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/www/varnish/Makefile diff -u pkgsrc/www/varnish/Makefile:1.30 pkgsrc/www/varnish/Makefile:1.31 --- pkgsrc/www/varnish/Makefile:1.30 Sun Jan 26 17:32:25 2020 +++ pkgsrc/www/varnish/Makefile Fri Jun 25 12:21:08 2021 @@ -1,31 +1,37 @@ -# $NetBSD: Makefile,v 1.30 2020/01/26 17:32:25 rillig Exp $ -# +# $NetBSD: Makefile,v 1.31 2021/06/25 12:21:08 tnn Exp $ -DISTNAME= varnish-3.0.6 -PKGREVISION= 3 +DISTNAME= varnish-6.6.0 CATEGORIES= www -MASTER_SITES= http://repo.varnish-cache.org/source/ +MASTER_SITES= https://varnish-cache.org/_downloads/ +EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://varnish-cache.org/ COMMENT= High-performace HTTP accelerator LICENSE= modified-bsd +BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils +PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool + GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake + BUILD_DEFS+= VARBASE +BUILD_DEFS+= PKG_SYSCONFBASE +PKG_SYSCONFSUBDIR= varnish EGDIR= ${PREFIX}/share/examples/varnish -CONF_FILES= ${EGDIR}/default.vcl ${PKG_SYSCONFDIR}/default.vcl +CONF_FILES= ${EGDIR}/builtin.vcl \ + ${PKG_SYSCONFDIR}/builtin.vcl + +.include "../../mk/bsd.prefs.mk" VRNUSER?= varnish VRNGROUP?= ${VRNUSER} STATEDIR= ${VARBASE}/db VRNDIR= ${STATEDIR}/${PKGBASE} -CONFIGURE_ARGS+= --localstatedir=${STATEDIR} -CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} OWN_DIRS+= ${VRNDIR} OWN_DIRS_PERMS+= ${VRNDIR} ${VRNUSER} ${VRNGROUP} 0770 @@ -38,30 +44,42 @@ PKG_GECOS.${VRNUSER}= Varnish daemon use FILES_SUBST+= VRNUSER=${VRNUSER} FILES_SUBST+= VRNGROUP=${VRNGROUP} -RCD_SCRIPTS= varnishd varnishlog varnishncsa -PYTHON_FOR_BUILD_ONLY= yes +REPLACE_PYTHON+= lib/libvcc/vmodtool.py +REPLACE_PYTHON+= lib/libvcc/vsctool.py -REPLACE_PYTHON+= lib/libvcl/generate.py -REPLACE_PYTHON+= lib/libvmod_std/vmod.py - -.include "../../lang/python/pyversion.mk" -BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils -CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} +CONFIGURE_ARGS+= --localstatedir=${STATEDIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} CONFIGURE_ARGS+= --with-rst2html=${PREFIX}/bin/rst2html-${PYVERSSUFFIX} +CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} +CONFIGURE_ARGS+= --with-sphinx-build=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} -.include "../../devel/pcre/buildlink3.mk" -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" # Explicitly disable epoll on illumos, provided for Linux compat only. -CONFIGURE_ENV+= ac_cv_func_epoll_ctl=no -. if ${PKGSRC_COMPILER:Msunpro} -CONFIGURE_ENV+= VCC_CC="cc ${_COMPILER_ABI_FLAG.${ABI}} -Kpic -G -o %o %s" -. else -CONFIGURE_ENV+= VCC_CC="gcc ${_COMPILER_ABI_FLAG.${ABI}} -fpic -shared -o %o %s" -. endif +CONFIGURE_ARGS.SunOS+= --disable-epoll + +.include "../../mk/compiler.mk" + +# Fixes build on at least SunOS/i386 +# See https://github.com/varnishcache/varnish-cache/issues/1875 +.if !empty(CC_VERSION:Mgcc*) && ${MACHINE_ARCH} == "i386" +CFLAGS+= -fexcess-precision=standard .endif +LDFLAGS.NetBSD+= -lm # for ldexp + +INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} + +# not signed/unsigned char safe +BUILDLINK_TRANSFORM+= rm:-Werror +PKGCONFIG_OVERRIDE+= varnishapi.pc.in + +RCD_SCRIPTS= varnishd varnishlog varnishncsa + +TEST_TARGET= check + +.include "../../devel/pcre/buildlink3.mk" +.include "../../devel/libexecinfo/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/curses.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/readline.buildlink3.mk" Index: pkgsrc/www/varnish/PLIST diff -u pkgsrc/www/varnish/PLIST:1.9 pkgsrc/www/varnish/PLIST:1.10 --- pkgsrc/www/varnish/PLIST:1.9 Tue Mar 11 14:05:18 2014 +++ pkgsrc/www/varnish/PLIST Fri Jun 25 12:21:08 2021 @@ -1,41 +1,132 @@ -@comment $NetBSD: PLIST,v 1.9 2014/03/11 14:05:18 jperkin Exp $ +@comment $NetBSD: PLIST,v 1.10 2021/06/25 12:21:08 tnn Exp $ bin/varnishadm bin/varnishhist bin/varnishlog bin/varnishncsa -bin/varnishreplay -bin/varnishsizes bin/varnishstat +bin/varnishstat_help_gen bin/varnishtest bin/varnishtop -include/varnish/varnishapi.h +include/varnish/cache/cache.h +include/varnish/cache/cache_backend.h +include/varnish/cache/cache_director.h +include/varnish/cache/cache_filter.h +include/varnish/cache/cache_varnishd.h +include/varnish/common/common_param.h +include/varnish/miniobj.h +include/varnish/tbl/acct_fields_bereq.h +include/varnish/tbl/acct_fields_req.h +include/varnish/tbl/backend_poll.h +include/varnish/tbl/ban_arg_oper.h +include/varnish/tbl/ban_oper.h +include/varnish/tbl/ban_vars.h +include/varnish/tbl/bo_flags.h +include/varnish/tbl/boc_state.h +include/varnish/tbl/body_status.h +include/varnish/tbl/cli_cmds.h +include/varnish/tbl/debug_bits.h +include/varnish/tbl/feature_bits.h +include/varnish/tbl/h2_error.h +include/varnish/tbl/h2_frames.h +include/varnish/tbl/h2_settings.h +include/varnish/tbl/h2_stream.h +include/varnish/tbl/htc.h +include/varnish/tbl/http_headers.h +include/varnish/tbl/http_response.h +include/varnish/tbl/locks.h +include/varnish/tbl/mgt_vcc.h +include/varnish/tbl/obj_attr.h +include/varnish/tbl/oc_exp_flags.h +include/varnish/tbl/oc_flags.h +include/varnish/tbl/params.h +include/varnish/tbl/req_flags.h +include/varnish/tbl/sess_attr.h +include/varnish/tbl/sess_close.h +include/varnish/tbl/symbol_kind.h +include/varnish/tbl/vcl_returns.h +include/varnish/tbl/vcl_states.h +include/varnish/tbl/vhd_fsm.h +include/varnish/tbl/vhd_fsm_funcs.h +include/varnish/tbl/vhd_return.h +include/varnish/tbl/vhp_huffman.h +include/varnish/tbl/vhp_static.h +include/varnish/tbl/vrt_stv_var.h +include/varnish/tbl/vsc_levels.h +include/varnish/tbl/vsig_list.h +include/varnish/tbl/vsl_tags.h +include/varnish/tbl/vsl_tags_http.h +include/varnish/tbl/waiters.h +include/varnish/vapi/vapi_options.h +include/varnish/vapi/voptget.h +include/varnish/vapi/vsc.h +include/varnish/vapi/vsig.h +include/varnish/vapi/vsl.h +include/varnish/vapi/vsl_int.h +include/varnish/vapi/vsm.h +include/varnish/vas.h +include/varnish/vav.h +include/varnish/vbh.h +include/varnish/vbm.h +include/varnish/vcl.h include/varnish/vcli.h -include/varnish/vsc.h -include/varnish/vsc_all.h -include/varnish/vsc_fields.h -include/varnish/vsl.h -include/varnish/vsl_tags.h -include/varnish/vsm.h +include/varnish/vcs.h +include/varnish/vdef.h +include/varnish/vmod_abi.h +include/varnish/vqueue.h +include/varnish/vre.h +include/varnish/vrnd.h +include/varnish/vrt.h +include/varnish/vrt_obj.h +include/varnish/vsa.h +include/varnish/vsb.h +include/varnish/vsha256.h +include/varnish/vtcp.h +include/varnish/vtim.h +include/varnish/vtree.h +include/varnish/vut.h +include/varnish/vut_options.h +include/varnish/waiter/waiter.h lib/libvarnishapi.la lib/pkgconfig/varnishapi.pc -lib/varnish/libvarnish.la -lib/varnish/libvarnishcompat.la -lib/varnish/libvcl.la -lib/varnish/libvgz.la +lib/varnish/vmods/libvmod_blob.la +lib/varnish/vmods/libvmod_cookie.la +lib/varnish/vmods/libvmod_debug.la +lib/varnish/vmods/libvmod_directors.la +lib/varnish/vmods/libvmod_proxy.la +lib/varnish/vmods/libvmod_purge.la lib/varnish/vmods/libvmod_std.la +lib/varnish/vmods/libvmod_unix.la +lib/varnish/vmods/libvmod_vtc.la man/man1/varnishadm.1 man/man1/varnishd.1 man/man1/varnishhist.1 man/man1/varnishlog.1 man/man1/varnishncsa.1 -man/man1/varnishreplay.1 -man/man1/varnishsizes.1 man/man1/varnishstat.1 man/man1/varnishtest.1 man/man1/varnishtop.1 +man/man3/vmod_blob.3 +man/man3/vmod_cookie.3 +man/man3/vmod_directors.3 +man/man3/vmod_proxy.3 +man/man3/vmod_purge.3 man/man3/vmod_std.3 +man/man3/vmod_unix.3 +man/man3/vmod_vtc.3 man/man7/varnish-cli.7 man/man7/varnish-counters.7 +man/man7/vcl-backend.7 +man/man7/vcl-probe.7 +man/man7/vcl-var.7 man/man7/vcl.7 +man/man7/vsl-query.7 +man/man7/vsl.7 +man/man7/vtc.7 sbin/varnishd -share/examples/varnish/default.vcl +share/aclocal/varnish-legacy.m4 +share/aclocal/varnish.m4 +share/examples/varnish/builtin.vcl +share/examples/varnish/example.vcl +share/varnish/vcl/devicedetect.vcl +share/varnish/vmodtool.py +share/varnish/vsctool.py Index: pkgsrc/www/varnish/buildlink3.mk diff -u pkgsrc/www/varnish/buildlink3.mk:1.1 pkgsrc/www/varnish/buildlink3.mk:1.2 --- pkgsrc/www/varnish/buildlink3.mk:1.1 Mon Jul 13 18:43:22 2020 +++ pkgsrc/www/varnish/buildlink3.mk Fri Jun 25 12:21:08 2021 @@ -1,19 +1,15 @@ -# $NetBSD: buildlink3.mk,v 1.1 2020/07/13 18:43:22 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2021/06/25 12:21:08 tnn Exp $ BUILDLINK_TREE+= varnish .if !defined(VARNISH_BUILDLINK3_MK) VARNISH_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.varnish+= varnish>=3.0.6nb3 +BUILDLINK_API_DEPENDS.varnish+= varnish>=6.6.0 BUILDLINK_PKGSRCDIR.varnish?= ../../www/varnish -BUILDLINK_INCDIRS.varnish= include/varnish -BUILDLINK_LIBDIRS.varnish= lib/varnish +.include "../../devel/libexecinfo/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" -.include "../../mk/curses.buildlink3.mk" -.include "../../mk/pthread.buildlink3.mk" -.include "../../mk/readline.buildlink3.mk" .endif # VARNISH_BUILDLINK3_MK Index: pkgsrc/www/varnish/distinfo diff -u pkgsrc/www/varnish/distinfo:1.14 pkgsrc/www/varnish/distinfo:1.15 --- pkgsrc/www/varnish/distinfo:1.14 Wed Nov 4 02:47:41 2015 +++ pkgsrc/www/varnish/distinfo Fri Jun 25 12:21:08 2021 @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.14 2015/11/04 02:47:41 agc Exp $ +$NetBSD: distinfo,v 1.15 2021/06/25 12:21:08 tnn Exp $ -SHA1 (varnish-3.0.6.tar.gz) = c58590f87f0981c3c10c4066d739e93352678824 -RMD160 (varnish-3.0.6.tar.gz) = 29b298800bff08ff471e081fa64e49e34d484bcd -SHA512 (varnish-3.0.6.tar.gz) = 6dcbbf1407e72f9fe6c156a4074d9d42ce147d225cd3001b3240a22ed02e7adf2e900671f9f7e81cbd6b565b29ac65e0436c08c295763b5f7d48b6ab76a1c6b3 -Size (varnish-3.0.6.tar.gz) = 2049810 bytes -SHA1 (patch-etc__Makefile.in) = 86424950049721ef224facdfbe4cb630a2c46532 +SHA1 (varnish-6.6.0.tgz) = c330a3cbdbb13586338d1419ef8913efbd3816ae +RMD160 (varnish-6.6.0.tgz) = 550dfcf68597dc2937c7eafa7dd03ff805c3cdfa +SHA512 (varnish-6.6.0.tgz) = 0f52e94dd866a7cf141f9333a9169b396627f169907acb2d64f18dcac3188f9d9f1e72ea9eb9f2c0c19a5f53df0c90446041eb2b1e52f4756ea257efb329d0d1 +Size (varnish-6.6.0.tgz) = 3519048 bytes +SHA1 (patch-bin_varnishd_cache_cache__panic.c) = cf2b9c1f2c3ba15c7e20baca3c9af607a3e1fa82 +SHA1 (patch-etc_Makefile.in) = f4407cad5f9f6c6402ab3b7fce0e1577d70b36be +SHA1 (patch-include_tbl_params.h) = 7a52ef6a98ec29409c7284876adffdb5c53facff Added files: Index: pkgsrc/www/varnish/patches/patch-bin_varnishd_cache_cache__panic.c diff -u /dev/null pkgsrc/www/varnish/patches/patch-bin_varnishd_cache_cache__panic.c:1.1 --- /dev/null Fri Jun 25 12:21:08 2021 +++ pkgsrc/www/varnish/patches/patch-bin_varnishd_cache_cache__panic.c Fri Jun 25 12:21:08 2021 @@ -0,0 +1,17 @@ +$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 ++#endif ++ + #ifdef WITH_UNWIND + # include + #else Index: pkgsrc/www/varnish/patches/patch-etc_Makefile.in diff -u /dev/null pkgsrc/www/varnish/patches/patch-etc_Makefile.in:1.1 --- /dev/null Fri Jun 25 12:21:08 2021 +++ pkgsrc/www/varnish/patches/patch-etc_Makefile.in Fri Jun 25 12:21:08 2021 @@ -0,0 +1,48 @@ +$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 Index: pkgsrc/www/varnish/patches/patch-include_tbl_params.h diff -u /dev/null pkgsrc/www/varnish/patches/patch-include_tbl_params.h:1.1 --- /dev/null Fri Jun 25 12:21:08 2021 +++ pkgsrc/www/varnish/patches/patch-include_tbl_params.h Fri Jun 25 12:21:08 2021 @@ -0,0 +1,24 @@ +$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 */ --_----------=_1624623668186840--