2008-03-19 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm: Improved initialization of the flags for
non-blocking behavior in receive_response_3(). The __DIE__ and
__WARN__ signal handlers should be bound to the defaults, because
the caller might be binding those and get in our way. Also, we
only want to compute the flags once, on initialization.
2007-12-22 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_util.pm, lib/SNMP_Session.pm, lib/BER.pm:
Upgraded to Artistic License 2.0.
Copyright notice updated for 2008.
* Artistic: Upgraded to Artistic License 2.0, from
http://svn.perl.org/viewcvs/parrot/trunk/LICENSE?view=markup&rev=19096
2007-11-01 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_util.pm: New MIB parsing code from Mike Mitchell.
2007-10-13 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm ($VERSION):
Upgraded to 1.11, to pick up change to SNMP_util.pm.
* changes.html: Document loop detection fix in SNMP_util.pm.
* faq.html, index.html: Updated my e-mail address.
* README, README.SNMP_util, lib/SNMP_Session.pm, lib/SNMP_util.pm,
changes.html: Changed Tobi Oetiker's mail address.
* README, index.html: Changed MRTG URL.
* lib/SNMP_util.pm: [All changes from Mike Mitchell]
Global replace || => or, && => and, to avoid precedence errors.
(snmpwalk_flg): Improved loop detection.
2007-10-13 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm ($VERSION): Upgraded to 1.11, to pick up
change to SNMP_util.pm.
* README, README.SNMP_util, changes.html, lib/SNMP_Session.pm:
Changed Tobi Oetiker's mail address.
* lib/SNMP_util.pm: [All changes from Mike Mitchell]
Changed Tobi Oetiker's mail address.
Global replace || => or, && => and, to avoid precedence errors.
(snmpwalk_flg): Improved loop detection.
* README: Changed MRTG URL.
2007-05-18 Simon Leinen <simon.leinen@switch.ch>
* README, changes.html, index.html: Updated copyright.
* lib/SNMP_util.pm (Check_OID):
Fix regexp for qualified OID case (Mike Mitchell).
2007-05-03 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm: Added Mike Fischer as a contributor.
($VERSION): Incremented to 1.10.
(receive_response_3): Added optional "dont_block" argument. If
this is present and non-zero, pass MSG_DONTWAIT to the recv()
call. MSG_DONTWAIT is wrapped in an eval, to avoid breaking the
code on systems that don't have the flag.
(request_response_5): Pass dont_block=1 to receive_response_3.
According to Mike Fisher, Linux sometimes blocks on recv() even
though a select() for readability has returned, for example when a
checksum fails.
2007-05-03 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm: Added Mike Fischer as a contributor.
($VERSION): Incremented to 1.10.
(receive_response_3): Added optional "dont_block" argument. If
this is present and non-zero, pass MSG_DONTWAIT to the recv()
call. MSG_DONTWAIT is wrapped in an eval, to avoid breaking the
code on systems that don't have the flag.
(request_response_5): Pass dont_block=1 to receive_response_3.
According to Mike Fisher, Linux sometimes blocks on recv() even
though a select() for readability has returned, for example when a
checksum fails.
2007-01-06 Simon Leinen <simon.leinen@switch.ch>
* lib/BER.pm: Updated copyright notice.
(pretty_print): Use PDU names according to RFC3416.
2006-12-21 Simon Leinen <simon.leinen@switch.ch>
* test/cricket-genconf-sensor:
Try to install newly generated configuration, where possible.
* test/cricket-genconf-sensor: Added header comment.
* test/cricket-genconf-sensor: New script.
2006-12-15 Simon Leinen <simon.leinen@switch.ch>
* test/entls (router_pretty_name):
New subroutine, greps RANCID configuration file
for `hostname' command. Caches the result so that files are only
opened once.
(print_physical): Use new forms of per-router defaults.
* test/entls:
Changed so that `-t' generates a Cricket configuration file to measure
all transceivers that support DOM (Digital Optical Monitoring). This
involves some structural changes.
(print_phys_tree): Implemented in terms of the new
`print_phys_tree_1'.
(print_phys_tree_1): Maintain a stack of parent nodes when traversing
the node tree. This stack is stored in each node's `parent_stack'
slot, and can be used by the node class' `tostring' method.
* test/entls ($print_vendor_type, $print_ent_physical_index):
New variables.
(Entity::PhysicalEntry::tostring): Added optional printing of index
and entPhysicalVendorType, controlled by the above variables.
2006-10-12 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm, lib/BER.pm: Updated copyright string.
2006-08-06 Simon Leinen <simon.leinen@switch.ch>
* faq.html:
Updated SNMPv3 text, mentioning that SNMPv3 is supported by MRTG 2.13
and up, using Net::SNMP.
* lib/SNMP_util.pm (snmpLoad_OID_Cache):
Strip single or double quotes around the OID and
value. This allows us to read SunNet Manager OID files, which are
also distributed by e.g. Cisco (ftp://ftp.cisco.com/pub/mibs/oid).
Idea by Jan van Keulen, code cleanup by Mike Mitchell.
2006-07-13 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Session.pm ($VERSION): Incremented to 1.08.
* lib/SNMP_Session.pm (BEGIN):
Bind the __DIE__ signal handler, so that detection of IPv6
capability works even when someone else has bound that handler.
(Patch from Tobi Oetiker.)
2006-04-09 Simon Leinen <simon.leinen@switch.ch>
* lib/SNMP_Table.pm (snmp_row_to_object): Added.
2006-04-05 Simon Leinen <simon.leinen@switch.ch>
* test/trap-listener: Added prettyfication of OIDs.
Suppressed less-than-useful output such as the trap community or the
source port.
2006-03-16 Simon Leinen <simon.leinen@switch.ch>
* README: Update copyright notice for 2006.
2006-02-17 Simon Leinen <simon.leinen@switch.ch>
* test/entls: New "entls" script.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Patch provided by Martin Wilke via PR 34382.
Changes:
* SNMP_Session.pm 1.08: Fixed a bug in the SNMPv2c version of
map_table_start_end that would cause errors when the $end argument is actually
being used. Thanks to Jan van Keulen for submitting the patch.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Really lots of changes since last packaged version (0.83).
Unfortunately there is now changes list included with the distribution file
even if it is stated otherwise.
See http://www.switch.ch/misc/leinen/snmp/perl/changes.html.
Among remarkable things please note IPv6 support and of course many
bug fixes.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
perl5 module providing rudimentary access to remote SNMP agents
Package provided by Jeff Rizzo (riz@boogers.sf.ca.us) in PR 9089.
Updated to latest version and modified slightly by me.