aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2011-07-07 02:06:07 +0800
committerflo <flo@FreeBSD.org>2011-07-07 02:06:07 +0800
commit21ea36cec3dc3dea5d1cb4e5d375cd70109b1ca2 (patch)
treee041b25f12bc86c2b0b37b1cc67d51ece2390b2d /www
parente5048949f850984d39fea48ea32eeb252f4629f0 (diff)
downloadfreebsd-ports-gnome-21ea36cec3dc3dea5d1cb4e5d375cd70109b1ca2.tar.gz
freebsd-ports-gnome-21ea36cec3dc3dea5d1cb4e5d375cd70109b1ca2.tar.zst
freebsd-ports-gnome-21ea36cec3dc3dea5d1cb4e5d375cd70109b1ca2.zip
- update to 3.1.14 [1]
- Use PLIST_DIRSTRY for ETCDIR: configuration file (not in PLIST) is ETCDIR/squid.conf by default [2] - Use ETCDIR [2] - Make portlint happier [2] - Bump PORTREVISION for PLIST change [2] PR: ports/158685 [1] ports/158522 [2] Submitted by: Thomas-Martin Seck <tmseck@web.de> (maintainer) [1] sunpoet [2] Approved by: maintainer [2]
Diffstat (limited to 'www')
-rw-r--r--www/squid31/Makefile27
-rw-r--r--www/squid31/distinfo4
2 files changed, 15 insertions, 16 deletions
diff --git a/www/squid31/Makefile b/www/squid31/Makefile
index 56b5fdaf784c..e4448bb865e6 100644
--- a/www/squid31/Makefile
+++ b/www/squid31/Makefile
@@ -72,7 +72,6 @@ MASTER_SITE_SUBDIR= squid
DISTNAME= squid-3.1.${SQUID_STABLE_VER}
DIST_SUBDIR= squid3.1
-PATCHFILES=
PATCH_SITES= http://www.squid-cache.org/%SUBDIR%/ \
http://www2.us.squid-cache.org/%SUBDIR%/ \
http://www1.at.squid-cache.org/%SUBDIR%/ \
@@ -82,13 +81,14 @@ PATCH_SITES= http://www.squid-cache.org/%SUBDIR%/ \
http://www1.jp.squid-cache.org/%SUBDIR%/ \
http://www2.tw.squid-cache.org/%SUBDIR%/
PATCH_SITE_SUBDIR= Versions/v3/3.1/changesets
+PATCHFILES= # empty
MAINTAINER= tmseck@web.de
COMMENT= HTTP Caching Proxy
LATEST_LINK= squid31
-SQUID_STABLE_VER= 12
+SQUID_STABLE_VER= 14
CONFLICTS_INSTALL= squid-2.[0-9].* squid-3.[^1].* cacheboy-[0-9]* lusca-head-[0-9]*
GNU_CONFIGURE= yes
@@ -216,10 +216,10 @@ sbin= squidclient squid
CONFIGURE_ARGS= --with-default-user=${SQUID_UID} \
--bindir=${PREFIX}/sbin \
--sbindir=${PREFIX}/sbin \
- --datadir=${PREFIX}/etc/squid \
+ --datadir=${ETCDIR} \
--libexecdir=${PREFIX}/libexec/squid \
--localstatedir=/var/squid \
- --sysconfdir=${PREFIX}/etc/squid \
+ --sysconfdir=${ETCDIR} \
--with-logdir=/var/log/squid \
--with-pidfile=/var/run/squid/squid.pid \
--enable-removal-policies="lru heap" \
@@ -415,21 +415,20 @@ WITH_DEBUG?= yes
# Finally, add additional user specified configuration options:
CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS}
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}" \
- CPPFLAGS="${CPPFLAGS}"\
- LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-PLIST_DIRS= etc/squid/icons libexec/squid
-PLIST_FILES= ${etc_files:S,^,etc/,} ${icon_files:S,^,etc/squid/icons/,} \
+PLIST_DIRS= %%ETCDIR%%/icons libexec/squid
+PLIST_FILES= ${etc_files:S,^,etc/,} ${icon_files:S,^,%%ETCDIR%%/icons/,} \
${libexec:S,^,libexec/squid/,} ${sbin:S,^,sbin/,}
-PLIST_FILES+= etc/squid/errors/COPYRIGHT etc/squid/errors/TRANSLATORS
+PLIST_FILES+= %%ETCDIR%%/errors/COPYRIGHT %%ETCDIR%%/errors/TRANSLATORS
.for d in ${error_dirs}
-PLIST_DIRS+= etc/squid/errors/${d}
-PLIST_FILES+= ${error_files:S,^,etc/squid/errors/${d}/,}
+PLIST_DIRS+= %%ETCDIR%%/errors/${d}
+PLIST_FILES+= ${error_files:S,^,%%ETCDIR%%/errors/${d}/,}
.endfor
-PLIST_FILES+= ${error_dir_links:S,^,etc/squid/errors/,}
-PLIST_DIRS+= etc/squid/errors etc/squid
+PLIST_FILES+= ${error_dir_links:S,^,%%ETCDIR%%/errors/,}
+PLIST_DIRS+= %%ETCDIR%%/errors
+PLIST_DIRSTRY+= %%ETCDIR%%
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
diff --git a/www/squid31/distinfo b/www/squid31/distinfo
index 29b9d2a96280..8dedc7186337 100644
--- a/www/squid31/distinfo
+++ b/www/squid31/distinfo
@@ -1,2 +1,2 @@
-SHA256 (squid3.1/squid-3.1.12.tar.bz2) = 1f67b8587432ca61c372015e468d8b91f32f836d8373e407ab33b1b6ec7fc322
-SIZE (squid3.1/squid-3.1.12.tar.bz2) = 2491613
+SHA256 (squid3.1/squid-3.1.14.tar.bz2) = 8faf16d73ae44029e698160386c45ab853f2fc842601bd550a1c5461815d8a3e
+SIZE (squid3.1/squid-3.1.14.tar.bz2) = 2510694