View | Details | Raw Unified | Return to bug 283669 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/squid/Makefile (-150 / +144 lines)
Lines 21-84 WWW= http://www.squid-cache.org/ Link Here
21
LICENSE=	GPLv2
21
LICENSE=	GPLv2
22
LICENSE_FILE=	${WRKSRC}/COPYING
22
LICENSE_FILE=	${WRKSRC}/COPYING
23
23
24
USES=		compiler:c++11-lib cpe gmake localbase:ldflags perl5 shebangfix tar:xz
24
USES=		compiler:c++11-lib cpe gmake localbase:ldflags perl5 shebangfix \
25
25
		tar:xz
26
CONFLICTS=	squid-devel
27
CPE_VENDOR=	squid-cache
26
CPE_VENDOR=	squid-cache
28
SHEBANG_FILES=	scripts/*.pl contrib/*.pl tools/*.pl
29
GNU_CONFIGURE=	yes
30
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
31
USE_RC_SUBR=	squid
27
USE_RC_SUBR=	squid
32
28
29
SHEBANG_FILES=	contrib/*.pl scripts/*.pl tools/*.pl
30
31
GNU_CONFIGURE=	yes
32
CONFIGURE_ARGS=	--bindir=${PREFIX}/sbin \
33
		--datadir=${ETCDIR} \
34
		--disable-arch-native \
35
		--disable-epoll \
36
		--disable-strict-error-checking \
37
		--enable-build-info \
38
		--enable-removal-policies="lru heap" \
39
		--libexecdir=${PREFIX}/libexec/squid \
40
		--localstatedir=/var \
41
		--sbindir=${PREFIX}/sbin \
42
		--sysconfdir=${ETCDIR} \
43
		--with-default-user=squid \
44
		--with-included-ltdl \
45
		--with-logdir=/var/log/squid \
46
		--with-pidfile=/var/run/squid/squid.pid \
47
		--with-swapdir=/var/squid/cache \
48
		--without-cap \
49
		--without-gnutls \
50
		--without-netfilter-conntrack \
51
		--without-systemd
52
53
CONFLICTS=	squid-devel
54
55
SUB_FILES+=	pkg-install pkg-message
56
33
USERS=		squid
57
USERS=		squid
34
GROUPS=		squid
58
GROUPS=		squid
35
59
36
MYDOCS=		QUICKSTART README RELEASENOTES.html doc/debug-sections.txt
60
.if !defined(SQUID_CONFIGURE_ARGS) || \
61
	${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == ""
62
PLIST_SUB+=	UNLINKD=""
63
.else
64
PLIST_SUB+=	UNLINKD="@comment "
65
.endif
37
PORTDOCS=	${MYDOCS:T}
66
PORTDOCS=	${MYDOCS:T}
38
PORTEXAMPLES=	*
67
PORTEXAMPLES=	*
39
SUB_FILES+=	pkg-install pkg-message
40
68
41
OPTIONS_SUB=	yes
69
OPTIONS_DEFINE=		ARP_ACL CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI \
42
OPTIONS_GROUP=	AUTH
70
			EXAMPLES FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP \
43
OPTIONS_RADIO=	FW
71
			ICMP IDENT IPV6 KQUEUE LARGEFILE LAX_HTTP NETTLE SNMP \
44
OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL
72
			SSL SSL_CRTD STACKTRACES TDB VIA_DB WCCP WCCPV2
45
OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF
73
OPTIONS_DEFAULT=	ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF \
46
OPTIONS_DEFINE=	ARP_ACL TDB CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES \
74
			FS_AUFS FS_DISKD FS_ROCK GSSAPI_BASE HTCP ICAP ICMP \
47
		FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \
75
			IDENT KQUEUE LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD \
48
		KQUEUE LARGEFILE LAX_HTTP NETTLE SNMP SSL SSL_CRTD \
76
			TP_IPFW VIA_DB WCCP WCCPV2
49
		STACKTRACES VIA_DB WCCP WCCPV2
77
OPTIONS_GROUP=		AUTH
78
OPTIONS_GROUP_AUTH=	AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL
79
OPTIONS_RADIO=		FW
80
OPTIONS_RADIO_FW=	TP_IPF TP_IPFW TP_PF
81
OPTIONS_SINGLE=		GSSAPI
82
OPTIONS_SINGLE_GSSAPI=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
83
OPTIONS_SUB=		yes
50
84
51
OPTIONS_SINGLE=	GSSAPI
85
ARP_ACL_DESC=		ARP/MAC/EUI based authentification
52
OPTIONS_SINGLE_GSSAPI=	GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
86
AUTH_DESC=		Authentication helpers
53
87
AUTH_LDAP_DESC=		Install LDAP authentication helpers
54
OPTIONS_DEFAULT=ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF FS_AUFS \
88
AUTH_NIS_DESC=		Install NIS/YP authentication helpers
55
		FS_DISKD FS_ROCK GSSAPI_BASE HTCP ICAP ICMP IDENT KQUEUE \
89
AUTH_SASL_DESC=		Install SASL authentication helpers
56
		LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD TP_IPFW VIA_DB WCCP \
90
AUTH_SMB_DESC=		Install SMB auth. helpers (req. Samba)
57
		WCCPV2
91
AUTH_SQL_DESC=		Install SQL based auth
92
CACHE_DIGESTS_DESC=	Use cache digests
93
DEBUG_DESC=		Build with extended debugging support
94
DELAY_POOLS_DESC=	Delay pools (bandwidth limiting)
95
ECAP_DESC=		Loadable content adaptation modules
96
ESI_DESC=		ESI support
97
FOLLOW_XFF_DESC=	Support for the X-Following-For header
98
FS_AUFS_DESC=		AUFS (threaded-io) support
99
FS_DISKD_DESC=		DISKD storage engine controlled by separate service
100
FS_ROCK_DESC=		ROCK storage engine
101
HTCP_DESC=		HTCP support
102
ICAP_DESC=		the ICAP client
103
ICMP_DESC=		ICMP pinging and network measurement
104
IDENT_DESC=		Ident lookups (RFC 931)
105
KQUEUE_DESC=		Kqueue(2) support
106
LARGEFILE_DESC=		Support large (>2GB) cache and log files
107
LAX_HTTP_DESC=		Do not enforce strict HTTP compliance
108
NETTLE_DESC=		Nettle MD5 algorithm support
109
SNMP_DESC=		SNMP support
110
SSL_CRTD_DESC=		Use ssl_crtd to handle SSL cert requests
111
SSL_DESC=		SSL gatewaying support
112
STACKTRACES_DESC=	Enable automatic backtraces on fatal errors
113
TDB_DESC=		TrivialDB support required for session and time quota external helpers
114
TP_IPFW_DESC=		Transparent proxying with IPFW
115
TP_IPF_DESC=		Transparent proxying with IPFilter
116
TP_PF_DESC=		Transparent proxying with PF
117
VIA_DB_DESC=		Forward/Via database
118
WCCPV2_DESC=		Web Cache Coordination Protocol v2
119
WCCP_DESC=		Web Cache Coordination Protocol
58
120
59
ARP_ACL_CONFIGURE_ENABLE=	eui
121
ARP_ACL_CONFIGURE_ENABLE=	eui
60
AUTH_LDAP_CONFIGURE_WITH=	ldap
61
AUTH_LDAP_USES=			ldap
122
AUTH_LDAP_USES=			ldap
62
AUTH_LDAP_VARS=			BASIC_AUTH+=LDAP DIGEST_AUTH+="eDirectory LDAP" EXTERNAL_ACL+="LDAP_group eDirectory_userip"
123
AUTH_LDAP_CONFIGURE_WITH=	ldap
124
AUTH_LDAP_VARS=			BASIC_AUTH+=LDAP \
125
				DIGEST_AUTH+="eDirectory LDAP" \
126
				EXTERNAL_ACL+="LDAP_group eDirectory_userip"
63
AUTH_SASL_LIB_DEPENDS=		libsasl2.so:security/cyrus-sasl2
127
AUTH_SASL_LIB_DEPENDS=		libsasl2.so:security/cyrus-sasl2
64
AUTH_SASL_VARS=			BASIC_AUTH+=SASL
128
AUTH_SASL_VARS=			BASIC_AUTH+=SASL
65
AUTH_SMB_USES=			samba:run
129
AUTH_SMB_USES=			samba:run
66
AUTH_SMB_VARS=			BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group
130
AUTH_SMB_VARS=			BASIC_AUTH+=SMB \
131
				EXTERNAL_ACL+=wbinfo_group
67
AUTH_SQL_RUN_DEPENDS=		p5-DBI>=1.08:databases/p5-DBI
132
AUTH_SQL_RUN_DEPENDS=		p5-DBI>=1.08:databases/p5-DBI
68
AUTH_SQL_VARS=			EXTERNAL_ACL+=SQL_session
133
AUTH_SQL_VARS=			EXTERNAL_ACL+=SQL_session
69
TDB_CONFIGURE_WITH=		tdb
70
TDB_LIB_DEPENDS=		libtdb.so:databases/tdb
71
TDB_VARS=			EXTERNAL_ACL+="time_quota session"
72
CACHE_DIGESTS_CONFIGURE_ENABLE=	cache-digests
134
CACHE_DIGESTS_CONFIGURE_ENABLE=	cache-digests
73
DELAY_POOLS_CONFIGURE_ENABLE=	delay-pools
135
DELAY_POOLS_CONFIGURE_ENABLE=	delay-pools
74
ECAP_CONFIGURE_ENABLE=		ecap
75
ECAP_LIB_DEPENDS=		libecap.so:www/libecap
136
ECAP_LIB_DEPENDS=		libecap.so:www/libecap
76
ECAP_USES=			pkgconfig:build
137
ECAP_USES=			pkgconfig:build
77
ESI_CONFIGURE_ENABLE=		esi
138
ECAP_CONFIGURE_ENABLE=		ecap
78
ESI_CONFIGURE_WITH=		expat xml2
79
ESI_LIB_DEPENDS=		libexpat.so:textproc/expat2 \
139
ESI_LIB_DEPENDS=		libexpat.so:textproc/expat2 \
80
				libxml2.so:textproc/libxml2
140
				libxml2.so:textproc/libxml2
141
ESI_CONFIGURE_ENABLE=		esi
142
ESI_CONFIGURE_WITH=		expat xml2
81
FOLLOW_XFF_CONFIGURE_ENABLE=	follow-x-forwarded-for
143
FOLLOW_XFF_CONFIGURE_ENABLE=	follow-x-forwarded-for
144
FS_AUFS_CONFIGURE_WITH=		pthreads
145
# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS,
146
# e.g. SQUID_CONFIGURE_ARGS=--with-aufs-threads=N
147
FS_AUFS_LDFLAGS=		-pthread
148
FS_AUFS_VARS=			DISKIO_MODULES+=DiskThreads \
149
				STORAGE_SCHEMES+=aufs
150
FS_DISKD_VARS=			DISKIO_MODULES+=DiskDaemon \
151
				STORAGE_SCHEMES+=diskd
152
FS_ROCK_VARS=			STORAGE_SCHEMES+=rock
153
GSSAPI_BASE_USES=		gssapi
154
GSSAPI_BASE_CONFIGURE_ON=	${GSSAPI_CONFIGURE_ARGS} \
155
				--with-heimdal-krb5=${GSSAPIBASEDIR} \
156
				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
157
GSSAPI_BASE_PLIST_SUB=		AUTH_KERB=""
158
GSSAPI_HEIMDAL_USES=		gssapi:heimdal
159
GSSAPI_HEIMDAL_CONFIGURE_ON=	${GSSAPI_CONFIGURE_ARGS} \
160
				--with-heimdal-krb5=${GSSAPIBASEDIR} \
161
				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
162
GSSAPI_HEIMDAL_PLIST_SUB=	AUTH_KERB=""
163
GSSAPI_MIT_USES=		gssapi:mit
164
GSSAPI_MIT_CONFIGURE_ON=	${GSSAPI_CONFIGURE_ARGS} \
165
				--with-mit-krb5=${GSSAPIBASEDIR} \
166
				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
167
GSSAPI_MIT_PLIST_SUB=		AUTH_KERB=""
168
GSSAPI_NONE_CONFIGURE_ON=	--without-gnugss \
169
				--without-heimdal-krb5 \
170
				--without-mit-krb5
82
HTCP_CONFIGURE_ENABLE=		htcp
171
HTCP_CONFIGURE_ENABLE=		htcp
83
ICAP_CONFIGURE_ENABLE=		icap-client
172
ICAP_CONFIGURE_ENABLE=		icap-client
84
ICMP_CONFIGURE_ENABLE=		icmp
173
ICMP_CONFIGURE_ENABLE=		icmp
Lines 87-116 IPV6_CONFIGURE_ENABLE= ipv6 Link Here
87
KQUEUE_CONFIGURE_ENABLE=	kqueue
176
KQUEUE_CONFIGURE_ENABLE=	kqueue
88
LARGEFILE_CONFIGURE_WITH=	large-files
177
LARGEFILE_CONFIGURE_WITH=	large-files
89
LAX_HTTP_CONFIGURE_ENABLE=	http-violations
178
LAX_HTTP_CONFIGURE_ENABLE=	http-violations
90
FS_AUFS_VARS=			STORAGE_SCHEMES+=aufs DISKIO_MODULES+=DiskThreads
91
# Nil aufs threads is default, set any other value via SQUID_CONFIGURE_ARGS,
92
# e.g. SQUID_CONFIGURE_ARGS=--with-aufs-threads=N
93
FS_AUFS_LDFLAGS=		-pthread
94
FS_AUFS_CONFIGURE_WITH=		pthreads
95
FS_DISKD_VARS=			STORAGE_SCHEMES+=diskd DISKIO_MODULES+=DiskDaemon
96
FS_ROCK_VARS=			STORAGE_SCHEMES+=rock
97
NETTLE_LIB_DEPENDS=		libnettle.so:security/nettle
179
NETTLE_LIB_DEPENDS=		libnettle.so:security/nettle
98
NETTLE_CONFIGURE_WITH=		nettle
180
NETTLE_CONFIGURE_WITH=		nettle
99
SNMP_CONFIGURE_ENABLE=		snmp
181
SNMP_CONFIGURE_ENABLE=		snmp
100
SSL_CONFIGURE_ENABLE=		ssl
182
SSL_USES=			ssl
101
SSL_CONFIGURE_ON=		--with-openssl \
183
SSL_CONFIGURE_ON=		--enable-security-cert-generators="file" \
102
				--enable-security-cert-generators="file" \
184
				--with-openssl \
103
				LIBOPENSSL_CFLAGS=-I${OPENSSLINC} \
185
				LIBOPENSSL_CFLAGS=-I${OPENSSLINC} \
104
				LIBOPENSSL_LIBS="-lcrypto -lssl"
186
				LIBOPENSSL_LIBS="-lcrypto -lssl"
105
SSL_USES=			ssl
187
SSL_CONFIGURE_ENABLE=		ssl
106
SSL_CRTD_CONFIGURE_ENABLE=	ssl-crtd
107
SSL_CRTD_IMPLIES=		SSL
188
SSL_CRTD_IMPLIES=		SSL
108
STACKTRACES_CONFIGURE_ENABLE=	stacktraces
189
SSL_CRTD_CONFIGURE_ENABLE=	ssl-crtd
109
STACKTRACES_EXTRA_PATCHES=	${FILESDIR}/extra-patch-gen-stacktrace
110
STACKTRACES_LIB_DEPENDS=	libunwind.so:devel/libunwind
190
STACKTRACES_LIB_DEPENDS=	libunwind.so:devel/libunwind
191
STACKTRACES_CONFIGURE_ENABLE=	stacktraces
111
STACKTRACES_CFLAGS=		-g
192
STACKTRACES_CFLAGS=		-g
112
STACKTRACES_LDFLAGS=		-lunwind
193
STACKTRACES_LDFLAGS=		-lunwind
194
STACKTRACES_EXTRA_PATCHES=	${FILESDIR}/extra-patch-gen-stacktrace
113
STACKTRACES_VARS=		STRIP=""
195
STACKTRACES_VARS=		STRIP=""
196
TDB_LIB_DEPENDS=		libtdb.so:databases/tdb
197
TDB_CONFIGURE_WITH=		tdb
198
TDB_VARS=			EXTERNAL_ACL+="time_quota session"
114
TP_IPFW_CONFIGURE_ENABLE=	ipfw-transparent
199
TP_IPFW_CONFIGURE_ENABLE=	ipfw-transparent
115
TP_IPF_CONFIGURE_ENABLE=	ipf-transparent
200
TP_IPF_CONFIGURE_ENABLE=	ipf-transparent
116
TP_PF_CONFIGURE_ENABLE=		pf-transparent
201
TP_PF_CONFIGURE_ENABLE=		pf-transparent
Lines 119-226 VIA_DB_CONFIGURE_ENABLE= forw-via-db Link Here
119
WCCPV2_CONFIGURE_ENABLE=	wccpv2
204
WCCPV2_CONFIGURE_ENABLE=	wccpv2
120
WCCP_CONFIGURE_ENABLE=		wccp
205
WCCP_CONFIGURE_ENABLE=		wccp
121
206
122
GSSAPI_NONE_CONFIGURE_ON=	--without-heimdal-krb5 \
207
MYDOCS=		QUICKSTART README RELEASENOTES.html doc/debug-sections.txt
123
				--without-mit-krb5 \
124
				--without-gnugss
125
126
GSSAPI_BASE_USES=		gssapi
127
GSSAPI_BASE_CONFIGURE_ON=	--with-heimdal-krb5=${GSSAPIBASEDIR} \
128
				${GSSAPI_CONFIGURE_ARGS} \
129
				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
130
GSSAPI_BASE_PLIST_SUB=		AUTH_KERB=""
131
132
GSSAPI_HEIMDAL_USES=		gssapi:heimdal
133
GSSAPI_HEIMDAL_CONFIGURE_ON=	--with-heimdal-krb5=${GSSAPIBASEDIR} \
134
				${GSSAPI_CONFIGURE_ARGS} \
135
				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
136
GSSAPI_HEIMDAL_PLIST_SUB=	AUTH_KERB=""
137
138
GSSAPI_MIT_USES=		gssapi:mit
139
GSSAPI_MIT_CONFIGURE_ON=	--with-mit-krb5=${GSSAPIBASEDIR} \
140
				${GSSAPI_CONFIGURE_ARGS} \
141
				krb5_config=${GSSAPIBASEDIR}/bin/krb5-config
142
GSSAPI_MIT_PLIST_SUB=		AUTH_KERB=""
143
144
ARP_ACL_DESC=		ARP/MAC/EUI based authentification
145
AUTH_DESC=		Authentication helpers
146
AUTH_LDAP_DESC=		Install LDAP authentication helpers
147
AUTH_NIS_DESC=		Install NIS/YP authentication helpers
148
AUTH_SASL_DESC=		Install SASL authentication helpers
149
AUTH_SMB_DESC=		Install SMB auth. helpers (req. Samba)
150
AUTH_SQL_DESC=		Install SQL based auth
151
TDB_DESC=		TrivialDB support required for session and time quota external helpers
152
CACHE_DIGESTS_DESC=	Use cache digests
153
DEBUG_DESC=		Build with extended debugging support
154
DELAY_POOLS_DESC=	Delay pools (bandwidth limiting)
155
ECAP_DESC=		Loadable content adaptation modules
156
ESI_DESC=		ESI support
157
FOLLOW_XFF_DESC=	Support for the X-Following-For header
158
FS_AUFS_DESC=		AUFS (threaded-io) support
159
FS_DISKD_DESC=		DISKD storage engine controlled by separate service
160
FS_ROCK_DESC=		ROCK storage engine
161
HTCP_DESC=		HTCP support
162
ICAP_DESC=		the ICAP client
163
ICMP_DESC=		ICMP pinging and network measurement
164
IDENT_DESC=		Ident lookups (RFC 931)
165
KQUEUE_DESC=		Kqueue(2) support
166
LARGEFILE_DESC=		Support large (>2GB) cache and log files
167
NETTLE_DESC=		Nettle MD5 algorithm support
168
SNMP_DESC=		SNMP support
169
SSL_CRTD_DESC=		Use ssl_crtd to handle SSL cert requests
170
SSL_DESC=		SSL gatewaying support
171
STACKTRACES_DESC=	Enable automatic backtraces on fatal errors
172
LAX_HTTP_DESC=		Do not enforce strict HTTP compliance
173
TP_IPFW_DESC=		Transparent proxying with IPFW
174
TP_IPF_DESC=		Transparent proxying with IPFilter
175
TP_PF_DESC=		Transparent proxying with PF
176
VIA_DB_DESC=		Forward/Via database
177
WCCPV2_DESC=		Web Cache Coordination Protocol v2
178
WCCP_DESC=		Web Cache Coordination Protocol
179
180
change_files=	ChangeLog \
181
		errors/Makefile.am \
182
		errors/Makefile.in \
183
		src/auth/basic/SMB_LM/README.html \
184
		src/Makefile.am \
185
		src/Makefile.in \
186
		src/cf_gen.cc \
187
		src/squid.8.in \
188
		test-suite/Makefile.in \
189
		tools/Makefile.am \
190
		tools/Makefile.in
191
208
192
.if !defined(SQUID_CONFIGURE_ARGS) \
209
change_files=	ChangeLog errors/Makefile.am errors/Makefile.in \
193
	|| ${SQUID_CONFIGURE_ARGS:M*--disable-unlinkd*} == ""
210
		src/auth/basic/SMB_LM/README.html src/Makefile.am \
194
PLIST_SUB+=	UNLINKD=""
211
		src/Makefile.in src/cf_gen.cc src/squid.8.in \
195
.else
212
		test-suite/Makefile.in tools/Makefile.am tools/Makefile.in
196
PLIST_SUB+=	UNLINKD="@comment "
197
.endif
198
199
CONFIGURE_ARGS=	--with-default-user=squid \
200
		--bindir=${PREFIX}/sbin \
201
		--sbindir=${PREFIX}/sbin \
202
		--datadir=${ETCDIR} \
203
		--libexecdir=${PREFIX}/libexec/squid \
204
		--localstatedir=/var \
205
		--sysconfdir=${ETCDIR} \
206
		--with-logdir=/var/log/squid \
207
		--with-pidfile=/var/run/squid/squid.pid \
208
		--with-swapdir=/var/squid/cache \
209
		--without-gnutls \
210
		--with-included-ltdl \
211
		--enable-build-info \
212
		--enable-removal-policies="lru heap" \
213
		--disable-epoll \
214
		--disable-arch-native \
215
		--disable-strict-error-checking \
216
		--without-systemd \
217
		--without-netfilter-conntrack \
218
		--without-cap
219
213
220
.include <bsd.port.options.mk>
214
.include <bsd.port.options.mk>
221
215
222
# Authentication methods and modules:
216
# Authentication methods and modules:
223
224
BASIC_AUTH+=	DB NCSA PAM POP3 RADIUS SMB_LM fake getpwnam
217
BASIC_AUTH+=	DB NCSA PAM POP3 RADIUS SMB_LM fake getpwnam
225
DIGEST_AUTH+=	file
218
DIGEST_AUTH+=	file
226
EXTERNAL_ACL+=	file_userip unix_group delayer
219
EXTERNAL_ACL+=	file_userip unix_group delayer
Lines 231-237 BASIC_AUTH+= NIS Link Here
231
.endif
224
.endif
232
225
233
# POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too:
226
# POLA: allow the old global make.conf(5) (pre src.conf(5)) defines, too:
234
.if ${PORT_OPTIONS:MGSSAPI_NONE} || defined(NO_KERBEROS) || defined(WITHOUT_KERBEROS)
227
.if ${PORT_OPTIONS:MGSSAPI_NONE} || defined(NO_KERBEROS) || \
228
	defined(WITHOUT_KERBEROS)
235
NEGOTIATE_AUTH=	none
229
NEGOTIATE_AUTH=	none
236
PLIST_SUB+=	AUTH_KERB="@comment "
230
PLIST_SUB+=	AUTH_KERB="@comment "
237
.else
231
.else
Lines 251-264 CONFIGURE_ARGS+= --enable-auth-basic="${BASIC_AUTH}" \ Link Here
251
			--enable-auth-digest="${DIGEST_AUTH}" \
245
			--enable-auth-digest="${DIGEST_AUTH}" \
252
			--enable-auth-negotiate="${NEGOTIATE_AUTH}" \
246
			--enable-auth-negotiate="${NEGOTIATE_AUTH}" \
253
			--enable-auth-ntlm="fake SMB_LM" \
247
			--enable-auth-ntlm="fake SMB_LM" \
254
			--enable-log-daemon-helpers="file DB" \
248
			--enable-disk-io="${DISKIO_MODULES}" \
255
			--enable-external-acl-helpers="${EXTERNAL_ACL}" \
249
			--enable-external-acl-helpers="${EXTERNAL_ACL}" \
256
			--enable-url-rewrite-helpers="fake LFS" \
250
			--enable-log-daemon-helpers="file DB" \
257
			--enable-security-cert-validators="fake" \
251
			--enable-security-cert-validators="fake" \
258
			--enable-storeid-rewrite-helpers="file" \
252
			--enable-storeid-rewrite-helpers="file" \
259
			--enable-storeio="${STORAGE_SCHEMES}" \
253
			--enable-storeio="${STORAGE_SCHEMES}" \
260
			--enable-disk-io="${DISKIO_MODULES}" \
254
			--enable-url-rewrite-helpers="fake LFS"
261
262
# Other options set via 'make config':
255
# Other options set via 'make config':
263
256
264
.if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
257
.if ${PORT_OPTIONS:MDEBUG} || defined(WITH_DEBUG)
Lines 269-274 WITH_DEBUG?= yes Link Here
269
# Finally, add additional user specified configuration options:
262
# Finally, add additional user specified configuration options:
270
CONFIGURE_ARGS+=	${SQUID_CONFIGURE_ARGS}
263
CONFIGURE_ARGS+=	${SQUID_CONFIGURE_ARGS}
271
264
265
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
266
272
post-patch:
267
post-patch:
273
	@(cd ${WRKSRC} && ${REINPLACE_CMD} \
268
	@(cd ${WRKSRC} && ${REINPLACE_CMD} \
274
		-e 's|\.conf\.default|.conf.sample|' \
269
		-e 's|\.conf\.default|.conf.sample|' \
275
- 

Return to bug 283669