Lines 1-22
Link Here
|
1 |
PORTNAME= squid |
1 |
PORTNAME= squid |
2 |
DISTVERSION= 4.15 |
2 |
DISTVERSION= 5.3 |
3 |
CATEGORIES= www |
3 |
CATEGORIES= www |
4 |
MASTER_SITES= http://www2.pl.squid-cache.org/Versions/v4/ \ |
4 |
MASTER_SITES= http://www2.pl.squid-cache.org/Versions/v5/ \ |
5 |
http://ca.squid-cache.org/Versions/v4/ \ |
5 |
http://www1.il.squid-cache.org/Versions/v5/ \ |
6 |
http://www1.il.squid-cache.org/Versions/v4/ \ |
6 |
http://www1.jp.squid-cache.org/Versions/v5/ \ |
7 |
http://www1.jp.squid-cache.org/Versions/v4/ \ |
7 |
http://www2.gr.squid-cache.org/Versions/v5/ \ |
8 |
http://www2.gr.squid-cache.org/Versions/v4/ \ |
8 |
http://ca2.squid-cache.org/Versions/v5/ \ |
9 |
http://ca2.squid-cache.org/Versions/v4/ \ |
9 |
http://www.squid-cache.org/Versions/v5/ |
10 |
http://www.squid-cache.org/Versions/v4/ |
|
|
11 |
|
10 |
|
12 |
PATCH_SITES= http://www2.pl.squid-cache.org/%SUBDIR%/ \ |
11 |
PATCH_SITES= http://www2.pl.squid-cache.org/%SUBDIR%/ \ |
13 |
http://ca.squid-cache.org/%SUBDIR%/ \ |
|
|
14 |
http://www1.il.squid-cache.org/%SUBDIR%/ \ |
12 |
http://www1.il.squid-cache.org/%SUBDIR%/ \ |
15 |
http://www1.jp.squid-cache.org/%SUBDIR%/ \ |
13 |
http://www1.jp.squid-cache.org/%SUBDIR%/ \ |
16 |
http://www2.gr.squid-cache.org/%SUBDIR%/ \ |
14 |
http://www2.gr.squid-cache.org/%SUBDIR%/ \ |
17 |
http://ca2.squid-cache.org/%SUBDIR%/ \ |
15 |
http://ca2.squid-cache.org/%SUBDIR%/ \ |
18 |
http://www.squid-cache.org/%SUBDIR%/ |
16 |
http://www.squid-cache.org/%SUBDIR%/ |
19 |
PATCH_SITE_SUBDIR= Versions/v4/changesets |
17 |
PATCH_SITE_SUBDIR= Versions/v5/changesets |
20 |
|
18 |
|
21 |
MAINTAINER= timp87@gmail.com |
19 |
MAINTAINER= timp87@gmail.com |
22 |
COMMENT= HTTP Caching Proxy |
20 |
COMMENT= HTTP Caching Proxy |
Lines 24-32
COMMENT= HTTP Caching Proxy
Link Here
|
24 |
LICENSE= GPLv2 |
22 |
LICENSE= GPLv2 |
25 |
LICENSE_FILE= ${WRKSRC}/COPYING |
23 |
LICENSE_FILE= ${WRKSRC}/COPYING |
26 |
|
24 |
|
27 |
USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz |
25 |
USES= compiler:c++11-lib cpe gmake localbase:ldflags perl5 shebangfix tar:xz |
28 |
|
26 |
|
29 |
CONFLICTS= squid3 squid-devel |
27 |
CONFLICTS= squid-devel |
30 |
CPE_VENDOR= squid-cache |
28 |
CPE_VENDOR= squid-cache |
31 |
SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl |
29 |
SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl |
32 |
GNU_CONFIGURE= yes |
30 |
GNU_CONFIGURE= yes |
Lines 45-51
OPTIONS_GROUP= AUTH
Link Here
|
45 |
OPTIONS_RADIO= FW |
43 |
OPTIONS_RADIO= FW |
46 |
OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL |
44 |
OPTIONS_GROUP_AUTH=AUTH_LDAP AUTH_NIS AUTH_SASL AUTH_SMB AUTH_SQL |
47 |
OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF |
45 |
OPTIONS_RADIO_FW=TP_IPF TP_IPFW TP_PF |
48 |
OPTIONS_DEFINE= ARP_ACL BDB CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES \ |
46 |
OPTIONS_DEFINE= ARP_ACL TDB CACHE_DIGESTS DEBUG DELAY_POOLS DOCS ECAP ESI EXAMPLES \ |
49 |
FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ |
47 |
FOLLOW_XFF FS_AUFS FS_DISKD FS_ROCK HTCP ICAP ICMP IDENT IPV6 \ |
50 |
KQUEUE LARGEFILE LAX_HTTP NETTLE SNMP SSL SSL_CRTD \ |
48 |
KQUEUE LARGEFILE LAX_HTTP NETTLE SNMP SSL SSL_CRTD \ |
51 |
STACKTRACES VIA_DB WCCP WCCPV2 |
49 |
STACKTRACES VIA_DB WCCP WCCPV2 |
Lines 59-88
OPTIONS_DEFAULT=ARP_ACL AUTH_NIS CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF FS_AUFS \
Link Here
|
59 |
WCCPV2 |
57 |
WCCPV2 |
60 |
|
58 |
|
61 |
ARP_ACL_CONFIGURE_ENABLE= eui |
59 |
ARP_ACL_CONFIGURE_ENABLE= eui |
62 |
AUTH_LDAP_CFLAGS= -I${LOCALBASE}/include |
|
|
63 |
AUTH_LDAP_LDFLAGS= -L${LOCALBASE}/lib |
64 |
AUTH_LDAP_USE= OPENLDAP=yes |
60 |
AUTH_LDAP_USE= OPENLDAP=yes |
65 |
AUTH_LDAP_VARS= BASIC_AUTH+=LDAP DIGEST_AUTH+="eDirectory LDAP" EXTERNAL_ACL+="LDAP_group eDirectory_userip" |
61 |
AUTH_LDAP_VARS= BASIC_AUTH+=LDAP DIGEST_AUTH+="eDirectory LDAP" EXTERNAL_ACL+="LDAP_group eDirectory_userip" |
66 |
AUTH_SASL_CFLAGS= -I${LOCALBASE}/include |
|
|
67 |
AUTH_SASL_CPPFLAGS= -I${LOCALBASE}/include |
68 |
AUTH_SASL_LDFLAGS= -L${LOCALBASE}/lib |
69 |
AUTH_SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
62 |
AUTH_SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 |
70 |
AUTH_SASL_VARS= BASIC_AUTH+=SASL |
63 |
AUTH_SASL_VARS= BASIC_AUTH+=SASL |
71 |
AUTH_SMB_USES= samba:run |
64 |
AUTH_SMB_USES= samba:run |
72 |
AUTH_SMB_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group |
65 |
AUTH_SMB_VARS= BASIC_AUTH+=SMB EXTERNAL_ACL+=wbinfo_group |
73 |
AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI |
66 |
AUTH_SQL_RUN_DEPENDS= p5-DBI>=1.08:databases/p5-DBI |
74 |
AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session |
67 |
AUTH_SQL_VARS= EXTERNAL_ACL+=SQL_session |
75 |
BDB_USES= bdb |
68 |
TDB_CONFIGURE_ENABLE= tdb |
|
|
69 |
TDB_LIB_DEPENDS= libtdb.so:databases/tdb |
70 |
TDB_VARS= EXTERNAL_ACL+="time_quota session" |
76 |
CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests |
71 |
CACHE_DIGESTS_CONFIGURE_ENABLE= cache-digests |
77 |
DELAY_POOLS_CONFIGURE_ENABLE= delay-pools |
72 |
DELAY_POOLS_CONFIGURE_ENABLE= delay-pools |
78 |
ECAP_CFLAGS= -I${LOCALBASE}/include |
|
|
79 |
ECAP_CONFIGURE_ENABLE= ecap |
73 |
ECAP_CONFIGURE_ENABLE= ecap |
80 |
ECAP_LDFLAGS= -L${LOCALBASE}/lib |
|
|
81 |
ECAP_LIB_DEPENDS= libecap.so:www/libecap |
74 |
ECAP_LIB_DEPENDS= libecap.so:www/libecap |
82 |
ECAP_USES= pkgconfig:build |
75 |
ECAP_USES= pkgconfig:build |
83 |
ESI_CFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 |
|
|
84 |
ESI_CONFIGURE_ENABLE= esi |
76 |
ESI_CONFIGURE_ENABLE= esi |
85 |
ESI_LDFLAGS= -L${LOCALBASE}/lib |
|
|
86 |
ESI_LIB_DEPENDS= libexpat.so:textproc/expat2 \ |
77 |
ESI_LIB_DEPENDS= libexpat.so:textproc/expat2 \ |
87 |
libxml2.so:textproc/libxml2 |
78 |
libxml2.so:textproc/libxml2 |
88 |
FOLLOW_XFF_CONFIGURE_ENABLE= follow-x-forwarded-for |
79 |
FOLLOW_XFF_CONFIGURE_ENABLE= follow-x-forwarded-for |
Lines 116-122
STACKTRACES_CONFIGURE_ENABLE= stacktraces
Link Here
|
116 |
STACKTRACES_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gen-stacktrace |
107 |
STACKTRACES_EXTRA_PATCHES= ${FILESDIR}/extra-patch-gen-stacktrace |
117 |
STACKTRACES_LIB_DEPENDS= libunwind.so:devel/libunwind |
108 |
STACKTRACES_LIB_DEPENDS= libunwind.so:devel/libunwind |
118 |
STACKTRACES_CFLAGS= -g |
109 |
STACKTRACES_CFLAGS= -g |
119 |
STACKTRACES_LDFLAGS= -lunwind -L${LOCALBASE}/lib |
110 |
STACKTRACES_LDFLAGS= -lunwind |
120 |
STACKTRACES_VARS= STRIP="" |
111 |
STACKTRACES_VARS= STRIP="" |
121 |
TP_IPFW_CONFIGURE_ENABLE= ipfw-transparent |
112 |
TP_IPFW_CONFIGURE_ENABLE= ipfw-transparent |
122 |
TP_IPF_CONFIGURE_ENABLE= ipf-transparent |
113 |
TP_IPF_CONFIGURE_ENABLE= ipf-transparent |
Lines 155-161
AUTH_NIS_DESC= Install NIS/YP authentication helpers
Link Here
|
155 |
AUTH_SASL_DESC= Install SASL authentication helpers |
146 |
AUTH_SASL_DESC= Install SASL authentication helpers |
156 |
AUTH_SMB_DESC= Install SMB auth. helpers (req. Samba) |
147 |
AUTH_SMB_DESC= Install SMB auth. helpers (req. Samba) |
157 |
AUTH_SQL_DESC= Install SQL based auth |
148 |
AUTH_SQL_DESC= Install SQL based auth |
158 |
BDB_DESC= Berkeley DB support required for session and time quota external helpers |
149 |
TDB_DESC= TrivialDB support required for session and time quota external helpers |
159 |
CACHE_DIGESTS_DESC= Use cache digests |
150 |
CACHE_DIGESTS_DESC= Use cache digests |
160 |
DEBUG_DESC= Build with extended debugging support |
151 |
DEBUG_DESC= Build with extended debugging support |
161 |
DELAY_POOLS_DESC= Delay pools (bandwidth limiting) |
152 |
DELAY_POOLS_DESC= Delay pools (bandwidth limiting) |
Lines 248-266
NEGOTIATE_AUTH= none
Link Here
|
248 |
PLIST_SUB+= AUTH_KERB="@comment " |
239 |
PLIST_SUB+= AUTH_KERB="@comment " |
249 |
.else |
240 |
.else |
250 |
# The kerberos_ldap_group external helper also depends on LDAP and SASL: |
241 |
# The kerberos_ldap_group external helper also depends on LDAP and SASL: |
|
|
242 |
# The kerberos_sid_group external helper depends on kerberos_ldap_group meanwhile |
251 |
. if ${PORT_OPTIONS:MAUTH_LDAP} && ${PORT_OPTIONS:MAUTH_SASL} |
243 |
. if ${PORT_OPTIONS:MAUTH_LDAP} && ${PORT_OPTIONS:MAUTH_SASL} |
252 |
EXTERNAL_ACL+= kerberos_ldap_group |
244 |
EXTERNAL_ACL+= kerberos_ldap_group kerberos_sid_group |
253 |
. endif |
245 |
. endif |
254 |
NEGOTIATE_AUTH= kerberos wrapper |
246 |
NEGOTIATE_AUTH= kerberos wrapper |
255 |
.endif |
247 |
.endif |
256 |
|
248 |
|
257 |
# The session and time_quota external helpers require Berkeley DB support: |
|
|
258 |
.if ${PORT_OPTIONS:MBDB} |
259 |
CPPFLAGS+= -I${BDB_INCLUDE_DIR} |
260 |
LDFLAGS+= -L${BDB_LIB_DIR} |
261 |
EXTERNAL_ACL+= time_quota session |
262 |
.endif |
263 |
|
264 |
# Storage schemes: |
249 |
# Storage schemes: |
265 |
STORAGE_SCHEMES+= ufs |
250 |
STORAGE_SCHEMES+= ufs |
266 |
DISKIO_MODULES+= AIO Blocking IpcIo Mmapped |
251 |
DISKIO_MODULES+= AIO Blocking IpcIo Mmapped |