summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2017-11-20 21:14:20 +0000
committerbsiegert <bsiegert@pkgsrc.org>2017-11-20 21:14:20 +0000
commit153cbcb88dd8bcc924635ec06374b50cb4468a7b (patch)
treec5d961eae3942d76d3f6344e01dec229129cbdaf
parent4bdd9453d104ce10c6bef42f1debe993689683da (diff)
downloadpkgsrc-153cbcb88dd8bcc924635ec06374b50cb4468a7b.tar.gz
Pullup ticket #5645 - requested by taca
net/nagios-plugin-ldap: build fix Revisions pulled up: - net/nagios-plugin-ldap/Makefile 1.19 - net/nagios-plugins/Makefile.common 1.15 - net/nagios-plugins/distinfo 1.23 - net/nagios-plugins/patches/patch-configure 1.4 --- Module Name: pkgsrc Committed By: taca Date: Wed Nov 8 03:20:49 UTC 2017 Modified Files: pkgsrc/net/nagios-plugin-ldap: Makefile pkgsrc/net/nagios-plugins: Makefile.common distinfo pkgsrc/net/nagios-plugins/patches: patch-configure Log Message: net/nagios-plugin-ldap: fix build problem Fix build problem of nagios-plugin-ldap using --with-ldap option of configure. This is minimum change to build fix for nagios-plugin-ldap.
-rw-r--r--net/nagios-plugin-ldap/Makefile4
-rw-r--r--net/nagios-plugins/Makefile.common3
-rw-r--r--net/nagios-plugins/distinfo4
-rw-r--r--net/nagios-plugins/patches/patch-configure11
4 files changed, 8 insertions, 14 deletions
diff --git a/net/nagios-plugin-ldap/Makefile b/net/nagios-plugin-ldap/Makefile
index 66687f145f3..d0cc2d965b2 100644
--- a/net/nagios-plugin-ldap/Makefile
+++ b/net/nagios-plugin-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/07/04 19:48:52 jperkin Exp $
+# $NetBSD: Makefile,v 1.18.4.1 2017/11/20 21:14:20 bsiegert Exp $
#
PKGNAME= nagios-plugin-ldap-${PLUGINSVERSION}
@@ -14,6 +14,8 @@ DEPENDS+= nagios-plugins-${PLUGINSVERSION}{,nb[0-9]*}:../../net/nagios-plugins
BINARY_TARGET= check_ldap
+CONFIGURE_ARGS+= --with-ldap=yes
+
.include "../../net/nagios-plugins/Makefile.plugin"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/net/nagios-plugins/Makefile.common b/net/nagios-plugins/Makefile.common
index 86ab4203ff1..1d068f72241 100644
--- a/net/nagios-plugins/Makefile.common
+++ b/net/nagios-plugins/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2017/09/10 14:11:30 joerg Exp $
+# $NetBSD: Makefile.common,v 1.14.4.1 2017/11/20 21:14:20 bsiegert Exp $
#
# used by net/nagios-plugin-ldap/Makefile
# used by net/nagios-plugin-mysql/Makefile
@@ -23,5 +23,6 @@ CONFIGURE_ARGS.DragonFly+= fu_cv_sys_stat_statvfs=no
CONFIGURE_ARGS+= --with-nagios-user=${NAGIOS_USER:Q}
CONFIGURE_ARGS+= --with-nagios-group=${NAGIOS_GROUP:Q}
CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share/nagios
+CONFIGURE_ARGS+= --with-ldap=no
CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
diff --git a/net/nagios-plugins/distinfo b/net/nagios-plugins/distinfo
index f37a3f420de..58178aa8cdc 100644
--- a/net/nagios-plugins/distinfo
+++ b/net/nagios-plugins/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2017/09/09 22:47:35 joerg Exp $
+$NetBSD: distinfo,v 1.22.4.1 2017/11/20 21:14:20 bsiegert Exp $
SHA1 (nagios-plugins-2.2.1.tar.gz) = 0d3fc8876343a906f0dcc2c00850e4ad956a150a
RMD160 (nagios-plugins-2.2.1.tar.gz) = 39c364ac08854a1829d47562d4add1ae58a49334
@@ -8,7 +8,7 @@ SHA1 (patch-ad) = cad52f9d8c5a6b53a1b512238df1590c0fa2177d
SHA1 (patch-af) = 12ea1194eee95ea15ecc6d7daedd10eb9541ee6e
SHA1 (patch-ah) = 99b5eb4896262f5aa1de60e9f42c395a59794a6b
SHA1 (patch-an) = a6adf179db754f98b2da118a8c1101edda026fbc
-SHA1 (patch-configure) = d418b81f06e22b769cd187a77f45f0add605698e
+SHA1 (patch-configure) = 8a805fd88735b7b1c9cb96a974a1e6216ff23d2e
SHA1 (patch-gl_gettext.h) = 37d14b4472f678bd84c13183e0fb263cd17f6ac5
SHA1 (patch-plugins-root_Makefile.in) = 46e8968df375ca35d453e36c277d4052f125897b
SHA1 (patch-plugins-scripts_check__breeze.pl) = 57ffda78989fd0d0c0fa26c74b7f53bd083dab4f
diff --git a/net/nagios-plugins/patches/patch-configure b/net/nagios-plugins/patches/patch-configure
index ef76b835673..a71fd4c5a0e 100644
--- a/net/nagios-plugins/patches/patch-configure
+++ b/net/nagios-plugins/patches/patch-configure
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.3 2017/07/04 19:45:18 jperkin Exp $
+$NetBSD: patch-configure,v 1.3.4.1 2017/11/20 21:14:20 bsiegert Exp $
Disable all the plugins which are installed by the nagios-plugin-* packages.
@@ -13,15 +13,6 @@ Disable all the plugins which are installed by the nagios-plugin-* packages.
EXTRAS="$EXTRAS check_radius\$(EXEEXT)"
RADIUSLIBS="-lradiusclient"
-@@ -17518,7 +17518,7 @@ _ACEOF
-
- fi
-
-- if test "$ac_cv_lib_ldap_main" = "yes"; then
-+ if false; then
- LDAPLIBS="-lldap -llber"\
- LDAPINCLUDE="-I/usr/include/ldap"
-
@@ -18947,6 +18947,9 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */