pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update varnish to 5.1.1.



Module Name:	pkgsrc-wip
Committed By:	Filip Hajny <filip%joyent.com@localhost>
Pushed By:	fhajny
Date:		Sat Mar 18 14:30:48 2017 +0000
Changeset:	346b895108b3953930ed521f9ce8b75772381b92

Modified Files:
	varnish/Makefile
	varnish/Makefile.common
	varnish/PLIST
	varnish/distinfo
	varnish/patches/patch-bin_varnishd_cache_cache__panic.c

Log Message:
Update varnish to 5.1.1.

Varnish Cache 5.1.1 (2017-03-16)

- Fix bug introduced by stubborn old bugger right before release 5.1.0
  was cut.

Varnish Cache 5.1.0 (2017-03-15)

- Added varnishd command-line options -I, -x and -?, and tightened
  restrictions on permitted combinations of options.
- More progress on support for HTTP/2.
- Add return(fail) to almost all VCL subroutines.
- Restored the old hit-for-pass, invoked with return(pass(DURATION))
  from vcl_backend_response. hit-for-miss remains the default. Added the
  cache_hitmiss stat, and cache_hitpass only counts the new/old
  hit-for-pass cases. Restored HitPass to the Varnish log, and added
  HitMiss. Added the HFP prefix to TTL log entries to log a hit-for-pass
  duration.
- Rolled back the fix for #1206. Client delivery decides solely whether
  to send a 304 client response, based on client request and response
  headers.
- Added vtest.sh.
- Added vxid as a lefthand side for VSL queries.
- Added the setenv and write_body commands for Varnish test cases
  (VTCs). err_shell is deprecated. Also added the operators -cliexpect,
  -match and -hdrlen, and -reason replaces -msg. Added the ${bad_backend}
  macro.
- varnishtest can be stopped with the TERM, INT and KILL signals, but
  not with HUP.
- The fallback director has now an extra, optional parameter to keep
  using the current backend until it falls sick.
- VMOD shared libraries are now copied to the workdir, to avoid problems
  when VMODs are updated via packaging systems.
- Bump the VRT version to 6.0.
- Export more symbols from libvarnishapi.so.
- The size of the VSL log is limited to 4G-1b, placing upper bounds on
  the -l option and the vsl_space and vsm_space parameters.
- Added parameters clock_step, thread_pool_reserve and ban_cutoff.
- Parameters vcl_dir and vmod_dir are deprecated, use vcl_path and
  vmod_path instead.
- All parameters are defined, even on platforms that don't support them.
  An unsupported parameter is documented as such in param.show. Setting
  such a parameter is not an error, but has no effect.
- Clarified the interpretations of the + and - operators in VCL with
  operands of the various data types.
- DURATION types may be used in boolean contexts.
- INT, DURATION and REAL values can now be negative.
- Response codes 1000 or greater may now be set in VCL internally.
  resp.status is delivered modulo 1000 in client responses.
- IP addresses can be compared for equality in VCL.
- Introduce the STEVEDORE data type, and the objects storage.SNAME in
  VCL. Added req.storage and beresp.storage; beresp.storage_hint is
  deprecated.
- Retired the umem stevedore.
- req.ttl is deprecated.
- Added std.getenv() and std.late_100_continue().
- The fetch_failed stat is incremented for any kind of fetch failure.
- Added the stats n_test_gunzip and bans_lurker_obj_killed_cutoff.
- Clarified the meanings of the %r, %{X}i and %{X}o formatters in
  varnishncsa.
- Bug fixes

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=346b895108b3953930ed521f9ce8b75772381b92

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 varnish/Makefile                                        |  3 +--
 varnish/Makefile.common                                 |  2 +-
 varnish/PLIST                                           |  7 ++-----
 varnish/distinfo                                        | 10 +++++-----
 varnish/patches/patch-bin_varnishd_cache_cache__panic.c |  8 ++++----
 5 files changed, 13 insertions(+), 17 deletions(-)

diffs:
diff --git a/varnish/Makefile b/varnish/Makefile
index a63b397e7a..110b05792b 100644
--- a/varnish/Makefile
+++ b/varnish/Makefile
@@ -1,7 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	varnish-5.0.0
-PKGREVISION=	1
+DISTNAME=	varnish-5.1.1
 
 .include "../../wip/varnish/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff --git a/varnish/Makefile.common b/varnish/Makefile.common
index 41cbfcad92..cde04b9f5f 100644
--- a/varnish/Makefile.common
+++ b/varnish/Makefile.common
@@ -39,7 +39,7 @@ PKG_HOME.${VRNUSER}=	${VRNDIR}
 PKG_SHELL.${VRNUSER}=	${SH}
 PKG_GECOS.${VRNUSER}=	Varnish daemon user
 
