Add nagios-plugins (#967)
[openwrt/svn-archive/archive.git] / net / nagios-plugins / patches / 002-plugins.patch
1 --- nagios-plugins-1.4.5/plugins/Makefile.in.orig 2006-11-15 16:23:06.000000000 +0100
2 +++ nagios-plugins-1.4.5/plugins/Makefile.in 2006-11-15 16:24:03.000000000 +0100
3 @@ -36,7 +36,7 @@
4 POST_UNINSTALL = :
5 build_triplet = @build@
6 host_triplet = @host@
7 -libexec_PROGRAMS = check_apt$(EXEEXT) check_disk$(EXEEXT) \
8 +libexec_PROGRAMS = check_apt$(EXEEXT) \
9 check_dummy$(EXEEXT) check_http$(EXEEXT) check_load$(EXEEXT) \
10 check_mrtg$(EXEEXT) check_mrtgtraf$(EXEEXT) check_ntp$(EXEEXT) \
11 check_nwstat$(EXEEXT) check_overcr$(EXEEXT) \
12 @@ -46,7 +46,7 @@
13 urlize$(EXEEXT) @EXTRAS@
14 EXTRA_PROGRAMS = check_mysql$(EXEEXT) check_radius$(EXEEXT) \
15 check_pgsql$(EXEEXT) check_snmp$(EXEEXT) check_hpjd$(EXEEXT) \
16 - check_swap$(EXEEXT) check_fping$(EXEEXT) check_ldap$(EXEEXT) \
17 + check_fping$(EXEEXT) check_ldap$(EXEEXT) \
18 check_game$(EXEEXT) check_dig$(EXEEXT) check_nagios$(EXEEXT) \
19 check_by_ssh$(EXEEXT) check_dns$(EXEEXT) check_nt$(EXEEXT) \
20 check_ide_smart$(EXEEXT) check_procs$(EXEEXT) \
21 --- nagios-plugins-1.4.5/plugins/Makefile.am.orig 2006-11-15 16:27:09.000000000 +0100
22 +++ nagios-plugins-1.4.5/plugins/Makefile.am 2006-11-15 16:27:19.000000000 +0100
23 @@ -23,7 +23,7 @@
24 check_udp check_clamd @check_tcp_ssl@
25
26 EXTRA_PROGRAMS = check_mysql check_radius check_pgsql check_snmp check_hpjd \
27 - check_swap check_fping check_ldap check_game check_dig \
28 + check_fping check_ldap check_game check_dig \
29 check_nagios check_by_ssh check_dns check_nt check_ide_smart \
30 check_procs check_mysql_query check_apt
31
32 --- nagios-plugins-1.4.5/configure.orig 2006-11-15 16:33:34.000000000 +0100
33 +++ nagios-plugins-1.4.5/configure 2006-11-15 16:35:55.000000000 +0100
34 @@ -31800,7 +31800,7 @@
35
36 if test "$ac_cv_have_decl_swapctl" = "yes";
37 then
38 - EXTRAS="$EXTRAS check_swap"
39 + EXTRAS="$EXTRAS"
40 echo "$as_me:$LINENO: checking for 2-arg (SVR4) swapctl" >&5
41 echo $ECHO_N "checking for 2-arg (SVR4) swapctl... $ECHO_C" >&6
42 if test "$ac_cv_type_swaptbl_t" = "yes" -a \
43 @@ -31943,7 +31943,7 @@
44 #define HAVE_SWAP 1
45 _ACEOF
46
47 - EXTRAS="$EXTRAS check_swap"
48 + EXTRAS="$EXTRAS"
49 fi
50 if test "x$ac_cv_swap_command" != "x"
51 then
52 @@ -31995,7 +31995,7 @@
53 #define PROC_MEMINFO "$ac_cv_proc_meminfo"
54 _ACEOF
55
56 - EXTRAS="$EXTRAS check_swap"
57 + EXTRAS="$EXTRAS"
58 fi
59
60 # Extract the first word of "dig", so it can be a program name with args.