Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 18:14:22 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561850 - head/www/privoxy
Message-ID:  <202101171814.10HIEMTI016228@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Sun Jan 17 18:14:22 2021
New Revision: 561850
URL: https://svnweb.freebsd.org/changeset/ports/561850

Log:
  www/privoxy: Update to 3.0.29
  
  ChangeLog: https://www.privoxy.org/announce.txt
  
  PR:	251479
  Submitted by:	fk@fabiankeil.de (maintainer)
  MFH:	2021Q1 (multiple bug fixes)

Modified:
  head/www/privoxy/Makefile
  head/www/privoxy/distinfo
  head/www/privoxy/pkg-descr
  head/www/privoxy/pkg-plist

Modified: head/www/privoxy/Makefile
==============================================================================
--- head/www/privoxy/Makefile	Sun Jan 17 18:12:58 2021	(r561849)
+++ head/www/privoxy/Makefile	Sun Jan 17 18:14:22 2021	(r561850)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	privoxy
-PORTVERSION=	3.0.28
+PORTVERSION=	3.0.29
 CATEGORIES=	www
 MASTER_SITES=	https://www.privoxy.org/sf-download-mirror/Sources/${PORTVERSION}%20(stable)/ \
 		SF/ijbswa/Sources/${PORTVERSION}%20%28stable%29
@@ -14,47 +14,55 @@ COMMENT=	Web proxy with advanced filtering capabilitie
 LIB_DEPENDS=	libpcre.so:devel/pcre
 
 USES=		autoreconf cpe gmake shebangfix
+USE_RC_SUBR=	privoxy
 
-WRKSRC=		${WRKDIR}/privoxy-${PORTVERSION}-stable
+SHEBANG_FILES=	tools/privoxy-log-parser.pl tools/privoxy-regression-test.pl \
+		tools/uagen.pl tools/url-pattern-translator.pl
 
 GNU_CONFIGURE=	yes
-SHEBANG_FILES=	tools/privoxy-log-parser.pl tools/privoxy-regression-test.pl tools/uagen.pl
+CONFIGURE_ARGS=	--enable-extended-statistics --enable-pcre-host-patterns
 
-USE_RC_SUBR=	privoxy
-SUB_FILES=	pkg-message
-
 MAKEFILE=	GNUmakefile
 
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
 # privoxy-devel is the development release available at the Privoxy website.
 # It's not (yet) part of the FreeBSD ports collection.
 CONFLICTS=	privoxy-devel-[0-9]*
 
+SUB_FILES=	pkg-message
+
+WRKSRC=		${WRKDIR}/privoxy-${PORTVERSION}-stable
+
 USERS=		privoxy
 GROUPS=		privoxy
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+OPTIONS_DEFINE=	ACCEPT_FILTER BROKEN_STRPTIME BROTLI COMPRESSION DEBUG \
+		DOCS EDITOR FORCE HTTPS_INSPECTION PRIVOXY_TOOLS TOGGLE
 
-OPTIONS_DEFINE=	ACCEPT_FILTER BROKEN_STRPTIME COMPRESSION \
-		DEBUG DOCS EDITOR FORCE PRIVOXY_TOOLS TOGGLE
+OPTIONS_DEFAULT=	ACCEPT_FILTER BROTLI EDITOR FORCE \
+			HTTPS_INSPECTION TOGGLE PRIVOXY_TOOLS
+OPTIONS_SUB=	yes
 
 ACCEPT_FILTER_DESC=	Support for accf_http(9)
 BROKEN_STRPTIME_DESC=	Enable workaround for standards/173421
+BROTLI_DESC=		Support decompression of Brotli-encoded content
 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
 FORCE_DESC=		Support bypassing of blocks
+HTTPS_INSPECTION_DESC=	Support filtering of encrypted content
 PRIVOXY_TOOLS_DESC=	Install Privoxy-Log-Parser, uagen, etc.
 TOGGLE_DESC=		Support for remote toggling
 
-OPTIONS_DEFAULT=	EDITOR FORCE TOGGLE PRIVOXY_TOOLS
-
-OPTIONS_SUB=	yes
-
 ACCEPT_FILTER_CONFIGURE_ON=	--enable-accept-filter
 
 BROKEN_STRPTIME_CONFIGURE_ON=	--enable-strptime-sanity-checks
 
+BROTLI_LIB_DEPENDS=	libbrotlidec.so:archivers/brotli
+BROTLI_CONFIGURE_ON=	--with-brotli
+
 COMPRESSION_CONFIGURE_ON=	--enable-compression
 
 DEBUG_CONFIGURE_ON=	--with-debug
