diff options
Diffstat (limited to 'net-mgmt/nagios')
-rw-r--r-- | net-mgmt/nagios/Makefile | 41 | ||||
-rw-r--r-- | net-mgmt/nagios/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-aa | 34 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-ab | 10 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-ad | 42 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-ae | 11 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-ag | 31 | ||||
-rw-r--r-- | net-mgmt/nagios/files/patch-ai | 27 | ||||
-rw-r--r-- | net-mgmt/nagios/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/nagios/pkg-descr | 12 | ||||
-rw-r--r-- | net-mgmt/nagios/pkg-plist | 293 | ||||
-rw-r--r-- | net-mgmt/nagios/scripts/checkps | 10 | ||||
-rw-r--r-- | net-mgmt/nagios/scripts/createuser | 49 |
13 files changed, 0 insertions, 562 deletions
diff --git a/net-mgmt/nagios/Makefile b/net-mgmt/nagios/Makefile deleted file mode 100644 index dc57265d8145..000000000000 --- a/net-mgmt/nagios/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# New ports collection makefile for: netsaint -# Date created: Wed 12 Jul 2000 -# Whom: will -# -# $FreeBSD$ -# - -PORTNAME= netsaint -PORTVERSION= 0.0.7b3 -CATEGORIES= net -MASTER_SITES= http://netsaint.sourceforge.net/download/ - -MAINTAINER= blaz@amis.net - -LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \ - gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net/netsaint-plugins - -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib -lgd -lgnugetopt" -CONFIGURE_ARGS= --with-command-user=nobody \ - --with-command-grp=nogroup \ - --with-netsaint-user=netsaint \ - --with-netsaint-grp=netsaint \ - --sbindir=${PREFIX}/share/netsaint/sbin \ - --libexecdir=${PREFIX}/libexec/netsaint \ - --datadir=${PREFIX}/share/netsaint \ - --sysconfdir=${PREFIX}/etc/netsaint \ - --localstatedir=${PREFIX}/var/netsaint - -INSTALL_TARGET= all install config install-config install-daemoninit install-commandmode - -pre-fetch: - @${SH} ${SCRIPTDIR}/checkps - -pre-install: - ${PERL} ${SCRIPTDIR}/createuser - -.include <bsd.port.mk> diff --git a/net-mgmt/nagios/distinfo b/net-mgmt/nagios/distinfo deleted file mode 100644 index ebfae039965a..000000000000 --- a/net-mgmt/nagios/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (netsaint-0.0.7b3.tar.gz) = b21ed67a86266b021037f46c78c5900f diff --git a/net-mgmt/nagios/files/patch-aa b/net-mgmt/nagios/files/patch-aa deleted file mode 100644 index e106d0e255b3..000000000000 --- a/net-mgmt/nagios/files/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ ---- Makefile.in.orig Thu Mar 1 05:49:19 2001 -+++ Makefile.in Tue Apr 3 10:02:31 2001 -@@ -27,7 +27,7 @@ - INSTALL_OPTS=@INSTALL_OPTS@ - COMMAND_OPTS=@COMMAND_OPTS@ - INIT_DIR=@init_dir@ --INIT_OPTS=-o root -g root -+INIT_OPTS=-o root -g wheel - CGICFGDIR=$(CGIDIR) - PERLDIR=@PERLDIR@ - -@@ -99,16 +99,16 @@ - - install-config: - $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR) -- $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR) -+ $(INSTALL) -m 664 $(INSTALL_OPTS) netsaint.cfg $(DESTDIR)$(CFGDIR)/netsaint.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) hosts.cfg $(DESTDIR)$(CFGDIR)/hosts.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) commands.cfg $(DESTDIR)$(CFGDIR)/commands.cfg.dist -+ $(INSTALL) -m 664 $(INSTALL_OPTS) nscgi.cfg $(DESTDIR)$(CFGDIR)/nscgi.cfg.dist -+ $(INSTALL) -m 660 $(INSTALL_OPTS) resource.cfg $(DESTDIR)$(CFGDIR)/resource.cfg.dist - - install-init: install-daemoninit - - install-daemoninit: -- $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint -+ $(INSTALL) -m 774 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/netsaint.sh - - install-commandmode: - $(INSTALL) -m 775 $(COMMAND_OPTS) -d $(DESTDIR)$(LOGDIR)/rw diff --git a/net-mgmt/nagios/files/patch-ab b/net-mgmt/nagios/files/patch-ab deleted file mode 100644 index 52c154d64fd0..000000000000 --- a/net-mgmt/nagios/files/patch-ab +++ /dev/null @@ -1,10 +0,0 @@ ---- base/Makefile.in.orig Sun Feb 18 22:33:22 2001 -+++ base/Makefile.in Thu Mar 1 21:58:39 2001 -@@ -86,7 +86,6 @@ - devclean: clean - - install: -- $(INSTALL) -m 775 $(INSTALL_OPTS) -d $(DESTDIR)$(BINDIR) - $(INSTALL) -m 774 $(INSTALL_OPTS) netsaint $(DESTDIR)$(BINDIR) - - diff --git a/net-mgmt/nagios/files/patch-ad b/net-mgmt/nagios/files/patch-ad deleted file mode 100644 index 6d8038c4bd21..000000000000 --- a/net-mgmt/nagios/files/patch-ad +++ /dev/null @@ -1,42 +0,0 @@ ---- configure.orig Thu Mar 1 04:54:12 2001 -+++ configure Thu Mar 1 21:58:09 2001 -@@ -11,7 +11,7 @@ - ac_help= - ac_default_prefix=/usr/local - # Any additions from configure.in: --ac_default_prefix=/usr/local/netsaint -+#ac_default_prefix=/usr/local/netsaint - ac_help="$ac_help - --with-netsaint-user=<user> sets user name to run netsaint" - ac_help="$ac_help -@@ -562,9 +562,9 @@ - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ CONFIG_SITE="$prefix/share/netsaint/config.site $prefix/etc/netsaint/config.site" - else -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ CONFIG_SITE="$ac_default_prefix/share/netsaint/config.site $ac_default_prefix/etc/netsaint/config.site" - fi - fi - for ac_site_file in $CONFIG_SITE; do -@@ -1298,6 +1298,9 @@ - LDFLAGS="${LDFLAGS} -L${withval}" - LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}" - -+else -+ LDFLAGS="${LDFLAGS} -L/usr/local/lib" -+ LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}" - fi - - # Check whether --with-gd-inc or --without-gd-inc was given. -@@ -1305,6 +1308,8 @@ - withval="$with_gd_inc" - - CFLAGS="${CFLAGS} -I${withval}" -+else -+ CFLAGS="${CFLAGS} -I/usr/local/include/gd" - - fi - diff --git a/net-mgmt/nagios/files/patch-ae b/net-mgmt/nagios/files/patch-ae deleted file mode 100644 index 6cbf9e27ebbf..000000000000 --- a/net-mgmt/nagios/files/patch-ae +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in Fri Apr 7 11:11:34 2000 -+++ configure.in.new Mon Jun 5 16:09:21 2000 -@@ -1,7 +1,7 @@ - dnl Process this file with autoconf to produce a configure script. - AC_INIT(base/netsaint.c) - AC_CONFIG_HEADER(common/config.h base/netsaint.h cgi/cgiutils.h) --AC_PREFIX_DEFAULT(/usr/local/netsaint) -+AC_PREFIX_DEFAULT(/usr/local) - - dnl Figure out how to invoke "install" and what install options to use. - diff --git a/net-mgmt/nagios/files/patch-ag b/net-mgmt/nagios/files/patch-ag deleted file mode 100644 index 14027c5d9cc9..000000000000 --- a/net-mgmt/nagios/files/patch-ag +++ /dev/null @@ -1,31 +0,0 @@ ---- functions Fri Apr 7 11:11:34 2000 -+++ functions.new Sat Jun 10 13:31:31 2000 -@@ -11,7 +11,7 @@ - # - - # First set up a default search path. --PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin -+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin - export PATH - - # Get a sane screen width -@@ -174,7 +174,7 @@ - # fi - - # Finally try to extract it from ps -- pid=`ps -eo pid,ppid,fname | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` -+ pid=`ps -axco pid,ppid,command | egrep -v $$ | awk 'BEGIN { prog=ARGV[1]; ARGC=1 } { if ((prog == $3) || (("(" prog ")") == $3) || (("[" prog "]") == $3) || ((prog ":") == $3)) { print $1 ; exit 0 } }' $1` - if [ "$pid" != "" ] ; then - echo $pid - return 0 -@@ -206,8 +206,8 @@ - fi - fi - -- # See if /var/lock/subsys/$1 exists -- if [ -f /var/lock/subsys/$1 ]; then -+ # See if /var/spool/lock/$1 exists -+ if [ -f /var/spool/lock/$1 ]; then - echo "$1 dead but subsys locked" - return 2 - fi diff --git a/net-mgmt/nagios/files/patch-ai b/net-mgmt/nagios/files/patch-ai deleted file mode 100644 index ef3b63b31395..000000000000 --- a/net-mgmt/nagios/files/patch-ai +++ /dev/null @@ -1,27 +0,0 @@ ---- daemon-init.in.orig Sun Feb 18 23:33:21 2001 -+++ daemon-init.in Tue Apr 3 20:58:18 2001 -@@ -68,12 +68,9 @@ - - - # Source function library --# Solaris doesn't have an rc.d directory, so do a test first --#if [ -f /etc/rc.d/init.d/functions ]; then --#. /etc/rc.d/init.d/functions --#elif [ -f /etc/init.d/functions ]; then --#. /etc/init.d/functions --#fi -+if [ -f @sysconfdir@/functions ]; then -+. @sysconfdir@/functions -+fi - - prefix=@prefix@ - exec_prefix=@exec_prefix@ -@@ -101,7 +98,7 @@ - - start) - echo "Starting network monitor: netsaint" -- su $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" -+ su -m $Netsaint -c "touch $NetsaintVar/netsaint.log $NetsaintSav" - $NetsaintBin -d $NetsaintCfg - if [ -d $NetsaintLckDir ]; then touch $NetsaintLckDir/$NetsaintLckFile; fi - sleep 1 diff --git a/net-mgmt/nagios/pkg-comment b/net-mgmt/nagios/pkg-comment deleted file mode 100644 index 5641db14d8cc..000000000000 --- a/net-mgmt/nagios/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Extremely powerful network monitoring system diff --git a/net-mgmt/nagios/pkg-descr b/net-mgmt/nagios/pkg-descr deleted file mode 100644 index ba87fff062b8..000000000000 --- a/net-mgmt/nagios/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ -NetSaint is a program that will monitor hosts and services on your -network. It has the ability to email or page you when a problem arises -and when it gets resolved. NetSaint is written in C and is designed to -run under Linux, although it should work under most other *NIX variants. -It can run either as a normal process or as a daemon, intermittently -running checks on various services that you specify. The actual service -checks are performed by external "plugins" which return service -information to NetSaint. Several CGI programs are included with NetSaint -in order to allow you to view the current service status, history, etc. -via a web browser. - -WWW: http://www.netsaint.org/ diff --git a/net-mgmt/nagios/pkg-plist b/net-mgmt/nagios/pkg-plist deleted file mode 100644 index d71e872be420..000000000000 --- a/net-mgmt/nagios/pkg-plist +++ /dev/null @@ -1,293 +0,0 @@ -@exec mkdir -p %D/var/netsaint/archives -@exec mkdir -p %D/var/netsaint/rw -@exec chmod 775 %D/var/netsaint %D/var/netsaint/archives %D/var/netsaint/rw -@exec chown netsaint:netsaint %D/var/netsaint %D/var/netsaint/archives -@exec chown nobody:nogroup %D/var/netsaint/rw -bin/netsaint -etc/netsaint/commands.cfg.dist -etc/netsaint/hosts.cfg.dist -etc/netsaint/netsaint.cfg.dist -etc/netsaint/nscgi.cfg.dist -etc/netsaint/resource.cfg.dist -etc/rc.d/netsaint.sh -share/netsaint/docs/about.html -share/netsaint/docs/addons.html -share/netsaint/docs/cgiauth.html -share/netsaint/docs/cgis.html -share/netsaint/docs/checkscheduling.html -share/netsaint/docs/clusters.html -share/netsaint/docs/commandfile.html -share/netsaint/docs/config.html -share/netsaint/docs/configcgi.html -share/netsaint/docs/confighost.html -share/netsaint/docs/configmain.html -share/netsaint/docs/dependencies.html -share/netsaint/docs/developer/commentfile.html -share/netsaint/docs/developer/images/xcdapi.gif -share/netsaint/docs/developer/images/xedapi.gif -share/netsaint/docs/developer/images/xodapi.gif -share/netsaint/docs/developer/images/xrdapi.gif -share/netsaint/docs/developer/images/xsdapi.gif -share/netsaint/docs/developer/index.html -share/netsaint/docs/developer/pluginhowto.html -share/netsaint/docs/developer/stateretentionfile.html -share/netsaint/docs/developer/statusfile.html -share/netsaint/docs/developer/xcd.html -share/netsaint/docs/developer/xdata.html -share/netsaint/docs/developer/xed.html -share/netsaint/docs/developer/xod.html -share/netsaint/docs/developer/xrd.html -share/netsaint/docs/developer/xsd.html -share/netsaint/docs/distributed.html -share/netsaint/docs/downtime.html -share/netsaint/docs/escalations.html -share/netsaint/docs/eventhandlers.html -share/netsaint/docs/extcommands.html -share/netsaint/docs/faqs.html -share/netsaint/docs/flapping.html -share/netsaint/docs/funstuff.html -share/netsaint/docs/images/activepassive.gif -share/netsaint/docs/images/avail_cgi.gif -share/netsaint/docs/images/checktiming.gif -share/netsaint/docs/images/cmd_cgi.gif -share/netsaint/docs/images/config_cgi.gif -share/netsaint/docs/images/distributed.gif -share/netsaint/docs/images/extinfo_cgi_a.gif -share/netsaint/docs/images/extinfo_cgi_b.gif -share/netsaint/docs/images/extinfo_cgi_c.gif -share/netsaint/docs/images/extinfo_cgi_d.gif -share/netsaint/docs/images/extinfo_cgi_e.gif -share/netsaint/docs/images/history_cgi.gif -share/netsaint/docs/images/indirecthostcheck.gif -share/netsaint/docs/images/indirectsvccheck.gif -share/netsaint/docs/images/indirectsvccheck2.gif -share/netsaint/docs/images/interleaved1.gif -share/netsaint/docs/images/interleaved2.gif -share/netsaint/docs/images/network-heirarchy.gif -share/netsaint/docs/images/network-outage1.gif -share/netsaint/docs/images/network-outage2.gif -share/netsaint/docs/images/noninterleaved1.gif -share/netsaint/docs/images/noninterleaved2.gif -share/netsaint/docs/images/notification-process.gif -share/netsaint/docs/images/notifications_cgi.gif -share/netsaint/docs/images/outages_cgi.gif -share/netsaint/docs/images/physical-network.gif -share/netsaint/docs/images/plugintheory.gif -share/netsaint/docs/images/redundancy-1.gif -share/netsaint/docs/images/redundancy-2.gif -share/netsaint/docs/images/service-dependencies.gif -share/netsaint/docs/images/showlog_cgi.gif -share/netsaint/docs/images/statetransitions.gif -share/netsaint/docs/images/statetransitions2.gif -share/netsaint/docs/images/status_cgi_a.gif -share/netsaint/docs/images/status_cgi_b.gif -share/netsaint/docs/images/statusmap_cgi.gif -share/netsaint/docs/images/statuswml_cgi.gif -share/netsaint/docs/images/statuswrl_cgi.gif -share/netsaint/docs/images/tac_cgi.gif -share/netsaint/docs/images/trends_cgi.gif -share/netsaint/docs/index.html -share/netsaint/docs/indirectchecks.html -share/netsaint/docs/installing.html -share/netsaint/docs/installweb.html -share/netsaint/docs/macros.html -share/netsaint/docs/makehtml.html -share/netsaint/docs/networkoutages.html -share/netsaint/docs/networkreachability.html -share/netsaint/docs/notifications.html -share/netsaint/docs/oldplugins.html -share/netsaint/docs/parallelization.html -share/netsaint/docs/passivechecks.html -share/netsaint/docs/perfdata.html -share/netsaint/docs/pluginhowto.html -share/netsaint/docs/plugins.html -share/netsaint/docs/plugintheory.html -share/netsaint/docs/programmodes.html -share/netsaint/docs/redundancy.html -share/netsaint/docs/robots.txt -share/netsaint/docs/security.html -share/netsaint/docs/starting.html -share/netsaint/docs/statetypes.html -share/netsaint/docs/statuslevels.html -share/netsaint/docs/stoprestart.html -share/netsaint/docs/theory.html -share/netsaint/docs/timeperiods.html -share/netsaint/docs/tuning.html -share/netsaint/docs/verifyconfig.html -share/netsaint/docs/volatileservices.html -share/netsaint/docs/whatsnew.html -share/netsaint/docs/xdata-db.html -share/netsaint/images/ack.gif -share/netsaint/images/active.gif -share/netsaint/images/command.gif -share/netsaint/images/comment.gif -share/netsaint/images/config.gif -share/netsaint/images/contact.gif -share/netsaint/images/contactgroup.gif -share/netsaint/images/critical.gif -share/netsaint/images/delay.gif -share/netsaint/images/delete.gif -share/netsaint/images/disabled.gif -share/netsaint/images/down.gif -share/netsaint/images/downtime.gif -share/netsaint/images/enabled.gif -share/netsaint/images/extinfo.gif -share/netsaint/images/flapping.gif -share/netsaint/images/greendot.gif -share/netsaint/images/history.gif -share/netsaint/images/host.gif -share/netsaint/images/hostevent.gif -share/netsaint/images/info.gif -share/netsaint/images/left.gif -share/netsaint/images/logofullsize.gif -share/netsaint/images/logos/aix.gd2 -share/netsaint/images/logos/aix.gif -share/netsaint/images/logos/amiga.gd2 -share/netsaint/images/logos/amiga.gif -share/netsaint/images/logos/apple.gd2 -share/netsaint/images/logos/apple.gif -share/netsaint/images/logos/beos.gd2 -share/netsaint/images/logos/beos.gif -share/netsaint/images/logos/caldera.gd2 -share/netsaint/images/logos/caldera.gif -share/netsaint/images/logos/cat1900.gd2 -share/netsaint/images/logos/cat2900.gd2 -share/netsaint/images/logos/cat5000.gd2 -share/netsaint/images/logos/debian.gd2 -share/netsaint/images/logos/debian.gif -share/netsaint/images/logos/freebsd40.gd2 -share/netsaint/images/logos/freebsd40.gif -share/netsaint/images/logos/hp-printer40.gd2 -share/netsaint/images/logos/hp-printer40.gif -share/netsaint/images/logos/hpux.gd2 -share/netsaint/images/logos/hpux.gif -share/netsaint/images/logos/irix.gd2 -share/netsaint/images/logos/irix.gif -share/netsaint/images/logos/linux40.gd2 -share/netsaint/images/logos/linux40.gif -share/netsaint/images/logos/logo.gd2 -share/netsaint/images/logos/mac40.gd2 -share/netsaint/images/logos/mac40.gif -share/netsaint/images/logos/mandrake.gd2 -share/netsaint/images/logos/mandrake.gif -share/netsaint/images/logos/next.gd2 -share/netsaint/images/logos/next.gif -share/netsaint/images/logos/netsaint.gd2 -share/netsaint/images/logos/ng-switch40.gd2 -share/netsaint/images/logos/ng-switch40.gif -share/netsaint/images/logos/novell40.gd2 -share/netsaint/images/logos/novell40.gif -share/netsaint/images/logos/openbsd.gd2 -share/netsaint/images/logos/openbsd.gif -share/netsaint/images/logos/redhat.gd2 -share/netsaint/images/logos/redhat.gif -share/netsaint/images/logos/router40.gd2 -share/netsaint/images/logos/router40.gif -share/netsaint/images/logos/slackware.gd2 -share/netsaint/images/logos/slackware.gif -share/netsaint/images/logos/stampede.gd2 -share/netsaint/images/logos/stampede.gif -share/netsaint/images/logos/storm.gd2 -share/netsaint/images/logos/storm.gif -share/netsaint/images/logos/sun40.gd2 -share/netsaint/images/logos/sun40.gif -share/netsaint/images/logos/sunlogo.gd2 -share/netsaint/images/logos/sunlogo.gif -share/netsaint/images/logos/switch40.gd2 -share/netsaint/images/logos/switch40.gif -share/netsaint/images/logos/turbolinux.gd2 -share/netsaint/images/logos/turbolinux.gif -share/netsaint/images/logos/ultrapenguin.gd2 -share/netsaint/images/logos/ultrapenguin.gif -share/netsaint/images/logos/unicos.gd2 -share/netsaint/images/logos/unicos.gif -share/netsaint/images/logos/unknown.gd2 -share/netsaint/images/logos/win40.gd2 -share/netsaint/images/logos/win40.gif -share/netsaint/images/logos/yellowdog.gd2 -share/netsaint/images/logos/yellowdog.gif -share/netsaint/images/logrotate.gif -share/netsaint/images/logs.gif -share/netsaint/images/ndisabled.gif -share/netsaint/images/noack.gif -share/netsaint/images/notes.gif -share/netsaint/images/notify.gif -share/netsaint/images/orangedot.gif -share/netsaint/images/parentup.gif -share/netsaint/images/recovery.gif -share/netsaint/images/restart.gif -share/netsaint/images/right.gif -share/netsaint/images/sbbg.gif -share/netsaint/images/sbconfig.gif -share/netsaint/images/sbgeneral.gif -share/netsaint/images/sblogo.gif -share/netsaint/images/sbmonitor.gif -share/netsaint/images/serviceevent.gif -share/netsaint/images/sideback.jpg -share/netsaint/images/standby.gif -share/netsaint/images/start.gif -share/netsaint/images/status.gif -share/netsaint/images/status2.gif -share/netsaint/images/status3.gif -share/netsaint/images/status4.gif -share/netsaint/images/stop.gif -share/netsaint/images/tacdisabled.jpg -share/netsaint/images/tacenabled.jpg -share/netsaint/images/thermcrit.gif -share/netsaint/images/thermok.gif -share/netsaint/images/thermwarn.gif -share/netsaint/images/trends.gif -share/netsaint/images/trendshost.png -share/netsaint/images/trendssvc.png -share/netsaint/images/unknown.gif -share/netsaint/images/up.gif -share/netsaint/images/warning.gif -share/netsaint/images/zoom1.gif -share/netsaint/images/zoom2.gif -share/netsaint/index.html -share/netsaint/main.html -share/netsaint/media/critical.wav -share/netsaint/media/hostdown.wav -share/netsaint/media/warning.wav -share/netsaint/robots.txt -share/netsaint/sbin/avail.cgi -share/netsaint/sbin/cmd.cgi -share/netsaint/sbin/config.cgi -share/netsaint/sbin/extinfo.cgi -share/netsaint/sbin/history.cgi -share/netsaint/sbin/notifications.cgi -share/netsaint/sbin/outages.cgi -share/netsaint/sbin/showlog.cgi -share/netsaint/sbin/status.cgi -share/netsaint/sbin/statusmap.cgi -share/netsaint/sbin/statuswml.cgi -share/netsaint/sbin/statuswrl.cgi -share/netsaint/sbin/tac.cgi -share/netsaint/sbin/trends.cgi -share/netsaint/side.html -share/netsaint/stylesheets/avail.css -share/netsaint/stylesheets/cmd.css -share/netsaint/stylesheets/config.css -share/netsaint/stylesheets/extinfo.css -share/netsaint/stylesheets/history.css -share/netsaint/stylesheets/notifications.css -share/netsaint/stylesheets/outages.css -share/netsaint/stylesheets/showlog.css -share/netsaint/stylesheets/status.css -share/netsaint/stylesheets/statusmap.css -share/netsaint/stylesheets/tac.css -share/netsaint/stylesheets/trends.css -@unexec rmdir %D/etc/netsaint 2>/dev/null || true -@dirrm share/netsaint/docs/developer/images -@dirrm share/netsaint/docs/developer -@dirrm share/netsaint/docs/images -@dirrm share/netsaint/docs -@dirrm share/netsaint/images/logos -@dirrm share/netsaint/images -@dirrm share/netsaint/media -@dirrm share/netsaint/sbin -@dirrm share/netsaint/stylesheets -@dirrm share/netsaint -@unexec rmdir %D/var/netsaint/archives 2>/dev/null || true -@unexec rmdir %D/var/netsaint/rw 2>/dev/null || true -@unexec rmdir %D/var/netsaint 2>/dev/null || true diff --git a/net-mgmt/nagios/scripts/checkps b/net-mgmt/nagios/scripts/checkps deleted file mode 100644 index 61a4d67baaa7..000000000000 --- a/net-mgmt/nagios/scripts/checkps +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -/bin/ps 999999 2>&1 >/dev/null -if [ $? = 0 ]; then - echo "You need to upgrade to RELENG_3, RELENG_4, or HEAD sometime" - echo "after July 8, 2000 around 5:15AM UTC, so that ps(1) will" - echo "return an error code if a PID does not exist. Netsaint needs this!" - exit -else - echo "Great, you have a working ps(1)! Netsaint can build." -fi diff --git a/net-mgmt/nagios/scripts/createuser b/net-mgmt/nagios/scripts/createuser deleted file mode 100644 index 0ebde3c5496d..000000000000 --- a/net-mgmt/nagios/scripts/createuser +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/perl -# - -eval '(exit $?0)' && eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' -& eval 'exec /usr/bin/perl -S $0 $argv:q' -if 0; - -if( $> ) { - print "\nYou must be root to run this step!\n\n"; - exit 1; -} - -if( getpwnam( "netsaint" ) ) { - ( $null, $null, $nsUID ) = getpwnam( "netsaint" ); -} else { - $nsUID = 70; - while( getpwuid( $nsUID ) ) { - $nsUID++; - } -} - -if( getgrnam( "netsaint" ) ) { - ( $null, $null, $nsGID ) = getgrnam( "netsaint" ); -} else { - $nsGID = 70; - while( getgrgid( $nsGID ) ) { - $nsGID++; - } - &append_file( "/etc/group", "netsaint:*:$nsGID:" ); -} - -print "netsaint user using uid $nsUID and gid $nsGID\n"; - -system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" ); - -sub append_file { - local($file,@list) = @_; - local($LOCK_EX) = 2; - local($LOCK_NB) = 4; - local($LOCK_UN) = 8; - - open(F, ">> $file") || die "$file: $!\n"; - while( ! flock( F, $LOCK_EX | $LOCK_NB ) ) { - exit 1; - } - print F join( "\n", @list) . "\n"; - close F; - flock( F, $LOCK_UN ); -} |