Commit graph

11 commits

Author SHA1 Message Date
veego
815bc267a9 Add missing $NetBSD$ which was there when i generated distinfo. 2005-05-17 06:26:40 +00:00
veego
e57db3afa2 Don't initialize $(LD_SEARCH_FLAGS), which is used in the $(LD) link command.
Inspired by an patch from agc to tk83. Thx to krister for pointing that out
to me.
fix PR pkg/30241
2005-05-16 17:04:03 +00:00
he
0efe4873bb Add a patch to fix a race condition in the straps program. If
traps arrive in a steady stream, straps will exit before the client
(scotty) manages to connect, because traps are handled before new
client connections in straps.  Adds a sleep(3) first, and rearranges
the order of handling of these events, so that scotty can get around
to connecting as a client before the first trap is handled by straps.

Bump pkgrevision to 3.
2004-07-07 14:39:33 +00:00
minskim
286b465b38 - Use -ltcl and -ltk instead of -ltcl83 and -ltk83, which are
version-dependent.
- Buildlink tcl-scotty.
- Enable pkgviews installation.
2004-06-05 04:30:44 +00:00
he
83caf8d871 Unconditionally add TCL_LIBS to LIBS; needed to pick up -lpthread from
the TCL configuration on NetBSD-current.
2004-05-13 12:07:48 +00:00
cjep
4e7b759367 Add RCS tag. 2002-12-08 13:31:24 +00:00
jwise
33f597505f Update tcl-scotty to version 2.1.11 and tkined to version 1.4.11 (the version bundled with scotty-2.1.11)
Tnm changes since 2.1.10:

15/6/01 (bug fix) Fixed a buffer overrun in ntping. This is actually
the reason to make this bugfix release public.

2/11/99 (bug fix) Make sure that remaining job times do not increase if
the system clock moves backwards.

17/5/99 (bug fix) Make sure that commands bound to a recv event are
always evaluated.

6/4/99 (bug fix) Fixed a Y2K bug in tnmHttp.c (thanks to bkozuma@aol.com
for finding this problem).

23/3/99 (bug fix) Accept derived types (e.g. DisplayString) in a varbind
list.

9/3/99 (bug fix) Fixed bugs in straps.c which could cause security
problems due to buffer overruns or signed/unsigned conversion.

8/3/99 (new feature) Added the global tnm(cache) variable which points
to a directory where Tnm saves frozen MIB files. The default value for
tnm(cache) is compatible with previous 2.1.X releases.


Tkined changes since 1.4.10:

21/4/99 (bug fix) The size of the canvas is now independent from the
resolution of the display. Further, PostScript dumps should now fit
on the selected page size.
2002-11-25 17:53:20 +00:00
he
a5ab040e62 Redo the patch to tnmInit.c so that we don't test a now-uninitialized
variable (caused by other parts of that patch).  This lead to
precompiled MIB files being installed in "unknown-os" instead of
in "${MACHINE_ARCH}-${OPSYS}" when scotty was compiled with
optimization (which is the default), and subsequent mismatch between
installed files and PLIST.
2001-01-24 18:49:55 +00:00
jwise
348152bf7b Fix an obvious syntax error in patch-ae.
People should *really* test code before committing it.  _Especially_ in
packages which they are not the maintainer of...
2000-10-13 18:59:30 +00:00
he
39e2ba40df Open SNMP sockets with O_NONBLOCK (if available). In some odd
cases scotty can end up calling recvfrom() twice in a row with no
intervening select(), and can thus otherwise end up in a hang.
Fix supplied by Juergen Schoenwalder, received in private communication.
2000-10-02 19:27:53 +00:00
jwise
6cbe1f4fa0 Initial import of tcl-scotty, the Tnm (tcl network monitoring) module for
tcl, and the scotty interpreter, which has tnm built in.  Note that it is
expected that many users will choose to do

	#!/usr/pkg/bin/tclsh
	package require Tnm

instead of

	#!/usr/pkg/bin/scotty

This package and the pkgsrc/net/tkined package supplant the pkgsrc/net/scotty
package, updating the pkgsrc scotty support to scotty-2.1.10, and adapting it
to tcl/tk-8.3.2.

Changes to the scotty packages since scotty-2.1.8:

      * tcl-scotty and tkined are now separate packages.  tcl-scotty installs
	the tnm network monitoring extensions for tcl and the scotty interpreter,
	and can be installed on machines without x11, and by extension without
	tk.  tkined installs the program tkined, which is a (really cool)
	graphical network diagraming/discovery/monitoring app based on tnm.

changes to the tnm module itself since scotty-2.1.8:

----------------- Released 2.1.10, 29/10/98 -----------------------

22/9/98 (feature change) Changed the "--disable-multicast" configure
option to "--enable-multicast". This means that multicast support is
turned off by default.

15/9/98 (bug fix) Added additional tests to calls to inet_addr in
order to accept the value 255.255.255.255.

9/7/98 (bug fix) Make sure we return a Tcl error message when the
MIB parser detects an error.

8/7/98 (bug fix) Map the BITS data type to the underlying OCTET STRING
in the MIB parser.

8/7/98 (bug fix) Allow relative pathes in the tnm(mibs) variable so
that one can write "vendor/file.mib" and scotty will search for the
file in $tnm(library)/site/vendor/file.mib. (Suggestion and patch from
Joe Rogers <joe@usf.edu>.)

26/6/98 (bug fix) The code now accepts traps and informs with
arbitrary community strings. This behaviour is now consistent with the
way SNMPv3 folks look at the problem. The community string is passed
in the session handle to the callback.

25/6/98 (bug fix) Added back code to encode and decode Opaque values.

2/5/98 (bug fix) Fixed the MIB parser to use SEQUENCE as a default
type for unknown type names used in SYNTAX clauses. This solves some
problems with forward references by making a best guess.

2/5/98 (bug fix) Handle variables that can not be created by returning
an error message instead of dumping core.

----------------- Released 2.1.9, 23/4/98 -----------------------

23/4/98 (bug fix) Fixed the non-unique request ID bug. Added the
cleanup loop to close all unused file descriptors to straps.

25/2/98 (bug fix) Inclusion of <asm/byteorder.h> caused problems
and RedHat systems. We now use the configured WORDS_BIGENDIAN
value to determine the byte order in ntping.c

4/2/98 (bug fix) Fixed the selection of SNMP agents in the standalone
version of the mibtree script.
2000-09-07 17:38:39 +00:00