ports/113215: [maintainer-update] net-mgmt/nagios-plugins: Several binaries not installed if check_mysql enabled
Jarrod Sayers
jarrod at netleader.com.au
Fri Jun 1 10:50:03 UTC 2007
>Number: 113215
>Category: ports
>Synopsis: [maintainer-update] net-mgmt/nagios-plugins: Several binaries not installed if check_mysql enabled
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 01 10:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Jarrod Sayers
>Release: FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD wallace.netleader.com.au 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #81: Sun May 6 11:56:02 CST 2007 root at wallace.netleader.com.au:/usr/obj/usr/src/sys/WALLACE i386
>Description:
A typo in the releases configure.in script accidentally causes the check_ldap,
check_ldaps, check_pgsql and check_radius binaries to be ignored when support
for MySQL is enabled (to provide check_mysql and check_mysql_query). When
MySQL support is not enabled, all selected binaries are installed without any
worries.
Thanks go to Jay Chandler who pointed out that check_ldap wasn't being compiled
and quizzed me as to whether this was known or not.
>How-To-Repeat:
>Fix:
Downloadable diff from:
http://www.netleader.com.au/~jarrod/FreeBSD/net-mgmt-nagios-plugins-1.4.8-mysql.diff
--- net-mgmt-nagios-plugins-1.4.8-mysql.diff begins here ---
diff -ruN ports/net-mgmt/nagios-plugins.orig/Makefile ports/net-mgmt/nagios-plugins/Makefile
--- ports/net-mgmt/nagios-plugins.orig/Makefile Thu May 31 21:41:30 2007
+++ ports/net-mgmt/nagios-plugins/Makefile Fri Jun 1 19:56:34 2007
@@ -7,6 +7,7 @@
PORTNAME= nagios-plugins
PORTVERSION= 1.4.8
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
diff -ruN ports/net-mgmt/nagios-plugins.orig/files/patch-configure.in ports/net-mgmt/nagios-plugins/files/patch-configure.in
--- ports/net-mgmt/nagios-plugins.orig/files/patch-configure.in Thu May 31 21:41:32 2007
+++ ports/net-mgmt/nagios-plugins/files/patch-configure.in Fri Jun 1 19:56:07 2007
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 11 21:38:05 2007
-+++ configure.in Sun May 27 12:27:04 2007
++++ configure.in Fri Jun 1 19:55:28 2007
@@ -12,8 +12,6 @@
RELEASE=1
AC_SUBST(RELEASE)
@@ -91,6 +91,15 @@
dnl Check for mysql libraries
np_mysqlclient
+@@ -246,7 +258,7 @@
+ AC_MSG_WARN([Skipping mysql plugin])
+ AC_MSG_WARN([install mysql client libs to compile this plugin (see REQUIREMENTS).])
+ else
+- EXTRAS="$EXTRA check_mysql check_mysql_query"
++ EXTRAS="$EXTRAS check_mysql check_mysql_query"
+ MYSQLINCLUDE="$np_mysql_include"
+ MYSQLLIBS="$np_mysql_libs"
+ MYSQLCFLAGS="$np_mysql_cflags"
@@ -492,22 +504,10 @@
ac_cv_ps_cols=8
AC_MSG_RESULT([$ac_cv_ps_command])
--- net-mgmt-nagios-plugins-1.4.8-mysql.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list