Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 21:08:49 GMT
From:      Fabian Keil <fk@fabiankeil.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119840: [maintainer-update] from www/privoxy 3.0.6 to 3.0.8
Message-ID:  <200801202108.m0KL8nTo092072@www.freebsd.org>
Resent-Message-ID: <200801202120.m0KLK1GH084517@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>Number:         119840
>Category:       ports
>Synopsis:       [maintainer-update] from www/privoxy 3.0.6 to 3.0.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 20 21:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Fabian Keil
>Release:        Current
>Organization:
>Environment:
FreeBSD TP51.local 8.0-CURRENT FreeBSD 8.0-CURRENT #14: Fri Jan 11 17:12:13 CET   
2008     fk@TP51.local:/usr/obj/usr/src/sys/THINKPAD  i386
>Description:
The attached diff updates www/privoxy from 3.0.6 to 3.0.8
(3.0.7 was a beta release). It deletes two patches.

A list of highlights is available at:
http://www.privoxy.org/3.0.8/user-manual/whatsnew.html

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN www/privoxy-3.0.6/Makefile www/privoxy/Makefile
--- www/privoxy-3.0.6/Makefile	2007-09-30 13:51:28.000000000 +0200
+++ www/privoxy/Makefile	2008-01-20 19:58:12.539708819 +0100
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	privoxy
-PORTVERSION=	3.0.6
-PORTREVISION=	2
+PORTVERSION=	3.0.8
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	ijbswa
@@ -16,6 +15,8 @@
 MAINTAINER=	fk@fabiankeil.de
 COMMENT=	Privoxy is a web proxy with advanced filtering capabilities
 
+LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
+
 WRKSRC=		${WRKDIR}/privoxy-${PORTVERSION}-stable
 
 USE_GMAKE=	yes
@@ -32,6 +33,10 @@
 
 MAN1=		privoxy.1
 
+CONFIGURE_ARGS=	--enable-zlib
+CONFIGURE_ENV=	LDFLAGS=-L${LOCALBASE}/lib \
+		CPPFLAGS=-I${LOCALBASE}/include/
+
 OPTIONS=	FORCE "Allows to optionally bypass blocks" On \
 		TOGGLE "Support for remote toggling" On \
 		EDITOR "Enable webbased action editor" On \
@@ -63,7 +68,7 @@
 	${WRKSRC}/config
 .if !defined(NOPORTDOCS)
 	${REINPLACE_CMD} \
-		-e 's,^#\(user-manual\) http://www.privoxy.org/user-manual/,\1 ${PREFIX}/share/doc/privoxy-manual,' \
+		-e 's,^#\(user-manual\) http://www.privoxy.org/user-manual/,\1 ${DOCSDIR}/user-manual,' \
 	${WRKSRC}/config
 
 .endif
@@ -84,17 +89,17 @@
 	@${CHOWN} privoxy:privoxy ${PREFIX}/etc/privoxy/${defaultfile}
 	@${CHMOD} 0640 ${PREFIX}/etc/privoxy/${defaultfile}
 .endfor
-	@${MKDIR} ${PREFIX}/share/examples/privoxy
+	@${MKDIR} ${EXAMPLESDIR}
 .for examplefile in config trust user.action
