| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.16 2010/02/19 17:22:13 tron Exp $ | | 1 | # $NetBSD: options.mk,v 1.17 2010/05/24 16:25:29 tron Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.squid | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.squid |
4 | PKG_SUPPORTED_OPTIONS= snmp ssl \ | | 4 | PKG_SUPPORTED_OPTIONS= snmp ssl \ |
5 | squid-backend-aufs squid-backend-null \ | | 5 | squid-backend-aufs squid-backend-null \ |
6 | squid-backend-ufs squid-carp squid-unlinkd \ | | 6 | squid-backend-ufs squid-carp squid-unlinkd \ |
7 | squid-ldap-helper squid-pam-helper | | 7 | squid-ldap-helper squid-pam-helper |
8 | | | 8 | |
9 | PKG_OPTIONS_LEGACY_OPTS= aufs:squid-backend-aufs \ | | 9 | PKG_OPTIONS_LEGACY_OPTS= aufs:squid-backend-aufs \ |
10 | coss:squid-backend-coss diskd:squid-backend-diskd \ | | 10 | coss:squid-backend-coss diskd:squid-backend-diskd \ |
11 | null:squid-backend-null ufs:squid-backend-ufs \ | | 11 | null:squid-backend-null ufs:squid-backend-ufs \ |
12 | linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ | | 12 | linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ |
13 | pf-transparent:squid-pf unlinkd:squid-unlinkd \ | | 13 | pf-transparent:squid-pf unlinkd:squid-unlinkd \ |
14 | arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp | | 14 | arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp |
| @@ -139,40 +139,48 @@ PLIST.coss= yes | | | @@ -139,40 +139,48 @@ PLIST.coss= yes |
139 | .endif | | 139 | .endif |
140 | | | 140 | |
141 | .if !empty(PKG_OPTIONS:Msquid-backend-diskd) | | 141 | .if !empty(PKG_OPTIONS:Msquid-backend-diskd) |
142 | SQUID_BACKENDS+= diskd | | 142 | SQUID_BACKENDS+= diskd |
143 | PLIST.diskd= yes | | 143 | PLIST.diskd= yes |
144 | .endif | | 144 | .endif |
145 | | | 145 | |
146 | .if empty(PKG_OPTIONS:Msquid-unlinkd) | | 146 | .if empty(PKG_OPTIONS:Msquid-unlinkd) |
147 | CONFIGURE_ARGS+= --disable-unlinkd | | 147 | CONFIGURE_ARGS+= --disable-unlinkd |
148 | .else | | 148 | .else |
149 | PLIST.unlinkd= yes | | 149 | PLIST.unlinkd= yes |
150 | .endif | | 150 | .endif |
151 | | | 151 | |
152 | .if !empty(SQUID_BASIC_AUTH_HELPERS) | | 152 | .if empty(SQUID_BASIC_AUTH_HELPERS) |
| | | 153 | CONFIGURE_ARGS+= --enable-basic-auth-helpers=no |
| | | 154 | .else |
153 | CONFIGURE_ARGS+= --enable-basic-auth-helpers=${SQUID_BASIC_AUTH_HELPERS:Q} | | 155 | CONFIGURE_ARGS+= --enable-basic-auth-helpers=${SQUID_BASIC_AUTH_HELPERS:Q} |
154 | .for i in ${SQUID_BASIC_AUTH_HELPERS} | | 156 | .for i in ${SQUID_BASIC_AUTH_HELPERS} |
155 | PLIST.ba_${i}= yes | | 157 | PLIST.ba_${i}= yes |
156 | .endfor | | 158 | .endfor |
157 | .endif | | 159 | .endif |
158 | | | 160 | |
159 | .if !empty(SQUID_DIGEST_AUTH_HELPERS) | | 161 | .if empty(SQUID_DIGEST_AUTH_HELPERS) |
| | | 162 | CONFIGURE_ARGS+= --enable-digest-auth-helpers=no |
| | | 163 | .else |
160 | CONFIGURE_ARGS+= --enable-digest-auth-helpers=${SQUID_DIGEST_AUTH_HELPERS:Q} | | 164 | CONFIGURE_ARGS+= --enable-digest-auth-helpers=${SQUID_DIGEST_AUTH_HELPERS:Q} |
161 | .for i in ${SQUID_DIGEST_AUTH_HELPERS} | | 165 | .for i in ${SQUID_DIGEST_AUTH_HELPERS} |
162 | PLIST.da_${i}= yes | | 166 | PLIST.da_${i}= yes |
163 | .endfor | | 167 | .endfor |
164 | .endif | | 168 | .endif |
165 | | | 169 | |
166 | .if !empty(SQUID_NTLM_AUTH_HELPERS) | | 170 | .if empty(SQUID_NTLM_AUTH_HELPERS) |
| | | 171 | CONFIGURE_ARGS+= --enable-ntlm-auth-helpers=no |
| | | 172 | .else |
167 | CONFIGURE_ARGS+= --enable-ntlm-auth-helpers=${SQUID_NTLM_AUTH_HELPERS:Q} | | 173 | CONFIGURE_ARGS+= --enable-ntlm-auth-helpers=${SQUID_NTLM_AUTH_HELPERS:Q} |
168 | .for i in ${SQUID_NTLM_AUTH_HELPERS} | | 174 | .for i in ${SQUID_NTLM_AUTH_HELPERS} |
169 | PLIST.na_${i}= yes | | 175 | PLIST.na_${i}= yes |
170 | .endfor | | 176 | .endfor |
171 | .endif | | 177 | .endif |
172 | | | 178 | |
173 | .if !empty(SQUID_EXTERNAL_ACL_HELPERS) | | 179 | .if empty(SQUID_EXTERNAL_ACL_HELPERS) |
| | | 180 | CONFIGURE_ARGS+= --enable-external-acl-helpers=no |
| | | 181 | .else |
174 | CONFIGURE_ARGS+= --enable-external-acl-helpers=${SQUID_EXTERNAL_ACL_HELPERS:Q} | | 182 | CONFIGURE_ARGS+= --enable-external-acl-helpers=${SQUID_EXTERNAL_ACL_HELPERS:Q} |
175 | .for i in ${SQUID_EXTERNAL_ACL_HELPERS} | | 183 | .for i in ${SQUID_EXTERNAL_ACL_HELPERS} |
176 | PLIST.eacl_${i}= yes | | 184 | PLIST.eacl_${i}= yes |
177 | .endfor | | 185 | .endfor |
178 | .endif | | 186 | .endif |