Commit graph

228 commits

Author SHA1 Message Date
he
57a2422cf0 Upgrade net-snmp to version 5.7.2.1.
Upstream changes:
   * 5.{5,6,7}.2.1 *
       snmpd:
         - SECURITY: a denial of service attack vector was discovered on
           the linux implementation of the ICMP-MIB.  This release fixes
           this bug and all users are encouraged to update their SNMP
           agent if they make use of the ICMP-MIB table objects.

Fixes CVE-2014-2284.
2014-04-08 14:10:25 +00:00
jperkin
222f8dc36b Import initial SMF support for individual packages. 2014-03-11 14:34:36 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
spz
5392338404 patch (in 4 parts) for CVE-2012-6151 from
http://sourceforge.net/p/net-snmp/patches/_discuss/thread/36675011/e98b/attachment/alt-cancel-next-walk-v2.patch
2014-01-26 21:33:06 +00:00
joerg
db4b45e6c3 Fix build on -current, functionality is untested. 2013-11-29 12:59:51 +00:00
joerg
f90d488a07 Link agent.so correctly against libperl.so. 2013-11-05 17:40:30 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
joerg
e952077572 Always return a value from a non-void function (hi christos!). 2013-04-14 19:45:30 +00:00
christos
b24d8ba9ae welcome to pl2.
- support for multi-cpu state reporting
- fix bug with storage calculation (use frsize instead bsize)
2013-04-05 18:20:08 +00:00
tron
0b63a9379b Correct filename in new patch file to fix the build. 2013-04-05 07:59:20 +00:00
christos
c42ffa3b92 update for multi-cpu load. 2013-04-05 01:03:05 +00:00
christos
cc5e3de4be add per cpu loads 2013-04-05 01:02:22 +00:00
christos
e214f2bf0a bump patchlevel 2013-04-04 20:00:35 +00:00
christos
ff745d4c62 memory stats -> wrong type in getting some sysctls
cpu stats -> wrong sysctl getting cpu model
process stats -> netbsd5 was not defined leading to wrong process stats
2013-04-04 19:59:06 +00:00
joerg
8c9a25fe7e Include uvm/uvm_extern.h if it exists. Required for NetBSD/current. 2013-03-23 12:23:24 +00:00
gdt
1b4efa5580 Remove zombie patch. 2013-03-17 00:19:02 +00:00
gdt
5924f88aa4 Add forgotten patchfile. 2013-03-17 00:18:31 +00:00
gdt
12206b1edd Fix nit in patch; ride previous bump 2013-03-17 00:17:34 +00:00
gdt
423fbf3121 Update to 5.7.2.
This is a major update in terms of pkgsrc patches, of which there are
far far too many.  Analysis of patches was done by Karen Sirois of
BBN, and I have remvoed patches that have been applied upstream.

This builds fine and passes tests on NetBSD 6 i386.  If you look after
some other platform (Dragonfly, Darwin, FreeBSD, etc.), please make
sure any problems are filed as upstream tickets; pkgsrc is not
appropriate to carry patches long-term that should be fixed upstream,
and this package has gotten out of hand.

(OK by adam@ to do the update, but he has not reviewed the changes, so
errors are my fault.  It's quite likely there are issues on other
platforms.)

Upstream NEWS:

*5.7.2*
    snmp:
      - BUG: 3526549: CVE-2012-2141 Array index error leading to crash

    snmpd:
      - BUG: 3532090: Fix high ifIndex values crashing hrDeviceDescr

    building:
      - PATCH: 2091156: correctly declare dependencies in Makefile. 'make
        -j <N>' should work now. Backport this to V5-4 as it is needed for
        correct operation in the single threaded case of make miblib as
        well.

    Many other miscellaneous minor bug fixes

