Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2016 12:08:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421155 - in head/www/privoxy: . files
Message-ID:  <201608311208.u7VC8M6j002829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Aug 31 12:08:21 2016
New Revision: 421155
URL: https://svnweb.freebsd.org/changeset/ports/421155

Log:
  - Update to 3.0.26
  - Use official website as primary master site.
  - Add option to increase the number of connections Privoxy can serve at the same time
  - Quote variables in the rc script more consistently.
  
  The upstream changes are documented at:
  https://www.privoxy.org/3.0.26/user-manual/whatsnew.html
  
  PR:		212240
  Submitted by:	fk@fabiankeil.de (maintainer)

Modified:
  head/www/privoxy/Makefile
  head/www/privoxy/distinfo
  head/www/privoxy/files/privoxy.in
  head/www/privoxy/pkg-plist

Modified: head/www/privoxy/Makefile
==============================================================================
--- head/www/privoxy/Makefile	Wed Aug 31 12:06:23 2016	(r421154)
+++ head/www/privoxy/Makefile	Wed Aug 31 12:08:21 2016	(r421155)
@@ -2,9 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	privoxy
-PORTVERSION=	3.0.24
+PORTVERSION=	3.0.26
 CATEGORIES=	www ipv6
-MASTER_SITES=	SF/ijbswa/Sources/${PORTVERSION}%20%28stable%29
+MASTER_SITES=	https://www.privoxy.org/sf-download-mirror/Sources/${PORTVERSION}%20(stable)/ \
+		SF/ijbswa/Sources/${PORTVERSION}%20%28stable%29
 DISTNAME=	privoxy-${PORTVERSION}-stable-src
 
 MAINTAINER=	fk@fabiankeil.de
@@ -33,14 +34,15 @@ GROUPS=		privoxy
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-OPTIONS_DEFINE=	ACCEPT_FILTER BROKEN_STRPTIME COMPRESSION DEBUG \
-		DOCS EDITOR FORCE PRIVOXY_TOOLS TOGGLE
+OPTIONS_DEFINE=	ACCEPT_FILTER BROKEN_STRPTIME BUMP_FD_SETSIZE COMPRESSION \
+		DEBUG DOCS EDITOR FORCE PRIVOXY_TOOLS TOGGLE
 
 ACCEPT_FILTER_DESC=	Support for accf_http(9)
 BROKEN_STRPTIME_DESC=	Enable workaround for standards/173421
 COMPRESSION_DESC=	Support compression of buffered content
 DOCS_DESC=		Let Privoxy serve the user manual
 EDITOR_DESC=		Support use of the web-based action editor
+BUMP_FD_SETSIZE_DESC=	Support more client connections at the same time
 FORCE_DESC=		Support bypassing of blocks
 PRIVOXY_TOOLS_DESC=	Install Privoxy-Log-Parser, uagen, etc.
 TOGGLE_DESC=		Support for remote toggling
@@ -53,6 +55,8 @@ ACCEPT_FILTER_CONFIGURE_ON=	--enable-acc
 
 BROKEN_STRPTIME_CONFIGURE_ON=	--enable-strptime-sanity-checks
 
+BUMP_FD_SETSIZE_CONFIGURE_ON=	--with-fdsetsize=8192
+
 COMPRESSION_CONFIGURE_ON=	--enable-compression
 
 DEBUG_CONFIGURE_ON=	--with-debug

Modified: head/www/privoxy/distinfo
==============================================================================
--- head/www/privoxy/distinfo	Wed Aug 31 12:06:23 2016	(r421154)
+++ head/www/privoxy/distinfo	Wed Aug 31 12:08:21 2016	(r421155)
@@ -1,2 +1,3 @@
-SHA256 (privoxy-3.0.24-stable-src.tar.gz) = a381f6dc78f08de0d4a2342d47a5949a6608073ada34b933137184f3ca9fb012
-SIZE (privoxy-3.0.24-stable-src.tar.gz) = 1728265
+TIMESTAMP = 1472287144
+SHA256 (privoxy-3.0.26-stable-src.tar.gz) = 57e415b43ee5dfdca74685cc034053eaae962952fdabd086171551a86abf9cd8
+SIZE (privoxy-3.0.26-stable-src.tar.gz) = 1741772

