summaryrefslogtreecommitdiffstats
path: root/web/attachments/52944-patches.txt
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/52944-patches.txt')
-rw-r--r--web/attachments/52944-patches.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/web/attachments/52944-patches.txt b/web/attachments/52944-patches.txt
new file mode 100644
index 0000000..165ac93
--- /dev/null
+++ b/web/attachments/52944-patches.txt
@@ -0,0 +1,39 @@
1--- src/nagios-plugins-1.3.0/configure.in 2003-03-01 20:58:12.000000000 -0800
2+++ configure.in 2003-06-11 14:38:45.444708000 -0700
3@@ -145,11 +145,13 @@
4
5 dnl Check for radius libraries
6 _SAVEDLIBS="$LIBS"
7-AC_CHECK_LIB(radiusclient,rc_read_config)
8+AC_CHECK_LIB(radiusclient,rc_read_config,,,$SOCKETLIBS)
9 if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then
10 EXTRAS="$EXTRAS check_radius"
11- RADIUSLIBS="-lradiusclient"
12+ RADIUSLIBS="-lradiusclient $SOCKETLIBS"
13+ RADIUSINCLUDE="-I/usr/local/include"
14 AC_SUBST(RADIUSLIBS)
15+ AC_SUBST(RADIUSINCLUDE)
16 else
17 AC_MSG_WARN([Skipping radius plugin])
18 AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).])
19
20
21
22
23
24
25
26
27
28
29--- src/nagios-plugins-1.3.0/plugins/Makefile.am 2003-02-18 23:15:52.000000000 -0800
30+++ Makefile.am 2003-06-11 14:28:22.318808000 -0700
31@@ -2,7 +2,7 @@
32
33 VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t
34
35-INCLUDES = -I.. -I$(top_srcdir)/lib @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
36+INCLUDES = -I.. -I$(top_srcdir)/lib @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ @RADIUSINCLUDE@
37
38 libexec_PROGRAMS = check_disk check_dummy check_http check_load \
39 check_mrtg check_mrtgtraf check_nwstat check_overcr check_ping \