nsca-ng: switch back to openssl/1.1. drop RUN_DEPENDS while there,

it was only allowing nagios/icinga1, but also works with icinga2.
there's not a lot of point having it as a forced dep anyway.
This commit is contained in:
sthen 2020-12-03 12:00:12 +00:00
parent 23f20bca78
commit 949df0a2da

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2020/12/02 17:29:08 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2020/12/03 12:00:12 sthen Exp $
COMMENT-main= server to accept passive check results for Nagios/Icinga
COMMENT-client= client to send passive check results to Nagios/Icinga
V= 1.6
REVISION= 0
REVISION= 1
DISTNAME= nsca-ng-$V
PKGNAME-main= nsca-ng-$V
PKGNAME-client= nsca-ng-client-$V
@ -15,7 +15,7 @@ HOMEPAGE= https://www.nsca-ng.org/
# BSD
PERMIT_PACKAGE= Yes
WANTLIB= c ev lib/eopenssl/crypto lib/eopenssl/ssl
WANTLIB= c ev lib/eopenssl11/crypto lib/eopenssl11/ssl
WANTLIB-main= ${WANTLIB} confuse
MASTER_SITES= https://github.com/weiss/nsca-ng/releases/download/v$V/
@ -24,19 +24,18 @@ MASTER_SITES= https://github.com/weiss/nsca-ng/releases/download/v$V/
# does not support PSK.
LIB_DEPENDS= devel/libev \
security/openssl/1.0.2
security/openssl/1.1
LIB_DEPENDS-main= ${LIB_DEPENDS} \
devel/libconfuse
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-server
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/eopenssl" \
LDFLAGS="-L${LOCALBASE}/lib/eopenssl -Wl,-rpath,${LOCALBASE}/lib/eopenssl"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/eopenssl11" \
LDFLAGS="-L${LOCALBASE}/lib/eopenssl11 -Wl,-rpath,${LOCALBASE}/lib/eopenssl11"
SEPARATE_BUILD= Yes
MULTI_PACKAGES= -main -client
RUN_DEPENDS-main= icinga-*|nagios-*:net/nagios/nagios
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/nsca-ng
post-install: