summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorscottr <scottr@pkgsrc.org>2005-10-25 17:52:38 +0000
committerscottr <scottr@pkgsrc.org>2005-10-25 17:52:38 +0000
commitfea735d8610a715e5cea2e21503c8561d6b6cfa8 (patch)
tree1ddde2a58b1e388128a5aa288779990d03c8f346 /mail
parent98fc6c41bc3b05fb28f44879bb9fdc387be0bf97 (diff)
downloadpkgsrc-fea735d8610a715e5cea2e21503c8561d6b6cfa8.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