-PKG_SYSCONFSUBDIR+=	varnish
+PKG_SYSCONFSUBDIR=	varnish
 
 FILES_SUBST+=		VRNUSER=${VRNUSER}
 FILES_SUBST+=		VRNGROUP=${VRNGROUP}
diff --git a/varnish/PLIST b/varnish/PLIST
index a417e62dc1..5ee742c26b 100644
--- a/varnish/PLIST
+++ b/varnish/PLIST
@@ -10,8 +10,8 @@ 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/common/com_params.h
 include/varnish/common/common.h
-include/varnish/common/params.h
 include/varnish/miniobj.h
 include/varnish/tbl/acct_fields_bereq.h
 include/varnish/tbl/acct_fields_req.h
@@ -55,6 +55,7 @@ include/varnish/tbl/vsc_levels.h
 include/varnish/tbl/vsc_types.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
@@ -84,10 +85,6 @@ include/varnish/vtim.h
 include/varnish/waiter/waiter.h
 lib/libvarnishapi.la
 lib/pkgconfig/varnishapi.pc
-lib/varnish/libvarnish.la
-lib/varnish/libvarnishcompat.la
-lib/varnish/libvcc.la
-lib/varnish/libvgz.la
 lib/varnish/vmods/libvmod_directors.la
 lib/varnish/vmods/libvmod_std.la
 man/man1/varnishadm.1
diff --git a/varnish/distinfo b/varnish/distinfo
index 9370143e42..4e8bcf6363 100644
--- a/varnish/distinfo
+++ b/varnish/distinfo
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.13 2015/03/09 00:47:05 mspo Exp $
 
-SHA1 (varnish-5.0.0.tar.gz) = e5c88abc3744122f2d073547f18b061c5310e2ef
-RMD160 (varnish-5.0.0.tar.gz) = 6dcc13cc0f330c3e44c230f4e5ac3d5042d47ae7
-SHA512 (varnish-5.0.0.tar.gz) = 0694ad32595dc559bd044c5cf1bf12f002e4c0ab477b5fdc9d026d0bc3aec64d6dbe0b14dbab0b95a2180aa2ffe3871db22d0793b12c9d67350da05c25ae8e6c
-Size (varnish-5.0.0.tar.gz) = 2472963 bytes
-SHA1 (patch-bin_varnishd_cache_cache__panic.c) = ad26bff5822c5bd34c8895f4ae636ec54c35adbf
+SHA1 (varnish-5.1.1.tar.gz) = 585f0e5d45b349589de8da524037503d01f0ed59
+RMD160 (varnish-5.1.1.tar.gz) = eceb39a878be7ae6f2f62d2831e18bde47deb1ab
+SHA512 (varnish-5.1.1.tar.gz) = d5acb1fa9d55f5bb77bea85a6db637769126b701c010cffd511e8ac9fd67853e7f0d3bf86ba1ff067031e14a320b3bc9a84c66cd4a5a6b66d30226f5184f5f05
+Size (varnish-5.1.1.tar.gz) = 2589250 bytes
+SHA1 (patch-bin_varnishd_cache_cache__panic.c) = 08958f54c5ec5d70d9aa7fcbcf8fb97ce35533fa
 SHA1 (patch-etc_Makefile.in) = 02e500aeae7c3b293ddcf7d3ab8f03d7a267010f
diff --git a/varnish/patches/patch-bin_varnishd_cache_cache__panic.c b/varnish/patches/patch-bin_varnishd_cache_cache__panic.c
index e6072efbe4..cdf87d43ac 100644
--- a/varnish/patches/patch-bin_varnishd_cache_cache__panic.c
+++ b/varnish/patches/patch-bin_varnishd_cache_cache__panic.c
@@ -2,7 +2,7 @@ $NetBSD$
 
 Need sys/cdefs.h for __BEGIN_DECLS/__END_DECLS.
 
---- bin/varnishd/cache/cache_panic.c.orig	2017-02-07 13:15:38.000000000 +0000
+--- bin/varnishd/cache/cache_panic.c.orig	2017-03-14 14:44:51.000000000 +0000
 +++ bin/varnishd/cache/cache_panic.c
 @@ -29,6 +29,10 @@
  
@@ -12,6 +12,6 @@ Need sys/cdefs.h for __BEGIN_DECLS/__END_DECLS.
 +#include <sys/cdefs.h>
 +#endif
 +
- #ifndef HAVE_EXECINFO_H
- #include "compat/execinfo.h"
- #else
+ #include <execinfo.h>
+ #include <errno.h>
+ #include <stdio.h>


Home | Main Index | Thread Index | Old Index