summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>2006-01-05 19:12:35 +0000
committergarbled <garbled@pkgsrc.org>2006-01-05 19:12:35 +0000
commit15b7219e182b7ce2f6fe681a4fb90e1b091eda42 (patch)
tree728ede31369cca79f3283f5bcc1ce0a8f8e51b5c
parenta1a6f333e016791e8ec06cf912236b3142269b15 (diff)
downloadpkgsrc-15b7219e182b7ce2f6fe681a4fb90e1b091eda42.tar.gz
Add new pkg noted in PR pkg/28824 www/ffproxy. Minor changes by myself
from submitted version. (submitted by Niklas Olmes) ffproxy is a filtering HTTP/HTTPS proxy server. It is able to filter by host, URL, and header. Custom header entries can be filtered and added.
-rw-r--r--www/ffproxy/DESCR8
-rw-r--r--www/ffproxy/Makefile14
-rw-r--r--www/ffproxy/PLIST26
-rw-r--r--www/ffproxy/distinfo6
-rw-r--r--www/ffproxy/patches/patch-aa12
5 files changed, 66 insertions, 0 deletions
diff --git a/www/ffproxy/DESCR b/www/ffproxy/DESCR
new file mode 100644
index 00000000000..be14bae39ea
--- /dev/null
+++ b/www/ffproxy/DESCR
@@ -0,0 +1,8 @@
+ffproxy is a filtering HTTP/HTTPS proxy server. It is able to filter by
+host, URL, and header. Custom header entries can be filtered and added.
+It can even drop its privileges and optionally chroot() to some
+directory. Logging to syslog() is supported, as is using another
+auxiliary proxy server. An HTTP accelerator feature (acting as a
+front-end to an HTTP server) is included. Contacting IPv6 servers as
+well as binding to IPv6 is supported and allows transparent IPv6 over
+IPv4 browsing (and vice versa).
diff --git a/www/ffproxy/Makefile b/www/ffproxy/Makefile
new file mode 100644
index 00000000000..057319dab02
--- /dev/null
+++ b/www/ffproxy/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/05 19:12:35 garbled Exp $
+
+DISTNAME= ffproxy-1.6
+CATEGORIES= www
+MASTER_SITES= http://faith.eu.org/ffproxy/
+
+MAINTAINER= niklas@noxa.de
+HOMEPAGE= http://faith.eu.org/programs.html\#ffproxy
+COMMENT= Filtering HTTP/HTTPS proxy server
+
+GNU_CONFIGURE= yes
+
+CONF_FILES= ${PREFIX}/share/ffproxy/sample.config ${PKG_SYSCONFDIR}/ffproxy.conf
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ffproxy/PLIST b/www/ffproxy/PLIST
new file mode 100644
index 00000000000..04775d793d3
--- /dev/null
+++ b/www/ffproxy/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/01/05 19:12:35 garbled Exp $
+bin/ffproxy
+man/man5/ffproxy.conf.5
+man/man7/ffproxy.quick.7
+man/man8/ffproxy.8
+share/ffproxy/db/access.dyndns
+share/ffproxy/db/access.host
+share/ffproxy/db/access.ip
+share/ffproxy/db/filter.header.add
+share/ffproxy/db/filter.header.drop
+share/ffproxy/db/filter.header.entry
+share/ffproxy/db/filter.header.match
+share/ffproxy/db/filter.host.match
+share/ffproxy/db/filter.rheader.drop
+share/ffproxy/db/filter.rheader.entry
+share/ffproxy/db/filter.rheader.match
+share/ffproxy/db/filter.url.match
+share/ffproxy/html/connect
+share/ffproxy/html/filtered
+share/ffproxy/html/invalid
+share/ffproxy/html/post
+share/ffproxy/html/resolve
+share/ffproxy/sample.config
+@dirrm share/ffproxy/html
+@dirrm share/ffproxy/db
+@dirrm share/ffproxy
diff --git a/www/ffproxy/distinfo b/www/ffproxy/distinfo
new file mode 100644
index 00000000000..ac36df36b03
--- /dev/null
+++ b/www/ffproxy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/01/05 19:12:35 garbled Exp $
+
+SHA1 (ffproxy-1.6.tar.gz) = 89c78f47f38caf8f88e9cfd0c4d71c81284f0f24
+RMD160 (ffproxy-1.6.tar.gz) = ee04548d22a5d9dd12d6ffc6a36a638b59dc46a5
+Size (ffproxy-1.6.tar.gz) = 77535 bytes
+SHA1 (patch-aa) = e5e0cc7c822470c78e95f3703b3a579f8ec39585
diff --git a/www/ffproxy/patches/patch-aa b/www/ffproxy/patches/patch-aa
new file mode 100644
index 00000000000..9d06aad7689
--- /dev/null
+++ b/www/ffproxy/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/01/05 19:12:35 garbled Exp $
+--- Makefile.in.orig 2006-01-05 11:50:45.000000000 -0700
++++ Makefile.in 2006-01-05 11:51:59.000000000 -0700
+@@ -62,7 +62,7 @@
+ $(DESTDIR)$(mandir)/man7 \
+ $(DESTDIR)$(mandir)/man8
+
+-install: installdirs install_bin install_man install_config install_sample install_data
++install: installdirs install_bin install_man install_sample install_data
+
+ install_bin: ffproxy
+ $(INSTALL_PROGRAM) ffproxy $(DESTDIR)$(bindir)