1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/sysutils/beats7/files/patch-dev-tools_mage_settings.go
Joseph Mingrone c0135729ef sysutils/beats7: Update to 7.9.1
Changelog:
* Bugfixes:
  - Affecting all Beats:
    - Update replicaset group to apps/v1
    - Rename cloud.provider az value to azure inside the add_cloud_metadata
      processor.
    - Add missing country_name geo field in add_host_metadata and
      add_observer_metadata processors.
  - Filebeat:
    - Fix long registry migration times.
    - Fix event types and categories in auditd module to comply with ECS
    - Update documentation in the azure module filebeat.
  - Heartbeat:
    - Stop rescheduling tasks of stopped monitors.
  - Metricbeat:
    - Updates vm_compute metricset with more info on guest metrics.
    - Add fallback for PdhExpandWildCardPathW failing in perfmon metricset.
    - Fix resource tags in aws cloudwatch metricset
    - Fill cloud.account.name with accountID if account alias doesn’t exist.
  - Winlogbeat:
    - Fix duplicated field error when exporting index-pattern with
      migration.6_to_7.enabled.
    - Fix event.outcome in the security module for non-English languages.

* Added:
  - Affecting all Beats:
    - Added support for more message types for Cisco ASA and FTD.

PR:		249109
Submitted by:	Juraj Lutter <juraj@lutter.sk>
2020-09-10 19:30:18 +00:00

21 lines
476 B
Go

--- dev-tools/mage/settings.go.orig 2020-08-22 20:18:50 UTC
+++ dev-tools/mage/settings.go
@@ -30,7 +30,6 @@ import (
"sync"
"time"
- "github.com/magefile/mage/sh"
"github.com/pkg/errors"
"golang.org/x/tools/go/vcs"
@@ -233,7 +232,8 @@ var (
func CommitHash() (string, error) {
var err error
commitHashOnce.Do(func() {
- commitHash, err = sh.Output("git", "rev-parse", "HEAD")
+ err = nil
+ commitHash = "%%BEATSVERSION%%"
})
return commitHash, err
}