Commit graph

24 commits

Author SHA1 Message Date
schnoebe
e4fc3d9b80 Bring forward about 2 years, to 1.13:
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.
2010-09-10 06:02:31 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
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!
2010-08-21 16:32:42 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
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=...").
2008-10-19 19:17:40 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
obache
2c58b1da2e Update p5-SNMP_Session to 1.08.
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.
2006-11-04 11:32:07 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
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.
2006-03-04 21:28:51 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
seb
81c804bc5d Update to version 1.07.
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.
2005-02-09 09:04:02 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
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.
2004-12-20 11:30:55 +00:00
snj
f0768bb694 Convert to buildlink3. 2004-04-27 06:05:57 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
seb
9e04fbd4b5 Convert to buildlink2. Use perl5/module.mk. 2002-10-06 22:31:03 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
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.
2001-10-18 15:20:01 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
jtb
eee0105d4c Conflicts with mrtg. 2001-02-27 21:22:22 +00:00
jtb
46991b7386 Initial import of p5-SNMP_Session:
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.
2001-02-27 21:09:53 +00:00