mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Update to upstream version 4.0.19
Detailed maintainer log: - Update to 4.0.19 - Make it possible to set alternative squid_krb5_config via rc script - Unbreak build with openssl-devel - Add bdb to USES since some helpers need it (see http://www.squid-cache.org/Versions/v4/changesets/squid-4-15013.patch) PR: 218505 Submitted by: timp87@gmail.com (maintainer) MFH: 2017Q2
This commit is contained in:
parent
a976ad51b3
commit
cf65bec600
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438126
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= squid
|
||||
PORTVERSION= 4.0.18
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 4.0.19
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= http://www.squid-cache.org/Versions/v4/ \
|
||||
http://www2.us.squid-cache.org/Versions/v4/ \
|
||||
@ -29,11 +28,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
CONFLICTS= squid*-3.*
|
||||
|
||||
USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz
|
||||
USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz bdb
|
||||
CPE_VENDOR= squid-cache
|
||||
SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl
|
||||
GNU_CONFIGURE= yes
|
||||
USE_RC_SUBR= squid
|
||||
CPPFLAGS+= -I${BDB_INCLUDE_DIR}
|
||||
LDFLAGS+= -L${BDB_LIB_DIR}
|
||||
|
||||
USERS= squid
|
||||
GROUPS= squid
|
||||
@ -304,10 +305,6 @@ post-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
|
||||
BROKEN= Does not build with openssl-devel
|
||||
.endif
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||
#CXXFLAGS+= -Wno-unused-private-field
|
||||
CXXFLAGS+= -Wno-unknown-warning-option
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1467941699
|
||||
SHA256 (squid4.0/squid-4.0.18.tar.xz) = 6e5d2dd9477085b023c4c8ebfc2124ed2bc9795fdc74d190c9273c70ba6f2560
|
||||
SIZE (squid4.0/squid-4.0.18.tar.xz) = 2411340
|
||||
SHA256 (squid4.0/squid-4.0.19.tar.xz) = 355a7f816afd8b9b5d0d785e9c80c28a7e4c6edb8832ac865ad267d5e3360050
|
||||
SIZE (squid4.0/squid-4.0.19.tar.xz) = 2414764
|
||||
|
@ -42,6 +42,9 @@
|
||||
# squid_krb5_ktname:
|
||||
# Alternative Kerberos 5 Key Table.
|
||||
# Default: none
|
||||
# squid_krb5_config:
|
||||
# Alternative Kerberos 5 config file
|
||||
# Default: none
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
@ -90,6 +93,12 @@ squid_prestart()
|
||||
export KRB5_KTNAME=${squid_krb5_ktname}
|
||||
fi
|
||||
|
||||
# setup KRB5_CONFIG:
|
||||
squid_krb5_config=${squid_krb5_config:-"NONE"}
|
||||
if [ "${squid_krb5_config}" != "NONE" ]; then
|
||||
export KRB5_CONFIG=${squid_krb5_config}
|
||||
fi
|
||||
|
||||
# setup FIB tables:
|
||||
if command -v check_namevarlist > /dev/null 2>&1; then
|
||||
check_namevarlist fib && return 0
|
||||
|
Loading…
Reference in New Issue
Block a user