summaryrefslogtreecommitdiff
path: root/net/nocol
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2000-07-13 11:09:16 +0000
committerabs <abs@pkgsrc.org>2000-07-13 11:09:16 +0000
commit840e41a1cd87701e1e5d42f2cc6fe21059ff8e29 (patch)
treef73b2caf0e8fd97e590e103e4b501f492fb6868c /net/nocol
parentc7420eb79d8b42c2e5b242434c410986446d7dff (diff)
downloadpkgsrc-840e41a1cd87701e1e5d42f2cc6fe21059ff8e29.tar.gz
Update to 4.3.1, plus fix replace access to curses with appropriate standard
interfaces so we can compile netconsole on NetBSD-current again. On a lighter note - lose two previous patches that are now in the main dist. Release Notes nocol v4.3.1 (Mar 2000) Minor release to fix patches. 1. portmon.c » Missing close() left too many file descriptors » Now running check_resp() after receiving EOF from the remote host. Should fix problem of receiving data with no \n in entire data stream. 2. snmpgeneric » Allow specifying client port number (joe@hole-in-the.net) » Sets MIBFILE_v2 variable also for the mib file 3. webnocol.cgi Small fix to prevent possible loop. 4. nocollib.pl Changed 'ps' to '/bin/ps' 5. hostmon-client Changed 'ps' to '/bin/ps' nocol v4.3 (Jan 2000) 1. Configure Added support for Rhapsody (jrowan@mandli.com) and BSDI 4.0 Detect 'whoami' for Solaris 2. armon, nrmon Handle different levels for registered and unregistered routes. Removes unregistered route status before deleting all knowledge (frank@ansto.gov.au) 3. bpmon Fixed bug in parsing of bootptest 4. bsdsignal.c Restores old sigusr1 (dbird@varadm.com) 5. ciscomon Change in message for 'Inlet temperature' 6. cmu-snmp New CMU snmp library 7. etherload Changed includes to allows glibc and older libc in linux.c 8. genweb.pl Fixed Y2K issue; added additional sounds (jonz@netrail.com) 9. hostmon Patches for using 'scp' in addition to rcp/telnet (frank@ansto.gov.au). Changed regex for parsing of data lines. Now using split instead of regex for $thresindex{}. Put a '^' in all the regexs in the config file. Fixed bug with DFspace parsing. 10. hostmon-client Strip comments from mqueue output. Allow running a 'local' file if it exists (frank@ansto.gov.au) $port shoud be set AFTER getservbyname(). Added support for qmail Detect ps flags 11. hostmon-clients/* Ignore NFS mounts. Look at NFS timeouts on Solaris. Run iostat with time interval, Pagein/pageout code in linux (-frank@ansto.gov.au). Fixed pstat in hostmon.osf1 (durrell@innocence.com) 12. keepalive_monitor Bug which kept old processes around (avoltmer@replaytv.com) 13. logstats Added -r option (ornstedt@sonera.se) 14. mknrmon Create config file for novell routes (frank@ansto.gov.au) 15. modemmon Added conditionals to support use of 'finger' instead of 'telnet' 16. multiping Added -n option to not use DNS (nscd was slowing down multiping) 17. ndaemon Added new Tcl/Tk interface for X-windows (lwl@godlike.com) 18. netconsole Added -T <termtype> on command line (frank@ansto.gov.au) Starts up without prompting if known good terminal type 19. noclogd Was creating error file in etcdir, changed to PIDDIR for consistency 20. nocol C library event_to_logstr() fixed (dbird@varadm.net) 21. nocollib.pl Added return 1 at end of library. Fixed bug in detecting $PSCMD. Support for BSDI 4.0 socket structures in perl libraries. Now using send() and not syswrite(). Retry opening socket if send fails. 22 notifier.pl $repeat was not working, fixed. 23 perlnocol Makefile.mid now extracts $event_t from show_nocol_struct_sizes and edits nocollib.pl 24. portmon Bug in testing 'connect' only sites (paulg@apnic.net) Now uses nonblocking sockets to process many sites in parallel properly. Added QUIT and SIMULCONNECT keywords. Changed array to linked list to allow unlimited number of hosts to monitor. 25. radiusmon Fixed bugs in port insertion (see rcslog) 26. smbmon New monitor for SMB routes (frank@ansto.gov.au) 27. snmpgeneric Replacement for snmpmon (elanda@comstar.net) 28. trapmon Complete rewrite to use the new CMU snmp library. Also fixed bug in cmu-snmp/parse.c for() loop. 29. upsmon Monitor UPSs (frank@ansto.gov.au) 30. utility/Makefile Replace '@' with \@ in mail addresses. 31. webnocol.cgi Bug fix to strip trailing siteserverID in http cookie. Handle IP addresses in nslookup (frank@ansto.gov.au). Clean up $siteaddr before executing (limfung@pacific.net.sg)
Diffstat (limited to 'net/nocol')
-rw-r--r--net/nocol/Makefile7
-rw-r--r--net/nocol/files/md54
-rw-r--r--net/nocol/files/patch-sum9
-rw-r--r--net/nocol/patches/patch-aa40
-rw-r--r--net/nocol/patches/patch-ab34
-rw-r--r--net/nocol/patches/patch-ac21
-rw-r--r--net/nocol/patches/patch-ad13
-rw-r--r--net/nocol/pkg/PLIST5
8 files changed, 70 insertions, 63 deletions
diff --git a/net/nocol/Makefile b/net/nocol/Makefile
index 60500aadd3e..0fb51f53226 100644
--- a/net/nocol/Makefile
+++ b/net/nocol/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2000/01/10 00:57:16 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2000/07/13 11:09:16 abs Exp $
#
-DISTNAME= nocol-4.2.2beta4
-PKGNAME= nocol-4.2.2b4
+DISTNAME= nocol-4.3.1
CATEGORIES= net
-MASTER_SITES= ftp://ftp.navya.com/pub/vikas/
+MASTER_SITES= http://www.netplex-tech.com/software/nocol/downloads/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.netplex-tech.com/software/nocol/
diff --git a/net/nocol/files/md5 b/net/nocol/files/md5
index 8c21f1ca96f..b3702958009 100644
--- a/net/nocol/files/md5
+++ b/net/nocol/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.3 1999/12/06 21:09:12 abs Exp $
+$NetBSD: md5,v 1.4 2000/07/13 11:09:17 abs Exp $
-MD5 (nocol-4.2.2beta4.tar.gz) = 5cacd363cb313a96c8c31bd4c6353a05
+MD5 (nocol-4.3.1.tar.gz) = e054261e64f7683b5661f42ad37db15e
diff --git a/net/nocol/files/patch-sum b/net/nocol/files/patch-sum
index b3e6ee19a9a..a84a78a2c7e 100644
--- a/net/nocol/files/patch-sum
+++ b/net/nocol/files/patch-sum
@@ -1,5 +1,6 @@
-$NetBSD: patch-sum,v 1.2 1999/12/06 21:09:12 abs Exp $
+$NetBSD: patch-sum,v 1.3 2000/07/13 11:09:17 abs Exp $
-MD5 (patch-aa) = 5d550b170a60e06e279293168727f3cb
-MD5 (patch-ab) = 76ecbdbaf5ffb054006333227398d992
-MD5 (patch-ac) = 2c8818dc2d4dd1835e7607627f49b713
+MD5 (patch-aa) = a8be5ffe066d39833ce92464615250b1
+MD5 (patch-ab) = 03afd4c3309bd3c138dce2dc85fc03a2
+MD5 (patch-ac) = b849c9ba9dd69eec016911366801701a
+MD5 (patch-ad) = 3494652584a368850da02761541b4f81
diff --git a/net/nocol/patches/patch-aa b/net/nocol/patches/patch-aa
index 6803256545c..842326efb3c 100644
--- a/net/nocol/patches/patch-aa
+++ b/net/nocol/patches/patch-aa
@@ -1,20 +1,24 @@
-$NetBSD: patch-aa,v 1.3 1999/12/06 21:09:12 abs Exp $
+$NetBSD: patch-aa,v 1.4 2000/07/13 11:09:18 abs Exp $
---- Makefile.head.orig Tue Nov 23 23:16:41 1999
-+++ Makefile.head Tue Nov 23 23:18:40 1999
-@@ -37,6 +37,7 @@
- # DATADIR where datafiles for monitoring programs are created
- # MSGSDIR for message files that the nocol display shows in
- # in the 'messages' sub-window
-+# EXAMPLESDIR directory in which to store example files
- # HELPDIR where helpfiles for webnocol are kept.
- BINDIR= $(ROOTDIR)/bin
- ETCDIR= $(ROOTDIR)/etc
-@@ -44,6 +45,7 @@
- DATADIR= $(ROOTDIR)/data
- MSGSDIR= $(ROOTDIR)/msgs
- HELPDIR= $(ROOTDIR)/help
-+EXAMPLESDIR= ${ROOTDIR}/share/examples/nocol
+--- netconsole/build_display.c.orig Thu Jul 13 11:13:37 2000
++++ netconsole/build_display.c Thu Jul 13 11:15:26 2000
+@@ -59,7 +59,7 @@
+ #include "netconsole.h"
- ##
- # NOCOL specific definitions:
+
+-#define WFULL(w) (w->_cury == (w->_maxy - 1)) ? 1:0
++#define WFULL(w) (getcury(w) == (getmaxy(w) - 1)) ? 1:0
+
+ build_display ()
+ {
+@@ -238,8 +238,8 @@
+ * Am calling touchwin() since its foolproof (see discussion above)
+ */
+ touchwin (aw.wmain);
+- y = aw.wprompt->_cury + aw.wprompt->_begy ; /* force cursor loc.. */
+- x = aw.wprompt->_curx + aw.wprompt->_begx ; /* ..to prompt window */
++ y = getcury(aw.wprompt) + getbegy(aw.wprompt); /* force cursor loc.. */
++ x = getcurx(aw.wprompt) + getbegx(aw.wprompt); /* ..to prompt window */
+ wmove(aw.wmain, y, x);
+ wrefresh (aw.wmain); /* Onto screen */
+ return (0) ;
diff --git a/net/nocol/patches/patch-ab b/net/nocol/patches/patch-ab
index 6935163601e..0dac310dbfe 100644
--- a/net/nocol/patches/patch-ab
+++ b/net/nocol/patches/patch-ab
@@ -1,25 +1,13 @@
-$NetBSD: patch-ab,v 1.3 1999/12/06 21:09:12 abs Exp $
+$NetBSD: patch-ab,v 1.4 2000/07/13 11:09:18 abs Exp $
---- Makefile.mid.orig Tue Nov 9 05:38:58 1999
-+++ Makefile.mid Tue Nov 23 23:20:21 1999
-@@ -68,7 +68,7 @@
- -[ -d $(DATADIR) ] || mkdir $(DATADIR)
- -[ -d $(ETCDIR) ] || mkdir $(ETCDIR)
- -[ -d $(PIDDIR) ] || mkdir $(PIDDIR)
-- -[ -d $(ETCDIR)/samples ] || mkdir $(ETCDIR)/samples
-+ -[ -d $(EXAMPLESDIR) ] || mkdir -p $(EXAMPLESDIR)
- -[ -d $(BINDIR) ] || mkdir $(BINDIR)
- -[ -d $(MSGSDIR) ] || mkdir $(MSGSDIR)
- -[ -d $(HELPDIR) ] || mkdir $(HELPDIR)
-@@ -85,9 +85,9 @@
- ( echo "" ; echo "MAKING IN $$i" ; echo "----------" ; cd $$i ; \
- make $(MFLAGS) install ; ) ;\
- done
-- @echo "Installing sample config files under $(ETCDIR)/samples/..."
-+ @echo "Installing sample config files under $(EXAMPLESDIR)/..."
- @-for i in */*-confg; do \
-- $(INSTALL) -m 444 -c $$i $(ETCDIR)/samples/ ;\
-+ $(INSTALL) -m 444 -c $$i $(EXAMPLESDIR)/ ;\
- done
- @echo "" ; echo " NOW su AND DO A make root "
+--- netconsole/fill_window.c.orig Thu Jul 13 11:15:34 2000
++++ netconsole/fill_window.c Thu Jul 13 11:15:51 2000
+@@ -38,7 +38,7 @@
+ #include "netconsole.h"
+
+-#define WFULL(w) (w->_cury == (w->_maxy - 1)) ? 1:0
++#define WFULL(w) (getcury(w) == (getmaxy(w) - 1)) ? 1:0
+
+ fill_window(win, dirp, dir, pcurfd, dpy_func)
+ WINDOW *win; /* Window to be filled */
diff --git a/net/nocol/patches/patch-ac b/net/nocol/patches/patch-ac
index 0da97016a19..66ea987a456 100644
--- a/net/nocol/patches/patch-ac
+++ b/net/nocol/patches/patch-ac
@@ -1,12 +1,13 @@
-$NetBSD: patch-ac,v 1.3 1999/12/06 21:09:12 abs Exp $
+$NetBSD: patch-ac,v 1.4 2000/07/13 11:09:18 abs Exp $
---- Makefile.tail.orig Fri Jul 31 19:01:10 1998
-+++ Makefile.tail Tue Nov 23 23:20:28 1999
-@@ -14,6 +14,7 @@
- @[ -d $(BINDIR) ] || mkdir $(BINDIR)
- @[ -d $(DATADIR) ] || mkdir $(DATADIR)
- @[ -d $(MSGSDIR) ] || mkdir $(MSGSDIR)
-+ @[ -d $(EXAMPLESDIR) ] || mkdir -p $(EXAMPLESDIR)
+--- netconsole/help_page.c.orig Thu Jul 13 11:16:00 2000
++++ netconsole/help_page.c Thu Jul 13 11:16:32 2000
+@@ -38,7 +38,7 @@
+ # define HELPFILE "helpfile"
+ #endif
- depend:
- mkdep $(CFLAGS) `echo $(OBJS) | sed 's/\.o[ $]+/\.c/g'`
+-#define WFULL(w) (w->_cury == (w->_maxy - 2)) ? 1:0
++#define WFULL(w) (getcury(w) == (getmaxy(w) - 2)) ? 1:0
+
+ help_page()
+ {
diff --git a/net/nocol/patches/patch-ad b/net/nocol/patches/patch-ad
new file mode 100644
index 00000000000..136dbe122ee
--- /dev/null
+++ b/net/nocol/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2000/07/13 11:09:18 abs Exp $
+
+--- Makefile.head.orig Wed Jan 19 04:08:32 2000
++++ Makefile.head Thu Jul 13 11:07:09 2000
+@@ -45,7 +45,7 @@
+ DATADIR= $(ROOTDIR)/data
+ MSGSDIR= $(ROOTDIR)/msgs
+ HELPDIR= $(ROOTDIR)/help
+-EXAMPLESDIR= $(ETCDIR)/samples
++EXAMPLESDIR= ${ROOTDIR}/share/examples/nocol
+
+ ##
+ # NOCOL specific definitions:
diff --git a/net/nocol/pkg/PLIST b/net/nocol/pkg/PLIST
index 8a227e1bce7..1ce6227a341 100644
--- a/net/nocol/pkg/PLIST
+++ b/net/nocol/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 1999/12/06 21:09:13 abs Exp $
+@comment $NetBSD: PLIST,v 1.3 2000/07/13 11:09:19 abs Exp $
bin/apcmon
bin/armon
bin/bgpmon
@@ -55,6 +55,7 @@ bin/snmpget
bin/snmpmon
bin/snmpmon-client
bin/snmpwalk
+bin/sqlmon
bin/syslogmon
bin/testlog
bin/tkNocol
@@ -103,10 +104,10 @@ share/examples/nocol/smbmon-confg
share/examples/nocol/snmpgeneric-confg
share/examples/nocol/snmpmon-client-confg
share/examples/nocol/snmpmon-confg
+share/examples/nocol/sqlmon-confg
share/examples/nocol/syslogmon-confg
share/examples/nocol/tpmon-confg
@dirrm bin/hostmon-osclients
-@dirrm data
@dirrm share/examples/nocol
@dirrm run
@dirrm msgs