Commit graph

28 commits

Author SHA1 Message Date
martti
2c977134b9 Updated p5-Net-SNMP to 5.2.0
- Removed the dependency on the IO::Socket::INET and IO::Socket::INET6
  modules.  The IO::Socket module is now used for all socket objects.
- The port information can now be included as part of the transport
  address specified with the session() Transport Domain arguments.
- Added support for specifying the scope zone index for IPv6 addresses
  as described in RFC 4007 - "IPv6 Scoped Address Architecture".
- The default value for the agent-addr in SNMPv1 Trap-PDUs is now the
  IP address associated with the interface on which the trap will be
  transmitted.
- Support of the AES privacy protocol was updated to be compliant with
  RFC 3826 - "The Advanced Encryption Standard (AES) Cipher Algorithm
  in the SNMP User-based Security Model".
- Corrected an issue where any non-blocking SNMPv3 message queued prior
  to calling snmp_dispatcher() was sent with an empty contextEngineID.
- The first SNMPv3 discovery message is again being sent with a zero-
  length msgUserName as suggested by RFC 3414.
- All sockets are now flagged as non-blocking to prevent a possible
  deadlock due to an interaction between recv() and select().
- The sending of messages is now bounded by the receive processing rate
  to avoid receive buffer overflows.
- The return value of select() is now checked for both "undef" and -1.
- The "usm.t" tests are now skipped if any of the non-core modules
  required by the Net::SNMP::Security::USM module are not present.
2005-11-07 13:31:06 +00:00
martti
40caf56463 Removed the buildlink3.mk
I got few private comments that one should not use buildlink3.mk but the
standard DEPENDS statement because we do not link against libraries
in this case.
2005-11-07 11:16:32 +00:00
martti
49311fd737 Added buildlink3.mk for this package. 2005-11-05 06:16:55 +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
jschauma
1e8fb86e10 Update p5-Net-SNMP to 5.0.1
Changes since 4.1.2:
RELEASE 5.0.1 SEP-09-2004

- The module is now again functional with Perl 5.6.x.  Compensations
  were made for compatibility problems with the IO::Socket::INET and
  Math::BigInt modules packaged with Perl 5.6.x.
- The UDP/IPv6 and TCP/IPv6 Transport Domains are now functional when
  using version 2.0x of the IO::Socket::INET6 module.

RELEASE 5.0.0 JUL-20-2004

- Added support for the UDP/IPv6 Transport Domain listed in RFC 3419.
- Support for the TCP/IPv4 and TCP/IPv6 Transport Domains was added
  as described in RFC 3430 - "SNMP over TCP Transport Mapping".
- Optimizations were made to ASN.1 processing and preparation methods.
- Corrected a possible memory exhaustion error with OCTET STRINGs that
  contain "printf" format characters.
- The ASN.1 types associated with the ObjectSyntax values in the
  VarBindList can now be retrieved using the var_bind_types() method.
- The function snmp_type_ntop() was added for displaying ASN.1 types.
- The Net::SNMP::Dispatcher module now checks for select() errors.
- Passing the "-maxrepetitions" argument with a value of 1 or less
  to the get_table() or get_entries() methods instructs them to use
  get-next-request messages instead of get-bulk-request messages.
- The maximum allowed value for the maxMsgSize was reduced to 65535.
- The Perl modules for the non-default Transport Domains and Security
  Model are now loaded at runtime instead of compile time.
2005-01-14 15:25:25 +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
wiz
7888ccfadf Update to 4.1.2, inspired by Koji Kondo's update to 4.1.0 in PR 21782.
Changes:
RELEASE 4.1.2 SEP-11-2003

- Removed an unintended dependency on the Crypt::Rijndael that would cause
  SNMPv3 support to be unavailable and the "usm.t" tests to fail due to
  a "strict subs" error in Net::SNMP::Security::USM module.

RELEASE 4.1.1 SEP-09-2003

- Corrected a misinterpretation of the "The AES Cipher Algorithm in the
  SNMP's User-based Security Model" draft specification that lead to
  the incorrect encoding and decoding of the last block of the message.
- The syntax of the get_entries() method was changed to expect the column
  values to entered as full OBJECT IDENTIFIERs allowing the traversal of
  conceptual rows in different tables which are indexed identically.
- The processing of the serialization of an OBJECT IDENTIFIER was optimized.
- The oid_lex_sort() function was updated to order OBJECT IDENTIFIER strings
  padded with spaces as lexicographically greater than unpadded strings.
- An empty contextEngineId in a response message is now accepted during
  the SNMPv3 discovery process.
- Corrected an argument validation error with the get_bulk_request()
  method.

RELEASE 4.1.0 MAY-06-2003

