diff options
author | adam <adam> | 2013-02-19 19:38:27 +0000 |
---|---|---|
committer | adam <adam> | 2013-02-19 19:38:27 +0000 |
commit | cd59ec26e250fdfa310fe44c4d1ed763c20e1177 (patch) | |
tree | f7e3237d7ef2cd534be6aa2e81985d61424d0542 /www | |
parent | 4ac2bc8d3a85fad307e51d314083757bc8d7574a (diff) | |
download | pkgsrc-cd59ec26e250fdfa310fe44c4d1ed763c20e1177.tar.gz |
options.mk clean up
Diffstat (limited to 'www')
-rw-r--r-- | www/squid3/options.mk | 52 |
1 files changed, 7 insertions, 45 deletions
diff --git a/www/squid3/options.mk b/www/squid3/options.mk index 08900e944e6..1e98f178c99 100644 --- a/www/squid3/options.mk +++ b/www/squid3/options.mk @@ -1,43 +1,27 @@ -# $NetBSD: options.mk,v 1.1 2013/02/10 18:16:53 adam Exp $ +# $NetBSD: options.mk,v 1.2 2013/02/19 19:38:27 adam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.squid -PKG_SUPPORTED_OPTIONS= snmp ssl \ - squid-backend-aufs squid-backend-null squid-backend-ufs \ - squid-carp squid-unlinkd \ +PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-diskd squid-backend-null \ + squid-backend-ufs squid-carp squid-unlinkd \ squid-kerberos-helper squid-ldap-helper squid-pam-helper - -PKG_OPTIONS_LEGACY_OPTS= aufs:squid-backend-aufs \ - coss:squid-backend-coss diskd:squid-backend-diskd \ +PKG_OPTIONS_LEGACY_OPTS= diskd:squid-backend-diskd \ null:squid-backend-null ufs:squid-backend-ufs \ linux-netfilter:squid-netfilter ipf-transparent:squid-ipf \ pf-transparent:squid-pf unlinkd:squid-unlinkd \ arp-acl:squid-arp-acl pam-helper:squid-pam-helper carp:squid-carp -PLIST_VARS+= coss diskd snmp unlinkd +PLIST_VARS+= diskd snmp unlinkd PLIST_VARS+= ba_LDAP ba_MSNT ba_NCSA ba_NIS ba_PAM ba_getpwnam PLIST_VARS+= da_ldap PLIST_VARS+= na_SMB PLIST_VARS+= ta_kerberos PLIST_VARS+= eacl_ip_user eacl_ldap_group eacl_unix_group -# most of options are enabled by default except aufs. -# aufs backend isn't # tested well. -PKG_SUGGESTED_OPTIONS= squid-carp snmp ssl squid-pam-helper squid-unlinkd +PKG_SUGGESTED_OPTIONS= inet6 snmp ssl squid-backend-diskd squid-carp \ + squid-pam-helper squid-unlinkd .include "../../mk/bsd.prefs.mk" -# Squid 3.1 and above include IPv6 support -.if empty(PKGNAME:Msquid-[0-2].*) && empty(PKGNAME:Msquid-3.0.*) -PKG_SUPPORTED_OPTIONS+= inet6 -PKG_SUGGESTED_OPTIONS+= inet6 -.endif - -# Squid 3.0's COSS support is not stable now. -.if !empty(PKGNAME:Msquid-2.[0-9]*.[0-9]*) -PKG_SUPPORTED_OPTIONS+= squid-backend-coss -PKG_SUGGESTED_OPTIONS+= squid-backend-coss -.endif - .if !empty(OPSYS:MLinux) PKG_SUPPORTED_OPTIONS+= squid-netfilter .endif @@ -65,12 +49,6 @@ PKG_SUPPORTED_OPTIONS+= squid-ipfw PKG_SUGGESTED_OPTIONS+= squid-ipfw .endif -# Darwin doesn't support System V IPC support. -.if empty(PKGNAME:Msquid-[0-2].*) || empty(OPSYS:MDarwin) -PKG_SUPPORTED_OPTIONS+= squid-backend-diskd -PKG_SUGGESTED_OPTIONS+= squid-backend-diskd -.endif - # limited platform support squid-arp-acl .if !empty(OPSYS:MFreeBSD) || !empty(OPSYS:MNetBSD) || !empty(OPSYS:MOpenBSD) || !empty(OPSYS:MLinux) || !empty(OPSYS:MSunOS) PKG_SUPPORTED_OPTIONS+= squid-arp-acl @@ -139,22 +117,6 @@ CONFIGURE_ARGS+= --enable-ssl --with-openssl=${SSLBASE:Q} . include "../../security/openssl/buildlink3.mk" .endif -.if !empty(PKG_OPTIONS:Msquid-backend-aufs) -SQUID_BACKENDS+= aufs -PTHREAD_AUTO_VARS= yes -. include "../../mk/pthread.buildlink3.mk" -.endif - -.if !empty(PKG_OPTIONS:Msquid-backend-coss) -. if empty(PKG_OPTIONS:Msquid-backend-aufs) -SQUID_BACKENDS+= aufs -PTHREAD_AUTO_VARS= yes -. include "../../mk/pthread.buildlink3.mk" -. endif -SQUID_BACKENDS+= coss -PLIST.coss= yes -.endif - .if !empty(PKG_OPTIONS:Msquid-backend-diskd) SQUID_BACKENDS+= diskd PLIST.diskd= yes |