summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortv <tv>2005-07-03 04:00:18 +0000
committertv <tv>2005-07-03 04:00:18 +0000
commite81a9e50d755408ee3c7c0973d50ab8426991402 (patch)
treef2fdaeb32faa07252628d9e1cca091a71d79e0a4 /security
parenta0c65c1359f1ac474339d6bd1540d9f14eb79dc5 (diff)
downloadpkgsrc-e81a9e50d755408ee3c7c0973d50ab8426991402.tar.gz
IPv6 support appeared in 4.06, but it was never enabled in pkgsrc.
Add as an options.mk switch, on by default where available. Bump to 4.07nb2.
Diffstat (limited to 'security')
-rw-r--r--security/stunnel/Makefile7
-rw-r--r--security/stunnel/options.mk16
2 files changed, 21 insertions, 2 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 71a56f1515f..196cae44b6f 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2005/04/11 21:47:20 tv Exp $
+# $NetBSD: Makefile,v 1.49 2005/07/03 04:00:18 tv Exp $
DISTNAME= stunnel-4.07
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/security/stunnel/ \
ftp://stunnel.mirt.net/stunnel/ \
@@ -25,6 +25,9 @@ PKG_SYSCONFSUBDIR= stunnel
RCD_SCRIPTS= stunnel
REPLACE_PERL= src/stunnel3.in
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
.include "../../security/openssl/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/stunnel/options.mk b/security/stunnel/options.mk
new file mode 100644
index 00000000000..1b95feac565
--- /dev/null
+++ b/security/stunnel/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2005/07/03 04:00:18 tv Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.stunnel
+PKG_SUPPORTED_OPTIONS= inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Support IPv6
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif