pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/beats Update sysutils/beats to 5.4.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a956d74d950
branches:  trunk
changeset: 362308:5a956d74d950
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu May 11 08:48:27 2017 +0000

description:
Update sysutils/beats to 5.4.0.

==== Bugfixes

Affecting all Beats

- Improve error message when downloading the dashboards fails.
- Fix potential Elasticsearch output URL parsing error if protocol
  scheme is missing.
- Downgrade Elasticsearch per batch item failure log to debug level.
- Make `@timestamp` accessible from format strings.

Filebeat

- Allow log lines without a program name in the Syslog fileset.
- Don't stop Filebeat when modules are used with the Logstash output.

Metricbeat

- Fixing panic on the Prometheus collector when label has a comma.
- Make system process metricset honor the `cpu_ticks` config option.

Winlogbeat

- Fix null terminators include in raw XML string when include_xml is
  enabled.

==== Added

Affecting all Beats

- Update index mappings to support future Elasticsearch 6.X.

Filebeat

- Add auditd module for reading audit logs on Linux.
- Add fileset for the Linux authorization logs.

Heartbeat

- Add default ports in HTTP monitor.

Metricbeat

- Add beta Jolokia module.
- Add dashboard for the MySQL module.
- Module configuration reloading is now beta instead of experimental.
- Marked http fields from the HAProxy module optional to improve
  compatibility with 1.5.
- Add support for custom HTTP headers and TLS for the Metricbeat
  modules.

Packetbeat

- Add DNS dashboard for an overview the DNS traffic.
- Add DNS Tunneling dashboard to highlight domains with large numbers
  of subdomains or high data volume.

diffstat:

 sysutils/beats/Makefile |  19 +++++++++----------
 sysutils/beats/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 15 deletions(-)

diffs (71 lines):

diff -r e991eb277651 -r 5a956d74d950 sysutils/beats/Makefile
--- a/sysutils/beats/Makefile   Thu May 11 08:36:40 2017 +0000
+++ b/sysutils/beats/Makefile   Thu May 11 08:48:27 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2017/04/28 08:49:32 fhajny Exp $
+# $NetBSD: Makefile,v 1.10 2017/05/11 08:48:27 fhajny Exp $
 #
 
-DISTNAME=              beats-5.3.2
+DISTNAME=              beats-5.4.0
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=elastic/}
 GITHUB_PROJECT=                beats
@@ -12,13 +12,11 @@
 COMMENT=               Data Shippers for Elasticsearch
 LICENSE=               apache-2.0
 
-.include "../../lang/go/version.mk"
-BUILD_DEPENDS+=                go-${GO_VERSION}*:../../lang/go
-
 EXTRACT_USING=         bsdtar
 USE_TOOLS+=            gmake
 
-WRKSRC=                        ${WRKDIR}/src/github.com/elastic/beats
+GO_DIST_BASE=          ${DISTNAME}
+GO_SRCPATH=            github.com/elastic/beats
 
 # Components to build/install
 BEATS=                 filebeat heartbeat metricbeat packetbeat
@@ -45,14 +43,14 @@
 OWN_DIRS+=             ${BEATS_DIR} ${BEATS_LOGDIR}
 
 MAKE_ENV+=             GOPATH=${WRKDIR}:${PREFIX}/gopkg
-BUILD_DIRS=            ${BEATS}
 BUILD_TARGET=          #
 
 INSTALLATION_DIRS+=    bin share/examples/beats
 
-post-extract:
-       ${MKDIR} ${WRKSRC}
-       ${MV} ${WRKDIR}/${DISTNAME}/* ${WRKSRC}
+do-build:
+.for beat in ${BEATS}
+       cd ${WRKSRC}/${beat} && ${BUILD_MAKE_CMD}
+.endfor
 
 do-install:
 .for beat in ${BEATS}
@@ -67,5 +65,6 @@
                ${DESTDIR}${PREFIX}/share/examples/beats
 .endfor
 
+.include "../../lang/go/go-package.mk"
 .include "../../net/libpcap/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e991eb277651 -r 5a956d74d950 sysutils/beats/distinfo
--- a/sysutils/beats/distinfo   Thu May 11 08:36:40 2017 +0000
+++ b/sysutils/beats/distinfo   Thu May 11 08:48:27 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2017/04/28 08:49:32 fhajny Exp $
+$NetBSD: distinfo,v 1.9 2017/05/11 08:48:27 fhajny Exp $
 
-SHA1 (beats-5.3.2.tar.gz) = 0b6669d09bca3b3154c72c9067bf433406c60787
-RMD160 (beats-5.3.2.tar.gz) = 42c88f5cf4689dcb79de2c923f4adeb7327ce654
-SHA512 (beats-5.3.2.tar.gz) = 080d079a063641e3688cc9f1563517e9a314ca834b0fa90fe12d455f984bb83282243736ecf17a7e62214034b71d373afc503d3bc5ff3d106ef5965ce00c3543
-Size (beats-5.3.2.tar.gz) = 17595133 bytes
+SHA1 (beats-5.4.0.tar.gz) = ce1da5966991612bf28db65cf520f871a3699698
+RMD160 (beats-5.4.0.tar.gz) = 3a5257e715aacc54da3a8fb25fbd3d364f5401bd
+SHA512 (beats-5.4.0.tar.gz) = 7249f130a4d0c2bb6797c243a9b57e8f44552c548ad33f48a48463bdd16b3419500688be3d96c426155d2fdda3c94058837bf4fcdc59a849d02230e118699a18
+Size (beats-5.4.0.tar.gz) = 17823310 bytes
 SHA1 (patch-vendor_github.com_tsg_gopacket_pcap_pcap.go) = 2ef13f84cbf2e1da428e7b08625ffa6111ebcdf5



Home | Main Index | Thread Index | Old Index