Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2018 15:24:14 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483678 - in head/net-mgmt/nsca-ng: . files
Message-ID:  <201811011524.wA1FOEHI014164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@yahoo.com>
  Approved by:	maintainer timeout (alexander@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811011524.wA1FOEHI014164>