git: af3618f09559 - main - sysutils/logstash-forwarder: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Sep 2023 02:24:28 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=af3618f095597ab3cba4a382ffb36a6e3acc4ff2 commit af3618f095597ab3cba4a382ffb36a6e3acc4ff2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-09-30 00:50:42 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-09-30 02:22:57 +0000 sysutils/logstash-forwarder: Remove expired port 2023-09-30 sysutils/logstash-forwarder: Migrate to sysutils/beats8 --- MOVED | 1 + sysutils/Makefile | 1 - sysutils/logstash-forwarder/Makefile | 26 ---------------- sysutils/logstash-forwarder/distinfo | 2 -- .../logstash-forwarder/files/logstash-forwarder.in | 31 ------------------- .../files/patch-fileinfo_freebsd.go | 14 --------- .../files/patch-filestate_freebsd.go | 11 ------- sysutils/logstash-forwarder/files/pkg-message.in | 35 ---------------------- sysutils/logstash-forwarder/pkg-descr | 7 ----- sysutils/logstash-forwarder/pkg-plist | 2 -- 10 files changed, 1 insertion(+), 129 deletions(-) diff --git a/MOVED b/MOVED index 2f6bbf81ad9d..159b731b8867 100644 --- a/MOVED +++ b/MOVED @@ -7905,3 +7905,4 @@ net/openldap24-server|net/openldap25-server|2023-09-30|Has expired: No longer su science/crf++||2023-09-30|Has expired: Last upstream activity was in 2015 security/fwbuilder||2023-09-30|Has expired: Abandonware since Jan 2021 sysutils/istatserver||2023-09-30|Has expired: Upstream last activity was in 2018 +sysutils/logstash-forwarder||2023-09-30|Has expired: Migrate to sysutils/beats8 diff --git a/sysutils/Makefile b/sysutils/Makefile index 7541464f8061..587dd0f6009d 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -696,7 +696,6 @@ SUBDIR += loganalyzer SUBDIR += logrotate SUBDIR += logstalgia - SUBDIR += logstash-forwarder SUBDIR += logstash7 SUBDIR += logstash8 SUBDIR += logtool diff --git a/sysutils/logstash-forwarder/Makefile b/sysutils/logstash-forwarder/Makefile deleted file mode 100644 index f029265f0786..000000000000 --- a/sysutils/logstash-forwarder/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -PORTNAME= logstash-forwarder -PORTVERSION= 0.4.0.20150507 -PORTREVISION= 16 -CATEGORIES= sysutils - -MAINTAINER= cheffo@freebsd-bg.org -COMMENT= Collect logs locally in preparation for processing elsewhere! -WWW= https://github.com/elasticsearch/logstash-forwarder - -LICENSE= APACHE20 - -DEPRECATED= Migrate to sysutils/beats8 -EXPIRATION_DATE= 2023-09-30 - -USES= go -USE_GITHUB= yes -GH_ACCOUNT= elasticsearch -GH_TAGNAME= 3b718f0 - -USE_RC_SUBR= logstash-forwarder -SUB_FILES= pkg-message - -post-install: - ${INSTALL_DATA} ${WRKSRC}/logstash-forwarder.conf.example ${STAGEDIR}${PREFIX}/etc/logstash-forwarder.conf.example - -.include <bsd.port.mk> diff --git a/sysutils/logstash-forwarder/distinfo b/sysutils/logstash-forwarder/distinfo deleted file mode 100644 index 00a98882bc9a..000000000000 --- a/sysutils/logstash-forwarder/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (elasticsearch-logstash-forwarder-0.4.0.20150507-3b718f0_GH0.tar.gz) = 2ac52a05b5e737dd2c2b80fbf967cd3e1e45e59a1a840e71ab29fdf0a59298ea -SIZE (elasticsearch-logstash-forwarder-0.4.0.20150507-3b718f0_GH0.tar.gz) = 30476 diff --git a/sysutils/logstash-forwarder/files/logstash-forwarder.in b/sysutils/logstash-forwarder/files/logstash-forwarder.in deleted file mode 100644 index 493c70c16956..000000000000 --- a/sysutils/logstash-forwarder/files/logstash-forwarder.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -# PROVIDE: logstash_forwarder -# REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown - -# Add the following lines to /etc/rc.conf to enable logstash-forwarder: -# logstash_forwarder_enable (bool): Set to YES to logstash-forwarder -# Default: NO -# logstash_forwarder_flags (str): Extra flags passed to logstash-forwarder -# logstash_forwarder_conf (str): logstash-forwarder configuration file -# Default: ${PREFIX}/etc/logstash-forwarder.conf - - -. /etc/rc.subr - -name="logstash_forwarder" -rcvar=logstash_forwarder_enable - -command="%%PREFIX%%/bin/logstash-forwarder" -command_args='> /dev/null 2>&1 &' - -load_rc_config $name - -[ -z "$logstash_forwarder_enable" ] && logstash_forwarder_enable="NO" -[ -z "$logstash_forwarder_conf" ] && logstash_forwarder_conf="%%PREFIX%%/etc/logstash-forwarder.conf" -[ -z "$logstash_forwarder_flags" ] && logstash_forwarder_flags="" -[ -n "$logstash_forwarder_conf" ] && logstash_forwarder_flags="$logstash_forwarder_flags -config=$logstash_forwarder_conf" - -run_rc_command "$1" diff --git a/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go b/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go deleted file mode 100644 index df9c499977cf..000000000000 --- a/sysutils/logstash-forwarder/files/patch-fileinfo_freebsd.go +++ /dev/null @@ -1,14 +0,0 @@ ---- fileinfo_freebsd.go.orig 2015-06-23 08:32:46 UTC -+++ fileinfo_freebsd.go -@@ -0,0 +1,11 @@ -+package main -+ -+import ( -+ "os" -+ "syscall" -+) -+ -+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 deleted file mode 100644 index 55ba977e92af..000000000000 --- a/sysutils/logstash-forwarder/files/patch-filestate_freebsd.go +++ /dev/null @@ -1,11 +0,0 @@ ---- filestate_freebsd.go.orig 2015-06-23 08:32:46 UTC -+++ filestate_freebsd.go -@@ -0,0 +1,8 @@ -+package main -+ -+type FileState struct { -+ Source *string `json:"source,omitempty"` -+ Offset int64 `json:"offset,omitempty"` -+ Inode uint64 `json:"inode,omitempty"` -+ Device uint64 `json:"device,omitempty"` -+} diff --git a/sysutils/logstash-forwarder/files/pkg-message.in b/sysutils/logstash-forwarder/files/pkg-message.in deleted file mode 100644 index 4912585315e8..000000000000 --- a/sysutils/logstash-forwarder/files/pkg-message.in +++ /dev/null @@ -1,35 +0,0 @@ -[ -{ type: install - message: <<EOM -If you want to run logstash-forwarder, add to /etc/rc.conf - - logstash_forwarder_enable="YES" - -Do not forget to edit your configuration file: - - Default: ${PREFIX}/etc/logstash-forwarder.conf - -Key points - -You'll need an SSL CA to verify the server (host) with. -You can specify custom fields for each set of paths in the config file. -Any number of these may be specified. I use them to set fields like type -and other custom attributes relevant to each log. - -Generating an ssl certificate - -Logstash supports all certificates, including self-signed certificates. -To generate a certificate, you can run the following command: - - $ openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout \ - logstash-forwarder.key -out logstash-forwarder.crt -days 365 - -This will generate a key at logstash-forwarder.key and the 1-year valid -certificate at logstash-forwarder.crt. Both the server that is running -logstash-forwarder as well as the logstash instances receiving logs will -require these files on disk to verify the authenticity of messages. - -PROTECT YOUR KEYS! -EOM -} -] diff --git a/sysutils/logstash-forwarder/pkg-descr b/sysutils/logstash-forwarder/pkg-descr deleted file mode 100644 index 81a9145a618e..000000000000 --- a/sysutils/logstash-forwarder/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -I'm a lumberjack and I'm ok! I sleep when idle, then I ship logs all day! -I parse your logs, I eat the JVM agent for lunch! - -(This project was recently renamed from 'lumberjack' to 'logstash-forwarder' to -make its intended use clear. The 'lumberjack' name now remains as the network -protocol, and 'logstash-forwarder' is the name of the program. It's still the -same lovely log forwarding program you love.) diff --git a/sysutils/logstash-forwarder/pkg-plist b/sysutils/logstash-forwarder/pkg-plist deleted file mode 100644 index de7e17ddb1f8..000000000000 --- a/sysutils/logstash-forwarder/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -bin/logstash-forwarder -@sample etc/logstash-forwarder.conf.example etc/logstash-forwarder.conf