pkgsrc/sysutils/collectd/Makefile
fhajny 87ebffd3b1 Update sysutils/collectd to 5.7.2.
- Build system: The Notify Email plugin is no longer linked with
  indirect dependencies.
- collectd: A race condition when calculating a metric's rate has been
  fixed.
- AMQP, Exec, UnixSock, Write Kafka plugins: Parsing of the PUTVAL
  command with multiple values has been fixed.
- AMQP plugin: The "ExchangeType" option is now also valid for
  publishers.
- BIND plugin: Fix parsing of the sample time provided by BIND.
  Previously, the time was assumed to be in the local timezone when in
  fact it was in UTC.
- BIND plugin: Memory leaks have been fixed.
- cURL-JSON plugin: Handling of arrays has been fixed.
- DPDKStat plugin: Error handling during initialization has been
  improved.
- DPDKStat plugin: Handling of a number of metrics has been improved,
  for example "rx_q0bytes".
- Intel RDT plugin: Configuration handling has been changed to be more
  graceful.
- Log Logstash plugin: If writing the log entry fails, print it to
  "STDERR" instead.
- LogFile plugin: If writing to the file fails, print log messages on
  "STDERR" instead.
- memcachec, Tail plugins: A resource leak in the matching
  infrastructure has been fixed.
- MQTT plugin: Invalid symbols in topic names are now replaced and a
  resource leak has been fixed.
- Network plugin: A potential endless-loop has been fixed. This can be
  triggered remotely by sending a signed network packet to a server
  which is not set up to check signatures.
- Perl plugin: A potential double-free has been fixed.
- Processes plugin: A compilation error on AIX has been fixed.
- SMART plugin: A check for the "CAP_SYS_RAWIO" capability has been
  added.
- Write Graphite plugin: Error handling in the case that calculating a
  metric's rate fails has been improved. Previously, the raw counter
  values were sent to Graphite.
- Write Prometheus plugin: An incorrect use of "realloc(3)" has been
  fixed.
2017-06-14 13:42:53 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2017/06/14 13:42:53 fhajny Exp $
.include "../../sysutils/collectd/Makefile.common"
COMMENT= Statistics collection daemon base
RCD_SCRIPTS= collectd
.include "../../mk/bsd.prefs.mk"
# Simple plugins that have no dependencies
DEFAULT_PLUGINS+= aggregation apcups csv email exec filecount \
hddtemp logfile match_empty_counter match_hashed\
match_regex match_timediff match_value mbmon \
ntpd olsrd openvpn powerdns statsd table tail \
tail_csv target_notification target_replace \
target_scale target_set target_v5upgrade \
teamspeak2 threshold unixsock uuid write_graphite
.for option in ${DEFAULT_PLUGINS}
CONFIGURE_ARGS+= --enable-${option}
.endfor
# Several libs not generated in time for linking collectd
MAKE_JOBS_SAFE= no
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/collectd
.include "options.mk"
CONF_FILES+= share/examples/collectd/collectd.conf \
${PKG_SYSCONFDIR}/collectd.conf
BUILD_DEFS+= VARBASE
OWN_DIRS+= ${VARBASE}/db/collectd
COLLECTD_USER?= collectd
COLLECTD_GROUP?= ${COLLECTD_USER}
PKG_USERS_VARS+= COLLECTD_USER
PKG_GROUPS_VARS+= COLLECTD_GROUP
PKG_GROUPS= ${COLLECTD_GROUP}
PKG_USERS= ${COLLECTD_USER}:${COLLECTD_GROUP}
PKG_GECOS.${COLLECTD_USER}= collectd unprivileged user
.include "../../mk/bsd.pkg.mk"