pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/ircd-hybrid chat/ircd-hybrid: Adds option for sup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82f17164d432
branches:  trunk
changeset: 410083:82f17164d432
user:      fox <fox%pkgsrc.org@localhost>
date:      Sat Jan 25 23:48:31 2020 +0000

description:
chat/ircd-hybrid: Adds option for supporting GnuTLS.

Thanks to leot@ for reviewing.

diffstat:

 chat/ircd-hybrid/options.mk |  14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 37045f8da59d -r 82f17164d432 chat/ircd-hybrid/options.mk
--- a/chat/ircd-hybrid/options.mk       Sat Jan 25 23:13:49 2020 +0000
+++ b/chat/ircd-hybrid/options.mk       Sat Jan 25 23:48:31 2020 +0000
@@ -1,17 +1,23 @@
-# $NetBSD: options.mk,v 1.5 2020/01/23 10:06:22 fox Exp $
+# $NetBSD: options.mk,v 1.6 2020/01/25 23:48:31 fox Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ircd-hybrid
-PKG_SUPPORTED_OPTIONS= ssl
+
+PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
+PKG_OPTIONS_GROUP.ssl=         gnutls ssl
+
 PKG_SUGGESTED_OPTIONS= ssl
 
 .include "../../mk/bsd.options.mk"
 
 ###
-### Enable OpenSSL support
+### SSL support
 ###
 .if !empty(PKG_OPTIONS:Mssl)
-.include "../../security/openssl/buildlink3.mk"
+.  include "../../security/openssl/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-tls=openssl
+.elif !empty(PKG_OPTIONS:Mgnutls)
+.  include "../../security/gnutls/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-tls=gnutls
 .else
 CONFIGURE_ARGS+=       --with-tls=none
 .endif



Home | Main Index | Thread Index | Old Index