Commit graph

203 commits

Author SHA1 Message Date
gavan
ab932ec55b net-snmp: Prevent crash on NetBSD/i386
A compiler bug causes incorrect compilation of the NetBSD-specific
code in cpu_sysctl.c. This results in a crash shortly after startup if
the machine has 2 or more CPUs.

Disable optimisation in netsnmp_cpu_arch_load() only.
This works around the problem reported in PR pkg/50939.
2017-10-06 02:39:38 +00:00
adam
1464336594 Fix for macOS High Sierra 2017-07-23 17:43:33 +00:00
ryoon
17cfb59fe1 Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:23:47 +00:00
maya
898b6b15ba Fix compilation on Solaris 11.2.
Patch by Joern Clausen in PR pkg/49984, also committed upstream:
e2ce8bb378/
2017-02-09 09:33:57 +00:00
adam
131c1b9cc6 Fix building on newer macOS 2016-11-25 16:05:07 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
jperkin
13a8dd759b Change the service_bundle name to "export" to reduce diffs between the
original manifest.xml file and the output from "svccfg export".
2016-06-08 10:02:24 +00:00
he
b14545c7e9 Adopt FreeBSD's patches to make this build with perl 5.24, ref.
https://svnweb.freebsd.org/ports/head/net-mgmt/net-snmp/files/patch-perl5.23?view=co
https://rt.perl.org/Public/Bug/Display.html?id=125907#txn-1363270
https://bugs.gentoo.org/show_bug.cgi?id=582368

Bump PKGREVISION.
2016-06-06 14:11:35 +00:00
adam
349f44ff35 Fix for systems with RTF_LLDATA in place of RTF_LLINFO. 2016-04-29 19:47:21 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
2000de6dd8 Use OPSYSVARS. 2016-02-25 16:20:49 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
jperkin
553c215f0e Support Crossbow VNICs. Patch by Ben Rockwood, previously of Joyent.
Bump PKGREVISION.
2015-08-20 13:51:03 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
spz
d4fb12dadb patch from
f23bcd3ac6/
 taking care of (among others) the vulnerability described in
http://www.openwall.com/lists/oss-security/2015/04/13/1
2015-06-08 20:08:57 +00:00
adam
f45cbeac5f Fix buiding py-netsnmp 2015-01-09 14:00:00 +00:00
adam
becbebc9b1 Changes 5.7.3:
Many many bug fixes and minor improvements

snmpd, snmptrapd and apps:
  - Patch 2525: from Ryan Steinmetz: Fix argument length parsing of the
    host resources mib
  - Make ENV_SEPARATOR_CHAR configurable
  - 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.

perl:
  - BUG: 2402: Add support for SNMPv3 traps

Windows:
  - Port batch build infrastructure to Visual Studio 2010 and later
    From Visual Studio 2010 on it is no longer possible to specify
    include or library directories globally - these have to be
    specified per project. Hence two additional menu entries in
    build.bat that allow to specify these directories.
  - Patch from Bart Van Assche to improve cygwin building
2014-12-31 10:06:57 +00:00
adam
e51bab2ec5 Fixed building on OS X 10.10; fixed CVE-2014-3565 2014-11-26 15:45:03 +00:00
gdt
4af0fbb592 Default ssl option to on. 2014-10-12 00:14:45 +00:00
adam
2821149248 Properly link agaist a bunch of frameworks on OS X 2014-08-25 14:31:47 +00:00
adam
3564574b76 Fix building on OS X 10.9 Mavericks 2014-08-22 16:27:18 +00:00
fhajny
7b88ee63ed Add openssl to bl3 if built with the ssl option. 2014-08-10 10:16:24 +00:00
he
27362fef4a Factor out some common settings so they can be shared
with the newly added net/py-netsnmp package.
2014-08-05 12:25:13 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
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