Index: net-mgmt/nsca-ng/Makefile =================================================================== --- net-mgmt/nsca-ng/Makefile +++ net-mgmt/nsca-ng/Makefile @@ -1,11 +1,15 @@ # Created by: Alexander Sulfrian -# $FreeBSD$ +# $FreeBSD: head/net-mgmt/nsca-ng/Makefile 498447 2019-04-09 05:48:34Z antoine $ PORTNAME= nsca-ng -PORTVERSION= 1.4 +PORTVERSION= 1.6 PORTREVISION= 1 CATEGORIES= net-mgmt -MASTER_SITES= https://www.nsca-ng.org/download/ http://www.nsca-ng.org/download/ +DISTVERSIONPREFIX=v + +USE_GITHUB= true +GH_ACCOUNT= weiss +GH_PROJECT= nsca-ng MAINTAINER= alexander@sulfrian.net COMMENT= Nagios Service Check Acceptor @@ -21,7 +25,7 @@ CONFLICTS?= nsca-2.* nsca27-2.* -USES= ssl +USES= ssl autoreconf GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var/spool/nagios CPPFLAGS+= -I${OPENSSLINC} @@ -38,11 +42,6 @@ .include -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= cannot link with OpenSSL -BROKEN_FreeBSD_13= cannot link with OpenSSL -.endif - .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Requires PSK which is unsupported by the selected LibreSSL .endif Index: net-mgmt/nsca-ng/distinfo =================================================================== --- net-mgmt/nsca-ng/distinfo +++ net-mgmt/nsca-ng/distinfo @@ -1,2 +1,3 @@ -SHA256 (nsca-ng-1.4.tar.gz) = 25f8e0439104e72443325e5f2503ed39329dccb7928de162dbb7fe6df7196a29 -SIZE (nsca-ng-1.4.tar.gz) = 354012 +TIMESTAMP = 1591782852 +SHA256 (weiss-nsca-ng-v1.6_GH0.tar.gz) = 215e9e06293e46ca825d6dbc9f57e74180dc928d98d3f24b234086d3face75c2 +SIZE (weiss-nsca-ng-v1.6_GH0.tar.gz) = 233563 Index: net-mgmt/nsca-ng/files/patch-src_common_tls.c =================================================================== --- net-mgmt/nsca-ng/files/patch-src_common_tls.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/common/tls.c.orig 2018-10-10 00:47:13 UTC -+++ src/common/tls.c -@@ -102,6 +102,7 @@ - #include - #include - #include -+#include - #include - - #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