summaryrefslogtreecommitdiff
path: root/www/squid/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid/options.mk')
-rw-r--r--www/squid/options.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/www/squid/options.mk b/www/squid/options.mk
index 8ecc788ff4b..b3f88e19ab5 100644
--- a/www/squid/options.mk
+++ b/www/squid/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.4 2005/09/15 15:40:47 taca Exp $
+# $NetBSD: options.mk,v 1.5 2005/12/05 14:06:03 taca Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.squid
-PKG_SUPPORTED_OPTIONS= icmp pam-helper snmp ssl aufs
+PKG_SUPPORTED_OPTIONS= carp icmp pam-helper snmp ssl aufs unlinkd
#
# most of options are enabled by default except aufs. aufs backend isn't
# tested well.
-PKG_SUGGESTED_OPTIONS= icmp pam-helper snmp ssl
+PKG_SUGGESTED_OPTIONS= carp icmp pam-helper snmp ssl unlinkd
.if !empty(OPSYS:MLinux)
PKG_SUPPORTED_OPTIONS+= linux-netfilter
@@ -66,6 +66,10 @@ CONFIGURE_ARGS+= --enable-ipf-transparent
CONFIGURE_ARGS+= arp-acl
.endif
+.if !empty(PKG_OPTIONS:Mcarp)
+CONFIGURE_ARGS+= --enable-carp
+.endif
+
.if !empty(PKG_OPTIONS:Micmp)
CONFIGURE_ARGS+= --enable-icmp
.endif
@@ -88,6 +92,10 @@ CONFIGURE_ARGS+= --enable-ssl --with-openssl=${SSLBASE}
SQUID_BACKENDS+= diskd
.endif
+.if empty(PKG_OPTIONS:Munlinkd)
+CONFIGURE_ARGS+= --disable-unlinkd
+.endif
+
.if !empty(SQUID_BASIC_AUTH_HELPERS)
CONFIGURE_ARGS+= --enable-basic-auth-helpers=${SQUID_BASIC_AUTH_HELPERS:Q}
.endif