pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/stunnel IPv6 support appeared in 4.06, but it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8330d7e830dc
branches:  trunk
changeset: 496570:8330d7e830dc
user:      tv <tv%pkgsrc.org@localhost>
date:      Sun Jul 03 04:00:18 2005 +0000

description:
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:

 security/stunnel/Makefile   |   7 +++++--
 security/stunnel/options.mk |  16 ++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r 8649f17959f9 -r 8330d7e830dc security/stunnel/Makefile
--- a/security/stunnel/Makefile Sat Jul 02 23:13:58 2005 +0000
+++ b/security/stunnel/Makefile Sun Jul 03 04:00:18 2005 +0000
@@ -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 @@
 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 -r 8649f17959f9 -r 8330d7e830dc security/stunnel/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/stunnel/options.mk       Sun Jul 03 04:00:18 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index