Lines 29-34
Link Here
|
29 |
|
29 |
|
30 |
PORTNAME= squid |
30 |
PORTNAME= squid |
31 |
PORTVERSION= 2.5.5 |
31 |
PORTVERSION= 2.5.5 |
|
|
32 |
PORTREVISION= 1 |
32 |
CATEGORIES= www |
33 |
CATEGORIES= www |
33 |
MASTER_SITES= \ |
34 |
MASTER_SITES= \ |
34 |
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
35 |
ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ |
Lines 42-48
Link Here
|
42 |
|
43 |
|
43 |
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ |
44 |
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/ |
44 |
PATCHFILES= squid-2.5.STABLE5-ntlm_assert.patch \ |
45 |
PATCHFILES= squid-2.5.STABLE5-ntlm_assert.patch \ |
45 |
squid-2.5.STABLE5-ldap.patch |
46 |
squid-2.5.STABLE5-ldap.patch \ |
|
|
47 |
squid-2.5.STABLE5-helper_warning.patch \ |
48 |
squid-2.5.STABLE5-vary.patch \ |
49 |
squid-2.5.STABLE5-deny_info.patch \ |
50 |
squid-2.5.STABLE5-CONNECT_timeout.patch |
46 |
PATCH_DIST_STRIP= -p1 |
51 |
PATCH_DIST_STRIP= -p1 |
47 |
|
52 |
|
48 |
MAINTAINER= tmseck@netcologne.de |
53 |
MAINTAINER= tmseck@netcologne.de |
Lines 163-169
Link Here
|
163 |
.if defined(WITHOUT_SQUID_WCCP) |
168 |
.if defined(WITHOUT_SQUID_WCCP) |
164 |
CONFIGURE_ARGS+= --disable-wccp |
169 |
CONFIGURE_ARGS+= --disable-wccp |
165 |
.endif |
170 |
.endif |
166 |
.if defined(WITH_SQUID_UNDERSCORES) |
171 |
.if !defined(WITHOUT_SQUID_UNDERSCORES) |
167 |
CONFIGURE_ARGS+= --enable-underscores |
172 |
CONFIGURE_ARGS+= --enable-underscores |
168 |
.endif |
173 |
.endif |
169 |
.if defined(WITHOUT_SQUID_CHECK_HOSTNAME) |
174 |
.if defined(WITHOUT_SQUID_CHECK_HOSTNAME) |
Lines 188-194
Link Here
|
188 |
# on 5.[0-2] systems instead, go on, I will integrate your patch. |
193 |
# on 5.[0-2] systems instead, go on, I will integrate your patch. |
189 |
CONFIGURE_ARGS+= --enable-pf-transparent |
194 |
CONFIGURE_ARGS+= --enable-pf-transparent |
190 |
.else |
195 |
.else |
191 |
.error WITH_SQUID_PF only works on systems where pf is part of the base system. |
196 |
IGNORE= WITH_SQUID_PF only works on systems where pf is part of the base system. |
192 |
.endif |
197 |
.endif |
193 |
.endif |
198 |
.endif |
194 |
.if defined(WITH_SQUID_FOLLOW_XFF) |
199 |
.if defined(WITH_SQUID_FOLLOW_XFF) |
Lines 306-312
Link Here
|
306 |
${ECHO_CMD} "this target!" |
311 |
${ECHO_CMD} "this target!" |
307 |
exit 1 |
312 |
exit 1 |
308 |
.endif |
313 |
.endif |
309 |
@if [ `id -u` -ne 0 ]; \ |
314 |
@if [ `${ID} -u` -ne 0 ]; \ |
310 |
then ${ECHO_CMD} "Sorry, you must be root to use this target."; exit 1; fi; \ |
315 |
then ${ECHO_CMD} "Sorry, you must be root to use this target."; exit 1; fi; \ |
311 |
current_uid=`id -u ${SQUID_UID}`; \ |
316 |
current_uid=`id -u ${SQUID_UID}`; \ |
312 |
current_gid=`pw groupshow ${SQUID_GID}|cut -f 3 -d :`; \ |
317 |
current_gid=`pw groupshow ${SQUID_GID}|cut -f 3 -d :`; \ |