svn commit: r483678 - in head/net-mgmt/nsca-ng: . files
Steve Wills
swills at FreeBSD.org
Thu Nov 1 15:24:15 UTC 2018
Author: swills
Date: Thu Nov 1 15:24:14 2018
New Revision: 483678
URL: https://svnweb.freebsd.org/changeset/ports/483678
Log:
net-mgmt/nsca-ng: Fix OpenSSL
PR: 231931
Submitted by: Nathan <ndowens at yahoo.com>
Approved by: maintainer timeout (alexander at sulfrian.net, >2 weeks)
Added:
head/net-mgmt/nsca-ng/files/patch-src_common_tls.c (contents, props changed)
Modified:
head/net-mgmt/nsca-ng/Makefile (contents, props changed)
Modified: head/net-mgmt/nsca-ng/Makefile
==============================================================================
--- head/net-mgmt/nsca-ng/Makefile Thu Nov 1 15:16:52 2018 (r483677)
+++ head/net-mgmt/nsca-ng/Makefile Thu Nov 1 15:24:14 2018 (r483678)
@@ -3,6 +3,7 @@
PORTNAME= nsca-ng
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://www.nsca-ng.org/download/ http://www.nsca-ng.org/download/
Added: head/net-mgmt/nsca-ng/files/patch-src_common_tls.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nsca-ng/files/patch-src_common_tls.c Thu Nov 1 15:24:14 2018 (r483678)
@@ -0,0 +1,20 @@
+--- src/common/tls.c.orig 2018-10-10 00:47:13 UTC
++++ src/common/tls.c
+@@ -102,6 +102,7 @@
+ #include <ev.h>
+ #include <openssl/conf.h>
+ #include <openssl/err.h>
++#include <openssl/opensslv.h>
+ #include <openssl/ssl.h>
+
+ #include "log.h"
+@@ -419,7 +420,9 @@ initialize_openssl(const SSL_METHOD *method, const cha
+
+ (void)SSL_library_init();
+ SSL_load_error_strings();
++#if OPENSSL_VERSION_NUMBER < 0x10100000L
+ (void)atexit(ERR_free_strings);
++#endif
+
+ /*
+ * In earlier versions, we called
More information about the svn-ports-all
mailing list