diff --git a/www/privoxy/Makefile b/www/privoxy/Makefile index 96e72acf9b15..5b26a54074c3 100644 --- a/www/privoxy/Makefile +++ b/www/privoxy/Makefile @@ -1,116 +1,119 @@ PORTNAME= privoxy -PORTVERSION= 3.0.34 -PORTREVISION= 1 +PORTVERSION= 4.0.0 CATEGORIES= www 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 COMMENT= Web proxy with advanced filtering capabilities WWW= https://www.privoxy.org/ -LIB_DEPENDS= libpcre.so:devel/pcre +LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= autoreconf cpe gmake shebangfix ssl USE_RC_SUBR= privoxy SHEBANG_FILES= tools/privoxy-log-parser.pl tools/privoxy-regression-test.pl \ tools/uagen.pl tools/url-pattern-translator.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-extended-statistics --enable-pcre-host-patterns 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 SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/privoxy-${PORTVERSION}-stable USERS= privoxy GROUPS= privoxy OPTIONS_DEFINE= ACCEPT_FILTER BROKEN_STRPTIME BROTLI COMPRESSION DEBUG \ - DOCS EDITOR FORCE HTTPS_INSPECTION PRIVOXY_TOOLS TOGGLE + DOCS EDITOR EXTERNAL_FILTERS FORCE HTTPS_INSPECTION \ + PRIVOXY_TOOLS TOGGLE OPTIONS_DEFAULT= ACCEPT_FILTER BROTLI DOCS 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 +EXTERNAL_FILTERS_DESC= Support for external filters 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 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 EDITOR_CONFIGURE_OFF= --disable-editor +EXTERNAL_FILTERS_CONFIGURE_ON= --enable-external-filters + FORCE_CONFIGURE_OFF= --disable-force HTTPS_INSPECTION_CONFIGURE_ON= --with-openssl PRIVOXY_TOOLS_RUN_DEPENDS= curl:ftp/curl PRIVOXY_TOOLS_USES= perl5 PRIVOXY_TOOLS_USE= PERL5=run 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\) 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 url-pattern-translator.pl ${INSTALL_SCRIPT} ${WRKSRC}/tools/${privoxy_tool} ${STAGEDIR}${PREFIX}/bin .endfor .for defaultfile in default.action default.filter regression-tests.action ${INSTALL_DATA} ${WRKSRC}/${defaultfile} ${STAGEDIR}${PREFIX}/etc/privoxy .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for examplefile in config match-all.action trust user.action ${INSTALL_DATA} ${WRKSRC}/${examplefile} ${STAGEDIR}${EXAMPLESDIR}/ .endfor ${INSTALL_MAN} ${WRKSRC}/privoxy.8 ${STAGEDIR}${PREFIX}/share/man/man8 @${MKDIR} ${STAGEDIR}${DOCSDIR}/user-manual ${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${STAGEDIR}${DOCSDIR}/user-manual ${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${STAGEDIR}${DOCSDIR}/user-manual .include diff --git a/www/privoxy/distinfo b/www/privoxy/distinfo index 294a8062e88f..613546457cdd 100644 --- a/www/privoxy/distinfo +++ b/www/privoxy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1675573325 -SHA256 (privoxy-3.0.34-stable-src.tar.gz) = e6ccbca1656f4e616b4657f8514e33a70f6697e9d7294356577839322a3c5d2c -SIZE (privoxy-3.0.34-stable-src.tar.gz) = 1589785 +TIMESTAMP = 1737205948 +SHA256 (privoxy-4.0.0-stable-src.tar.gz) = c08e2ba0049307017bf9d8a63dd2a0dfb96aa0cdeb34ae007776e63eba62a26f +SIZE (privoxy-4.0.0-stable-src.tar.gz) = 1746840 diff --git a/www/privoxy/pkg-plist b/www/privoxy/pkg-plist index 647e5210fa84..f819a04b47ec 100644 --- a/www/privoxy/pkg-plist +++ b/www/privoxy/pkg-plist @@ -1,71 +1,72 @@ %%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 share/man/man8/privoxy.8.gz etc/privoxy/default.action etc/privoxy/default.filter etc/privoxy/regression-tests.action etc/privoxy/templates/blocked etc/privoxy/templates/cgi-error-404 etc/privoxy/templates/cgi-error-bad-param etc/privoxy/templates/cgi-error-disabled etc/privoxy/templates/cgi-error-file etc/privoxy/templates/cgi-error-file-read-only 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 etc/privoxy/templates/edit-actions-add-url-form etc/privoxy/templates/edit-actions-for-url etc/privoxy/templates/edit-actions-for-url-filter etc/privoxy/templates/edit-actions-for-url-string-action etc/privoxy/templates/edit-actions-list etc/privoxy/templates/edit-actions-list-button etc/privoxy/templates/edit-actions-list-section etc/privoxy/templates/edit-actions-list-url etc/privoxy/templates/edit-actions-remove-url-form etc/privoxy/templates/edit-actions-url-form etc/privoxy/templates/forwarding-failed etc/privoxy/templates/mod-local-help etc/privoxy/templates/mod-support-and-service etc/privoxy/templates/mod-title etc/privoxy/templates/mod-unstable-warning etc/privoxy/templates/no-server-data etc/privoxy/templates/no-such-domain etc/privoxy/templates/show-request etc/privoxy/templates/show-status etc/privoxy/templates/show-status-file etc/privoxy/templates/show-url-info etc/privoxy/templates/toggle etc/privoxy/templates/toggle-mini etc/privoxy/templates/untrusted etc/privoxy/templates/url-info-osd.xml etc/privoxy/templates/wpad.dat %%PORTDOCS%%%%DOCSDIR%%/user-manual/actions-file.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/appendix.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/config.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/configuration.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/contact.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/copyright.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/files-in-use.jpg %%PORTDOCS%%%%DOCSDIR%%/user-manual/filter-file.html +%%PORTDOCS%%%%DOCSDIR%%/user-manual/howto.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/index.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/installation.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/introduction.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/p_doc.css %%PORTDOCS%%%%DOCSDIR%%/user-manual/proxy2.jpg %%PORTDOCS%%%%DOCSDIR%%/user-manual/proxy_setup.jpg %%PORTDOCS%%%%DOCSDIR%%/user-manual/quickstart.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/seealso.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/startup.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/templates.html %%PORTDOCS%%%%DOCSDIR%%/user-manual/whatsnew.html %%EXAMPLESDIR%%/config %%EXAMPLESDIR%%/match-all.action %%EXAMPLESDIR%%/trust %%EXAMPLESDIR%%/user.action