summaryrefslogtreecommitdiff
path: root/www/ziproxy
diff options
context:
space:
mode:
Diffstat (limited to 'www/ziproxy')
-rw-r--r--www/ziproxy/Makefile104
-rw-r--r--www/ziproxy/distinfo2
-rw-r--r--www/ziproxy/files/patch-ziproxy.conf119
-rw-r--r--www/ziproxy/files/pkg-message.in2
-rw-r--r--www/ziproxy/files/ziproxy.in41
-rw-r--r--www/ziproxy/pkg-descr11
-rw-r--r--www/ziproxy/pkg-plist27
7 files changed, 0 insertions, 306 deletions
diff --git a/www/ziproxy/Makefile b/www/ziproxy/Makefile
deleted file mode 100644
index b5adaed1ef53..000000000000
--- a/www/ziproxy/Makefile
+++ /dev/null
@@ -1,104 +0,0 @@
-# New ports collection makefile for: ziproxy
-# Date created: 2006-07-28
-# Whom: Pankov Pavel <pankov_p@mail.ru>
-#
-# $FreeBSD$
-
-PORTNAME= ziproxy
-PORTVERSION= 3.2.0
-CATEGORIES= www
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
-
-MAINTAINER= pankov_p@mail.ru
-COMMENT= A forwarding, non-caching, compressing proxy server
-
-FORBIDDEN= Vulnerable since 2010-06-15, http://portaudit.freebsd.org/25673e6e-786b-11df-a921-0245fb008c0b.html
-EXPIRATION_DATE= 2011-10-14
-
-LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
- png.6:${PORTSDIR}/graphics/png \
- jpeg.11:${PORTSDIR}/graphics/jpeg
-
-USE_BZIP2= yes
-
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-cfgfile="${PREFIX}/etc/ziproxy/ziproxy.conf"
-
-PORTDOCS= README README.tools JPEG2000.txt
-
-MAN1= ziproxy.1 ziproxylogtool.1
-MANCOMPRESSED= no
-
-USE_RC_SUBR= ziproxy
-
-SUB_FILES+= pkg-message
-
-OPTIONS+= JPEG2000 "Build with JPEG2000 support" on \
- SASL "Build with SASL auth support" on \
- NAMESERVERS "Enable Nameservers config option" on
-
-ERROR_FILES= 400.html 403.html 404.html 407.html 408.html 409.html \
- 500.html 503.html
-SAMPLE_CONFIG_FILES= bo_exception.list change_tos.list deny.list http.passwd \
- noprocess.list replace.list replace_ct.list \
- ziproxy.conf sasl/ziproxy.conf
-
-post-patch:
- ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
- -e 's|%%DATADIR%%|${DATADIR}|g' \
- ${WRKSRC}/etc/ziproxy/ziproxy.conf
-
-post-install:
- ${MKDIR} ${PREFIX}/etc/ziproxy/sasl
-.for FILE in ${SAMPLE_CONFIG_FILES}
- ${INSTALL_DATA} ${WRKSRC}/etc/ziproxy/${FILE} ${PREFIX}/etc/ziproxy/${FILE}.sample
-.endfor
- if [ ! -f ${PREFIX}/etc/ziproxy/ziproxy.conf ]; then \
- ${CP} -p ${WRKSRC}/etc/ziproxy/ziproxy.conf ${PREFIX}/etc/ziproxy/ziproxy.conf ; \
- fi
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for FILE in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
-.endfor
-.endif
-
- ${MKDIR} ${DATADIR}/error
-.for FILE in ${ERROR_FILES}
- ${INSTALL_DATA} ${WRKSRC}/var/ziproxy/error/${FILE} ${DATADIR}/error/${FILE}
-.endfor
-
- ${INSTALL_SCRIPT} ${WRKSRC}/src/tools/ziproxy_genhtml_stats.sh ${PREFIX}/bin
-
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_JPEG2000)
-CONFIGURE_ARGS+= --with-jasper
-LIB_DEPENDS+= jasper.4:${PORTSDIR}/graphics/jasper
-.else
-CONFIGURE_ARGS+= --without-jasper
-.endif
-
-.if !defined(WITHOUT_SASL)
-CONFIGURE_ARGS+= --with-sasl2
-LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
-.else
-CONFIGURE_ARGS+= --without-sasl2
-.endif
-
-.if !defined(WITHOUT_NAMESERVERS)
-CONFIGURE_ARGS+= --enable-nameservers
-.else
-CONFIGURE_ARGS+= --disable-nameservers
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/www/ziproxy/distinfo b/www/ziproxy/distinfo
deleted file mode 100644
index 940467b90da2..000000000000
--- a/www/ziproxy/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ziproxy-3.2.0.tar.bz2) = b2b67ec63169e24e523aac7bf7bd576b20786ae281f0f8b87ae518a093bde87e
-SIZE (ziproxy-3.2.0.tar.bz2) = 264466
diff --git a/www/ziproxy/files/patch-ziproxy.conf b/www/ziproxy/files/patch-ziproxy.conf
deleted file mode 100644
index d4c2936545ae..000000000000
--- a/www/ziproxy/files/patch-ziproxy.conf
+++ /dev/null
@@ -1,119 +0,0 @@
---- etc/ziproxy/ziproxy.conf.orig 2010-09-04 06:06:15.000000000 +0400
-+++ etc/ziproxy/ziproxy.conf 2010-09-10 00:52:13.000000000 +0400
-@@ -12,12 +12,12 @@
- ## If you have more than one network interface,
- ## it's useful for restricting to which interface you want to bind to.
- ## By default Ziproxy binds to all interfaces.
--# Address = "127.0.0.1"
-+Address = "127.0.0.1"
-
- ## Accepts conections only from that address.
- ## WARNING: Remember to restrict the access to Ziproxy
- ## if your machine is directly connected to the Internet.
--# OnlyFrom = "127.0.0.1"
-+OnlyFrom = "127.0.0.1"
-
- ## Limits the number of simultaneous active user connections.
- ## This does not affect the connection queue (see: SOMAXCONN).
-@@ -120,7 +120,7 @@
- ## In order to match a whole site: "http://www.examplehost.xyz/*"
- ##
- ## Default: none
--# TOSMarkAsDiffURL = "/etc/ziproxy/change_tos.list"
-+# TOSMarkAsDiffURL = "%%PREFIX%%/etc/ziproxy/change_tos.list"
-
- ## This is the content-type list of data that should
- ## have their traffic "differentiated"
-@@ -279,7 +279,7 @@
- ##
- ## Default: (undefined)
- ## See also: AuthMode
--# AuthPasswdFile = "/etc/ziproxy/http.passwd"
-+# AuthPasswdFile = "%%PREFIX%%/etc/ziproxy/http.passwd"
-
- ## Path to Ziproxy's SASL configuration file, where
- ## a file named "ziproxy.conf" (not related to this one)
-@@ -288,7 +288,7 @@
- ##
- ## Default: (default SASL setting, OS-dependent, may be /etc/sasl2/)
- ## See also: AuthMode
--# AuthSASLConfPath = "/etc/ziproxy/sasl/"
-+# AuthSASLConfPath = "%%PREFIX%%/etc/ziproxy/sasl/"
-
- ## Forward everything to another proxy server.
- ## Modifications/compression is still applied.
-@@ -330,7 +330,7 @@
- ## This option has no effect if BindOutgoing is not used.
- ## Default: empty, no hosts are exempted.
- ## See also: BindOutgoingExAddr
--# BindOutgoingExList="/etc/ziproxy/bo_exception.list"
-+# BindOutgoingExList="%%PREFIX%%/etc/ziproxy/bo_exception.list"
-
- ## Defines a specific IP to be bound to for hosts specified in BindOutgoingExList.
- ## As with BindOutgoing, this IP must be a local IP from the server running Ziproxy.
-@@ -702,7 +702,7 @@
- ## *** THIS IS NOT SUPPOSED TO BE A DEFINITIVE SOLUTION TO INCOMPATIBILITIES ***
- ##
- ## Default: empty (no file specified, inactive)
--# URLNoProcessing = "/etc/ziproxy/noprocess.list"
-+# URLNoProcessing = "%%PREFIX%%/etc/ziproxy/noprocess.list"
-
- ## This option specifies a file containing a list of URLs which its
- ## data should be intercepted and replaced by another.
-@@ -721,7 +721,7 @@
- ##
- ## Default: empty (no file specified, inactive)
- ## See also: URLReplaceDataCT
--# URLReplaceData = "/etc/ziproxy/replace.list"
-+# URLReplaceData = "%%PREFIX%%/etc/ziproxy/replace.list"
-
- ## Same as URLReplaceData, except it will only replace the data
- ## from matching URLs if the content-type matches
-@@ -735,7 +735,7 @@
- ##
- ## Default: empty (no file specified, inactive)
- ## See also: URLReplaceDataCTList, URLReplaceData
--# URLReplaceDataCT = "/etc/ziproxy/replace_ct.list"
-+# URLReplaceDataCT = "%%PREFIX%%/etc/ziproxy/replace_ct.list"
-
- ## List of content-types to use with the URLReplaceDataCT option.
- ## This option is required by URLReplaceDataCT.
-@@ -761,7 +761,7 @@
- ## A "access denied" 403 error will be returned when trying to access
- ## one of those URLs.
- ## Default: empty (no file specified, inactive)
--# URLDeny = "/etc/ziproxy/deny.list"
-+# URLDeny = "%%PREFIX%%/etc/ziproxy/deny.list"
-
- ## Custom HTTP Error Messages
- ## Define here the full path to the HTML file which should be
-@@ -769,21 +769,21 @@
- ## Note: The internal defaults give more precise error messages.
- ##
- ## 400 - Bad request (malformed URL, or unknown URL type)
--# CustomError400="/var/ziproxy/error/400.html"
-+# CustomError400="%%DATADIR%%/error/400.html"
- ## 403 - Forbidden
--# CustomError403="/var/ziproxy/error/403.html"
-+# CustomError403="%%DATADIR%%/error/403.html"
- ## 404 - Unknown host (Ziproxy will not issue 'page not found' errors itself)
--# CustomError404="/var/ziproxy/error/404.html"
-+# CustomError404="%%DATADIR%%/error/404.html"
- ## 407 - Proxy Authentication Required
--# CustomError407="/var/ziproxy/error/407.html"
-+# CustomError407="%%DATADIR%%/error/407.html"
- ## 408 - Request timed out
--# CustomError408="/var/ziproxy/error/408.html"
-+# CustomError408="%%DATADIR%%/error/408.html"
- ## 409 - Conflict
--# CustomError409="/var/ziproxy/error/409.html"
-+# CustomError409="%%DATADIR%%/error/409.html"
- ## 500 - Internal error (or empty response from server)
--# CustomError500="/var/ziproxy/error/500.html"
-+# CustomError500="%%DATADIR%%/error/500.html"
- ## 503 - Connection refused (or service unavailable)
--# CustomError503="/var/ziproxy/error/503.html"
-+# CustomError503="%%DATADIR%%/error/503.html"
-
-
-
diff --git a/www/ziproxy/files/pkg-message.in b/www/ziproxy/files/pkg-message.in
deleted file mode 100644
index 4989f0ae8c4d..000000000000
--- a/www/ziproxy/files/pkg-message.in
+++ /dev/null
@@ -1,2 +0,0 @@
-By default ziproxy is configured to accept connections on localhost only.
-Edit %%PREFIX%%/etc/ziproxy/ziproxy.conf to allow remote access.
diff --git a/www/ziproxy/files/ziproxy.in b/www/ziproxy/files/ziproxy.in
deleted file mode 100644
index 0777a8bb7af1..000000000000
--- a/www/ziproxy/files/ziproxy.in
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: ziproxy
-# REQUIRE: DAEMON
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# ziproxy_enable (bool): Set to NO by default.
-# Set it to YES to enable ziproxy.
-# ziproxy_config (path): Set to %%PREFIX%%/etc/ziproxy/ziproxy.conf
-# by default.
-#
-
-. /etc/rc.subr
-
-name="ziproxy"
-rcvar=${name}_enable
-
-command=%%PREFIX%%/bin/${name}
-pidfile=/var/run/${name}.pid
-
-start_precmd="start_precmd"
-stop_postcmd="stop_postcmd"
-
-load_rc_config $name
-
-: ${ziproxy_enable="NO"}
-: ${ziproxy_config="%%PREFIX%%/etc/ziproxy/ziproxy.conf"}
-
-command_args="-d -c ${ziproxy_config} --pid-file ${pidfile}"
-
-start_precmd() {
- rm -f ${pidfile}
-}
-
-stop_postcmd() {
- rm -f ${pidfile}
-}
-
-run_rc_command "$1"
diff --git a/www/ziproxy/pkg-descr b/www/ziproxy/pkg-descr
deleted file mode 100644
index ba829fb5969c..000000000000
--- a/www/ziproxy/pkg-descr
+++ /dev/null
@@ -1,11 +0,0 @@
-Ziproxy is forwarding, non-caching, compressing HTTP proxy server.
-Basically it squeezes images by converting them to lower quality JPEGs or
-JPEG 2000 and compresses (gzip) HTML and other text-like data.
-It also provides other features such as: HTML/JS/CSS optimization, preemptive
-hostname resolution, transparent proxying, IP ToS marking (QoS), Ad-Blocker,
-detailed logging and more.
-Ziproxy does not require a client software and provides acceleration for any
-web browser, any operational system.
-
-
-WWW: http://ziproxy.sourceforge.net/
diff --git a/www/ziproxy/pkg-plist b/www/ziproxy/pkg-plist
deleted file mode 100644
index 1682bc646fe3..000000000000
--- a/www/ziproxy/pkg-plist
+++ /dev/null
@@ -1,27 +0,0 @@
-bin/ziproxy
-bin/ziproxylogtool
-bin/ziproxy_genhtml_stats.sh
-@exec mkdir -p %D/etc/ziproxy/sasl
-etc/ziproxy/bo_exception.list.sample
-etc/ziproxy/change_tos.list.sample
-etc/ziproxy/deny.list.sample
-etc/ziproxy/http.passwd.sample
-etc/ziproxy/noprocess.list.sample
-etc/ziproxy/replace.list.sample
-etc/ziproxy/replace_ct.list.sample
-@unexec if cmp -s %D/etc/ziproxy/ziproxy.conf.sample %D/etc/ziproxy/ziproxy.conf; then rm -f %D/etc/ziproxy/ziproxy.conf; fi
-@exec if [ ! -f %D/etc/ziproxy/ziproxy.conf ] ; then cp -p %D/%F %B/ziproxy.conf; fi
-etc/ziproxy/ziproxy.conf.sample
-etc/ziproxy/sasl/ziproxy.conf.sample
-@dirrmtry etc/ziproxy/sasl
-@dirrmtry etc/ziproxy
-%%DATADIR%%/error/400.html
-%%DATADIR%%/error/403.html
-%%DATADIR%%/error/404.html
-%%DATADIR%%/error/407.html
-%%DATADIR%%/error/408.html
-%%DATADIR%%/error/409.html
-%%DATADIR%%/error/500.html
-%%DATADIR%%/error/503.html
-@dirrm %%DATADIR%%/error
-@dirrm %%DATADIR%%