@@ -63,32 +71,35 @@ EDITOR_CONFIGURE_OFF=	--disable-editor
 
 FORCE_CONFIGURE_OFF=	--disable-force
 
-TOGGLE_CONFIGURE_OFF=	--disable-toggle
+HTTPS_INSPECTION_CONFIGURE_ON=	--with-openssl
 
+PRIVOXY_TOOLS_RUN_DEPENDS=	curl:ftp/curl
 PRIVOXY_TOOLS_USES=	perl5
 PRIVOXY_TOOLS_USE=	PERL5=run
-PRIVOXY_TOOLS_RUN_DEPENDS=	curl:ftp/curl
 
+TOGGLE_CONFIGURE_OFF=	--disable-toggle
+
 post-patch:
 	${REINPLACE_CMD} \
 		-e 's,^\(confdir\) \.,\1 ${PREFIX}/etc/privoxy,' \
 		-e 's,^\(logdir\) \.,\1 /var/log/privoxy,' \
 		-e 's,^\(actionsfile user\),#\1,' \
 		-e 's,^\(filterfile user\),#\1,' \
+		-e 's,^#\(listen-backlog -1\),\1,' \
 		${WRKSRC}/config
 	${REINPLACE_CMD} \
 		-e 's,\(/etc/privoxy\),${PREFIX}\1,' ${WRKSRC}/tools/uagen.pl
 
 post-patch-DOCS-on:
 	${REINPLACE_CMD} \
-		-e 's,^#\(user-manual\) http://www.privoxy.org/user-manual/,\1 ${DOCSDIR}/user-manual,' \
+		-e 's,^#\(user-manual\) https://www.privoxy.org/user-manual/,\1 ${DOCSDIR}/user-manual,' \
 		${WRKSRC}/config
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/privoxy/templates
 	${INSTALL_PROGRAM} ${WRKSRC}/privoxy ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_DATA} ${WRKSRC}/templates/[a-z]* ${STAGEDIR}${PREFIX}/etc/privoxy/templates
-.for privoxy_tool in privoxy-log-parser.pl privoxy-regression-test.pl uagen.pl
+.for privoxy_tool in privoxy-log-parser.pl privoxy-regression-test.pl uagen.pl url-pattern-translator.pl
 	${INSTALL_SCRIPT} ${WRKSRC}/tools/${privoxy_tool} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for defaultfile in default.action default.filter regression-tests.action

Modified: head/www/privoxy/distinfo
==============================================================================
--- head/www/privoxy/distinfo	Sun Jan 17 18:12:58 2021	(r561849)
+++ head/www/privoxy/distinfo	Sun Jan 17 18:14:22 2021	(r561850)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1546260542
-SHA256 (privoxy-3.0.28-stable-src.tar.gz) = b5d78cc036aaadb3b7cf860e9d598d7332af468926a26e2d56167f1cb6f2824a
-SIZE (privoxy-3.0.28-stable-src.tar.gz) = 1753809
+TIMESTAMP = 1606563663
+SHA256 (privoxy-3.0.29-stable-src.tar.gz) = 25c6069efdaf577d47c257da63b03cd6d063fb790e19cc39603d82e5db72489d
+SIZE (privoxy-3.0.29-stable-src.tar.gz) = 1830550

Modified: head/www/privoxy/pkg-descr
==============================================================================
--- head/www/privoxy/pkg-descr	Sun Jan 17 18:12:58 2021	(r561849)
+++ head/www/privoxy/pkg-descr	Sun Jan 17 18:14:22 2021	(r561850)
@@ -5,4 +5,4 @@ flexible configuration and can be customized to suit i
 tastes. It has application for both stand-alone systems and multi-user
 networks.
 
-WWW: http://www.privoxy.org/
+WWW: https://www.privoxy.org/

Modified: head/www/privoxy/pkg-plist
==============================================================================
--- head/www/privoxy/pkg-plist	Sun Jan 17 18:12:58 2021	(r561849)
+++ head/www/privoxy/pkg-plist	Sun Jan 17 18:14:22 2021	(r561850)
@@ -1,6 +1,7 @@
 %%PRIVOXY_TOOLS%%bin/privoxy-log-parser.pl
 %%PRIVOXY_TOOLS%%bin/privoxy-regression-test.pl
 %%PRIVOXY_TOOLS%%bin/uagen.pl
+%%PRIVOXY_TOOLS%%bin/url-pattern-translator.pl
 sbin/privoxy
 man/man1/privoxy.1.gz
 etc/privoxy/default.action



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