Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 15:29:51 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502120 - in head/sysutils/logstash-forwarder: . files
Message-ID:  <201905201529.x4KFTphp087978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Mon May 20 15:29:51 2019
New Revision: 502120
URL: https://svnweb.freebsd.org/changeset/ports/502120

Log:
  - Unbreak with latest version of go
  - Add deprecation notice
  - Bump PORTREVISION

Modified:
  head/sysutils/logstash-forwarder/Makefile
  head/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go   (contents, props changed)
  head/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go   (contents, props changed)

Modified: head/sysutils/logstash-forwarder/Makefile
==============================================================================
--- head/sysutils/logstash-forwarder/Makefile	Mon May 20 14:56:08 2019	(r502119)
+++ head/sysutils/logstash-forwarder/Makefile	Mon May 20 15:29:51 2019	(r502120)
@@ -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 proce
 
 LICENSE=	APACHE20
 
-BROKEN=		fails to build
+DEPRECATED=	Migrate to sysutils/beats
 
 BUILD_DEPENDS=	go:lang/go
 

Modified: head/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go
==============================================================================
--- head/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go	Mon May 20 14:56:08 2019	(r502119)
+++ head/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go	Mon May 20 15:29:51 2019	(r502120)
@@ -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
 +}

Modified: head/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go
==============================================================================
--- head/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go	Mon May 20 14:56:08 2019	(r502119)
+++ head/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go	Mon May 20 15:29:51 2019	(r502120)
@@ -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"`
 +}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905201529.x4KFTphp087978>