summaryrefslogtreecommitdiff
path: root/www/squid3/options.mk
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2013-03-13 17:11:25 +0000
committertaca <taca@pkgsrc.org>2013-03-13 17:11:25 +0000
commitaefc18226de5200861ffd22bb185ffd0414f196e (patch)
treee23edb2525e3c034e9aa8d3b74c723043b6c55e7 /www/squid3/options.mk
parentf0f1e0bbefa77cc44ccdbded30d2d03a622c2e50 (diff)
downloadpkgsrc-aefc18226de5200861ffd22bb185ffd0414f196e.tar.gz
* pkglint friendly.
* Add and Update PKG_OPTIONS related to storage backend. - squid-backend-null: "null" type of storage backend had been deperecated. - Add squid-backend-rock. - Revive squid-backend-aufs. Bump PKGREVISION.
Diffstat (limited to 'www/squid3/options.mk')
-rw-r--r--www/squid3/options.mk17
1 files changed, 13 insertions, 4 deletions
diff --git a/www/squid3/options.mk b/www/squid3/options.mk
index 792ad5e0c75..af9ee550927 100644
--- a/www/squid3/options.mk
+++ b/www/squid3/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.3 2013/03/05 01:59:51 taca Exp $
+# $NetBSD: options.mk,v 1.4 2013/03/13 17:11:25 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squid
-PKG_SUPPORTED_OPTIONS= inet6 snmp ssl squid-backend-diskd squid-backend-null \
- squid-backend-ufs squid-carp squid-unlinkd \
+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_OPTIONS_LEGACY_OPTS= diskd:squid-backend-diskd \
null:squid-backend-null ufs:squid-backend-ufs \
@@ -56,7 +56,7 @@ PKG_SUPPORTED_OPTIONS+= squid-arp-acl
.include "../../mk/bsd.options.mk"
-SQUID_BACKENDS?= ufs null
+SQUID_BACKENDS?= ufs
SQUID_BASIC_AUTH_HELPERS?= MSNT NCSA NIS getpwnam
SQUID_DIGEST_AUTH_HELPERS?= password
SQUID_NTLM_AUTH_HELPERS?= SMB
@@ -117,11 +117,20 @@ CONFIGURE_ARGS+= --enable-ssl --with-openssl=${SSLBASE:Q}
. include "../../security/openssl/buildlink3.mk"
.endif
+.if !empty(PKG_OPTIONS:Msquid-backend-aufs)
+SQUID_BACKENDS+= aufs
+. include "../../mk/pthread.buildlink3.mk"
+.endif
+
.if !empty(PKG_OPTIONS:Msquid-backend-diskd)
SQUID_BACKENDS+= diskd
PLIST.diskd= yes
.endif
+.if !empty(PKG_OPTIONS:Msquid-backend-rock)
+SQUID_BACKENDS+= rock
+.endif
+
.if empty(PKG_OPTIONS:Msquid-unlinkd)
CONFIGURE_ARGS+= --disable-unlinkd
.else