View | Details | Raw Unified | Return to bug 64946
Collapse All | Expand All

(-)projekte/FreeBSD/ports/www/squid/Makefile (-4 / +9 lines)
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 :`; \
(-)projekte/FreeBSD/ports/www/squid/distinfo (+8 lines)
Lines 4-6 Link Here
4
SIZE (squid2.5/squid-2.5.STABLE5-ntlm_assert.patch) = 545
4
SIZE (squid2.5/squid-2.5.STABLE5-ntlm_assert.patch) = 545
5
MD5 (squid2.5/squid-2.5.STABLE5-ldap.patch) = 81bdcaf96390eab1655fd8d65cf607ed
5
MD5 (squid2.5/squid-2.5.STABLE5-ldap.patch) = 81bdcaf96390eab1655fd8d65cf607ed
6
SIZE (squid2.5/squid-2.5.STABLE5-ldap.patch) = 6245
6
SIZE (squid2.5/squid-2.5.STABLE5-ldap.patch) = 6245
7
MD5 (squid2.5/squid-2.5.STABLE5-helper_warning.patch) = f384daa03a07a4c99e84c922d9860524
8
SIZE (squid2.5/squid-2.5.STABLE5-helper_warning.patch) = 3302
9
MD5 (squid2.5/squid-2.5.STABLE5-vary.patch) = fd5f98f7eb8673df7e496ee72a6474b8
10
SIZE (squid2.5/squid-2.5.STABLE5-vary.patch) = 626
11
MD5 (squid2.5/squid-2.5.STABLE5-deny_info.patch) = bf73b60d02964ad9e410565389e73b06
12
SIZE (squid2.5/squid-2.5.STABLE5-deny_info.patch) = 1282
13
MD5 (squid2.5/squid-2.5.STABLE5-CONNECT_timeout.patch) = b6aa700c75a061dc9658d8dc198a9183
14
SIZE (squid2.5/squid-2.5.STABLE5-CONNECT_timeout.patch) = 2531
(-)projekte/FreeBSD/ports/www/squid/pkg-install (+9 lines)
Lines 148-153 Link Here
148
	echo "     Please check your squid.conf and update it if necessary."
148
	echo "     Please check your squid.conf and update it if necessary."
149
	tput me
149
	tput me
150
	echo ""
150
	echo ""
151
	if [ -f /etc/rc.subr ]; then
152
		echo "     Please note that ${PKG_PREFIX}/etc/rc.d/squid.sh"
153
		echo "     will not start squid automatically on this system."
154
		echo "     You need to set squid_enable=yes in either"
155
		echo "     /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid"
156
		echo "     See ${PKG_PREFIX}/etc/rc.d/squid.sh for more"
157
		echo "     configuration options."
158
		echo ""
159
	fi
151
	;;
160
	;;
152
*)
161
*)
153
	exit 64
162
	exit 64

Return to bug 64946