varnish: update to 7.2.1 Security fixes VSV00011 Varnish HTTP/2 Request Forgery Vulnerability VEXT Support Varnish Extensions Parameters Duration values (with a unit in seconds) can optionally take a duration unit Other changes in varnishd The metadata VMODs exposes to Varnishd has changed to a non-binary format Changes to VCL ESI sub-requests can no longer inherit req.http.transfer-encoding Bundled VMODs std: add std.now() and std.timed_call() cookie: generated headers no longer have a spurious trailing semi-colon varnishlog The Begin log records may contain a 4th field with the sub-level of sub-tasks. The -k option from varnishlog is now available in varnishncsa. varnishstat MAIN.fetch_no_thread renamed to MAIN.bgfetch_no_thread MAIN.shm_bytes addeddiff -r1.38 -r1.39 pkgsrc/www/varnish/Makefile
(tnn)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.38 2022/09/04 12:04:02 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.39 2022/11/14 19:29:13 tnn Exp $ | |
2 | 2 | |||
3 | DISTNAME= varnish-7.1.1 | 3 | DISTNAME= varnish-7.2.1 | |
4 | CATEGORIES= www | 4 | CATEGORIES= www | |
5 | MASTER_SITES= https://varnish-cache.org/_downloads/ | 5 | MASTER_SITES= https://varnish-cache.org/_downloads/ | |
6 | EXTRACT_SUFX= .tgz | 6 | EXTRACT_SUFX= .tgz | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://varnish-cache.org/ | 9 | HOMEPAGE= https://varnish-cache.org/ | |
10 | COMMENT= High-performace HTTP accelerator | 10 | COMMENT= High-performace HTTP accelerator | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils | 13 | BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils | |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx | |
15 | 15 | |||
16 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 16 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
@@ -52,27 +52,27 @@ REPLACE_PYTHON+= lib/libvsc/vsctool.py | @@ -52,27 +52,27 @@ REPLACE_PYTHON+= lib/libvsc/vsctool.py | |||
52 | CONFIGURE_ARGS+= --localstatedir=${STATEDIR} | 52 | CONFIGURE_ARGS+= --localstatedir=${STATEDIR} | |
53 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} | 53 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} | |
54 | CONFIGURE_ARGS+= --with-rst2html=${PREFIX}/bin/rst2html-${PYVERSSUFFIX} | 54 | CONFIGURE_ARGS+= --with-rst2html=${PREFIX}/bin/rst2html-${PYVERSSUFFIX} | |
55 | CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} | 55 | CONFIGURE_ARGS+= --with-rst2man=${PREFIX}/bin/rst2man-${PYVERSSUFFIX} | |
56 | CONFIGURE_ARGS+= --with-sphinx-build=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} | 56 | CONFIGURE_ARGS+= --with-sphinx-build=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} | |
57 | 57 | |||
58 | # Explicitly disable epoll on illumos, provided for Linux compat only. | 58 | # Explicitly disable epoll on illumos, provided for Linux compat only. | |
59 | CONFIGURE_ARGS.SunOS+= --disable-epoll | 59 | CONFIGURE_ARGS.SunOS+= --disable-epoll | |
60 | 60 | |||
61 | .include "../../mk/compiler.mk" | 61 | .include "../../mk/compiler.mk" | |
62 | 62 | |||
63 | # Fixes build on at least SunOS/i386 | 63 | # Fixes build on at least SunOS/i386 | |
64 | # See https://github.com/varnishcache/varnish-cache/issues/1875 | 64 | # See https://github.com/varnishcache/varnish-cache/issues/1875 | |
65 | .if !empty(CC_VERSION:Mgcc*) && ${MACHINE_ARCH} == "i386" | 65 | .if ${CC_VERSION:Mgcc*} && ${MACHINE_ARCH} == "i386" | |
66 | CFLAGS+= -fexcess-precision=standard | 66 | CFLAGS+= -fexcess-precision=standard | |
67 | .endif | 67 | .endif | |
68 | LDFLAGS.NetBSD+= -lm # for ldexp | 68 | LDFLAGS.NetBSD+= -lm # for ldexp | |
69 | 69 | |||
70 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} | 70 | INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} | |
71 | 71 | |||
72 | # not signed/unsigned char safe | 72 | # not signed/unsigned char safe | |
73 | BUILDLINK_TRANSFORM+= rm:-Werror | 73 | BUILDLINK_TRANSFORM+= rm:-Werror | |
74 | 74 | |||
75 | PKGCONFIG_OVERRIDE+= varnishapi.pc.in | 75 | PKGCONFIG_OVERRIDE+= varnishapi.pc.in | |
76 | 76 | |||
77 | RCD_SCRIPTS= varnishd varnishlog varnishncsa | 77 | RCD_SCRIPTS= varnishd varnishlog varnishncsa | |
78 | 78 |
@@ -1,59 +1,61 @@ | @@ -1,59 +1,61 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.12 2022/04/12 22:13:36 tnn Exp $ | 1 | @comment $NetBSD: PLIST,v 1.13 2022/11/14 19:29:13 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/varnishstat | 6 | bin/varnishstat | |
7 | bin/varnishstat_help_gen | 7 | bin/varnishstat_help_gen | |
8 | bin/varnishtest | 8 | bin/varnishtest | |
9 | bin/varnishtop | 9 | bin/varnishtop | |
10 | include/varnish/cache/cache.h | 10 | include/varnish/cache/cache.h | |
11 | include/varnish/cache/cache_backend.h | 11 | include/varnish/cache/cache_backend.h | |
12 | include/varnish/cache/cache_director.h | 12 | include/varnish/cache/cache_director.h | |
13 | include/varnish/cache/cache_filter.h | 13 | include/varnish/cache/cache_filter.h | |
14 | include/varnish/cache/cache_varnishd.h | 14 | include/varnish/cache/cache_varnishd.h | |
15 | include/varnish/common/common_param.h | 15 | include/varnish/common/common_param.h | |
16 | include/varnish/miniobj.h | 16 | include/varnish/miniobj.h | |
17 | include/varnish/tbl/acct_fields_bereq.h | 17 | include/varnish/tbl/acct_fields_bereq.h | |
18 | include/varnish/tbl/acct_fields_req.h | 18 | include/varnish/tbl/acct_fields_req.h | |
19 | include/varnish/tbl/backend_poll.h | 19 | include/varnish/tbl/backend_poll.h | |
20 | include/varnish/tbl/ban_arg_oper.h | 20 | include/varnish/tbl/ban_arg_oper.h | |
21 | include/varnish/tbl/ban_oper.h | 21 | include/varnish/tbl/ban_oper.h | |
22 | include/varnish/tbl/ban_vars.h | 22 | include/varnish/tbl/ban_vars.h | |
23 | include/varnish/tbl/bo_flags.h | 23 | include/varnish/tbl/bereq_flags.h | |
24 | include/varnish/tbl/beresp_flags.h | |||
24 | include/varnish/tbl/boc_state.h | 25 | include/varnish/tbl/boc_state.h | |
25 | include/varnish/tbl/body_status.h | 26 | include/varnish/tbl/body_status.h | |
26 | include/varnish/tbl/cli_cmds.h | 27 | include/varnish/tbl/cli_cmds.h | |
27 | include/varnish/tbl/debug_bits.h | 28 | include/varnish/tbl/debug_bits.h | |
28 | include/varnish/tbl/experimental_bits.h | 29 | include/varnish/tbl/experimental_bits.h | |
29 | include/varnish/tbl/feature_bits.h | 30 | include/varnish/tbl/feature_bits.h | |
30 | include/varnish/tbl/h2_error.h | 31 | include/varnish/tbl/h2_error.h | |
31 | include/varnish/tbl/h2_frames.h | 32 | include/varnish/tbl/h2_frames.h | |
32 | include/varnish/tbl/h2_settings.h | 33 | include/varnish/tbl/h2_settings.h | |
33 | include/varnish/tbl/h2_stream.h | 34 | include/varnish/tbl/h2_stream.h | |
34 | include/varnish/tbl/htc.h | 35 | include/varnish/tbl/htc.h | |
35 | include/varnish/tbl/http_headers.h | 36 | include/varnish/tbl/http_headers.h | |
36 | include/varnish/tbl/http_response.h | 37 | include/varnish/tbl/http_response.h | |
37 | include/varnish/tbl/locks.h | 38 | include/varnish/tbl/locks.h | |
38 | include/varnish/tbl/mgt_vcc.h | |||
39 | include/varnish/tbl/obj_attr.h | 39 | include/varnish/tbl/obj_attr.h | |
40 | include/varnish/tbl/oc_exp_flags.h | 40 | include/varnish/tbl/oc_exp_flags.h | |
41 | include/varnish/tbl/oc_flags.h | 41 | include/varnish/tbl/oc_flags.h | |
42 | include/varnish/tbl/params.h | 42 | include/varnish/tbl/params.h | |
43 | include/varnish/tbl/req_bereq_flags.h | |||
43 | include/varnish/tbl/req_flags.h | 44 | include/varnish/tbl/req_flags.h | |
44 | include/varnish/tbl/sess_attr.h | 45 | include/varnish/tbl/sess_attr.h | |
45 | include/varnish/tbl/sess_close.h | 46 | include/varnish/tbl/sess_close.h | |
46 | include/varnish/tbl/symbol_kind.h | 47 | include/varnish/tbl/symbol_kind.h | |
48 | include/varnish/tbl/vcc_feature_bits.h | |||
47 | include/varnish/tbl/vcl_returns.h | 49 | include/varnish/tbl/vcl_returns.h | |
48 | include/varnish/tbl/vcl_states.h | 50 | include/varnish/tbl/vcl_states.h | |
49 | include/varnish/tbl/vhd_fsm.h | 51 | include/varnish/tbl/vhd_fsm.h | |
50 | include/varnish/tbl/vhd_fsm_funcs.h | 52 | include/varnish/tbl/vhd_fsm_funcs.h | |
51 | include/varnish/tbl/vhd_return.h | 53 | include/varnish/tbl/vhd_return.h | |
52 | include/varnish/tbl/vhp_huffman.h | 54 | include/varnish/tbl/vhp_huffman.h | |
53 | include/varnish/tbl/vhp_static.h | 55 | include/varnish/tbl/vhp_static.h | |
54 | include/varnish/tbl/vrt_stv_var.h | 56 | include/varnish/tbl/vrt_stv_var.h | |
55 | include/varnish/tbl/vsc_levels.h | 57 | include/varnish/tbl/vsc_levels.h | |
56 | include/varnish/tbl/vsig_list.h | 58 | include/varnish/tbl/vsig_list.h | |
57 | include/varnish/tbl/vsl_tags.h | 59 | include/varnish/tbl/vsl_tags.h | |
58 | include/varnish/tbl/vsl_tags_http.h | 60 | include/varnish/tbl/vsl_tags_http.h | |
59 | include/varnish/tbl/waiters.h | 61 | include/varnish/tbl/waiters.h | |
@@ -63,26 +65,27 @@ include/varnish/vapi/vsc.h | @@ -63,26 +65,27 @@ include/varnish/vapi/vsc.h | |||
63 | include/varnish/vapi/vsig.h | 65 | include/varnish/vapi/vsig.h | |
64 | include/varnish/vapi/vsl.h | 66 | include/varnish/vapi/vsl.h | |
65 | include/varnish/vapi/vsl_int.h | 67 | include/varnish/vapi/vsl_int.h | |
66 | include/varnish/vapi/vsm.h | 68 | include/varnish/vapi/vsm.h | |
67 | include/varnish/vas.h | 69 | include/varnish/vas.h | |
68 | include/varnish/vav.h | 70 | include/varnish/vav.h | |
69 | include/varnish/vbh.h | 71 | include/varnish/vbh.h | |
70 | include/varnish/vbm.h | 72 | include/varnish/vbm.h | |
71 | include/varnish/vcl.h | 73 | include/varnish/vcl.h | |
72 | include/varnish/vcli.h | 74 | include/varnish/vcli.h | |
73 | include/varnish/vcs.h | 75 | include/varnish/vcs.h | |
74 | include/varnish/vdef.h | 76 | include/varnish/vdef.h | |
75 | include/varnish/vmod_abi.h | 77 | include/varnish/vmod_abi.h | |
78 | include/varnish/vnum.h | |||
76 | include/varnish/vqueue.h | 79 | include/varnish/vqueue.h | |
77 | include/varnish/vre.h | 80 | include/varnish/vre.h | |
78 | include/varnish/vre_pcre2.h | 81 | include/varnish/vre_pcre2.h | |
79 | include/varnish/vrnd.h | 82 | include/varnish/vrnd.h | |
80 | include/varnish/vrt.h | 83 | include/varnish/vrt.h | |
81 | include/varnish/vrt_obj.h | 84 | include/varnish/vrt_obj.h | |
82 | include/varnish/vsa.h | 85 | include/varnish/vsa.h | |
83 | include/varnish/vsb.h | 86 | include/varnish/vsb.h | |
84 | include/varnish/vsha256.h | 87 | include/varnish/vsha256.h | |
85 | include/varnish/vtcp.h | 88 | include/varnish/vtcp.h | |
86 | include/varnish/vtim.h | 89 | include/varnish/vtim.h | |
87 | include/varnish/vtree.h | 90 | include/varnish/vtree.h | |
88 | include/varnish/vut.h | 91 | include/varnish/vut.h |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.4 2022/09/23 09:07:23 wiz Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.5 2022/11/14 19:29:13 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>=7.0.1 | 8 | BUILDLINK_API_DEPENDS.varnish+= varnish>=7.2.1 | |
9 | BUILDLINK_PKGSRCDIR.varnish?= ../../www/varnish | 9 | BUILDLINK_PKGSRCDIR.varnish?= ../../www/varnish | |
10 | 10 | |||
11 | BUILDLINK_INCDIRS.varnish+= include/varnish | 11 | BUILDLINK_INCDIRS.varnish+= include/varnish | |
12 | 12 | |||
13 | .include "../../devel/libexecinfo/buildlink3.mk" | 13 | .include "../../devel/libexecinfo/buildlink3.mk" | |
14 | .include "../../devel/pcre2/buildlink3.mk" | 14 | .include "../../devel/pcre2/buildlink3.mk" | |
15 | 15 | |||
16 | .endif # VARNISH_BUILDLINK3_MK | 16 | .endif # VARNISH_BUILDLINK3_MK | |
17 | 17 | |||
18 | BUILDLINK_TREE+= -varnish | 18 | BUILDLINK_TREE+= -varnish |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.22 2022/09/04 12:04:02 tnn Exp $ | 1 | $NetBSD: distinfo,v 1.23 2022/11/14 19:29:13 tnn Exp $ | |
2 | 2 | |||
3 | BLAKE2s (varnish-7.1.1.tgz) = 8d3904c1f7d0b20a924563dc84a039749401e7584a15814a68640968ce40486d | 3 | BLAKE2s (varnish-7.2.1.tgz) = 1aff35f8500519d17497de0634aaa404e9190c200eba47495b510038e8421a90 | |
4 | SHA512 (varnish-7.1.1.tgz) = 7c3c081bd37c63b429337a25ebc0c14d780b0c4fd235d18b9ac1004e0bb2f65e70664c5bd25c5d941deeb6bc078f344fa2629cf0d641a0149fe29dcfa07ffcd2 | 4 | SHA512 (varnish-7.2.1.tgz) = 7b9b837a8bafdf5798e81bc38163457b3bca16d933a9492800cdd2cde35c9b524a10b7e5ec931217e11d72f32feb05157a7eecfd9cf2c5856e717b634e51d089 | |
5 | Size (varnish-7.1.1.tgz) = 3742869 bytes | 5 | Size (varnish-7.2.1.tgz) = 4019119 bytes | |
6 | SHA1 (patch-bin_varnishd_cache_cache__panic.c) = cf2b9c1f2c3ba15c7e20baca3c9af607a3e1fa82 | 6 | SHA1 (patch-bin_varnishd_cache_cache__panic.c) = cf2b9c1f2c3ba15c7e20baca3c9af607a3e1fa82 | |
7 | SHA1 (patch-etc_Makefile.in) = f4407cad5f9f6c6402ab3b7fce0e1577d70b36be | 7 | SHA1 (patch-etc_Makefile.in) = f4407cad5f9f6c6402ab3b7fce0e1577d70b36be | |
8 | SHA1 (patch-include_tbl_params.h) = 7a52ef6a98ec29409c7284876adffdb5c53facff | 8 | SHA1 (patch-include_tbl_params.h) = 7a52ef6a98ec29409c7284876adffdb5c53facff |