Whoops, Thunderbird mangled the line endings. Apparently it doesn't do it if the extension is .txt? Hopefully this one is OK.

On 2/20/2020 4:11 PM, William Leuschner wrote:
robert@ and ports@,

What do you think about making gnutls the default cryptography library for net/zabbix? I've attached a diff that changes it, if you think it's a good idea.

Sincerely,
William Leuschner
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/zabbix/Makefile,v
retrieving revision 1.162
diff -u -p -r1.162 Makefile
--- Makefile    3 Feb 2020 19:13:41 -0000       1.162
+++ Makefile    20 Feb 2020 21:04:40 -0000
@@ -36,7 +36,7 @@ FLAVORS =             mysql pgsql sqlite3
 
 SUBST_VARS +=          PREFIX-web ZABBIX_WEB MAJV
 
-WANTLIB =              c iconv kvm m execinfo lber ldap crypto ssl z \
+WANTLIB =              c iconv kvm m execinfo lber ldap z \
                        curl nghttp2 pcre
 
 LIB_DEPENDS =          converters/libiconv \
@@ -51,12 +51,13 @@ LIB_DEPENDS-server =        ${LIB_DEPENDS} \
                        textproc/libxml \
                        net/net-snmp \
                        textproc/iksemel \
-                       security/libssh2
+                       security/libssh2 \
+                       security/gnutls
 RUN_DEPENDS-server =   net/fping
 # we want the _zabbix user&group as well as README-main
 RUN_DEPENDS-server +=  net/zabbix,-main>=${VERSION}
-WANTLIB-server =       ${WANTLIB} crypto ssl z netsnmp iksemel pthread \
-                       xml2 ssh2
+WANTLIB-server =       ${WANTLIB} z netsnmp iksemel pthread \
+                       xml2 ssh2 gnutls
 
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS =       --enable-server \
@@ -69,7 +70,7 @@ CONFIGURE_ARGS =      --enable-server \
                        --with-ldap \
                        --with-jabber="${LOCALBASE}" \
                        --with-ssh2 \
-                       --with-openssl
+                       --with-gnutls
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib -lexecinfo" \
                        ac_cv_search___res_query=no
@@ -84,8 +85,9 @@ ZABBIX_WEB =          ${PREFIX-web}/zabbix
 LIB_DEPENDS-proxy =    ${LIB_DEPENDS} \
                        net/net-snmp \
                        security/libssh2 \
+                       security/gnutls \
                        textproc/libxml
-WANTLIB-proxy =                ${WANTLIB} netsnmp ssh2 xml2 pthread
+WANTLIB-proxy =                ${WANTLIB} netsnmp ssh2 gnutls xml2 pthread
 RUN_DEPENDS-proxy =    # empty
 
 FLAVOR ?=              no_server

Reply via email to