svn commit: r427381 - in head/www: varnish4 varnish4/files varnish5 varnish5/files

Mark Felder feld at FreeBSD.org
Tue Nov 29 14:56:49 UTC 2016


Author: feld
Date: Tue Nov 29 14:56:48 2016
New Revision: 427381
URL: https://svnweb.freebsd.org/changeset/ports/427381

Log:
  www/varnish4 www/varnish5: Change default hash algorithm
  
  The default hash algorithm as of Varnish 2.1 is "critbit". The FreeBSD
  varnish ports/packages have run the varnish daemon with the "classic"
  algorithm due to an oversight. This update corrects the default to
  adhere to the recommendation of upstream.
  
  Submitted by:	Mark Staudinger <mark staudinger AT nyi net>

Modified:
  head/www/varnish4/Makefile
  head/www/varnish4/files/varnishd.in
  head/www/varnish5/Makefile
  head/www/varnish5/files/varnishd.in

Modified: head/www/varnish4/Makefile
==============================================================================
--- head/www/varnish4/Makefile	Tue Nov 29 14:52:37 2016	(r427380)
+++ head/www/varnish4/Makefile	Tue Nov 29 14:56:48 2016	(r427381)
@@ -2,7 +2,7 @@
 
 PORTNAME=	varnish
 PORTVERSION=	4.1.3
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://repo.varnish-cache.org/source/
 PKGNAMESUFFIX=	4

Modified: head/www/varnish4/files/varnishd.in
==============================================================================
--- head/www/varnish4/files/varnishd.in	Tue Nov 29 14:52:37 2016	(r427380)
+++ head/www/varnish4/files/varnishd.in	Tue Nov 29 14:56:48 2016	(r427381)
@@ -32,7 +32,7 @@
 #	default: unset.
 #
 # varnishd_hash - hash algorithm
-#       default: "classic,16383"
+#       default: "critbit"
 #
 # varnishd_storage - storage method and parameters.
 #	default: "file,/tmp,100M"
@@ -60,7 +60,7 @@ load_rc_config ${name}
 : ${varnishd_admin=localhost:81}
 : ${varnishd_backend=localhost:8080}
 : ${varnishd_storage=file,/tmp,100M}
-: ${varnishd_hash=classic,16383}
+: ${varnishd_hash=critbit}
 : ${varnishd_jailuser=varnish}
 
 command="%%PREFIX%%/sbin/${name}"

Modified: head/www/varnish5/Makefile
==============================================================================
--- head/www/varnish5/Makefile	Tue Nov 29 14:52:37 2016	(r427380)
+++ head/www/varnish5/Makefile	Tue Nov 29 14:56:48 2016	(r427381)
@@ -2,7 +2,7 @@
 
 PORTNAME=	varnish
 PORTVERSION=	5.0.0
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://repo.varnish-cache.org/source/
 PKGNAMESUFFIX=	5

Modified: head/www/varnish5/files/varnishd.in
==============================================================================
--- head/www/varnish5/files/varnishd.in	Tue Nov 29 14:52:37 2016	(r427380)
+++ head/www/varnish5/files/varnishd.in	Tue Nov 29 14:56:48 2016	(r427381)
@@ -32,7 +32,7 @@
 #	default: unset.
 #
 # varnishd_hash - hash algorithm
-#       default: "classic,16383"
+#       default: "critbit"
 #
 # varnishd_storage - storage method and parameters.
 #	default: "file,/tmp,100M"
@@ -60,7 +60,7 @@ load_rc_config ${name}
 : ${varnishd_admin=localhost:81}
 : ${varnishd_backend=localhost:8080}
 : ${varnishd_storage=file,/tmp,100M}
-: ${varnishd_hash=classic,16383}
+: ${varnishd_hash=critbit}
 : ${varnishd_jailuser=varnish}
 
 command="%%PREFIX%%/sbin/${name}"


More information about the svn-ports-all mailing list