-	@${INSTALL_DATA} ${WRKSRC}/${examplefile} ${PREFIX}/share/examples/privoxy
-	@${CHOWN} privoxy:privoxy ${PREFIX}/share/examples/privoxy/${examplefile}
-	@${CHMOD} 0640 ${PREFIX}/share/examples/privoxy/${examplefile}
+	@${INSTALL_DATA} ${WRKSRC}/${examplefile} ${EXAMPLESDIR}/
+	@${CHOWN} privoxy:privoxy ${EXAMPLESDIR}/${examplefile}
+	@${CHMOD} 0640 ${EXAMPLESDIR}/${examplefile}
 .endfor
 	@${INSTALL_MAN}  ${WRKSRC}/privoxy.1 ${MANPREFIX}/man/man1
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${PREFIX}/share/doc/privoxy-manual
-	@${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${PREFIX}/share/doc/privoxy-manual
-	@${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${PREFIX}/share/doc/privoxy-manual
+	@${MKDIR} ${DOCSDIR}/user-manual
+	@${INSTALL_DATA} ${WRKSRC}/doc/webserver/user-manual/[a-z]* ${DOCSDIR}/user-manual
+	@${INSTALL_DATA} ${WRKSRC}/doc/webserver/p_doc.css ${DOCSDIR}/user-manual
 .endif
 
 post-install:
diff -ruN www/privoxy-3.0.6/distinfo www/privoxy/distinfo
--- www/privoxy-3.0.6/distinfo	2008-01-20 15:49:34.266490392 +0100
+++ www/privoxy/distinfo	2008-01-20 18:52:25.321179597 +0100
@@ -1,3 +1,3 @@
-MD5 (privoxy-3.0.6-stable-src.tar.gz) = c3b34c620e1174f0c0b91aa2a04ceae4
-SHA256 (privoxy-3.0.6-stable-src.tar.gz) = 49e49d92d3b22c0fe730fef0f067668a51bb8a7aae53277ba709f301066e5dc0
-SIZE (privoxy-3.0.6-stable-src.tar.gz) = 1755661
+MD5 (privoxy-3.0.8-stable-src.tar.gz) = 252c0e085218fb930c4bc7563e9cedd9
+SHA256 (privoxy-3.0.8-stable-src.tar.gz) = ecd51cb2785691f4e90e07d147f5ec89a151b2e578f71afb26bdd90195478499
+SIZE (privoxy-3.0.8-stable-src.tar.gz) = 2007961
diff -ruN www/privoxy-3.0.6/files/patch-cgi.c www/privoxy/files/patch-cgi.c
--- www/privoxy-3.0.6/files/patch-cgi.c	2007-05-10 22:18:31.000000000 +0200
+++ www/privoxy/files/patch-cgi.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
---- cgi.c      Mon Nov 13 20:05:50 2006
-+++ cgi.c      Sat Dec  9 14:49:16 2006
-@@ -571,10 +579,12 @@
-          "Look up which actions apply to a URL and why",
-          TRUE },
- #ifdef FEATURE_CGI_EDIT_ACTIONS
-+#ifdef FEATURE_TOGGLE
-    { "toggle",
-          cgi_toggle, 
-          "Toggle Privoxy on or off",
-          FALSE },
-+#endif /* def FEATURE_TOGGLE */
-    { "edit-actions", /* Edit the actions list */
-          cgi_edit_actions, 
-          NULL, FALSE },
diff -ruN www/privoxy-3.0.6/files/patch-cgiedit.c www/privoxy/files/patch-cgiedit.c
--- www/privoxy-3.0.6/files/patch-cgiedit.c	2007-05-10 22:18:31.000000000 +0200
+++ www/privoxy/files/patch-cgiedit.c	1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
---- cgiedit.c  Tue Jul 18 16:48:45 2006
-+++ cgiedit.c  Sat Dec  9 14:49:16 2006
-@@ -333,8 +337,10 @@
- #include "miscutil.h"
- #include "errlog.h"
- #include "loaders.h"
--#include "loadcfg.h"
-+#ifdef FEATURE_TOGGLE
- /* loadcfg.h is for global_toggle_state only */
-+#include "loadcfg.h"
-+#endif /* def FEATURE_TOGGLE */
- #include "urlmatch.h"
- 
- const char cgiedit_h_rcs[] = CGIEDIT_H_VERSION;
-@@ -4232,7 +4238,7 @@
-    return cgi_redirect(rsp, target);
- }
- 
--
-+#ifdef FEATURE_TOGGLE
- /*********************************************************************
-  *
-  * Function    :  cgi_toggle
-@@ -4300,7 +4306,7 @@
- 
-    return template_fill_for_cgi(csp, template_name, exports, rsp);
- }
--
-+#endif /* def FEATURE_TOGGLE */
- 
- /*********************************************************************
-  *
diff -ruN www/privoxy-3.0.6/files/pkg-message.in www/privoxy/files/pkg-message.in
--- www/privoxy-3.0.6/files/pkg-message.in	2007-05-10 22:18:31.000000000 +0200
+++ www/privoxy/files/pkg-message.in	2008-01-20 18:54:21.120660937 +0100
@@ -1,27 +1,28 @@
 ***********************************************************
-** To start Privoxy on boot, add: privoxy_enable="YES"   **
-** to /etc/rc.conf.                                      **
-**                                                       **
-** To start Privoxy manually, run:                       **
-** %%PREFIX%%/etc/rc.d/privoxy forcestart                **
-** The script understands most of the commands listed    **
-** in rc(8), it also contains a list of other rc         **
-** variables you can use.                                **
-**                                                       **
-** Privoxy example files were copied to:                 **
-** %%PREFIX%%/share/examples/privoxy                     **
-**                                                       **
-** For documentation see:                                **
-** %%PREFIX%%/share/doc/privoxy-manual or 'man privoxy'  **
-**                                                       **
-** Note that default.filter, standard.action and         **
-** default.action get overwritten with each Privoxy      **
-** update. Instead of changing them you should use       **
-** your own action and filter files as described in      **
-** Privoxy's manual.                                     **
-**                                                       **
-** If you installed Privoxy as package and are using the **
-** default configuration, you have to make sure the      **
-** directories /var/log/privoxy and /var/run/privoxy     **
-** exist and are owned by privoxy:privoxy.               **
+  To start Privoxy on boot, add: privoxy_enable="YES"
+  to /etc/rc.conf.
+
+  To start Privoxy manually, run:
+  /usr/local/etc/rc.d/privoxy forcestart
+  The script understands most of the commands listed
+  in rc(8), it also contains a list of other rc
+  variables you can use.
+
+  Privoxy's example files were copied to:
+  %%EXAMPLESDIR%%
+
+  For documentation see:
+  %%DOCSDIR%%/user-manual or 'man privoxy'
+
+  Note that default.filter, standard.action and
+  default.action get overwritten with each Privoxy
+  update. Instead of changing them you should use
+  your own action and filter files as described in
+  Privoxy's manual.
+
+  If you installed Privoxy as package and are using the
+  default configuration, you have to make sure the
+  directories /var/log/privoxy and /var/run/privoxy
+  exist and are owned by privoxy:privoxy.
+
 ***********************************************************
diff -ruN www/privoxy-3.0.6/pkg-descr www/privoxy/pkg-descr
--- www/privoxy-3.0.6/pkg-descr	2007-05-10 22:18:31.000000000 +0200
+++ www/privoxy/pkg-descr	2008-01-20 18:50:28.776784818 +0100
@@ -1,8 +1,8 @@
-Privoxy is a web proxy with advanced filtering capabilities for protecting
-privacy, filtering web page content, managing cookies, controlling access,
-and removing ads, banners, pop-ups and other obnoxious Internet junk.
-Privoxy has a very flexible configuration and can be customized to suit
-individual needs and tastes. Privoxy has application for both stand-alone
-systems and multi-user networks.
+Privoxy is a non-caching web proxy with advanced filtering capabilities for
+enhancing privacy, modifying web page data, managing HTTP cookies, controlling
+access, and removing ads, banners, pop-ups and other obnoxious Internet junk.
+Privoxy has a flexible configuration and can be customized to suit individual
+needs and tastes. Privoxy has application for both stand-alone systems and
+multi-user networks.
 
 WWW: http://www.privoxy.org/
diff -ruN www/privoxy-3.0.6/pkg-plist www/privoxy/pkg-plist
--- www/privoxy-3.0.6/pkg-plist	2007-05-10 22:18:31.000000000 +0200
+++ www/privoxy/pkg-plist	2008-01-20 18:53:20.138779965 +0100
@@ -22,6 +22,7 @@
 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
@@ -35,30 +36,30 @@
 etc/privoxy/templates/toggle
 etc/privoxy/templates/toggle-mini
 etc/privoxy/templates/untrusted
-%%PORTDOCS%%share/doc/privoxy-manual/actions-file.html
-%%PORTDOCS%%share/doc/privoxy-manual/appendix.html
-%%PORTDOCS%%share/doc/privoxy-manual/config.html
-%%PORTDOCS%%share/doc/privoxy-manual/configuration.html
-%%PORTDOCS%%share/doc/privoxy-manual/contact.html
-%%PORTDOCS%%share/doc/privoxy-manual/copyright.html
-%%PORTDOCS%%share/doc/privoxy-manual/files-in-use.jpg
-%%PORTDOCS%%share/doc/privoxy-manual/filter-file.html
-%%PORTDOCS%%share/doc/privoxy-manual/index.html
-%%PORTDOCS%%share/doc/privoxy-manual/installation.html
-%%PORTDOCS%%share/doc/privoxy-manual/introduction.html
-%%PORTDOCS%%share/doc/privoxy-manual/p_doc.css
-%%PORTDOCS%%share/doc/privoxy-manual/proxy2.jpg
-%%PORTDOCS%%share/doc/privoxy-manual/proxy_setup.jpg
-%%PORTDOCS%%share/doc/privoxy-manual/quickstart.html
-%%PORTDOCS%%share/doc/privoxy-manual/seealso.html
-%%PORTDOCS%%share/doc/privoxy-manual/startup.html
-%%PORTDOCS%%share/doc/privoxy-manual/templates.html
-%%PORTDOCS%%share/doc/privoxy-manual/upgradersnote.html
-%%PORTDOCS%%share/doc/privoxy-manual/whatsnew.html
-share/examples/privoxy/config
-share/examples/privoxy/trust
-share/examples/privoxy/user.action
-@dirrm share/examples/privoxy
-%%PORTDOCS%%@dirrm share/doc/privoxy-manual
+%%DOCSDIR%%/user-manual/actions-file.html
+%%DOCSDIR%%/user-manual/appendix.html
+%%DOCSDIR%%/user-manual/config.html
+%%DOCSDIR%%/user-manual/configuration.html
+%%DOCSDIR%%/user-manual/contact.html
+%%DOCSDIR%%/user-manual/copyright.html
+%%DOCSDIR%%/user-manual/files-in-use.jpg
+%%DOCSDIR%%/user-manual/filter-file.html
+%%DOCSDIR%%/user-manual/index.html
+%%DOCSDIR%%/user-manual/installation.html
+%%DOCSDIR%%/user-manual/introduction.html
+%%DOCSDIR%%/user-manual/p_doc.css
+%%DOCSDIR%%/user-manual/proxy2.jpg
+%%DOCSDIR%%/user-manual/proxy_setup.jpg
+%%DOCSDIR%%/user-manual/quickstart.html
+%%DOCSDIR%%/user-manual/seealso.html
+%%DOCSDIR%%/user-manual/startup.html
+%%DOCSDIR%%/user-manual/templates.html
+%%DOCSDIR%%/user-manual/upgradersnote.html
+%%DOCSDIR%%/user-manual/whatsnew.html
+%%EXAMPLESDIR%%/config
+%%EXAMPLESDIR%%/trust
+%%EXAMPLESDIR%%/user.action
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/user-manual
 @dirrm etc/privoxy/templates
 @dirrm etc/privoxy


>Release-Note:
>Audit-Trail:
>Unformatted:



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