MFH: r502120
- Unbreak with latest version of go - Add deprecation notice - Bump PORTREVISION Approved by: ports-secteam (with hat)
This commit is contained in:
parent
1d7091df9a
commit
2207692e37
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=502121
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= logstash-forwarder
|
PORTNAME= logstash-forwarder
|
||||||
PORTVERSION= 0.4.0.20150507
|
PORTVERSION= 0.4.0.20150507
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
|
|
||||||
MAINTAINER= cheffo@freebsd-bg.org
|
MAINTAINER= cheffo@freebsd-bg.org
|
||||||
@ -9,7 +10,7 @@ COMMENT= Collect logs locally in preparation for processing elsewhere!
|
|||||||
|
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
|
|
||||||
BROKEN= fails to build
|
DEPRECATED= Migrate to sysutils/beats
|
||||||
|
|
||||||
BUILD_DEPENDS= go:lang/go
|
BUILD_DEPENDS= go:lang/go
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
+ "syscall"
|
+ "syscall"
|
||||||
+)
|
+)
|
||||||
+
|
+
|
||||||
+func file_ids(info *os.FileInfo) (uint32, uint32) {
|
+func file_ids(info *os.FileInfo) (uint64, uint64) {
|
||||||
+ fstat := (*(info)).Sys().(*syscall.Stat_t)
|
+ fstat := (*(info)).Sys().(*syscall.Stat_t)
|
||||||
+ return fstat.Ino, fstat.Dev
|
+ return fstat.Ino, fstat.Dev
|
||||||
+}
|
+}
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
+type FileState struct {
|
+type FileState struct {
|
||||||
+ Source *string `json:"source,omitempty"`
|
+ Source *string `json:"source,omitempty"`
|
||||||
+ Offset int64 `json:"offset,omitempty"`
|
+ Offset int64 `json:"offset,omitempty"`
|
||||||
+ Inode uint32 `json:"inode,omitempty"`
|
+ Inode uint64 `json:"inode,omitempty"`
|
||||||
+ Device uint32 `json:"device,omitempty"`
|
+ Device uint64 `json:"device,omitempty"`
|
||||||
+}
|
+}
|
||||||
|
Loading…
Reference in New Issue
Block a user