summaryrefslogtreecommitdiff
path: root/www/privoxy
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2002-11-22 21:17:10 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2002-11-22 21:17:10 +0000
commit00578bf8ecd6fc92a0d54fd0c4598c9833e3f660 (patch)
tree797f197ef55df3b1137f3fca0e39a165d8c07e6f /www/privoxy
parentAdd p5-Text-Reflow 1.04, perl module for reflowing text files. (diff)
Add privoxy 3.0.0, privoxy is a web proxy with advanced filtering
capabilities. PR: ports/45602 Submitted by: John von Essen <john@essenz.com>
Notes
Notes: svn path=/head/; revision=70769
Diffstat (limited to 'www/privoxy')
-rw-r--r--www/privoxy/Makefile29
-rw-r--r--www/privoxy/distinfo1
-rw-r--r--www/privoxy/files/patch-GNUmakefile.in97
-rw-r--r--www/privoxy/pkg-comment1
-rw-r--r--www/privoxy/pkg-descr8
-rw-r--r--www/privoxy/pkg-plist56
6 files changed, 192 insertions, 0 deletions
diff --git a/www/privoxy/Makefile b/www/privoxy/Makefile
new file mode 100644
index 000000000000..d05424e79c0e
--- /dev/null
+++ b/www/privoxy/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: privoxy
+# Date created: 21 November 2002
+# Whom: John von Essen
+#
+# $FreeBSD$
+#
+
+PORTNAME= privoxy
+PORTVERSION= 3.0.0
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ijbswa
+DISTNAME= privoxy-3.0.0-stable-src
+
+MAINTAINER= john@essenz.com
+
+WRKSRC= ${WRKDIR}/privoxy-3.0.0-stable
+
+USE_GMAKE= yes
+USE_AUTOCONF= yes
+
+MAKEFILE= GNUmakefile
+
+MAN1= privoxy.1
+
+pre-configure:
+ @(cd ${WRKSRC}; autoheader${USE_AUTOCONF_VER})
+
+.include <bsd.port.mk>
diff --git a/www/privoxy/distinfo b/www/privoxy/distinfo
new file mode 100644
index 000000000000..008464342c44
--- /dev/null
+++ b/www/privoxy/distinfo
@@ -0,0 +1 @@
+MD5 (privoxy-3.0.0-stable-src.tar.gz) = 6790def33b3e5ade2aa576347aa3cd4c
diff --git a/www/privoxy/files/patch-GNUmakefile.in b/www/privoxy/files/patch-GNUmakefile.in
new file mode 100644
index 000000000000..49e7bbed6f51
--- /dev/null
+++ b/www/privoxy/files/patch-GNUmakefile.in
@@ -0,0 +1,97 @@
+--- GNUmakefile.in.orig Fri Aug 23 05:22:40 2002
++++ GNUmakefile.in Fri Nov 22 11:58:04 2002
+@@ -51,10 +51,10 @@
+ # Directories for "make install"
+ #############################################################################
+
+-DEST = @prefix@
+-CONFDEST = @prefix@@sysconfdir@
+-SBIN_DEST = @prefix@@sbindir@
+-MAN_DEST = @prefix@@mandir@
++DEST = /usr/local
++CONFDEST = /usr/local/etc/privoxy
++SBIN_DEST = /usr/local/sbin
++MAN_DEST = /usr/local/man/man1
+ DOK_WEB_USEM=doc/webserver/user-manual
+
+ #############################################################################
+@@ -67,9 +67,9 @@
+ GZIP_PROG = gzip
+ #INSTALL = cp -f
+ INSTALL = @INSTALL@
+-INSTALL_P = -m 0750 -g @GROUP@ -o @USER@ -b
+-INSTALL_T = -m 0640 -g @GROUP@ -o @USER@ -b
+-INSTALL_D = -m 0750 -g @GROUP@ -o @USER@ -d
++INSTALL_P = -m 0750 -g wheel -o root -b
++INSTALL_T = -m 0640 -g wheel -o root -b
++INSTALL_D = -m 0750 -g wheel -o root -d
+ LD = @CC@
+ RM = rm -f
+ STRIP_PROG = strip
+@@ -95,8 +95,8 @@
+ DOC_STATUS = @DOC_STATUS@
+
+ #User Group paras
+-USER = @USER@
+-GROUP = @GROUP@
++USER = root
++GROUP = wheel
+
+ # Program to do LF->CRLF
+ #
+@@ -963,42 +963,26 @@
+ etags $(SRCS) $(HDRS)
+
+ install: all
+- @$(ECHO) "***************************************************"; \
+- $(ECHO) "*** ***"; \
+- $(ECHO) "*** WARNING ***"; \
+- $(ECHO) "*** ***"; \
+- $(ECHO) "*** The install target is very broken and ***"; \
+- $(ECHO) "*** should not be used. For the time being, ***"; \
+- $(ECHO) "*** run from the build dir, install manually, ***"; \
+- $(ECHO) "*** or use a binary package. Sorry. ***"; \
+- $(ECHO) "*** ***"; \
+- $(ECHO) "***************************************************"; \
+- $(ECHO) "Type \"yes i am sure\" if you are sure that you"; \
+- $(ECHO) -n "really want to proceed with the broken install: "; \
+- read answer; \
+- if [ "$$answer" != "yes i am sure" ]; then exit 1; fi
+-
+- # FIXME!
+
+ $(STRIP_PROG) $(PROGRAM)
+ $(INSTALL) $(INSTALL_D) $(SBIN_DEST)
+- $(INSTALL) $(INSTALL_D) $(DEST)/user-manual
++ $(INSTALL) $(INSTALL_D) $(DEST)/privoxy-manual
+ $(INSTALL) $(INSTALL_D) $(CONFDEST)/templates
+- $(INSTALL) $(INSTALL_D) $(DEST)/$(DOK_WEB_USEM)
+ $(INSTALL) $(INSTALL_P) $(PROGRAM) $(SBIN_DEST)
+- if [ -d "$(DOK_WEB_USEM)" ]; then $(INSTALL) $(INSTALL_T) $(DOK_WEB_USEM)/[a-z]* $(DEST)/$(DOK_WEB_USEM); fi
++ if [ -d "$(DOK_WEB_USEM)" ]; then $(INSTALL) $(INSTALL_T) $(DOK_WEB_USEM)/[a-z]* $(DEST)/privoxy-manual; fi
+ $(INSTALL) $(INSTALL_T) templates/[a-z]* $(CONFDEST)/templates
+ $(INSTALL) $(INSTALL_T) config default.action default.filter trust $(CONFDEST)
+- # FIXME $(ECHO) privoxy.logrotate privoxy.monthly privoxy.weekly
+- # FIXME: Need new manual! $(GZIP_PROG) -c privoxy.1 > $(MAN_DEST)/privoxy.1.gz
+- $(INSTALL) $(INSTALL_P) privoxy.init /etc/init.d/privoxy
+-
+-coffee:
+- @perl -e 'print pack "C*", (31,139,8,8,153,63,226,60,2,3,99,111,102,102,101,101,0,109,143,205,13,192,32,8,133,\
+- 239,78,241,110,234,1,28,160,171,152,208,53,26,117,247,22,165,73,137,125,9,1,62,126,2,128,169,5,243,143,\
+- 13,139,49,164,65,100,149,152,102,73,141,88,73,178,116,205,100,69,253,36,102,81,49,83,236,19,225,171,131,\
+- 214,172,163,73,4,168,123,115,71,126,247,122,94,128,178,227,95,154,12,86,215,122,197,249,146,187,54,220,125,\
+- 193,51,228,11,1,0,0);'|zcat
++ $(GZIP_PROG) -c privoxy.1 > $(MAN_DEST)/privoxy.1.gz
++ @$(ECHO) "***********************************************************"
++ @$(ECHO) "** Before running privoxy you must modify the file **"
++ @$(ECHO) "** /usr/local/etc/privoxy/config **"
++ @$(ECHO) "** **"
++ @$(ECHO) "** Start privoxy with: **"
++ @$(ECHO) "** /usr/local/sbin/privoxy /usr/local/etc/privoxy/config **"
++ @$(ECHO) "** **"
++ @$(ECHO) "** For documentation see: **"
++ @$(ECHO) "** /usr/local/privoxy-manual/ or 'man privoxy' **"
++ @$(ECHO) "***********************************************************"
+
+ #############################################################################
+
diff --git a/www/privoxy/pkg-comment b/www/privoxy/pkg-comment
new file mode 100644
index 000000000000..8a0a41d4d6be
--- /dev/null
+++ b/www/privoxy/pkg-comment
@@ -0,0 +1 @@
+Privoxy is a web proxy with advanced filtering capabilities
diff --git a/www/privoxy/pkg-descr b/www/privoxy/pkg-descr
new file mode 100644
index 000000000000..c99bb36d48ac
--- /dev/null
+++ b/www/privoxy/pkg-descr
@@ -0,0 +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.
+
+WWW: http://www.privoxy.org/
diff --git a/www/privoxy/pkg-plist b/www/privoxy/pkg-plist
new file mode 100644
index 000000000000..864363744b6a
--- /dev/null
+++ b/www/privoxy/pkg-plist
@@ -0,0 +1,56 @@
+etc/privoxy/config
+etc/privoxy/default.action
+etc/privoxy/default.filter
+etc/privoxy/trust
+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/connect-failed
+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-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/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-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/show-version
+etc/privoxy/templates/toggle
+etc/privoxy/templates/toggle-mini
+etc/privoxy/templates/untrusted
+privoxy-manual/actions-file.html
+privoxy-manual/configuration.html
+privoxy-manual/filter-file.html
+privoxy-manual/introduction.html
+privoxy-manual/startup.html
+privoxy-manual/appendix.html
+privoxy-manual/contact.html
+privoxy-manual/index.html
+privoxy-manual/quickstart.html
+privoxy-manual/templates.html
+privoxy-manual/config.html
+privoxy-manual/copyright.html
+privoxy-manual/installation.html
+privoxy-manual/seealso.html
+privoxy-manual/upgradersnote.html
+sbin/privoxy
+@dirrm etc/privoxy/templates
+@dirrm etc/privoxy
+@dirrm privoxy-manual