summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorscottr <scottr>2005-10-25 17:52:38 +0000
committerscottr <scottr>2005-10-25 17:52:38 +0000
commitdf5f8233d5abe60592eff0e7dc6a4c5dd9e949fd (patch)
tree1ddde2a58b1e388128a5aa288779990d03c8f346 /mail
parente341e2d1975f2e1b1e3a89344aa56329f99266e5 (diff)
downloadpkgsrc-df5f8233d5abe60592eff0e7dc6a4c5dd9e949fd.tar.gz
Add SOCKS4/SOCKS5 support.
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/options.mk16
1 files changed, 15 insertions, 1 deletions
diff --git a/mail/fetchmail/options.mk b/mail/fetchmail/options.mk
index c5b60a2b6e5..86307d57e40 100644
--- a/mail/fetchmail/options.mk
+++ b/mail/fetchmail/options.mk
@@ -1,7 +1,9 @@
-# $NetBSD: options.mk,v 1.12 2005/09/28 21:55:32 rillig Exp $
+# $NetBSD: options.mk,v 1.13 2005/10/25 17:52:38 scottr Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fetchmail
PKG_SUPPORTED_OPTIONS= inet6 kerberos4 kerberos gssapi ssl
+PKG_OPTIONS_OPTIONAL_GROUPS= socks
+PKG_OPTIONS_GROUP.socks= socks4 socks5
PKG_SUGGESTED_OPTIONS= ssl
@@ -56,3 +58,15 @@ CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
.else
CONFIGURE_ARGS+= --without-ssl
.endif
+
+###
+### Include SOCKS firewall support
+###
+.if !empty(PKG_OPTIONS:Msocks4)
+.include "../../net/socks4/buildlink3.mk"
+CONFIGURE_ARGS+= --with-socks=${BUILDLINK_PREFIX.socks4}
+.endif
+.if !empty(PKG_OPTIONS:Msocks5)
+.include "../../net/socks5/buildlink3.mk"
+CONFIGURE_ARGS+= --with-socks5=${BUILDLINK_PREFIX.socks5}
+.endif