diff --git a/sysutils/logstash-forwarder/Makefile b/sysutils/logstash-forwarder/Makefile index 593acfb7ce3f..b941fae74439 100644 --- a/sysutils/logstash-forwarder/Makefile +++ b/sysutils/logstash-forwarder/Makefile @@ -2,6 +2,7 @@ PORTNAME= logstash-forwarder PORTVERSION= 0.4.0.20150507 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= cheffo@freebsd-bg.org @@ -9,7 +10,7 @@ COMMENT= Collect logs locally in preparation for processing elsewhere! LICENSE= APACHE20 -BROKEN= fails to build +DEPRECATED= Migrate to sysutils/beats BUILD_DEPENDS= go:lang/go diff --git a/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go b/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go index c4f3ee4c80d3..df9c499977cf 100644 --- a/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go +++ b/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go @@ -8,7 +8,7 @@ + "syscall" +) + -+func file_ids(info *os.FileInfo) (uint32, uint32) { ++func file_ids(info *os.FileInfo) (uint64, uint64) { + fstat := (*(info)).Sys().(*syscall.Stat_t) + return fstat.Ino, fstat.Dev +} diff --git a/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go b/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go index 74cb738c9f0f..55ba977e92af 100644 --- a/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go +++ b/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go @@ -6,6 +6,6 @@ +type FileState struct { + Source *string `json:"source,omitempty"` + Offset int64 `json:"offset,omitempty"` -+ Inode uint32 `json:"inode,omitempty"` -+ Device uint32 `json:"device,omitempty"` ++ Inode uint64 `json:"inode,omitempty"` ++ Device uint64 `json:"device,omitempty"` +}