pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/squid3



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Fri Jun 17 16:56:28 UTC 2016

Modified Files:
        pkgsrc/www/squid3: options.mk

Log Message:
Add ecap option to squid3, switched off by default.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/squid3/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/squid3/options.mk
diff -u pkgsrc/www/squid3/options.mk:1.18 pkgsrc/www/squid3/options.mk:1.19
--- pkgsrc/www/squid3/options.mk:1.18   Mon May 23 21:08:28 2016
+++ pkgsrc/www/squid3/options.mk        Fri Jun 17 16:56:28 2016
@@ -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



Home | Main Index | Thread Index | Old Index