pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/fetchmail Add SOCKS4/SOCKS5 support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d0bfc87915f3
branches: trunk
changeset: 501671:d0bfc87915f3
user: scottr <scottr%pkgsrc.org@localhost>
date: Tue Oct 25 17:52:38 2005 +0000
description:
Add SOCKS4/SOCKS5 support.
diffstat:
mail/fetchmail/options.mk | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r cfb7d96d26f8 -r d0bfc87915f3 mail/fetchmail/options.mk
--- a/mail/fetchmail/options.mk Tue Oct 25 17:43:19 2005 +0000
+++ b/mail/fetchmail/options.mk Tue Oct 25 17:52:38 2005 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index