Index: head/net-mgmt/nsca-ng/Makefile =================================================================== --- head/net-mgmt/nsca-ng/Makefile (revision 483677) +++ head/net-mgmt/nsca-ng/Makefile (revision 483678) @@ -1,66 +1,67 @@ # Created by: Alexander Sulfrian # $FreeBSD$ 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/ MAINTAINER= alexander@sulfrian.net COMMENT= Nagios Service Check Acceptor LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libev.so:devel/libev .if !defined(PKGNAMESUFFIX) LIB_DEPENDS+= libconfuse.so:devel/libconfuse .endif CONFLICTS?= nsca-2.* nsca27-2.* USES= ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var/spool/nagios CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} .if !defined(PKGNAMESUFFIX) USE_RC_SUBR= nsca-ng CONFIGURE_ARGS+= --enable-server .endif PORTDOCS= NEWS COPYING README PROTOCOL TODO OPTIONS_DEFINE= DOCS EXAMPLES .include .if ${SSL_DEFAULT:Mlibressl*} IGNORE= Requires PSK which is unsupported by the selected LibreSSL .endif post-install: .if defined(PKGNAMESUFFIX) ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios/ ${LN} -s ${PREFIX}/sbin/send_nsca ${STAGEDIR}${PREFIX}/libexec/nagios/send_nsca ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR} cd ${STAGEDIR}${PREFIX}/etc && ${MV} send_nsca.cfg send_nsca.cfg.sample # remove files not used here cd ${STAGEDIR}${PREFIX} && ${RM} man/man8/nsca-ng.8 man/man5/nsca-ng.cfg.5 .else cd ${STAGEDIR}${PREFIX}/etc && ${MV} nsca-ng.cfg nsca-ng.cfg.sample # remove files not used here cd ${STAGEDIR}${PREFIX} && ${RM} etc/send_nsca.cfg man/man5/send_nsca.cfg.5 \ man/man8/send_nsca.8 sbin/send_nsca .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net-mgmt/nsca-ng/files/patch-src_common_tls.c =================================================================== --- head/net-mgmt/nsca-ng/files/patch-src_common_tls.c (nonexistent) +++ head/net-mgmt/nsca-ng/files/patch-src_common_tls.c (revision 483678) @@ -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 + #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 Property changes on: head/net-mgmt/nsca-ng/files/patch-src_common_tls.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property