aboutsummaryrefslogtreecommitdiffstats
path: root/www/squid31
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-08-09 13:35:04 +0800
committermiwi <miwi@FreeBSD.org>2010-08-09 13:35:04 +0800
commit4df6be635b749eb839ebac3bf48ad423e095a567 (patch)
treedaf37dea6286028ca4b67d50809eff1ac22fab71 /www/squid31
parentfcf60706a3a0487629f3ff8b29dc02adc4d025fd (diff)
downloadfreebsd-ports-gnome-4df6be635b749eb839ebac3bf48ad423e095a567.tar.gz
freebsd-ports-gnome-4df6be635b749eb839ebac3bf48ad423e095a567.tar.zst
freebsd-ports-gnome-4df6be635b749eb839ebac3bf48ad423e095a567.zip
- Update to 3.1.6
PR: 149426 Submitted by: Thomas-Martin Seck <tmseck@web.de> (maintainer)
Diffstat (limited to 'www/squid31')
-rw-r--r--www/squid31/Makefile25
-rw-r--r--www/squid31/distinfo18
2 files changed, 19 insertions, 24 deletions
diff --git a/www/squid31/Makefile b/www/squid31/Makefile
index 72560ef13f5d..058acf7e0b69 100644
--- a/www/squid31/Makefile
+++ b/www/squid31/Makefile
@@ -48,12 +48,9 @@
# to indicate variance within an accelerator setup. Typically used
# together with other code that adds custom HTTP headers to the
# requests.
-# --disable-loadable-modules
-# Do not support loadable modules.
PORTNAME= squid
PORTVERSION= 3.1.${SQUID_STABLE_VER}
-PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
http://mirrors.ccs.neu.edu/Squid/ \
@@ -75,8 +72,7 @@ MASTER_SITE_SUBDIR= squid
DISTNAME= squid-3.1.${SQUID_STABLE_VER}
DIST_SUBDIR= squid3.1
-PATCHFILES= squid-3.1-9996.patch squid-3.1-9998.patch \
- squid-3.1-10001.patch squid-3.1-10003.patch
+PATCHFILES=
PATCH_SITES= http://www.squid-cache.org/%SUBDIR%/ \
http://www2.us.squid-cache.org/%SUBDIR%/ \
http://www1.at.squid-cache.org/%SUBDIR%/ \
@@ -92,7 +88,7 @@ COMMENT= HTTP Caching Proxy
LATEST_LINK= squid31
-SQUID_STABLE_VER= 4
+SQUID_STABLE_VER= 6
CONFLICTS= squid-2.[0-9].* squid-3.[^1].* cacheboy-[0-9]* lusca-head-[0-9]*
GNU_CONFIGURE= yes
@@ -181,10 +177,15 @@ error_files= ERR_ACCESS_DENIED ERR_CACHE_ACCESS_DENIED \
ERR_URN_RESOLVE ERR_WRITE_ERROR ERR_ZERO_SIZE_OBJECT
error_dirs= af ar az bg ca cs da de el en es et fa fi fr he hu hy id it \
- ja ko lt lv ms nl pl pt pt-br ro ru sk sv th tr uk uz \
+ ja ko lt lv ms nl pl pt pt-br ro ru sk sr sv th tr uk uz \
zh-cn zh-tw \
templates
+# XXX: this is probably a bug in 3.1.6: sr-latn should probably a symlink but
+# is installed as a directory; if this is intentional the directory is
+# currently empty which is not really useful either.
+error_dirs+= sr-latn
+
error_dir_links= ar-ae ar-bh ar-dz ar-eg ar-iq ar-jo ar-kw ar-lb \
ar-ly ar-ma ar-om ar-qa ar-sa ar-sy ar-tn ar-ye \
az-az bg-bg cs-cz da-dk \
@@ -200,7 +201,8 @@ error_dir_links= ar-ae ar-bh ar-dz ar-eg ar-iq ar-jo ar-kw ar-lb \
fr-be fr-ca fr-ch fr-fr fr-lu fr-mc \
he-il hu-hu hy-am id-id it-ch it-it \
ja-jp ko-kp ko-kr lt-lt lv-lv ms-my nl-nl \
- pl-pl pt-pt ro-md ro-ro ru-ru sk-sk sv-fi sv-se \
+ pl-pl pt-pt ro-md ro-ro ru-ru sk-sk \
+ sr-latn-cs sr-sp sv-fi sv-se \
th-th tr-tr uk-ua zh-hk zh-mo zh-sg
libexec= cachemgr.cgi digest_pw_auth diskd ip_user_check \
@@ -372,10 +374,15 @@ CONFIGURE_ARGS+= --enable-ipf-transparent
CONFIGURE_ARGS+= --enable-follow-x-forwarded-for
.endif
.if defined(WITH_SQUID_ECAP)
-CONFIGURE_ARGS+= --enable-ecap
+CONFIGURE_ARGS+= --enable-ecap --enable-loadable-modules
+# XXX: work around issues with the bundled libtool from 3.1.5 onwards;
+# we need to tell c++ where to find them explicitly
+CFLAGS+= -I${WRKSRC}/libltdl
LIB_DEPENDS+= ecap:${PORTSDIR}/www/libecap
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+= --disable-ecap --disable-loadable-modules
.endif
.if defined(WITH_SQUID_ICAP)
CONFIGURE_ARGS+= --enable-icap-client
diff --git a/www/squid31/distinfo b/www/squid31/distinfo
index e8d4399a225b..383f4846c656 100644
--- a/www/squid31/distinfo
+++ b/www/squid31/distinfo
@@ -1,15 +1,3 @@
-MD5 (squid3.1/squid-3.1.4.tar.bz2) = 3fb544ae02fadc2b4085f62bb927e861
-SHA256 (squid3.1/squid-3.1.4.tar.bz2) = 13ea33907c64f417afaf596b04550cd950f57dc43357d309ffa92cfac2de58f6
-SIZE (squid3.1/squid-3.1.4.tar.bz2) = 2391480
-MD5 (squid3.1/squid-3.1-9996.patch) = fb7015ac764dc983bad8f4e8f0a680cb
-SHA256 (squid3.1/squid-3.1-9996.patch) = fb2de712f92ffca73605922f08e2184175533a9e1e9df4178af0fddfdc6f1111
-SIZE (squid3.1/squid-3.1-9996.patch) = 1214
-MD5 (squid3.1/squid-3.1-9998.patch) = 285521327dc60bc33d4da1debdd5c2d5
-SHA256 (squid3.1/squid-3.1-9998.patch) = 1e4223c57fc4dce47d4dea641483da7c6c168f840d20a5f6dc7412671ad47a32
-SIZE (squid3.1/squid-3.1-9998.patch) = 1831
-MD5 (squid3.1/squid-3.1-10001.patch) = 64e06d8dcb502629aba961ccb668a1af
-SHA256 (squid3.1/squid-3.1-10001.patch) = d143fbe3f0971cee6c608c55e5dada12a8eae7a91a6703c8faac0354afa763b5
-SIZE (squid3.1/squid-3.1-10001.patch) = 1456
-MD5 (squid3.1/squid-3.1-10003.patch) = c51b389275838d8ed5abdf2ccd36c18c
-SHA256 (squid3.1/squid-3.1-10003.patch) = 3a458219c3ea274869a3fceafba10d08790a8027f93bccbae5fb65f70bcf3e34
-SIZE (squid3.1/squid-3.1-10003.patch) = 1875
+MD5 (squid3.1/squid-3.1.6.tar.bz2) = e9e2e9a9b5a305ba717be93ebb85f245
+SHA256 (squid3.1/squid-3.1.6.tar.bz2) = e1de72d85a1b607e7dd477e29c4582b34f844af675211cb273421c920073f4fa
+SIZE (squid3.1/squid-3.1.6.tar.bz2) = 2421219