openbsd-ports/net/nagios/plugins/patches/patch-plugins_Makefile_in
sthen 14a538eac0 update nagios-plugins to 1.4.16, various fixes/new features
- the new code in check_user wants utmpx so those parts are reverted
to the old popen("/usr/bin/who",...) code for now.
2012-06-28 23:10:48 +00:00

16 lines
611 B
Plaintext

$OpenBSD: patch-plugins_Makefile_in,v 1.3 2012/06/28 23:10:48 sthen Exp $
we have no utmpx, so for now return to ugly 1.4.15 code to parse who(1) output
--- plugins/Makefile.in.orig Thu Jun 28 22:50:07 2012
+++ plugins/Makefile.in Thu Jun 28 22:50:16 2012
@@ -1166,7 +1166,7 @@ check_tcp_LDADD = $(SSLOBJS) $(NETLIBS) $(SSLLIBS)
check_time_LDADD = $(NETLIBS)
check_ntp_time_LDADD = $(NETLIBS) $(MATHLIBS)
check_ups_LDADD = $(NETLIBS)
-check_users_LDADD = $(BASEOBJS)
+check_users_LDADD = $(BASEOBJS) popen.o
check_by_ssh_LDADD = $(NETLIBS)
check_ide_smart_LDADD = $(BASEOBJS)
negate_LDADD = $(BASEOBJS)