summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-02-28 12:03:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-02-28 12:03:03 +0100
commit317ed2d579e74955cb281f527629260c780433c6 (patch)
treeef86b28504e3d08c408bd063d6e6031b29814330
parent9e941de5595ef76c1abed645fbec39ef6535e990 (diff)
remove nagios-plugins
-rw-r--r--package/nagios-plugins/Makefile27
-rw-r--r--package/nagios-plugins/patches/patch-plugins_Makefile_in40
-rw-r--r--package/nagios-plugins/patches/patch-plugins_check_load_c18
-rw-r--r--package/nagios-plugins/patches/patch-plugins_netutils_c16
4 files changed, 0 insertions, 101 deletions
diff --git a/package/nagios-plugins/Makefile b/package/nagios-plugins/Makefile
deleted file mode 100644
index eb95f694a..000000000
--- a/package/nagios-plugins/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:= nagios-plugins
-PKG_VERSION:= 1.4.15
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 56abd6ade8aa860b38c4ca4a6ac5ab0d
-PKG_DESCR:= Nagios plugins
-PKG_SECTION:= net
-PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nagiosplug/}
-
-PKG_HOST_DEPENDS:= !darwin
-
-include $(TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,NAGIOS_PLUGINS,nagios-plugins,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIGURE_ENV+= ac_cv_lib_nsl_main=no
-
-nagios-plugins-install:
- $(INSTALL_DIR) $(IDIR_NAGIOS_PLUGINS)/usr/libexec
- $(CP) $(WRKINST)/usr/libexec/* \
- $(IDIR_NAGIOS_PLUGINS)/usr/libexec
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nagios-plugins/patches/patch-plugins_Makefile_in b/package/nagios-plugins/patches/patch-plugins_Makefile_in
deleted file mode 100644
index a22bcc070..000000000
--- a/package/nagios-plugins/patches/patch-plugins_Makefile_in
+++ /dev/null
@@ -1,40 +0,0 @@
---- nagios-plugins-1.4.15.orig/plugins/Makefile.in 2010-07-27 22:48:10.000000000 +0200
-+++ nagios-plugins-1.4.15/plugins/Makefile.in 2011-12-03 13:26:49.709669796 +0100
-@@ -31,8 +31,8 @@ PRE_UNINSTALL = :
- POST_UNINSTALL = :
- build_triplet = @build@
- host_triplet = @host@
--libexec_PROGRAMS = check_apt$(EXEEXT) check_cluster$(EXEEXT) \
-- check_disk$(EXEEXT) check_dummy$(EXEEXT) check_http$(EXEEXT) \
-+libexec_PROGRAMS = check_cluster$(EXEEXT) \
-+ check_dummy$(EXEEXT) check_http$(EXEEXT) \
- check_load$(EXEEXT) check_mrtg$(EXEEXT) \
- check_mrtgtraf$(EXEEXT) check_ntp$(EXEEXT) \
- check_ntp_peer$(EXEEXT) check_nwstat$(EXEEXT) \
-@@ -46,7 +46,7 @@ EXTRA_PROGRAMS = check_mysql$(EXEEXT) ch
- check_game$(EXEEXT) check_dig$(EXEEXT) check_nagios$(EXEEXT) \
- check_by_ssh$(EXEEXT) check_dns$(EXEEXT) check_nt$(EXEEXT) \
- check_ide_smart$(EXEEXT) check_procs$(EXEEXT) \
-- check_mysql_query$(EXEEXT) check_apt$(EXEEXT)
-+ check_mysql_query$(EXEEXT)
- subdir = plugins
- DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-@@ -251,7 +251,7 @@ CCLD = $(CC)
- LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
- --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
- $(LDFLAGS) -o $@
--SOURCES = check_apt.c check_by_ssh.c check_cluster.c check_dig.c \
-+SOURCES = check_by_ssh.c check_cluster.c check_dig.c \
- check_disk.c check_dns.c check_dummy.c check_fping.c \
- check_game.c check_hpjd.c check_http.c check_ide_smart.c \
- check_ldap.c check_load.c check_mrtg.c check_mrtgtraf.c \
-@@ -261,7 +261,7 @@ SOURCES = check_apt.c check_by_ssh.c che
- check_radius.c check_real.c check_smtp.c check_snmp.c \
- check_ssh.c check_swap.c check_tcp.c check_time.c check_ups.c \
- check_users.c negate.c urlize.c
--DIST_SOURCES = check_apt.c check_by_ssh.c check_cluster.c check_dig.c \
-+DIST_SOURCES = check_by_ssh.c check_cluster.c check_dig.c \
- check_disk.c check_dns.c check_dummy.c check_fping.c \
- check_game.c check_hpjd.c check_http.c check_ide_smart.c \
- check_ldap.c check_load.c check_mrtg.c check_mrtgtraf.c \
diff --git a/package/nagios-plugins/patches/patch-plugins_check_load_c b/package/nagios-plugins/patches/patch-plugins_check_load_c
deleted file mode 100644
index 95c386e56..000000000
--- a/package/nagios-plugins/patches/patch-plugins_check_load_c
+++ /dev/null
@@ -1,18 +0,0 @@
---- nagios-plugins-1.4.15.orig/plugins/check_load.c 2010-07-27 22:47:16.000000000 +0200
-+++ nagios-plugins-1.4.15/plugins/check_load.c 2011-12-03 12:12:09.000000000 +0100
-@@ -163,6 +163,7 @@ main (int argc, char **argv)
- # endif
- #endif
-
-+#if 0
- if (take_into_account_cpus == 1) {
- if ((numcpus = GET_NUMBER_OF_CPUS()) > 0) {
- la[0] = la[0] / numcpus;
-@@ -170,6 +171,7 @@ main (int argc, char **argv)
- la[2] = la[2] / numcpus;
- }
- }
-+#endif
- if ((la[0] < 0.0) || (la[1] < 0.0) || (la[2] < 0.0)) {
- #ifdef HAVE_GETLOADAVG
- printf (_("Error in getloadavg()\n"));
diff --git a/package/nagios-plugins/patches/patch-plugins_netutils_c b/package/nagios-plugins/patches/patch-plugins_netutils_c
deleted file mode 100644
index 97b68a5a5..000000000
--- a/package/nagios-plugins/patches/patch-plugins_netutils_c
+++ /dev/null
@@ -1,16 +0,0 @@
---- nagios-plugins-1.4.15.orig/plugins/netutils.c 2010-07-27 22:47:16.000000000 +0200
-+++ nagios-plugins-1.4.15/plugins/netutils.c 2011-12-03 12:07:53.000000000 +0100
-@@ -27,6 +27,13 @@
- *
- *****************************************************************************/
-
-+#ifndef AF_LOCAL
-+#define AF_LOCAL AF_UNIX
-+#endif
-+#ifndef PF_LOCAL
-+#define PF_LOCAL PF_UNIX
-+#endif
-+
- #define LOCAL_TIMEOUT_ALARM_HANDLER
-
- #include "common.h"