pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils Update sysutils/*collectd* to 5.8.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e57becb7919d
branches:  trunk
changeset: 371759:e57becb7919d
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Nov 21 15:18:22 2017 +0000

description:
Update sysutils/*collectd* to 5.8.0.

Temporarily disable the processes plugin for NetBSD, until the patch
is rewritten to build again.

Upstream changes since 5.7.2:

- collectd: The core daemon is now completely licensed under the MIT
  license.
- collectd: Added daemon option to avoid making BaseDir.
- collectd: Global variables have been moved to their own module to
  make porting collectd easier.
- collectd as well as Apache, memcached, OpenLDAP, Perl, RouterOS,
  SNMP, Tail-CSV plugins: Free userdata for
  "plugin_register_complex_read()".
- Collectd client library: Added parsing and server code.
- Build system: Dependency on libltdl has been removed, support for
  libtool 1 has been dropped.
- Build system: The build system has been switched to non-recursive
  make.
- APC UPS plugin: The plugin's configuration is now optional. Without
  a "<Plugin />" block reasonable defaults will be used.
- Chrony plugin: Several issues found when working with a stratum-1
  server have been fixed.
- Ceph plugin: Support for the Ceph version "Luminous" has been added.
- CPU plugin : Linux-specific "guest" states have been added.
- cURL plugin, cURL-JSON, cURL-XML, DBI, FileCount, memcachec, Oracle,
  PostgreSQL, Table, Tail, Tail CSV plugins: The ability to configure
  the "plugin" field of generated metrics has been added.
- cURL-JSON plugin: Parsing of arrays has been fixed.
- DPDKEvents plugin: This new plugin reports link status and keep
  alive events.
- DPDKStat plugin: The plugin has been refactored to make DPDK related
  utility functions reusable.
- DPDKStat plugin: The "LogLevel" and "RteDriverLibPath" config
  options have been added.
- Email plugin as well as Exec and Unixsock plugins: Use
  "_SC_GETPW_R_SIZE_MAX".
- FileCount plugin: Custom values for reported plugin, type and type
  instance.
- GenericJMX plugin: Support for "AtomicInteger" and "AtomicLong" has
  been added.
- gRPC plugin: Support for meta data has been added.
- IPC plugin: Fixed failed compilation on AIX.
- Intel PMU plugin: This new plugin collects CPU performance metrics
  using Intel's Performance Monitoring Unit (PMU). Scaling information
  added to metadata.
- Intel RDT plugin: Support for collectd's logging infrastructure has
  been added. PQoS monitoring groups are being reset on start-up to
  fix potential previous unclean shutdowns.
- IPMI plugin: Support for System Event Log (SEL) has been added.
- IPMI plugin: Support for remote IPMI controllers has been added.
- LVM plugin: A check for the "CAP_SYS_ADMIN" capability has been
  added. This will give users an informative warning when the process
  is not running with the required privileges for this plugin.
- mcelog plugin: This new plugin subscribes to Machine Check
  Exceptions (MCE) and dispatches notifications. Metadata reset.
- MQTT plugin: Add support for TLS in "Subscriber" blocks.
- memcached plugin: Persistent connections have been implemented. Fix
  hit ratio reporting, add connections rate report.
- memcached plugin: The type of the "listen_disabled" metric has been
  changed to "total_events".
- Netlink plugin: The dropped packets metric has been added.
- NFS plugin: Support for NFS 4.2 metrics has been added.
- NFS plugin: Config options to ignore specified NFS versions have
  been added.
- NUT plugin: The "ConnectTimeout", "ForceSSL", "VerifyPeer" and
  "CAPath" options have been added.
- OpenLDAP plugin: A segfault after a connection failure has been
  fixed.
- Openvpn plugin: Added support for status files from latest
  OpenVPN-2.4 and possible from future versions.
- OVS Events plugin: This new plugin reports link state changes from
  Open vSwitch (OVS).
- OVS Stats plugin: This new plugin reports bridge / interface
  statistics from Open vSwitch (OVS).
- Perl plugin: Bugfix, added check of proper interpreter
  initialization.
- PostgreSQL plugin: The plugin now sets the "application_name"
  parameter when connecting to the database.
- Processes plugin: The I/O operations reported for selected processes
  has been fixed. The metric "ps_disk_octets" has been renamed to
  "io_octets" because it actually contains the number of I/O operation
  by the process, not just disk related I/O. Same for "io_ops"
  (previously "ps_disk_ops"). The new metric "disk_octets" has been
  added and is reporting disk I/O only. Add option to collect the count
  of active memory maps for Linux processes. The "CollectFileDescriptor"
  and "CollectContextSwitch" options have been added.
- Processes and TCPConns plugins: The OpenBSD implementation has been
  changed to use "kvm_openfiles" with "KVM_NO_FILES".
- Python plugin: Extend Notification class to include metadata.
- Python plugin: The "CollectdException" class has been added. This
  allows to throw an exception without a stack trace being logged.
- Sensors plugin: Support for (electrical) current has been added.
- SNMP plugin: Error handling has been improved: a potential
  double-free is now avoided (potentially leaking memory) and handling
  of non-failing subtrees has been fixed.
- SNMP plugin: The "Timeout" and "Retries" config options have been
  added.
- SNMP Agent plugin: This new plugin implements an SNMP AgentX
  subagent that receives and handles queries from SNMP master agent
  and returns configured metrics.
- Synproxy plugin: This new plugin provides statistics for Linux
  SYNPROXY.
- Tail plugin: Allow the calculation of several distributions in one
  "tail" instance through a "bucket" type.
- Turbostat plugin: Import "msr-index.h" header from Linux and better
  support for mutliple packages.
- Uptime plugin: Changed implementation to read from "/proc/uptime"
  instead of "/proc/stat". Update for Linux and AIX, uptime is read
  directly using a system call. Update for BSD and Solaris, uptime is
  calculated by subtracting boot time from current time.
- UUID plugin: Support for libhal has been removed.
- Varnish plugin: Extended the varnish plugin with varnish-plus
  counters. Fixed invalid data source type.
- virt plugin: The plugin has been updated to use
  "virConnectListAllDomains()".
- virt plugin: Support for domain tags has been added.
- virt plugin: Connection handling has been improved.
- virt plugin: Many metrics have been added, including disk,
  hypervisor CPU usage, performance monitoring events, domain state,
  CPU pinning (affinity), file system, and job statistics.
- Write Graphite plugin: Additional tests have been added.
- Write HTTP plugin: The "Attribute" and "TTL" options for the
  KairosDB format have been added. Implementation of "Prefix" option.
- Write MongoDB plugin: Memory leaks have been fixed.
- Write Prometheus plugin: Label values are now properly escaped.
- Write Redis plugin: Add "max_set_duration" to set duration for
  value.
- Write Riemann plugin: Export times with microsecond resolution.
- Write TSDB plugin: The options "ResolveInterval" and "ResolveJitter"
  have been added to control DNS lookup behavior. This prevents DNS
  flooding in case TSDB is not available.
- ZFS ARC plugin: Header lines are now ignored in the Linux
  implementation.

diffstat:

 sysutils/collectd-curl/Makefile                                        |   3 +-
 sysutils/collectd/Makefile.common                                      |  11 +--
 sysutils/collectd/PLIST                                                |   5 +-
 sysutils/collectd/distinfo                                             |  34 ++++----
 sysutils/collectd/options.mk                                           |   6 +-
 sysutils/collectd/patches/patch-Makefile.am                            |  32 +++++++-
 sysutils/collectd/patches/patch-configure.ac                           |  36 ++++++---
 sysutils/collectd/patches/patch-src_Makefile.am                        |  28 -------
 sysutils/collectd/patches/patch-src_daemon_Makefile.am                 |  15 ----
 sysutils/collectd/patches/patch-src_daemon_collectd.c                  |  14 +++
 sysutils/collectd/patches/patch-src_daemon_common.h                    |  17 ++++
 sysutils/collectd/patches/patch-src_disk.c                             |  10 +-
 sysutils/collectd/patches/patch-src_entropy.c                          |   6 +-
 sysutils/collectd/patches/patch-src_irq.c                              |  10 +-
 sysutils/collectd/patches/patch-src_libcollectclient_network__buffer.c |   7 +-
 sysutils/collectd/patches/patch-src_lua.c                              |  16 ++--
 sysutils/collectd/patches/patch-src_memory.c                           |   6 +-
 sysutils/collectd/patches/patch-src_swap.c                             |  18 ++--
 sysutils/collectd/patches/patch-src_tcpconns.c                         |  10 +-
 sysutils/p5-collectd/Makefile                                          |  12 +--
 20 files changed, 152 insertions(+), 144 deletions(-)

diffs (truncated from 672 to 300 lines):

diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd-curl/Makefile
--- a/sysutils/collectd-curl/Makefile   Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd-curl/Makefile   Tue Nov 21 15:18:22 2017 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2017/08/24 20:03:39 adam Exp $
+# $NetBSD: Makefile,v 1.10 2017/11/21 15:18:23 fhajny Exp $
 
 COLLECTD_PACKAGE=      curl
 COLLECTD_PLUGINS=      curl curl_json curl_xml apache bind nginx write_http
 
 COMMENT=               Statistics collection daemon - curl-based plugins
-PKGREVISION=           1
 
 .include "../../sysutils/collectd/Makefile.common"
 
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/Makefile.common
--- a/sysutils/collectd/Makefile.common Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd/Makefile.common Tue Nov 21 15:18:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2017/06/14 13:42:53 fhajny Exp $
+# $NetBSD: Makefile.common,v 1.16 2017/11/21 15:18:22 fhajny Exp $
 #
 # used by sysutils/collectd/Makefile
 # used by sysutils/collectd-amqp/Makefile
@@ -16,7 +16,7 @@
 # used by sysutils/p5-collectd/Makefile
 # used by sysutils/py-collectd/Makefile
 
-DISTNAME=      collectd-5.7.2
+DISTNAME=      collectd-5.8.0
 MASTER_SITES=  http://collectd.org/files/
 CATEGORIES=    sysutils
 EXTRACT_SUFX=  .tar.bz2
@@ -40,9 +40,7 @@
 
 COLLECTD_PLUGINS?=     ${COLLECTD_PACKAGE:S/-/_/}
 
-BUILD_DIRS=            src
 BUILD_TARGET=          ${COLLECTD_PLUGINS:S/$/.la/}
-INSTALL_DIRS=          src
 INSTALL_TARGET=                install-pkglibLTLIBRARIES
 .  for plugin in ${COLLECTD_PLUGINS}
 CONFIGURE_ARGS+=       --enable-${plugin}
@@ -90,10 +88,5 @@
 pre-configure:
        cd ${WRKSRC} && autoreconf
 
-# Dirty, but needed by several plugin sub-packages
-pre-build:
-       cd ${WRKSRC}/src/daemon && ${BUILD_MAKE_CMD} ${MAKE_FLAGS} \
-                libcommon.la libmetadata.la
-
 .include "../../devel/libltdl/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/PLIST
--- a/sysutils/collectd/PLIST   Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd/PLIST   Tue Nov 21 15:18:22 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2016/10/13 15:17:28 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.8 2017/11/21 15:18:22 fhajny Exp $
 bin/collectd-nagios
 bin/collectd-tg
 bin/collectdctl
@@ -6,6 +6,9 @@
 include/collectd/lcc_features.h
 include/collectd/network.h
 include/collectd/network_buffer.h
+include/collectd/network_parse.h
+include/collectd/server.h
+include/collectd/types.h
 lib/collectd/aggregation.la
 lib/collectd/apcups.la
 ${PLIST.apple-sensors}lib/collectd/apple_sensors.la
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/distinfo
--- a/sysutils/collectd/distinfo        Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd/distinfo        Tue Nov 21 15:18:22 2017 +0000
@@ -1,26 +1,26 @@
-$NetBSD: distinfo,v 1.39 2017/07/26 12:47:35 alnsn Exp $
+$NetBSD: distinfo,v 1.40 2017/11/21 15:18:22 fhajny Exp $
 
-SHA1 (collectd-5.7.2.tar.bz2) = b27074fc363d942c8aee2f05baed0395a20c86d0
-RMD160 (collectd-5.7.2.tar.bz2) = 81860b4fba7cf05b8eca19913ffe05d06b37e1a2
-SHA512 (collectd-5.7.2.tar.bz2) = 8844b67159f8da2203b5ac57ef19fce0a01050a016174d196b48b5fb24925ad2935af9bdd9af06097ff663499abc496cdcc2d9e9a10f403f8d707c465c1a88f3
-Size (collectd-5.7.2.tar.bz2) = 1798777 bytes
-SHA1 (patch-Makefile.am) = ed45b75293a4ea2dd577d04eeb3b9017b8f47319
-SHA1 (patch-configure.ac) = f450d6b00e5c7c37214b4d90ca057c515ed08fa1
-SHA1 (patch-src_Makefile.am) = 1d5cc2f58ce776df04feab2afc937f12ee7b0765
+SHA1 (collectd-5.8.0.tar.bz2) = eb3567563de471e1950b7388e8883b911be3756a
+RMD160 (collectd-5.8.0.tar.bz2) = 7b812b1046d57a9047213bb182b8744d98606547
+SHA512 (collectd-5.8.0.tar.bz2) = 1b3d0cc44e2ca54e13eebf292074f1efa8b33d6800d04405e0eaaa2dd1cb2416c6eae580729fb5aead23a5039f41ffe8a9989a907a8c18be8f867f1099fc0008
+Size (collectd-5.8.0.tar.bz2) = 1686017 bytes
+SHA1 (patch-Makefile.am) = 88442293d3bba24c1504eea5a27e2fcb8cfb59b9
+SHA1 (patch-configure.ac) = a0186e11a681cafdcf9ac2d31759259f69c4737f
 SHA1 (patch-src_collectd.conf.in) = f0b35085cf0ddfd766e140b145177ab1f1326f5f
 SHA1 (patch-src_cpu.c) = e645ae6b05c051c3c878f88a493fbbd7d548bb66
-SHA1 (patch-src_daemon_Makefile.am) = e38d465faf8bdd750fd9cb7f0bd9f041fcc8f83c
+SHA1 (patch-src_daemon_collectd.c) = 155da2fde889e961719fe6be47aa7fc25199fbe7
+SHA1 (patch-src_daemon_common.h) = d1ef6a5257156a864bf896629870f0f83a858cff
 SHA1 (patch-src_df.c) = 5c6549cd9ec72efed5cdb7d8dd9297c50491426e
-SHA1 (patch-src_disk.c) = 1d458db9753be9c8ad1ae5edb3468acf7419a66b
-SHA1 (patch-src_entropy.c) = 293e7105866b9b7c3eb5058dc314eaa510899843
-SHA1 (patch-src_irq.c) = 78f1757ff2ed6db9fb1d0e773c2a01eb190d53a0
-SHA1 (patch-src_libcollectclient_network__buffer.c) = 62924943831e6d0585b103e567888f9af5c46f9e
-SHA1 (patch-src_lua.c) = 83e5db00adee0636c46b22541d7e016826c2fcd2
-SHA1 (patch-src_memory.c) = 2934cd50e454fc14d0ec952854c88b0a830fa9a7
+SHA1 (patch-src_disk.c) = 6b51454f88ef728abd22cdae5fdd7a81289d502c
+SHA1 (patch-src_entropy.c) = f20ad4ce2e968ba0b20bb13aa00771fc424562fd
+SHA1 (patch-src_irq.c) = 18106e9051ec344b0d45a23814eae5ba3be2f908
+SHA1 (patch-src_libcollectclient_network__buffer.c) = a19e1658017279c35fd9860e2ab855081bad8327
+SHA1 (patch-src_lua.c) = 656934889976f489abb80a8244492f845a3bd9f8
+SHA1 (patch-src_memory.c) = 3276b09d0c09e0a9446519bd6c304d95c30b617a
 SHA1 (patch-src_netstat__udp.c) = 30cb12d25f56c60959658dbd181783212e00cc61
 SHA1 (patch-src_processes.c) = 3dd8510bfd0d25051f30519f62d638536c45a6e2
 SHA1 (patch-src_statsd.c) = 35f4349d2d2c9bddc0f4770344f969157cd012f6
-SHA1 (patch-src_swap.c) = 24da6e04e3006639311e8111f26f72e4fab4054a
-SHA1 (patch-src_tcpconns.c) = b85de1d0eb03989df12d9688b38d61733a13c028
+SHA1 (patch-src_swap.c) = 98984dc7c6eee4f17b2f291124431172b06aa6c2
+SHA1 (patch-src_tcpconns.c) = 0469ffe477ae96a79e4fd28c4428a1e7682e9461
 SHA1 (patch-src_utils__dns.c) = 138a3168dc109d785412ffd068edab3b4dacca36
 SHA1 (patch-src_utils__format__kairosdb.c) = 2f7bde47682d2b877f9bd2d2c794a21c297aa9e5
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/options.mk
--- a/sysutils/collectd/options.mk      Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd/options.mk      Tue Nov 21 15:18:22 2017 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: options.mk,v 1.9 2017/01/19 17:20:42 he Exp $
+# $NetBSD: options.mk,v 1.10 2017/11/21 15:18:22 fhajny Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.collectd
 PKG_SUPPORTED_OPTIONS= cpu df interface load memory syslog uptime
 PKG_SUGGESTED_OPTIONS+=        cpu df interface load memory syslog uptime
 
 PKG_SUPPORTED_OPTIONS.NetBSD+= contextswitch disk entropy irq pf netstat_udp
-PKG_SUPPORTED_OPTIONS.NetBSD+= swap tcpconns users processes
+PKG_SUPPORTED_OPTIONS.NetBSD+= swap tcpconns users # processes
 PKG_SUGGESTED_OPTIONS.NetBSD+= contextswitch disk entropy irq pf netstat_udp
-PKG_SUGGESTED_OPTIONS.NetBSD+= swap tcpconns users processes
+PKG_SUGGESTED_OPTIONS.NetBSD+= swap tcpconns users # processes
 
 PKG_SUPPORTED_OPTIONS.FreeBSD+=        contextswitch pf processes swap tcpconns zfs-arc
 PKG_SUGGESTED_OPTIONS.FreeBSD+=        contextswitch pf processes swap tcpconns zfs-arc
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/patches/patch-Makefile.am
--- a/sysutils/collectd/patches/patch-Makefile.am       Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd/patches/patch-Makefile.am       Tue Nov 21 15:18:22 2017 +0000
@@ -1,15 +1,37 @@
-$NetBSD: patch-Makefile.am,v 1.1 2015/08/18 07:47:46 he Exp $
+$NetBSD: patch-Makefile.am,v 1.2 2017/11/21 15:18:23 fhajny Exp $
 
 Use other data directory.
 
---- Makefile.am.orig   2015-03-09 09:38:22.000000000 +0000
+--- Makefile.am.orig   2017-11-18 09:03:27.326751649 +0000
 +++ Makefile.am
-@@ -8,7 +8,7 @@ EXTRA_DIST = contrib version-gen.sh
+@@ -165,7 +165,7 @@ AM_CPPFLAGS = \
+       -DPREFIX='"${prefix}"' \
+       -DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"' \
+       -DLOCALSTATEDIR='"${localstatedir}"' \
+-      -DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"' \
++      -DPKGLOCALSTATEDIR='"${localstatedir}/db/${PACKAGE_NAME}"' \
+       -DPLUGINDIR='"${pkglibdir}"' \
+       -DPKGDATADIR='"${pkgdatadir}"'
+ 
+@@ -1205,6 +1205,12 @@ netlink_la_LDFLAGS = $(PLUGIN_LDFLAGS)
+ netlink_la_LIBADD = $(BUILD_WITH_LIBMNL_LIBS)
+ endif
+ 
++if BUILD_PLUGIN_NETSTAT_UDP
++pkglib_LTLIBRARIES += netstat_udp.la
++netstat_udp_la_SOURCES = src/netstat_udp.c
++netstat_udp_la_LDFLAGS = $(PLUGIN_LDFLAGS)
++endif
++
+ if BUILD_PLUGIN_NETWORK
+ pkglib_LTLIBRARIES += network.la
+ network_la_SOURCES = \
+@@ -1964,7 +1970,7 @@ endif
  
  install-exec-hook:
        $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run
 -      $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/$(PACKAGE_NAME)
 +      $(mkinstalldirs) $(DESTDIR)$(localstatedir)/db/$(PACKAGE_NAME)
        $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log
- 
- maintainer-clean-local:
+       $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+       if test -e $(DESTDIR)$(sysconfdir)/collectd.conf; \
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/patches/patch-configure.ac
--- a/sysutils/collectd/patches/patch-configure.ac      Tue Nov 21 10:34:48 2017 +0000
+++ b/sysutils/collectd/patches/patch-configure.ac      Tue Nov 21 15:18:22 2017 +0000
@@ -1,36 +1,44 @@
-$NetBSD: patch-configure.ac,v 1.10 2016/10/13 15:17:28 fhajny Exp $
+$NetBSD: patch-configure.ac,v 1.11 2017/11/21 15:18:23 fhajny Exp $
 
 Add KERNEL_NETBSD, add entry and disk plugins for NetBSD,
 and also do swap for "have_swapctl_three_args" (as for NetBSD).
 Also, the start of process support, but that's not yet finished.
 
---- configure.ac.orig  2016-09-11 08:10:25.243038749 +0000
+--- configure.ac.orig  2017-11-18 09:03:27.330751467 +0000
 +++ configure.ac
-@@ -147,6 +147,7 @@ AM_CONDITIONAL([BUILD_DARWIN], [test "x$
+@@ -1,6 +1,6 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_PREREQ([2.60])
+-AC_INIT([collectd],[m4_esyscmd(./version-gen.sh)])
++AC_INIT([collectd],[5.8.0])
+ AC_CONFIG_SRCDIR(src/target_set.c)
+ AC_CONFIG_HEADERS(src/config.h)
+ AC_CONFIG_AUX_DIR([build-aux])
+@@ -110,6 +110,7 @@ AM_CONDITIONAL([BUILD_DARWIN], [test "x$
  AM_CONDITIONAL([BUILD_FREEBSD], [test "x$ac_system" = "xFreeBSD"])
  AM_CONDITIONAL([BUILD_LINUX], [test "x$ac_system" = "xLinux"])
  AM_CONDITIONAL([BUILD_OPENBSD], [test "x$ac_system" = "xOpenBSD"])
 +AM_CONDITIONAL([BUILD_NETBSD], [test "x$ac_system" = "xNetBSD"])
  AM_CONDITIONAL([BUILD_SOLARIS], [test "x$ac_system" = "xSolaris"])
  
- if test "x$ac_system" = "xLinux"
-@@ -5717,6 +5718,7 @@ plugin_load="no"
- plugin_log_logstash="no"
+ if test "x$ac_system" = "xSolaris"; then
+@@ -6136,6 +6137,7 @@ plugin_log_logstash="no"
+ plugin_mcelog="no"
  plugin_memory="no"
  plugin_multimeter="no"
 +plugin_netstat_udp="no"
  plugin_nfs="no"
  plugin_numa="no"
- plugin_perl="no"
-@@ -5803,6 +5805,7 @@ then
-       plugin_entropy="yes"
-       plugin_irq="yes"
-       plugin_processes="yes"
-+        plugin_netstat_udp="yes"
+ plugin_ovs_events="no"
+@@ -6229,6 +6231,7 @@ if test "x$ac_system" = "xNetBSD"; then
+   plugin_entropy="yes"
+   plugin_irq="yes"
+   plugin_processes="yes"
++  plugin_netstat_udp="yes"
  fi
  
  # Mac OS X devices
-@@ -6194,6 +6197,7 @@ AC_PLUGIN([multimeter],          [$plugi
+@@ -6568,6 +6571,7 @@ AC_PLUGIN([multimeter],          [$plugi
  AC_PLUGIN([mysql],               [$with_libmysql],          [MySQL statistics])
  AC_PLUGIN([netapp],              [$with_libnetapp],         [NetApp plugin])
  AC_PLUGIN([netlink],             [$with_libmnl],            [Enhanced Linux network statistics])
@@ -38,7 +46,7 @@
  AC_PLUGIN([network],             [yes],                     [Network communication plugin])
  AC_PLUGIN([nfs],                 [$plugin_nfs],             [NFS statistics])
  AC_PLUGIN([nginx],               [$with_libcurl],           [nginx statistics])
-@@ -6624,6 +6628,7 @@ AC_MSG_RESULT([    multimeter  . . . . .
+@@ -6987,6 +6991,7 @@ AC_MSG_RESULT([    multimeter  . . . . .
  AC_MSG_RESULT([    mysql . . . . . . . . $enable_mysql])
  AC_MSG_RESULT([    netapp  . . . . . . . $enable_netapp])
  AC_MSG_RESULT([    netlink . . . . . . . $enable_netlink])
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/patches/patch-src_Makefile.am
--- a/sysutils/collectd/patches/patch-src_Makefile.am   Tue Nov 21 10:34:48 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-src_Makefile.am,v 1.3 2016/10/13 15:17:28 fhajny Exp $
-
-Install config file in example directory.
-
---- src/Makefile.am.orig       2016-09-11 08:10:25.251038738 +0000
-+++ src/Makefile.am
-@@ -10,7 +10,7 @@ AM_CPPFLAGS = -I$(srcdir)/daemon
- AM_CPPFLAGS += -DPREFIX='"${prefix}"'
- AM_CPPFLAGS += -DCONFIGFILE='"${sysconfdir}/${PACKAGE_NAME}.conf"'
- AM_CPPFLAGS += -DLOCALSTATEDIR='"${localstatedir}"'
--AM_CPPFLAGS += -DPKGLOCALSTATEDIR='"${localstatedir}/lib/${PACKAGE_NAME}"'
-+AM_CPPFLAGS += -DPKGLOCALSTATEDIR='"${localstatedir}/db/${PACKAGE_NAME}"'
- if BUILD_FEATURE_DAEMON
- AM_CPPFLAGS += -DPIDFILE='"${localstatedir}/run/${PACKAGE_NAME}.pid"'
- endif
-@@ -737,6 +737,12 @@ netlink_la_CFLAGS = $(AM_CFLAGS) $(BUILD
- netlink_la_LIBADD = $(BUILD_WITH_LIBMNL_LIBS)
- endif
- 
-+if BUILD_PLUGIN_NETSTAT_UDP
-+pkglib_LTLIBRARIES += netstat_udp.la
-+netstat_udp_la_SOURCES = netstat_udp.c
-+netstat_udp_la_LDFLAGS = $(PLUGIN_LDFLAGS)
-+endif
-+
- if BUILD_PLUGIN_NETWORK
- pkglib_LTLIBRARIES += network.la
- network_la_SOURCES = network.c network.h \
diff -r 1c273b37dd7b -r e57becb7919d sysutils/collectd/patches/patch-src_daemon_Makefile.am
--- a/sysutils/collectd/patches/patch-src_daemon_Makefile.am    Tue Nov 21 10:34:48 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_daemon_Makefile.am,v 1.1 2016/10/13 15:17:28 fhajny Exp $
-
-Use other data directory.
-
---- src/daemon/Makefile.am.orig        2016-10-07 06:49:37.631866621 +0000
-+++ src/daemon/Makefile.am
-@@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src
- AM_CPPFLAGS += -DPREFIX='"${prefix}"'



Home | Main Index | Thread Index | Old Index