diff options
author | tv <tv@pkgsrc.org> | 2005-07-03 04:00:18 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-07-03 04:00:18 +0000 |
commit | 0152bac60ab66429c1ee29016e0272e53f8fd44b (patch) | |
tree | f2fdaeb32faa07252628d9e1cca091a71d79e0a4 /security/stunnel | |
parent | b08c94b31ab9d20731a7ccf5297e9d5f5239d4fb (diff) | |
download | pkgsrc-0152bac60ab66429c1ee29016e0272e53f8fd44b.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/stunnel')
-rw-r--r-- | security/stunnel/Makefile | 7 | ||||
-rw-r--r-- | security/stunnel/options.mk | 16 |
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 |