https://github.com/varnishcache/varnish-cache/blob/6.5/doc/changes.rst

There are (breaking) ABI and API changes, so I cranked our lib's major.

Tests look as good as with in-tree 6.4.x - there are things to fix but
that is separate from this update.

Upstream uses realpath(1) during build which we don't have so I hacked
up pre-build;  it seems like something we should deal with in general,
though, not just varnish.

Feedback? OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/varnish/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- Makefile    24 Mar 2020 16:22:15 -0000      1.53
+++ Makefile    4 Oct 2020 14:01:38 -0000
@@ -2,11 +2,11 @@
 
 COMMENT =              high-performance HTTP accelerator
 
-DISTNAME =             varnish-6.4.0
+DISTNAME =             varnish-6.5.1
 
 CATEGORIES =           www
 
-SHARED_LIBS =          varnishapi      2.1     # 2.4
+SHARED_LIBS =          varnishapi      3.0     # 2.5
 
 HOMEPAGE =             https://www.varnish-cache.org/
 
@@ -37,7 +37,7 @@ USE_GMAKE =           Yes
 SEPARATE_BUILD =       Yes
 CONFIGURE_STYLE =      autoreconf
 AUTOCONF_VERSION =     2.69
-AUTOMAKE_VERSION =     1.15
+AUTOMAKE_VERSION =     1.16
 AUTORECONF =           ./autogen.sh
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}" \
@@ -50,6 +50,11 @@ TEST_TARGET =                check
 .ifdef DEBUG
 CONFIGURE_ARGS +=      --enable-debugging-symbols
 .endif
+
+# XXX ${WRKSRC}/doc/sphinx/Makefile.{am,in}
+pre-build:
+       echo 'readlink -f "$$@"' >| ${WRKDIR}/bin/realpath
+       chmod +x ${WRKDIR}/bin/realpath
 
 post-install:
        ${SUBST_PROGRAM} ${FILESDIR}/varnishreload ${PREFIX}/bin/varnishreload
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/varnish/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo    24 Mar 2020 16:22:15 -0000      1.26
+++ distinfo    4 Oct 2020 14:01:38 -0000
@@ -1,2 +1,2 @@
-SHA256 (varnish-6.4.0.tgz) = 9ja6LYgbFG9ID7Uu/vrkaLNsLD5mINB0YPnMvjZKdsI=
-SIZE (varnish-6.4.0.tgz) = 3404617
+SHA256 (varnish-6.5.1.tgz) = EZZMaI+YUiN8mcHjJ9VNxIdUndtfD1qnmW5SEzPXzbU=
+SIZE (varnish-6.5.1.tgz) = 3460024
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/varnish/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST
--- pkg/PLIST   24 Mar 2020 16:22:15 -0000      1.17
+++ pkg/PLIST   4 Oct 2020 14:01:38 -0000
@@ -8,6 +8,7 @@
 @bin bin/varnishncsa
 bin/varnishreload
 @bin bin/varnishstat
+@bin bin/varnishstat_help_gen
 @bin bin/varnishtest
 @bin bin/varnishtop
 include/varnish/
@@ -41,6 +42,7 @@ 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
@@ -50,7 +52,6 @@ include/varnish/tbl/sess_attr.h
 include/varnish/tbl/sess_close.h
 include/varnish/tbl/steps.h
 include/varnish/tbl/symbol_kind.h
-include/varnish/tbl/vcc_types.h
 include/varnish/tbl/vcl_returns.h
 include/varnish/tbl/vcl_states.h
 include/varnish/tbl/vhd_fsm.h
@@ -74,6 +75,7 @@ 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

Reply via email to