Modified: head/www/privoxy/files/privoxy.in
==============================================================================
--- head/www/privoxy/files/privoxy.in	Wed Aug 31 12:06:23 2016	(r421154)
+++ head/www/privoxy/files/privoxy.in	Wed Aug 31 12:08:21 2016	(r421155)
@@ -36,26 +36,26 @@ load_rc_config ${name}
 : ${privoxy_pidfile="${privoxy_piddir}/privoxy.pid"}
 
 privoxy_prestart () {
-    if [ ! -e ${privoxy_config} ]; then
-        echo config file not found. Copying the example file to ${privoxy_config}.
-        cp %%PREFIX%%/share/examples/privoxy/config ${privoxy_config}
-        chown ${privoxy_user}:${privoxy_user} ${privoxy_config};
+    if [ ! -e "${privoxy_config}" ]; then
+        echo "config file not found. Copying the example file to ${privoxy_config}."
+        cp %%PREFIX%%/share/examples/privoxy/config "${privoxy_config}"
+        chown "${privoxy_user}:${privoxy_user}" "${privoxy_config}";
     fi
     actionfile="%%PREFIX%%/etc/privoxy/match-all.action"
-    if [ ! -e ${actionfile} ]; then
-        echo ${actionfile} not found. Copying the example file.
-        cp %%PREFIX%%/share/examples/privoxy/match-all.action ${actionfile}
-        chown ${privoxy_user}:${privoxy_user} ${actionfile}
+    if [ ! -e "${actionfile}" ]; then
+        echo "${actionfile} not found. Copying the example file."
+        cp %%PREFIX%%/share/examples/privoxy/match-all.action "${actionfile}"
+        chown "${privoxy_user}:${privoxy_user}" "${actionfile}"
     fi
-    if [ ! -e ${privoxy_logdir} ]; then
-        echo ${privoxy_logdir} not found. Creating ...
-        mkdir ${privoxy_logdir}
-        chown ${privoxy_user}:${privoxy_user} ${privoxy_logdir}
-        chmod 0750 ${privoxy_logdir}
+    if [ ! -e "${privoxy_logdir}" ]; then
+        echo "${privoxy_logdir} not found. Creating ..."
+        mkdir "${privoxy_logdir}"
+        chown "${privoxy_user}:${privoxy_user}" "${privoxy_logdir}"
+        chmod 0750 "${privoxy_logdir}"
     fi
-    if [ ! -d ${privoxy_piddir} ]; then
-        mkdir -p ${privoxy_piddir}
-        chown ${privoxy_user}:${privoxy_user} ${privoxy_piddir}
+    if [ ! -d "${privoxy_piddir}" ]; then
+        mkdir -p "${privoxy_piddir}"
+        chown "${privoxy_user}:${privoxy_user}" "${privoxy_piddir}"
     fi
 }
 

Modified: head/www/privoxy/pkg-plist
==============================================================================
--- head/www/privoxy/pkg-plist	Wed Aug 31 12:06:23 2016	(r421154)
+++ head/www/privoxy/pkg-plist	Wed Aug 31 12:08:21 2016	(r421155)
@@ -15,6 +15,7 @@ etc/privoxy/templates/cgi-error-file-rea
 etc/privoxy/templates/cgi-error-modified
 etc/privoxy/templates/cgi-error-parse
 etc/privoxy/templates/cgi-style.css
+etc/privoxy/templates/client-tags
 etc/privoxy/templates/connect-failed
 etc/privoxy/templates/connection-timeout
 etc/privoxy/templates/default



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608311208.u7VC8M6j002829>