Lines 29-35
Link Here
|
29 |
|
29 |
|
30 |
PORTNAME= squid |
30 |
PORTNAME= squid |
31 |
PORTVERSION= 2.5.5 |
31 |
PORTVERSION= 2.5.5 |
32 |
PORTREVISION= 3 |
32 |
PORTREVISION= 4 |
33 |
CATEGORIES= www |
33 |
CATEGORIES= www |
34 |
MASTER_SITES= \ |
34 |
MASTER_SITES= \ |
35 |
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
35 |
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
Lines 50-56
Link Here
|
50 |
squid-2.5.STABLE5-CONNECT_timeout.patch \ |
50 |
squid-2.5.STABLE5-CONNECT_timeout.patch \ |
51 |
squid-2.5.STABLE5-cache_swap_log.patch \ |
51 |
squid-2.5.STABLE5-cache_swap_log.patch \ |
52 |
squid-2.5.STABLE5-ntlm_warning.patch \ |
52 |
squid-2.5.STABLE5-ntlm_warning.patch \ |
53 |
squid-2.5.STABLE5-rfc1035NameUnpack.patch |
53 |
squid-2.5.STABLE5-rfc1035NameUnpack.patch \ |
|
|
54 |
squid-2.5.STABLE5-digest_blank.patch |
54 |
PATCH_DIST_STRIP= -p1 |
55 |
PATCH_DIST_STRIP= -p1 |
55 |
|
56 |
|
56 |
MAINTAINER= tmseck@netcologne.de |
57 |
MAINTAINER= tmseck@netcologne.de |
Lines 90-97
Link Here
|
90 |
SQUID_ARP_ACL "Enable ACLs based on ethernet address" off \ |
91 |
SQUID_ARP_ACL "Enable ACLs based on ethernet address" off \ |
91 |
SQUID_PF "Enable transp. proxy support using PF" off \ |
92 |
SQUID_PF "Enable transp. proxy support using PF" off \ |
92 |
SQUID_FOLLOW_XFF "Follow X-Forwarded-For headers" off \ |
93 |
SQUID_FOLLOW_XFF "Follow X-Forwarded-For headers" off \ |
93 |
SQUID_AUFS "Enable the aufs store type" off \ |
94 |
SQUID_AUFS "Enable the aufs storage scheme" off \ |
94 |
SQUID_COSS "Enable the COSS store type" off \ |
95 |
SQUID_COSS "Enable the COSS storage scheme" off \ |
95 |
SQUID_STACKTRACES "Create backtraces on fatal errors" off |
96 |
SQUID_STACKTRACES "Create backtraces on fatal errors" off |
96 |
|
97 |
|
97 |
PLIST_FILES= etc/rc.d/squid.sh etc/squid/mib.txt etc/squid/mime.conf.default \ |
98 |
PLIST_FILES= etc/rc.d/squid.sh etc/squid/mib.txt etc/squid/mime.conf.default \ |
Lines 125-145
Link Here
|
125 |
--enable-external-acl-helpers="${external_acl}" \ |
126 |
--enable-external-acl-helpers="${external_acl}" \ |
126 |
--enable-ntlm-auth-helpers="SMB winbind" |
127 |
--enable-ntlm-auth-helpers="SMB winbind" |
127 |
|
128 |
|
128 |
# Selection of store types: |
129 |
# Selection of storage schemes: |
129 |
|
130 |
|
130 |
store_types= ufs diskd null |
131 |
storage_schemes= ufs diskd null |
131 |
.if defined(WITH_SQUID_AUFS) |
132 |
.if defined(WITH_SQUID_AUFS) |
132 |
store_types+= aufs |
133 |
storage_schemes+= aufs |
133 |
# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS |
134 |
# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS |
134 |
CONFIGURE_ARGS+= --enable-async-io \ |
135 |
CONFIGURE_ARGS+= --enable-async-io \ |
135 |
--with-pthreads |
136 |
--with-pthreads |
136 |
CFLAGS+= ${PTHREAD_CFLAGS} |
137 |
CFLAGS+= ${PTHREAD_CFLAGS} |
137 |
.endif |
138 |
.endif |
138 |
.if defined(WITH_SQUID_COSS) |
139 |
.if defined(WITH_SQUID_COSS) |
139 |
store_types+= coss |
140 |
storage_schemes+= coss |
140 |
CONFIGURE_ARGS+= --with-aio |
141 |
CONFIGURE_ARGS+= --with-aio |
141 |
.endif |
142 |
.endif |
142 |
CONFIGURE_ARGS+= --enable-storeio="${store_types}" |
143 |
CONFIGURE_ARGS+= --enable-storeio="${storage_schemes}" |
143 |
|
144 |
|
144 |
# Other options set via 'make config': |
145 |
# Other options set via 'make config': |
145 |
|
146 |
|
Lines 156-162
Link Here
|
156 |
# we need to .include bsd.openssl.mk manually here because USE_OPENSSL only |
157 |
# we need to .include bsd.openssl.mk manually here because USE_OPENSSL only |
157 |
# works when it is defined before bsd.port{.pre}.mk is .included and this is |
158 |
# works when it is defined before bsd.port{.pre}.mk is .included and this is |
158 |
# not possible when using OPTIONS |
159 |
# not possible when using OPTIONS |
159 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
160 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
160 |
CONFIGURE_ARGS+= --enable-ssl \ |
161 |
CONFIGURE_ARGS+= --enable-ssl \ |
161 |
--with-openssl="${OPENSSLBASE}" |
162 |
--with-openssl="${OPENSSLBASE}" |
162 |
CFLAGS+= -I${OPENSSLINC} |
163 |
CFLAGS+= -I${OPENSSLINC} |