summaryrefslogtreecommitdiff
path: root/net/netsaint-plugins
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2009-01-29 21:29:40 +0000
committershattered <shattered@pkgsrc.org>2009-01-29 21:29:40 +0000
commit71b641f17fde4b2121e88bb0e7d7e4435e19b951 (patch)
treee024befa1e8bd8692439377a2012ac462ff7b7ed /net/netsaint-plugins
parent4047eb28066466f0091909f7c0cc336c9770c760 (diff)
downloadpkgsrc-71b641f17fde4b2121e88bb0e7d7e4435e19b951.tar.gz
Remove NetSaint packages. Last NetSaint release (0.0.7) was in 2002; it
was superseded by Nagios (in pkgsrc since 2006). Official announcement: http://marc.info/?l=netsaint-announce&m=101503609823404&w=2 OK by wiz@.
Diffstat (limited to 'net/netsaint-plugins')
-rw-r--r--net/netsaint-plugins/DESCR2
-rw-r--r--net/netsaint-plugins/Makefile40
-rw-r--r--net/netsaint-plugins/PLIST46
-rw-r--r--net/netsaint-plugins/distinfo9
-rw-r--r--net/netsaint-plugins/patches/patch-aa60
-rw-r--r--net/netsaint-plugins/patches/patch-ab173
-rw-r--r--net/netsaint-plugins/patches/patch-ac29
-rw-r--r--net/netsaint-plugins/patches/patch-ad16
8 files changed, 0 insertions, 375 deletions
diff --git a/net/netsaint-plugins/DESCR b/net/netsaint-plugins/DESCR
deleted file mode 100644
index 9802366bf40..00000000000
--- a/net/netsaint-plugins/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
- This package contains the basic monitoring plugins for netsaint. For
-more information about netsaint, see the 'netsaint-base' package.
diff --git a/net/netsaint-plugins/Makefile b/net/netsaint-plugins/Makefile
deleted file mode 100644
index 53f341fbf2f..00000000000
--- a/net/netsaint-plugins/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-# $NetBSD: Makefile,v 1.33 2008/07/14 12:56:10 joerg Exp $
-#
-
-DISTNAME= netsaint-plugins-1.2.9-4
-PKGNAME= netsaint-plugins-1.2.9.4
-PKGREVISION= 13
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netsaintplug/}
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://netsaintplug.sourceforge.net/
-COMMENT= NetSaint plugins
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-NOT_FOR_BULK_PLATFORM= Linux-*-*
-
-DEPENDS+= netsaint-base-[0-9]*:../../net/netsaint-base
-.if !exists(/usr/bin/ssh)
-DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
-.endif
-
-CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX:Q}
-CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql
-
-.include "../../net/netsaint-base/Makefile.common"
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+= --with-df-command="/bin/df -Pklt nokernfs,procfs,fdesc"
-.endif
-
-SUBST_CLASSES+= wrkdir
-SUBST_STAGE.wrkdir= pre-configure
-SUBST_SED.wrkdir= -e "s|@WRKDIR@|${WRKDIR:Q}|"
-SUBST_FILES.wrkdir= plugins-scripts/subst.in
-
-.include "../../security/openssl/buildlink3.mk"
-.include "../../mk/pgsql.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/net/netsaint-plugins/PLIST b/net/netsaint-plugins/PLIST
deleted file mode 100644
index 5e6e3f8e6e0..00000000000
--- a/net/netsaint-plugins/PLIST
+++ /dev/null
@@ -1,46 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2006/02/19 16:47:16 wiz Exp $
-libexec/netsaint/check_breeze
-libexec/netsaint/check_by_ssh
-libexec/netsaint/check_dig
-libexec/netsaint/check_disk
-libexec/netsaint/check_disk_smb
-libexec/netsaint/check_dns
-libexec/netsaint/check_dummy
-libexec/netsaint/check_flexlm
-libexec/netsaint/check_ftp
-libexec/netsaint/check_http
-libexec/netsaint/check_imap
-libexec/netsaint/check_ircd
-libexec/netsaint/check_load
-libexec/netsaint/check_log
-libexec/netsaint/check_mrtg
-libexec/netsaint/check_mrtgtraf
-libexec/netsaint/check_netdns
-libexec/netsaint/check_netsaint
-libexec/netsaint/check_nntp
-libexec/netsaint/check_nt
-libexec/netsaint/check_ntp
-libexec/netsaint/check_nwstat
-libexec/netsaint/check_oracle
-libexec/netsaint/check_overcr
-libexec/netsaint/check_pgsql
-libexec/netsaint/check_ping
-libexec/netsaint/check_pop
-libexec/netsaint/check_procs
-libexec/netsaint/check_real
-libexec/netsaint/check_rpc
-libexec/netsaint/check_sensors
-libexec/netsaint/check_smtp
-libexec/netsaint/check_ssh
-libexec/netsaint/check_swap
-libexec/netsaint/check_tcp
-libexec/netsaint/check_time
-libexec/netsaint/check_udp
-libexec/netsaint/check_ups
-libexec/netsaint/check_users
-libexec/netsaint/check_vsz
-libexec/netsaint/check_wave
-libexec/netsaint/urlize
-libexec/netsaint/utils.pm
-libexec/netsaint/utils.sh
-@comment in netsaint-base: @dirrm libexec/netsaint
diff --git a/net/netsaint-plugins/distinfo b/net/netsaint-plugins/distinfo
deleted file mode 100644
index 3c9067eff1c..00000000000
--- a/net/netsaint-plugins/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.10 2005/06/20 02:59:36 jlam Exp $
-
-SHA1 (netsaint-plugins-1.2.9-4.tar.gz) = d4d6a52c0f5ca8470cd9b9ee52d427b2ecf940e6
-RMD160 (netsaint-plugins-1.2.9-4.tar.gz) = c89e6a7e3ff81587d22ce124551a0385be916438
-Size (netsaint-plugins-1.2.9-4.tar.gz) = 352023 bytes
-SHA1 (patch-aa) = 209680a6ffc320d1da82135027b9a5bd5d905690
-SHA1 (patch-ab) = a2dba2793eb369cbcb77635165f72c719503b5ce
-SHA1 (patch-ac) = c86760de132f6e4995ee04feeaf392214b67f4bf
-SHA1 (patch-ad) = 0f794b92bb4fa5b556987d08ede318e7e254840a
diff --git a/net/netsaint-plugins/patches/patch-aa b/net/netsaint-plugins/patches/patch-aa
deleted file mode 100644
index 949b8e625a7..00000000000
--- a/net/netsaint-plugins/patches/patch-aa
+++ /dev/null
@@ -1,60 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2002/04/14 10:00:49 rh Exp $
-
---- configure.in.orig Fri Apr 27 00:00:26 2001
-+++ configure.in Sun Apr 7 17:27:29 2002
-@@ -144,7 +144,7 @@
- dnl Check for LDAP libraries
- _SAVEDLIBS="$LIBS"
- AC_CHECK_LIB(ldap,main,,,-llber)
--if test "$ac_cv_lib_ldap_main" = "yes"; then
-+if false; then
- LDAPLIBS="-lldap -llber"\
- LDAPINCLUDE="-I/usr/include/ldap"
- AC_SUBST(LDAPLIBS)
-@@ -260,6 +260,9 @@
- AC_TYPE_SIZE_T
- AC_TYPE_SIGNAL
-
-+dnl Checks for library functions.
-+AC_CHECK_FUNCS(select socket strdup strstr strtod strtol strtoul)
-+
- dnl EXTRA_LIBRARIES="libgetopt.a libsnprintf.a"
- dnl noinst_LIBRARIES="libgetopt.a libsnprintf.a"
- dnl libgetopt_a_SOURCES="getopt.c getopt1.c"
-@@ -283,9 +286,6 @@
-
- AC_CHECK_FUNC(vsnprintf,,LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a")
-
--dnl Checks for library functions.
--AC_CHECK_FUNCS(select socket strdup strstr strtod strtol strtoul)
--
- AC_MSG_CHECKING(for type of socket size)
- AC_TRY_COMPILE([#include <stdlib.h>
- #include <sys/types.h>
-@@ -395,7 +395,7 @@
- AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s")
- AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS waxco 'rss command'")
- AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s")
-- echo " ps syntax... $PATH_TO_PS -Ao 'state command vsz rss'"
-+ echo " ps syntax... $PATH_TO_PS -waxco 'state command vsz rss uid user ppid'"
- dnl BSD-like mode in RH 6.1
- elif [ps waxno 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S +COMMAND +VSZ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null]
- then
-@@ -596,7 +596,7 @@
- if test -n "$ac_cv_path_PATH_TO_NSLOOKUP"
- then
- AC_MSG_CHECKING("nslookup syntax")
-- if [nslookup -sil 127.0.0.1 2>&1 | grep "*** Invalid option: sil" >/dev/null]
-+ if [nslookup -sil 127.0.0.1 2>&1 | fgrep "*** Invalid option: sil" >/dev/null]
- then
- AC_MSG_RESULT("$PATH_TO_NSLOOKUP")
- AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$PATH_TO_NSLOOKUP")
-@@ -621,7 +621,7 @@
- fi
-
- AC_PATH_PROG(PATH_TO_SNMPGET,snmpget)
--if test -f "$PATH_TO_SNMPGET"
-+if false;
- then
- AC_DEFINE_UNQUOTED(PATH_TO_SNMPGET,"$PATH_TO_SNMPGET")
- EXTRAS="$EXTRAS check_hpjd check_snmp"
diff --git a/net/netsaint-plugins/patches/patch-ab b/net/netsaint-plugins/patches/patch-ab
deleted file mode 100644
index 2c579d72d77..00000000000
--- a/net/netsaint-plugins/patches/patch-ab
+++ /dev/null
@@ -1,173 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2002/10/02 19:58:03 wiz Exp $
-
---- configure.orig Thu Apr 26 20:46:17 2001
-+++ configure
-@@ -2547,7 +2547,7 @@ else
- echo "$ac_t""no" 1>&6
- fi
-
--if test "$ac_cv_lib_ldap_main" = "yes"; then
-+if false; then
- LDAPLIBS="-lldap -llber"\
- LDAPINCLUDE="-I/usr/include/ldap"
-
-@@ -3715,11 +3715,67 @@ EOF
-
-
-
-+for ac_func in select socket strdup strstr strtod strtol strtoul
-+do
-+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-+echo "configure:3722: checking for $ac_func" >&5
-+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
-+ echo $ac_n "(cached) $ac_c" 1>&6
-+else
-+ cat > conftest.$ac_ext <<EOF
-+#line 3727 "configure"
-+#include "confdefs.h"
-+/* System header to define __stub macros and hopefully few prototypes,
-+ which can conflict with char $ac_func(); below. */
-+#include <assert.h>
-+/* Override any gcc2 internal prototype to avoid an error. */
-+/* We use char because int might match the return type of a gcc2
-+ builtin and then its argument prototype would still apply. */
-+char $ac_func();
-+
-+int main() {
-+
-+/* The GNU C library defines this for functions which it implements
-+ to always fail with ENOSYS. Some functions are actually named
-+ something starting with __ and the normal name is an alias. */
-+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-+choke me
-+#else
-+$ac_func();
-+#endif
-+
-+; return 0; }
-+EOF
-+if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-+ rm -rf conftest*
-+ eval "ac_cv_func_$ac_func=yes"
-+else
-+ echo "configure: failed program was:" >&5
-+ cat conftest.$ac_ext >&5
-+ rm -rf conftest*
-+ eval "ac_cv_func_$ac_func=no"
-+fi
-+rm -f conftest*
-+fi
-+
-+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
-+ echo "$ac_t""yes" 1>&6
-+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
-+ cat >> confdefs.h <<EOF
-+#define $ac_tr_func 1
-+EOF
-+
-+else
-+ echo "$ac_t""no" 1>&6
-+fi
-+done
-+
-+
-
- echo $ac_n "checking for getopt_long""... $ac_c" 1>&6
--echo "configure:3721: checking for getopt_long" >&5
-+echo "configure:3777: checking for getopt_long" >&5
- cat > conftest.$ac_ext <<EOF
--#line 3723 "configure"
-+#line 3779 "configure"
- #include "confdefs.h"
- #include <getopt.h>
- #include <stdlib.h>
-@@ -3859,62 +3915,6 @@ LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIB
- fi
-
-
--for ac_func in select socket strdup strstr strtod strtol strtoul
--do
--echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
--echo "configure:3866: checking for $ac_func" >&5
--if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
-- echo $ac_n "(cached) $ac_c" 1>&6
--else
-- cat > conftest.$ac_ext <<EOF
--#line 3871 "configure"
--#include "confdefs.h"
--/* System header to define __stub macros and hopefully few prototypes,
-- which can conflict with char $ac_func(); below. */
--#include <assert.h>
--/* Override any gcc2 internal prototype to avoid an error. */
--/* We use char because int might match the return type of a gcc2
-- builtin and then its argument prototype would still apply. */
--char $ac_func();
--
--int main() {
--
--/* The GNU C library defines this for functions which it implements
-- to always fail with ENOSYS. Some functions are actually named
-- something starting with __ and the normal name is an alias. */
--#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
--choke me
--#else
--$ac_func();
--#endif
--
--; return 0; }
--EOF
--if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-- rm -rf conftest*
-- eval "ac_cv_func_$ac_func=yes"
--else
-- echo "configure: failed program was:" >&5
-- cat conftest.$ac_ext >&5
-- rm -rf conftest*
-- eval "ac_cv_func_$ac_func=no"
--fi
--rm -f conftest*
--fi
--
--if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
-- echo "$ac_t""yes" 1>&6
-- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
-- cat >> confdefs.h <<EOF
--#define $ac_tr_func 1
--EOF
--
--else
-- echo "$ac_t""no" 1>&6
--fi
--done
--
--
- echo $ac_n "checking for type of socket size""... $ac_c" 1>&6
- echo "configure:3920: checking for type of socket size" >&5
- cat > conftest.$ac_ext <<EOF
-@@ -4271,7 +4271,7 @@ EOF
- #define RSS_FORMAT "%d %s"
- EOF
-
-- echo " ps syntax... $PATH_TO_PS -Ao 'state command vsz rss'"
-+ echo " ps syntax... $PATH_TO_PS -waxco 'state command vsz rss uid user ppid'"
- elif ps waxno 'state comm vsz rss uid user ppid args' 2>/dev/null | egrep -i "^S +COMMAND +VSZ +RSS +UID +USER +PPID +[RGSCOMDNA]+" >/dev/null
- then
- cat >> confdefs.h <<\EOF
-@@ -4859,7 +4859,7 @@ if test -n "$ac_cv_path_PATH_TO_NSLOOKUP
- then
- echo $ac_n "checking "nslookup syntax"""... $ac_c" 1>&6
- echo "configure:4862: checking "nslookup syntax"" >&5
-- if nslookup -sil 127.0.0.1 2>&1 | grep "*** Invalid option: sil" >/dev/null
-+ if nslookup -sil 127.0.0.1 2>&1 | fgrep "*** Invalid option: sil" >/dev/null
- then
- echo "$ac_t"""$PATH_TO_NSLOOKUP"" 1>&6
- cat >> confdefs.h <<EOF
-@@ -5001,7 +5001,7 @@ else
- echo "$ac_t""no" 1>&6
- fi
-
--if test -f "$PATH_TO_SNMPGET"
-+if false;
- then
- cat >> confdefs.h <<EOF
- #define PATH_TO_SNMPGET "$PATH_TO_SNMPGET"
diff --git a/net/netsaint-plugins/patches/patch-ac b/net/netsaint-plugins/patches/patch-ac
deleted file mode 100644
index 1ef4c404430..00000000000
--- a/net/netsaint-plugins/patches/patch-ac
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2004/01/11 16:08:13 jschauma Exp $
-
---- ./plugins/check_by_ssh.c.orig 2001-04-23 03:43:11.000000000 -0400
-+++ ./plugins/check_by_ssh.c 2004-01-11 11:07:02.000000000 -0500
-@@ -387,13 +387,11 @@
-
-
-
--#define OPTIONS "\
---H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n
-- [-l user] [-n name] [-s servicelist] [-O outputfile]"
--
- void print_usage(void)
- {
-- printf ("Usage:\n %s %s\n"
-+ printf ("Usage:\n %s "
-+ "-H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n"
-+ " [-l user] [-n name] [-s servicelist] [-O outputfile]\n"
- #ifdef HAVE_GETOPT_H
- " %s (-h | --help) for detailed help\n"
- " %s (-V | --version) for version information\n",
-@@ -401,6 +399,6 @@
- " %s -h for detailed help\n"
- " %s -V for version information\n",
- #endif
-- PROGNAME, OPTIONS, PROGNAME, PROGNAME);
-+ PROGNAME, PROGNAME, PROGNAME);
-
- }
diff --git a/net/netsaint-plugins/patches/patch-ad b/net/netsaint-plugins/patches/patch-ad
deleted file mode 100644
index 4417a22ede7..00000000000
--- a/net/netsaint-plugins/patches/patch-ad
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2005/06/20 02:59:36 jlam Exp $
-
---- plugins-scripts/subst.in.orig 2000-08-31 23:47:35.000000000 -0400
-+++ plugins-scripts/subst.in
-@@ -21,6 +21,11 @@ function which(c,path) {
-
- BEGIN {
- split(ENVIRON["PATH"] ":/sbin:/usr/sbin",path,/:/);
-+ for (dir in path) {
-+ if (path[dir] ~ "@WRKDIR@") {
-+ delete path[dir];
-+ }
-+ }
- }
-
- # scripting language (first line)