summaryrefslogtreecommitdiff
path: root/net/couriertcpd/options.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-19 18:45:41 +0000
committerjlam <jlam@pkgsrc.org>2008-02-19 18:45:41 +0000
commit37da78ee2809204a461f84ee5c73110b1f279a7a (patch)
treee23f549ae9c9aeae3a4ff868c2adf5b2ca46d521 /net/couriertcpd/options.mk
parenta0ab14962bcf4cce578a53a2957d2ad80fd46f7d (diff)
downloadpkgsrc-37da78ee2809204a461f84ee5c73110b1f279a7a.tar.gz
Update net/couriertcpd to version 0.58.0. Changes from version 0.57.1
include: + Add a new option "gnutls" to support using GNUTLS instead of OpenSSL. + Add full DESTDIR support. + Fix CONFLICT with courier-imap -- we conflict with courier-imap<4.1.1, not 4.11.
Diffstat (limited to 'net/couriertcpd/options.mk')
-rw-r--r--net/couriertcpd/options.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/couriertcpd/options.mk b/net/couriertcpd/options.mk
new file mode 100644
index 00000000000..af5b5b50d06
--- /dev/null
+++ b/net/couriertcpd/options.mk
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1 2008/02/19 18:45:41 jlam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.couriertcpd
+PKG_SUPPORTED_OPTIONS= inet6
+PKG_OPTIONS_REQUIRED_GROUPS= tls
+PKG_OPTIONS_GROUP.tls= gnutls ssl
+PKG_SUGGESTED_OPTIONS= inet6 ssl
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Build with OpenSSL or GNU TLS as the underlying crypto library.
+###
+.if !empty(PKG_OPTIONS:Mssl)
+. include "../../security/openssl/buildlink3.mk"
+.elif !empty(PKG_OPTIONS:Mgnutls)
+. include "../../security/gnutls/buildlink3.mk"
+CONFIGURE_ARGS+= --with-gnutls
+.endif
+
+###
+### IPv6 support.
+###
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --with-ipv6
+.else
+CONFIGURE_ARGS+= --without-ipv6
+.endif