summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2005-09-10 18:24:13 +0000
committerLance Albertson <ramereth@gentoo.org>2005-09-10 18:24:13 +0000
commitafc9d5ea9ad7dbdbcda61d89cb6c2872efe1eabf (patch)
tree62b15b61a51fc8279c4bfef1ca02f3930c221f35 /net-analyzer/nagios-plugins/files
parentMarked Stable on AMD64. Removed older versions. (diff)
downloadhistorical-afc9d5ea9ad7dbdbcda61d89cb6c2872efe1eabf.tar.gz
historical-afc9d5ea9ad7dbdbcda61d89cb6c2872efe1eabf.tar.bz2
historical-afc9d5ea9ad7dbdbcda61d89cb6c2872efe1eabf.zip
fix noradius patch to actually patch configure.in (makes it more portable), fixes bug #105459
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-analyzer/nagios-plugins/files')
-rw-r--r--net-analyzer/nagios-plugins/files/nagios-plugins-1.4.1-noradius.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.1-noradius.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.1-noradius.patch
new file mode 100644
index 000000000000..aac5637ecd50
--- /dev/null
+++ b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.1-noradius.patch
@@ -0,0 +1,22 @@
+--- configure.in.orig 2005-09-10 16:40:43.000000000 +0000
++++ configure.in 2005-09-10 16:43:18.000000000 +0000
+@@ -193,19 +193,6 @@
+ LIBS="$_SAVEDLIBS"
+ CPPFLAGS="$_SAVEDCPPFLAGS"
+
+-dnl Check for radius libraries
+-_SAVEDLIBS="$LIBS"
+-AC_CHECK_LIB(radiusclient,rc_read_config)
+-if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then
+- EXTRAS="$EXTRAS check_radius"
+- RADIUSLIBS="-lradiusclient"
+- AC_SUBST(RADIUSLIBS)
+-else
+- AC_MSG_WARN([Skipping radius plugin])
+- AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).])
+-fi
+-LIBS="$_SAVEDLIBS"
+-
+ dnl Check for LDAP libraries
+ _SAVEDLIBS="$LIBS"
+ AC_CHECK_LIB(ldap,main,,,-llber)