mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- 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]
This commit is contained in:
parent
0ddae5b335
commit
7fc211233c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277188
@ -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' \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user