*5.7.1*

  libnetsnmp:
      - Fixed the mib-parsing-bug introduced shortly before 5.7

  agent:
      - fixed rounding errors for disk percentage calculations

  openbsd:
      - better support for recent openbsd releases

  features:
      - bug fixes with minimalist support after additional user feedback

  Many other miscellaneous minor bug fixes

*5.7*

  snmpd:
      - Delivery of data via regularily scheduled notifications.
        (see "Data Delivery via Notfications" in snmpd.conf)
      - Many time-based config options can take (m)ins, (h)ours, ... arguments
        (see the snmpd.conf manual page)
      - The PING and TRACEROUTE MIBs now compile and work-ish on linux
        http://www.net-snmp.org/wiki/index.php/DISMAN
      - Mib handlers can now implement a data_clone function for
        cloning the myvoid structure variable to avoid dangling pointers
      - Fixed persistent storage of VACM MIB configuration
      - Multi-homed agents send UDP responses from the proper IP address
      - The hrStorageTable implementation now supports large filesystems better
      - optimizations for large route tables
      - Added a deliveryByNotify config token for regular data delivery
        (see the snmpd.conf manual page and the NET-SNMP-PERIODIC-NOTIFY-MIB)
      - [PATCH 3141462]: fix agentx subagent issues with multiple-object requests
      - [PATCH 3057093]: linux uses libpci for creating useful ifDescr strings
      - [PATCH 3131397]: huge speedups of the TCP/UDP Tables

  libnetsnmp:
      - Removed the older CMU compatibility support
      - The SSH transport is now configurable

  TLS/DTLS support:
      - The SNMP over DTLS transport now properly supports IPv6
      - Introduced new configuration tokens: localCert/peerCert
        (deprecating serverCert, clientCert, defX509ServerPub, defX509ClientPub)
      - Various fixes for the TLS/DTLS transports

  apps:
      - Added a per-variable timed output support to snmpwalk using -CT
      - snmpinform now correctly uses the local engineID for informs
      - A number of mib2c bug fixes
      - New snmp.conf tokens for timeouts and retries

  building:
      - New flags to reduce the amount of compiled code to bare minimums.
        This is provided by a new generic feature marking/selection mechanism.
        http://www.net-snmp.org/wiki/index.php/Feature_Marking_and_Selection
      - It's now possible to build without SNMPv3/USM
        (e.g., if you only want TLS/DTLS with SNMPv3/TSM)
      - It's possible to build the suite with no SET support
        configure using --enable-read-only
      - It's possible to build the agent as a notify-only agent
        configure using --enable-notify-only
      - Added a script to test memory usage with various config options
        (see the local/minimalist/sizetests script)
      - Net-SNMP can now be built to perform local DNSSEC validation
        (install DNSSEC-Tools' libval and use --with-local-dnssec-validation)

  testing:
      - a number of new API unit-tests have been added to the suite
        (to run the tests: cd testing && ./RUNFULLTESTS -g unit-tests)
      - The unit tests can be more easily run under valgrind
        (See http://bit.ly/jsgRnv for details)

  openbsd:
      - Support for updating the routing table via SNMP

  win32:
      - The testing suite works better under win32 environments
      - Many building fixes for the win32 environment(s)

  solaris:
      - Net-SNMP now supports the SCTP-MIB

  DragonFlyBSD, FreeBSD8:
      - Net-SNMP should now work on DragonFlyBSD and FreeBSD8

  And of course:
      - Many other bug fixes.  See the CHANGES and ChangeLog for details.
2013-03-17 00:15:28 +00:00
kim
3f6243777d Make this compile on historical NetBSD. 2013-03-12 17:14:48 +00:00
garbled
36ec666f79 Forgot to regenerate distinfo. Sorry! 2013-03-12 14:56:13 +00:00
garbled
61c03b0d6e Fix build of embedded perl if options perl is selected. 2013-03-12 03:00:38 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
joerg
24a451c7a9 Requires _KMEMUSER and uvm/uvm_extern.h on NetBSD/current. 2013-01-11 13:34:46 +00:00
tron
7d9df14fac Completely disable manual page compression for this package as it uses
nested manual page extensively.

Bump package revision for this bug fix.
2012-12-22 11:23:59 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
wiz
f98e8b0585 Add inet6 to default suggested options. It's 2012. 2012-06-12 15:45:54 +00:00
fhajny
e228173a60 Add support for the ucd-snmp/diskio module on SunOS 2012-06-08 13:13:35 +00:00
marino
f0bf654415 net/net-snmp: Fix IPv6 option on DragonFly
Another victim of _KERNEL STRUCTURES...
2012-05-17 14:37:07 +00:00
spz
60ec4be20d add a patch by Jan Safranek <jsafranek@users.sourceforge.net> for CVE-2012-2141
from https://bugzilla.redhat.com/attachment.cgi?id=580443 :

Check out-of-index conditions in ExtendOutput2Table.
2012-05-17 12:56:17 +00:00
shattered
3dbc278c3f PR/39320 -- Don't override user-supplied rc.d *_flags variable. 2011-10-22 07:33:34 +00:00
shattered
9bd76b95e5 PR/44479 -- disable use of nlist() if we're using sysctl() to get IP stats. 2011-10-17 19:40:26 +00:00
obache
a82c9ae2bb Fixes build on DragonFly BSD (missing IFM_TOKEN).
Based on PR pkg/45474 by Samuel J. Greear.
2011-10-16 09:30:39 +00:00
obache
3b0f2f4d0e Revision bump after updating perl5 to 5.14.1. 2011-08-14 14:14:40 +00:00
adam
d52b90537e Added PLIST_VARS=perl and fixed PLIST when building without Perl 2011-06-24 09:46:10 +00:00
adam
431f83a775 Fix for PR#44748 2011-06-24 09:30:18 +00:00
adam
46cf02707c patch-aq has been evil; exorcism performed 2011-05-31 10:52:30 +00:00
tron
1eaacfd56b Mark this package as not job safe to fix the build under NetBSD/amd64
as suggested by Adam Ciarciński in private e-mail.
2011-05-30 10:21:43 +00:00
adam
6e0e6e8858 Fix building on NetBSD-i386 2011-05-30 08:58:33 +00:00
adam
aea5a2643a Changes 5.6.1.1:
* OID Typedef Bug Fix: The oid typedef was changed in 5.6.1 to an u_int32 from
  a u_long.  This broke binary compatibility and likely 3rd-party code. 5.6.1.1
  reverts this change and fixes an underlying OID printing problem in two agent
  modules that caused someone to change the typedef in the first place.

Changes 5.6.1:
* General:
  - The DTLS and TLS transports and the TSM security model are no
    longer "beta" (they've undergone rigorous interoperability testing).
  - Many Bug Fixes (see the CHANGES and ChangeLog files for full details)
* snmpd:
  - 0 Patch 3141462: from fenner: fix agentx subagent issues with
    multiple-object requests
  - Patch from Niels to fix VACM persistant storage.

Changes 5.6:
* all:
  - Implemented the SNMP over TLS and SNMP over DTLS protocols [RFC-to-be]
  - Implemented the "Transport Security Model" [RFC5591]
  - Generic host-specific configuration .conf files are now read.
  - Include statements can now be used in .conf files.
* snmpd:
  - Fix handling of multiple matching VACM entries. (Use the "best"
    match, rather than the first one). Reported by Adam Lewis. Note
    that this could potentially affect the behaviour of existing access
    control configurations.
  - Agent will no longer call table handlers if a set request for the
    handler has invalid indexes
  - table_data/tdata next handler will not be called during get
    processing if no valid rows are found for the handler
  - [PATCH 2952708]: Added Perl implementation of BRIDGE-MIB
  - moved all functions defined in libnetsnmphelpers to
    libnetsnmpagent. libnetsnmphelpers is now an empty library.
  - Implemented the TSM-MIB and the TLSTM-MIB
  - new API for indicating that persistent store needs to be saved
    after the current request finishes processing
  - [PATCH 2931446]: make the load averages writable.
* apps:
  - A new tool 'net-snmp-cert' that easily creates and manages
    X.509 certificates for use with the SNMP over (D)TLS protocols.
  - Added an 'agentxtrap' command to send notifications via AgentX
  - -T command line flag can be used to pass configuration
    directly to transports that can accept configuration tokens
  - A new 'snmptls' command for manipulating the agent's TLS configuration
* snmplib:
  - A more modular transport subsystem that allows third party
    extensions and dependencies for code reuse.
  - New transport functions: f_config, f_open, f_copy and f_setup_session
  - Transports can now specify session defaults
  - [PATCH 2942940]: Add a new function, netsnmp_parse_args, that is
    like snmp_parse_args but takes an additional bitmask, flags, to
    affect the behaviour. Also remove the magic handling of some
    application names.
  - A new X.509 certificate API for indexing and reading certificates
  - new experimental row creation API which uses a state machine
    to try really hard to create a row from a given varbind list
  - netsnmp_container enhancements:
    - added a free_item function
    - added a CONTAINER_FREE_ALL macro/function
    - added an interface for duplicating a container (CONTAINER_DUP)
    - added a remove function to container_iterators
    - added an ability to set options on binary_array containers
  - new snmp token logOption allows specifying log destinations
    via configuration conf files
  - A very significant reduction in compiler warning output
  - new experimental simple state machine handling API
2011-05-27 10:55:24 +00:00
sekiya
de9f0c2635 Pull memory statistics properly, and fix an overflow in the CPU statistics.
("netbsdelf3", indeed ... )
2010-12-26 09:23:49 +00:00
sekiya
4303bea168 Fix divide-by-zero error in CPU performance statistics.
Inspired by Red Hat Bugzilla Bug #501210.
2010-12-22 08:13:30 +00:00
taca
cd003febb4 Fix build problem on NetBSD 4.
Previous patch for NetBSD wasn't really for netbsd4 but 4.99.58 and later.
So, I changed "#ifdef netbsd4" to "#ifdef NETBSD_STATS_VIA_SYSCTL" and
clean up patches.  Should be fix PR pkg/43288.

It is fix of build problem only, so no PKG_REVISION bump.
2010-11-17 00:59:06 +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
adam
2d283a77ce Changes 5.4.3:
snmpd:
  - Change default AgentX target from 0.0.0.0:705 to localhost:705
  - Fix CVE-2008-4309 (GETBULK issue reported by Oscar Mira-Sanchez)
  - Fix handling of multiple matching VACM entries
    (Use the "best" match, rather than the first one).
        Note that this could potentially affect the behaviour of
        existing access control configurations.
  - Latch large-disk statistics at 2Tb (rather than wrapping)

Linux:
  - Fix build on modern distributions (using rpm-4.6)

Windows:
  - Fix various builds (recent MSVC, MinGW, IPv6, winExtDLL)
2010-07-20 08:33:44 +00:00
adam
eb31036b84 Added patches, courtesy of Mike Bowie:
* Address changes in sysctl() storage, which has yielded values such as
  IP-MIB::ipForwarding.0 invalid.
* RAM reporting on 64-bit systems.
2010-05-11 04:39:54 +00:00
hubertf
7559f2a751 Add perl as an option, defaulting to on
Bump revision

OK adam@
2010-03-09 22:52:56 +00:00
obache
3c8b06ead1 Add user-destdir support. 2009-08-30 02:21:58 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
adrianp
947c054a42 Add two new options to help when running snmpd as an unpriveleged user 2009-03-18 22:50:28 +00:00
apb
8fd517ac26 regen distinfo after editing comments in a patch file 2009-03-10 18:36:33 +00:00
apb
efb717e3a2 Some systems define ifnet.if_lastchange as struct timespec (with
a tv_nsec field measured in nanoseconds), while other systems
define it as struct timeval (with a tv_usec field measured in
microseconds).  Add a configure test and conditional code in
agent/mibgroup/mibII/interfaces.c.orig.  This should fix PR 40990.
Bump PKGREVISION to 2.
2009-03-10 18:30:44 +00:00
tron
72d6df58f2 Add a patch from the "net-snmp" repository to close the vulnerability
reported in SA33884/CVE-2008-6123.
2009-02-15 11:31:51 +00:00
adam
c57017f418 Changes 5.4.2.1:
snmpd:
- SECURITY ISSUE: A bug in the getbulk handling code could let
  anyone with even minimal access crash the agent.
2008-11-02 08:30:07 +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
b35ef6ce2f Fix build on DragonFly. From PR 39566. 2008-09-18 13:40:10 +00:00
adam
d872659bfa Changes 5.4.2:
snmplib:
- [PATCH 1921861]: Avoid endless loop after truncating 64bit int
- Better handling of CONTAINER_INSERT failures with multiple indices

snmpd:
- [PATCH 2023633]: add SCTP-MIB implementation (Linux only)
- suppress annoying "registration != duplicate" warning for root oids

build:
- [BUG 2023803]: Compilation problems on HP-UX 11.31
- Update to libtool 1.5.26

AIX:
- Add support for AIX 6.x.
2008-09-08 12:58:09 +00:00
adam
af49cad5c1 Changes 5.4.1.2:
* An increment only in the version number that was failing to be
  reported properly by the tools.

Changes 5.4.1.1:
* SECURITY BUG: A portion of SNMPv3 code had significantly weakened
  authentication cryptography and unauthenticated access to a system
  is a possibility.
* It is critical that all users update their installations bases
  IMMEDIATELY.
* If you were only using SNMPv1 or SNMPv2c you were already insecure
  beyond a level that this vulnerability affects.
2008-07-15 09:14:01 +00:00
christos
75ccb77fe3 bump version for new tcp stats 2008-06-28 16:07:08 +00:00
christos
753aef952e Look what you made me do clown boy! (Adapt to new tcp stats array) 2008-06-28 16:06:34 +00:00
tron
fce576957b Add patch for CVE-2008-0960 from the Net-SNMP project page on Sourceforge. 2008-06-12 13:32:23 +00:00
tron
ca02394a17 Combine the to patches for "agent/mibgroup/mibII/ip.c" to make this
actually build.
2008-06-06 16:18:03 +00:00
christos
8f06e2a229 PR/36978: Hasso Tepper: Make net-snmp work on dragonfly.
While I am here make it run again on NetBSD (hi clown boy)
2008-06-05 19:09:41 +00:00
tron
4c741e3b2e Add patch from the Net-SNMP SVN repository to fix a buffer overflow in
the Perl SNMP module reported in SA30187.
2008-05-18 11:59:54 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
seb
b068169142 Fix floating point exception on NetBSD/sparc64 by applying the same
fix (and error checking) on
agent/mibgroup/hardware/memory/memory_netbsd.c:netsnmp_mem_arch_load()
via new patch file patch-ah as the one applied on
agent/mibgroup/ucd-snmp/memory_netbsd1.c:var_extensible_mem() by
patch file patch-es. Sorry I missed this in november 2006...

Bump PKGREVISION to 1.
2008-01-03 19:10:09 +00:00
joerg
806e7641d4 Fix build on older DragonFly. 2008-01-03 18:18:30 +00:00
adrianp
e3b2c8ec02 Fix builds on Darwin 9.*
Goes part way to address PR# 37405
See http://net-snmp.sourceforge.net/docs/README.osX.html for hints on this.
2007-11-23 21:29:17 +00:00
dsainty
2995988958 If the "ssl" option is not present, inhibit SSL support by configuring
with --without-openssl.  Corrects package build on systems with
non-Pkgsrc OpenSSL installations.  Fixes breakage under Linux.
2007-11-20 07:51:35 +00:00
adrianp
eb71cc46c4 Make sure snmp_perl.pl is installed 2007-11-12 21:06:17 +00:00
wiz
cc4d78d507 Remove ftp.net-smnp.org from MASTER_SITES, doesn't resolve.
From Zafer Aydogan in PR 37323.
2007-11-11 23:59:23 +00:00
joerg
fa8a956e56 Remove dragonfly.h, it is included upstream now.
Restore patch-dt (MIB_SYSTEM_LIBS), still needed for DragonFly.
2007-08-12 13:36:36 +00:00
adam
d695e6ce90 Chagesn 5.4.1:
snmplib:
  - [BUG 1619827]: link libraries against needed external libraries
  - [PATCH 1616912]: fix memory leak in UDP transport code
  - [PATCH 1592706]: fix memory leak when cloning varbinds
  - Change snmp_sess_add_ex to consistently close and delete the
    transport argument on failure, earlier the liveness of the
    transport argument was undecided.
snmpd:
  - [BUG 1558823]: fix ipAddressTable memory leak
  - [BUG 1596638]: fix memory leak in ipCidrRouteTable, inetCidrRouteTable
  - [BUG 1611524]: fix tcp connection table file descriptor leak
  - handle row deletion issues in dataset tables
  - [BUG 1712988]: default and configurable maximum number of
    varbinds returnable to a GETBULK request.
  - [PATCH 1666737]: include ipv6 counts in
    udpInDatagrams, udpNoPorts, udpInErrors, udpOutDatagrams
  - [PATCH 1700157]: fixes ordering of exec tokens in the resulting mib tree
  - [PATCH 1719253]: fix skipNFSInHostResources so it does not break on the
    second walk of the table.
perl:
  - link Perl modules against the exact set of libraries needed
  - [BUG 1619827]: properly link against libperl when configured with --enable-as-needed
  - [PATCH 1725049]: fix bulkwalk in cases of non-repeater
python:
  - [PATCH 1716114]: Let python build in the Net-SNMP source tree
MacOSX:
  - [PATCH 1600522]: CPU Hardware Abstraction Layer (HAL)
    implementation for mach/darwin
  - IF-MIB rewrite now enabled by default
Win32:
  - fix AES support
  - [PATCH 1706344]: fix compilation with cygwin
IRIX:
  - [PATCH 1709748]: Optimized IRIX cpu stats
AIX:
  - Fix default shared library building instead of forcing static use
FreeBSD:
  - [BUG 1633483]: Support CPU HAL on FreeBSD4.x
2007-08-11 11:05:56 +00:00
seb
22ed3ea8ad Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there.

Bump PKGREVISION to 2.
2007-08-10 23:37:02 +00:00
gdt
f5144b456b Due to build failure (not finding a library), add:
MAKE_JOBS_SAFE=		NO
2007-06-07 23:53:55 +00:00
seb
183e36fad8 Fix build on recent NetBSD current:
net/route.h needs to be included before netinet6/in6_pcb.h.h and
net/if.h needs to be included before netinet6/in6_var.h.

While here add a patch file on the source of the configure script
which IMHO should have been added earlier.

Bump PKGREVISION to 1.

Note: I supposed the libdes related hunk in patches/patch-af had
been generated by an older than 2.59 autoconf script and carried
over from one net-snmp version update to the next.  This would
explain the slight differences about this hunk between the revision
I'm committing and the previous one.
2007-05-20 13:55:28 +00:00
rillig
9981931493 Added conflicts. 2007-02-15 21:47:21 +00:00
joerg
157473fecf Forgotten patch in last commit. 2007-02-05 19:19:14 +00:00
joerg
c39b7c9cca Fix DragonFly build changes. I have no clue to add an optional file
into the build system, so override cpu_nlist on DragonFly.
2007-02-05 19:18:37 +00:00
adam
daec5add6c Changes 5.4:
- The default configuration now enables embedded Perl and the Perl
  modules by default when possible unless explicitly disabled. You
  may use the --disable-embedded-perl and --without-perl-modules
  configure options, respectively, to revert to the former default
  configuration.
2007-02-05 12:06:16 +00:00
seb
a3d047d839 Apply patch from net-snmp CVS repository to fix Perl module SNMP's bulkwalk
function.

- patch from
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/perl/SNMP/SNMP.xs?r1=5.50.2.6&r2=5.50.2.7&view=patch&pathrev=V5-3-patches
- revision log
http://net-snmp.cvs.sourceforge.net/net-snmp/net-snmp/perl/SNMP/SNMP.xs?view=log&pathrev=V5-3-patches#rev5.50.2.7
- bug reference
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=1533078&group_id=12694

Bump PKGREVISION to 2
2006-10-18 22:37:46 +00:00
seb
4b6901040c Remove obsolete patches/patch-mib2cupdate: recently superseded by
patches/patch-et
2006-10-18 15:23:01 +00:00
rillig
45acd6da92 Removed an RCS Id. 2006-10-11 19:22:02 +00:00
rillig
5ade40731f Fixed "test ==". 2006-10-11 19:15:19 +00:00
seb
66cee1c2f5 Fix a NetBSD/sparc64 bug: give sysctl() a pointer on a size_t not on an int!
While here check for sysctl() return value.
Now snmpd on NetBSD/sparc64 should report more meaningful values
for OIDs like UCD-SNMP-MIB::memAvailReal.0.

Bump PKGREVISION.
2006-10-02 00:09:55 +00:00
seb
0e100bca2b Split LP64 related patch file (patch-ea) from christos@ so that there is
one patched file per patch file.
2006-10-01 20:08:29 +00:00
joerg
091bb3e133 Don't use bmake feature in Makefile, use MAKE_ENV instead. 2006-09-24 15:04:35 +00:00
christos
419f650d42 Fix a crapload of 64 bit inconsistencies (int <-> ptr, int * <-> size_t *)
This now has a chance to work on sparc64.
2006-09-15 20:13:53 +00:00
ghen
48e5bd9779 Advertize NET_SNMP_SYS_CONTACT, NET_SNMP_SYS_LOCATION, NET_SNMP_PERSISTENTDIR
and NET_SNMP_MIBDIRS as being user-settable.
2006-09-14 15:48:27 +00:00
joerg
2002ad978d Revive patch-dt for the sake of DragonFly. 2006-08-22 14:06:32 +00:00
adam
9740c2ae4e DiskIO fix, courtesy of Jan Andres 2006-08-11 20:40:36 +00:00
adam
da3267e55c Fix building on Darwin (and some other platforms?) 2006-07-30 06:38:10 +00:00
adam
f0c239fe26 Changes 5.3.1:
snmpd:
   - fix trap processing from SMUX peers
   - fix disman/event monitoring crashes
   - fix bug 1399369: ifNumber broken
   - fix re-init of daemons after SIGHUP
 snmptrapd:
   - fix bug 1420758/1458815: snmptrapd aborts/loops in select()
   - fix re-init of daemons after SIGHUP
 snmplib:
   - fix OID lookups for fully qualified object names (eg .iso.org)
 snmpusm:
   - performance improvement when changing localized keys
 perl:
   - The perl modules now check to make sure they're building
     against the proper Net-SNMP version.
 misc:
   - Coverity fixes
2006-07-29 16:48:27 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
joerg
fd31ddbaf6 Export OPSYS explicitly. This worked before, but according to PR 33931
it got broken.
2006-07-06 18:13:08 +00:00
christos
c39f292a69 regen 2006-06-19 13:46:36 +00:00