aboutsummaryrefslogtreecommitdiff
path: root/www/ziproxy
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-09-13 08:48:48 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-09-13 08:48:48 +0000
commit20eefeeaadeafd4bef2c2b9654de9d969355dff4 (patch)
tree762ed2c9259d46be2ba759ac7aadc9d3a4cde137 /www/ziproxy
parent8e207c66431b348cd05858761bf24e560fb4fb02 (diff)
downloadports-20eefeeaadeafd4bef2c2b9654de9d969355dff4.tar.gz
ports-20eefeeaadeafd4bef2c2b9654de9d969355dff4.zip
Notes
Diffstat (limited to 'www/ziproxy')
-rw-r--r--www/ziproxy/Makefile13
-rw-r--r--www/ziproxy/distinfo6
-rw-r--r--www/ziproxy/files/patch-ziproxy.conf9
3 files changed, 14 insertions, 14 deletions
diff --git a/www/ziproxy/Makefile b/www/ziproxy/Makefile
index 45ce9da31ae2..0901aab44206 100644
--- a/www/ziproxy/Makefile
+++ b/www/ziproxy/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= ziproxy
-PORTVERSION= 2.1.0
+PORTVERSION= 2.1.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -39,7 +39,7 @@ USE_RC_SUBR= ziproxy
SUB_FILES+= pkg-message
-.include <bsd.port.pre.mk>
+OPTIONS+= JPEG2000 "Build with JPEG2000 support" on
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
@@ -71,4 +71,13 @@ post-install:
@${CAT} ${PKGMESSAGE}
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_JPEG2000)
+CONFIGURE_ARGS+= --without-jasper
+.else
+CONFIGURE_ARGS+= --with-jasper
+LIB_DEPENDS+= jasper.4:${PORTSDIR}/graphics/jasper
+.endif
+
.include <bsd.port.post.mk>
diff --git a/www/ziproxy/distinfo b/www/ziproxy/distinfo
index b94525eadca0..9850a2ea58d9 100644
--- a/www/ziproxy/distinfo
+++ b/www/ziproxy/distinfo
@@ -1,3 +1,3 @@
-MD5 (ziproxy-2.1.0.tar.bz2) = e474fbddfd9af2fba36318705746b997
-SHA256 (ziproxy-2.1.0.tar.bz2) = 7d9ebee8824d8cba1b212cf830346455ae0fe52af1ea2231a5d02237e37bfd58
-SIZE (ziproxy-2.1.0.tar.bz2) = 134815
+MD5 (ziproxy-2.1.1.tar.bz2) = 74df3faf28e7b4c62ae10bfcfecf1c2c
+SHA256 (ziproxy-2.1.1.tar.bz2) = 35b5dd9d06eae54e3e3ce5696a5646f6d1b7dfd15f50ca63598e8e599d3a5fd9
+SIZE (ziproxy-2.1.1.tar.bz2) = 134973
diff --git a/www/ziproxy/files/patch-ziproxy.conf b/www/ziproxy/files/patch-ziproxy.conf
index b6bfeb94631d..4f4fdfa67eef 100644
--- a/www/ziproxy/files/patch-ziproxy.conf
+++ b/www/ziproxy/files/patch-ziproxy.conf
@@ -1,14 +1,5 @@
--- etc/ziproxy.conf.orig Wed Jul 26 09:01:36 2006
+++ etc/ziproxy.conf Mon Jul 31 01:07:02 2006
-@@ -9,7 +9,7 @@
-
- ## WARNING: Remember to restrict the access to Ziproxy
- ## if your machine is directly connected to the Internet.
--# OnlyFrom = "127.0.0.1"
-+OnlyFrom = "localhost"
-
- # Inactivity timeout before closing the daemon (0 = no timeout)
- NetdTimeout = 0
@@ -36,7 +36,7 @@
## HTTP auth file
## Should contain user:pass pairs, lines no longer than 128 chars