- Unbreak with latest version of go
- Add deprecation notice - Bump PORTREVISION
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
+}
|
||||
|
||||
@@ -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"`
|
||||
+}
|
||||
|
||||
Reference in New Issue
Block a user