diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-06-28 08:37:01 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-06-28 08:37:01 +0000 |
commit | b5829cbe342b5e7c30001980ab33fa5354b913df (patch) | |
tree | 599f6f3a771ece41f09f2ae0d244841590e2ae5d /net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch | |
parent | Move from gentoo-de overlay to this shiny new place, also bump to 2.3 (diff) | |
download | dertobi123-master.tar.gz dertobi123-master.tar.bz2 dertobi123-master.zip |
svn path=/; revision=52
Diffstat (limited to 'net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch')
-rw-r--r-- | net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch new file mode 100644 index 0000000..6d51d7f --- /dev/null +++ b/net-analyzer/nagios-plugins/files/nagios-plugins-1.4.10-noradius.patch @@ -0,0 +1,30 @@ +diff -Naur nagios-plugins-1.4.10.orig/configure.in nagios-plugins-1.4.10/configure.in +--- nagios-plugins-1.4.10.orig/configure.in 2007-09-29 02:44:36.000000000 +0200 ++++ nagios-plugins-1.4.10/configure.in 2007-09-29 11:20:19.000000000 +0200 +@@ -210,26 +210,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_CHECK_LIB(radiusclient-ng,rc_read_config) +- if test "$ac_cv_lib_radiusclient_ng_rc_read_config" = "yes"; then +- EXTRAS="$EXTRAS check_radius" +- RADIUSLIBS="-lradiusclient-ng" +- AC_SUBST(RADIUSLIBS) +- else +- AC_MSG_WARN([Skipping radius plugin]) +- AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).]) +- fi +-fi +-LIBS="$_SAVEDLIBS" +- + dnl Check for LDAP libraries + _SAVEDLIBS="$LIBS" + AC_CHECK_LIB(ldap,main,,,-llber) |