- Working in conjunction with the Extended Security Options Consortium
  (http://www.snmp.com/eso), support for additional privacy protocols
  has been added to the SNMPv3 User-based Security Model.
  "Extension to the USM to Support Triple-DES EDE in 'Outside' CBC Mode"
  Reeder and Gudmunsson; October 1999, expired April 2000
  http://www.snmp.com/eso/draft-reeder-snmpv3-usm-3desede-00.txt
  "The AES Cipher Algorithm in the SNMP's User-based Security Model"
  Blumenthal, Maino, and McCloghrie; October 2002, expired April 2003
  http://www.snmp.com/eso/draft-blumenthal-aes-usm-04.txt
- A new method called get_entries() was added to allow the retrieval
  of columns of a table entry using get-next-requests or get-bulk-requests.
- The argument "-maxrepetitions" was added to the get_table() method.
- Responses to SNMPv3 messages with non-default contextEngineIDs or
  contextNames are now properly processed.
- The method var_bind_names() was added to retrieve an array of the
  ObjectNames in the VarBindList in the order in which they were
  received in the GetResponse-PDU.

RELEASE 4.0.3 SEP-09-2002

- Net::SNMP objects are now destroyed as expected when they are no
  longer referenced.  An internal reference to the object allocated by
  the Net::SNMP::Dispatcher module is now properly cleared.
- A socket with a file descriptor value of 0 is now accepted by the
  Net::SNMP module as a valid and open filehandle.
- Removed an "optimization" which was intended to provide a smoother
  initialization of the dispatcher but instead could lead to messages
  incorrectly timing out.

RELEASE 4.0.2 MAY-06-2002

- The SNMPv3 request message sent for time synchronization is now sent
  with the same securityLevel that is configured for the session.
- The "reserved" bits in the msgFlags field of an incoming SNMPv3
  message are now ignored as suggested by RFC 2572.
- When encrypting a SNMPv3 message, the padding byte(s) are now set to
  a value equal to the size of the padding.  "The actual pad value is
  irrelevant..." according RFC 2574 Section 8.1.1.2.  However, there
  are some agents that expect this byte pattern.
- Corrected a reference count mismatch which would leave a listening
  socket open if no response is received from the remote agent.
- Corrected a "deep recursion" error that occurred when using the
  get_table() method to retrieve large tables in blocking mode.
- Using the "-delay" argument with the get_table() method no longer
  incorrectly delays between message exchanges when retrieving the table.
- Optimizations and improvements were made to the Net::SNMP::Dispatcher
  event scheduling and handling procedures.
- The "translate unsigned" logic now correctly handles properly
  formatted (but unexpected) negative Counter64, Counter, Gauge, and
  TimeTick values.
2003-09-18 19:09:52 +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
e8328761a2 Use buildlink2. Use perl5/module.mk. 2002-10-27 20:48:55 +00:00
mjl
a1b2d6720f Update p5-Net-SNMP to 4.0.1
- SNMPv3 objects using authentication now send a separate authenticated
  request message for time synchronization while performing discovery.
- Non-blocking SNMPv1/2c messages with a "-delay" argument which are
  queued before entering the event loop are no longer incorrectly
  discarded.
- The Net::SNMP::Security::Community::security_model() method now
  returns the correct value as reserved by RFC 2571.
- The first subidentifier in an OBJECT IDENTIFIER is now restricted to
  ccitt(0), iso(1), or joint-iso-ccitt(2) as specified by ISO/IEC 8825.

Fixes PR/15220 by Shell Hung (I really should get a function key
with that text!)
2002-01-18 22:50:16 +00:00
mjl
19cfbe30e8 Update to 4.0.0
- The module has been completely redesigned to add support for SNMPv3
    and to follow the SNMP Management Framework defined by RFC 2571.
  - Perl version 5.6.0 or greater is now required to use the module.
  - Updated the method calls to expect the same argument syntax regardless
    of whether they are invoked by "blocking" or "non-blocking" objects.
  - The non-core modules Crypt::DES, Digest::MD5, Digest::SHA1, and
    Digest::HMAC are now required to support SNMPv3.
  - Added the ability to specify the local address and port number used by
    each object.
  - Corrected an error in the Net::SNMP::FSM module that would cause all
    response messages to be dropped in "non-blocking" mode if there is
    a recv() error.
  - Updated the logic in the "blocking" response handling method such
    the transmit buffer is properly updated if there is a decode
    error while parsing the GetResponse-PDU.
  - Counter, Guages, and TimeTick values that are incorrectly encoded as
    negative signed integers are now converted to unsigned values.  This
    feature can be disabled by setting the "-unsigned" flag to false
    using the translate() method.
  - An empty community name is now allowed.
  - Updated the "non-blocking" example script.
2001-11-30 15:26:58 +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
wiz
461323e062 Update to 3.60, per pkg/11603 by Damon Brodie.
Changes: Translation can now be enabled on a per ASN.1 basis; FSM event
loop prioritizes SNMP responses over other actions; added examples.
2001-02-28 13:06:57 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
6f0806012b silence pkglint 2000-09-03 14:53:05 +00:00
wiz
45b78ed4d2 add RCS Id 2000-09-03 14:51:55 +00:00
explorer
6f7cb9b381 ooops, remove path 2000-08-31 01:46:05 +00:00
explorer
dbea1845a9 add Net-SNMP-3.50.
This is different from the p5-SNMP package in that it does not
Perl 5 module for SNMP queries.
2000-08-31 01:45:14 +00:00