diff options
author | prlw1 <prlw1@pkgsrc.org> | 2016-06-17 16:56:28 +0000 |
---|---|---|
committer | prlw1 <prlw1@pkgsrc.org> | 2016-06-17 16:56:28 +0000 |
commit | bb2326edf2d8c2f83ca3a4befb5ca8ead8201ddd (patch) | |
tree | 05ae83285ecd7a0e5d5bb878dccb37c0f396f3bb /www | |
parent | f73c2f85dc4cdef3a328d2cfbfdc490ec3ef7d6d (diff) | |
download | pkgsrc-bb2326edf2d8c2f83ca3a4befb5ca8ead8201ddd.tar.gz |
Add ecap option to squid3, switched off by default.
Diffstat (limited to 'www')
-rw-r--r-- | www/squid3/options.mk | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/www/squid3/options.mk b/www/squid3/options.mk index 5f1b4a92c36..52dd325475f 100644 --- a/www/squid3/options.mk +++ b/www/squid3/options.mk @@ -1,9 +1,10 @@ -# $NetBSD: options.mk,v 1.18 2016/05/23 21:08:28 markd Exp $ +# $NetBSD: options.mk,v 1.19 2016/06/17 16:56:28 prlw1 Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.squid -PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-aufs squid-backend-diskd \ - squid-backend-rock squid-backend-ufs squid-carp squid-unlinkd \ - squid-kerberos-helper squid-ldap-helper squid-pam-helper +PKG_SUPPORTED_OPTIONS= ecap inet6 snmp ssl squid-backend-aufs \ + squid-backend-diskd squid-backend-rock squid-backend-ufs \ + squid-carp squid-unlinkd squid-kerberos-helper \ + squid-ldap-helper squid-pam-helper PKG_OPTIONS_LEGACY_OPTS+= diskd:squid-backend-diskd \ null:squid-backend-null ufs:squid-backend-ufs \ linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ @@ -86,6 +87,15 @@ CONFIGURE_ARGS+= --enable-arp-acl CONFIGURE_ARGS+= --enable-carp .endif +.if !empty(PKG_OPTIONS:Mecap) +CONFIGURE_ARGS+= --enable-ecap +USE_TOOLS+= pkg-config +CHECK_WRKREF_SKIP+= sbin/squid +.include "../../www/libecap/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-ecap +.endif + .if !empty(PKG_SUPPORTED_OPTIONS:Minet6) && empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --disable-ipv6 .endif |