diff --git a/www/privoxy/Makefile b/www/privoxy/Makefile index a788ba6d21ec..07db7de3808c 100644 --- a/www/privoxy/Makefile +++ b/www/privoxy/Makefile @@ -1,131 +1,133 @@ PORTNAME= privoxy -DISTVERSION= 4.1.0 +DISTVERSION= 4.2.0 CATEGORIES= www MASTER_SITES= https://www.privoxy.org/sf-download-mirror/Sources/${DISTVERSION}%20(stable)/ \ SF/ijbswa/Sources/${DISTVERSION}%20%28stable%29 DISTNAME= ${PORTNAME}-${DISTVERSION}-stable-src MAINTAINER= fk@fabiankeil.de COMMENT= Web proxy with advanced filtering capabilities WWW= https://www.privoxy.org/ LICENSE= GPLv2+ GPLv3+ LICENSE_COMB= dual LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE.GPLv3 LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= autoreconf cpe gmake localbase shebangfix ssl USE_RC_SUBR= ${PORTNAME} 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 # privoxy-devel is the development release available at the Privoxy website. # It's not (yet) part of the FreeBSD ports collection. CONFLICTS= ${PORTNAME}-devel SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}-stable USERS= ${PORTNAME} GROUPS= ${PORTNAME} OPTIONS_DEFINE= ACCEPT_FILTER BROKEN_STRPTIME BROTLI COMPRESSION DEBUG \ DOCS EDITOR EXTERNAL_FILTERS FORCE HTTPS_INSPECTION \ PRIVOXY_TOOLS TOGGLE ZSTD OPTIONS_DEFAULT= ACCEPT_FILTER BROTLI COMPRESSION EDITOR FORCE \ HTTPS_INSPECTION PRIVOXY_TOOLS TOGGLE ZSTD 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 ZSTD_DESC= Support decompression of ZStandard-encoded content ACCEPT_FILTER_CONFIGURE_ENABLE= accept-filter BROKEN_STRPTIME_CONFIGURE_ENABLE= strptime-sanity-checks BROTLI_LIB_DEPENDS= libbrotlidec.so:archivers/brotli BROTLI_CONFIGURE_WITH= brotli COMPRESSION_CONFIGURE_ENABLE= compression DEBUG_CONFIGURE_WITH= debug EDITOR_CONFIGURE_ENABLE= editor EXTERNAL_FILTERS_CONFIGURE_ENABLE= external-filters FORCE_CONFIGURE_ENABLE= force HTTPS_INSPECTION_CONFIGURE_WITH= openssl PRIVOXY_TOOLS_RUN_DEPENDS= curl:ftp/curl PRIVOXY_TOOLS_USES= perl5 PRIVOXY_TOOLS_USE= PERL5=run PRIVOXY_TOOLS_VARS= LICENSE+=ISCL LICENSE_COMB=multi TOGGLE_CONFIGURE_ENABLE= toggle ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_CONFIGURE_WITH= zstd post-patch: ${REINPLACE_CMD} \ -e 's,^\(confdir\) \.,\1 ${ETCDIR},' \ -e 's,^\(logdir\) \.,\1 /var/log/${PORTNAME},' \ -e 's,^\(actionsfile user\),#\1,' \ -e 's,^\(filterfile user\),#\1,' \ -e 's,^#\(listen-backlog -1\),\1,' \ ${WRKSRC}/config post-patch-DOCS-on: ${REINPLACE_CMD} \ -e 's,^#\(user-manual\) https://www.privoxy.org/user-manual/,\1 ${DOCSDIR}/user-manual,' \ ${WRKSRC}/config post-patch-PRIVOXY_TOOLS-on: ${REINPLACE_CMD} \ -e 's,/etc/privoxy,${ETCDIR},' ${WRKSRC}/tools/uagen.pl do-install: ${MKDIR} ${STAGEDIR}${ETCDIR}/templates \ ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${WRKSRC}/templates/[a-z]* ${STAGEDIR}${ETCDIR}/templates ${INSTALL_DATA} ${default.action default.filter \ regression-tests.action:L:S|^|${WRKSRC}/|} \ ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${config match-all.action trust user.action:L:S|^|${WRKSRC}/|} \ ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8 + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/share/man/man8 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/user-manual ${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css \ ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${STAGEDIR}${DOCSDIR}/user-manual do-install-PRIVOXY_TOOLS-on: ${INSTALL_SCRIPT} ${privoxy-log-parser.pl privoxy-regression-test.pl \ uagen.pl url-pattern-translator.pl:L:S|^|${WRKSRC}/tools/|} \ ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${privoxy-log-parser.1 privoxy-regression-test.1 \ + uagen.1:L:S|^|${WRKSRC}/man/|} ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/www/privoxy/distinfo b/www/privoxy/distinfo index 944e3f9c4659..b08cffba9921 100644 --- a/www/privoxy/distinfo +++ b/www/privoxy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1767595083 -SHA256 (privoxy-4.1.0-stable-src.tar.gz) = 23e4686e5848c74cb680c09c2811f0357739ecfe641f9c4072ee42399092c97b -SIZE (privoxy-4.1.0-stable-src.tar.gz) = 1755625 +TIMESTAMP = 1780413780 +SHA256 (privoxy-4.2.0-stable-src.tar.gz) = 6f91267f81f626c416994db89ab62f4d09246eebf4754b81186e13a18ee9028f +SIZE (privoxy-4.2.0-stable-src.tar.gz) = 1791064 diff --git a/www/privoxy/pkg-plist b/www/privoxy/pkg-plist index 92b09dfb08d9..40dabad9e846 100644 --- a/www/privoxy/pkg-plist +++ b/www/privoxy/pkg-plist @@ -1,72 +1,75 @@ %%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 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 sbin/privoxy %%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 +%%PRIVOXY_TOOLS%%share/man/man1/privoxy-log-parser.1.gz +%%PRIVOXY_TOOLS%%share/man/man1/privoxy-regression-test.1.gz +%%PRIVOXY_TOOLS%%share/man/man1/uagen.1.gz share/man/man8/privoxy.8.gz