aboutsummaryrefslogtreecommitdiff
path: root/sysutils/graylog
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2021-01-06 13:32:23 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2021-01-06 13:32:23 +0000
commitaa336976bc2a0e959759aefacd303f6c656ba1ed (patch)
tree900f7c275bce24d68649f7cb73fc09c0a5ae92ce /sysutils/graylog
parent606f25f7c83822df249edefdc5437f9b31fb9b42 (diff)
downloadports-aa336976bc2a0e959759aefacd303f6c656ba1ed.tar.gz
ports-aa336976bc2a0e959759aefacd303f6c656ba1ed.zip
sysutils/graylog: update to 4.0 and change license to SSPL
graylog 4.0 and higher now use a new license, the SSPL. For more details, see https://www.graylog.org/post/graylog-v4-0-licensing-sspl Submitted by: Charles Gonçalves <charles@freebsdbrasil.com.br> Reviewed by: dch (maintainer) Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D27253
Notes
Notes: svn path=/head/; revision=560510
Diffstat (limited to 'sysutils/graylog')
-rw-r--r--sysutils/graylog/Makefile9
-rw-r--r--sysutils/graylog/distinfo10
-rw-r--r--sysutils/graylog/files/pkg-message.in21
-rw-r--r--sysutils/graylog/pkg-plist2
4 files changed, 31 insertions, 11 deletions
diff --git a/sysutils/graylog/Makefile b/sysutils/graylog/Makefile
index eb023aebb75d..603ddc10aeed 100644
--- a/sysutils/graylog/Makefile
+++ b/sysutils/graylog/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= graylog
-DISTVERSION= 3.3.8
+DISTVERSION= 4.0.1
CATEGORIES= sysutils java
MASTER_SITES= https://downloads.graylog.org/releases/
DISTFILES= graylog/${DISTNAME}${EXTRACT_SUFX} \
@@ -11,8 +11,11 @@ DISTFILES= graylog/${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= dch@FreeBSD.org
COMMENT= Tool for centralized log collection
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE= SSPLv1 APACHE20
+LICENSE_COMB= multi
+LICENSE_NAME_SSPLv1= Server Side Public License
+LICENSE_FILE_SSPLv1= ${WRKSRC}/LICENSE
+LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= tar:tgz
USE_JAVA= yes
diff --git a/sysutils/graylog/distinfo b/sysutils/graylog/distinfo
index 2f72244852af..9effaa24a219 100644
--- a/sysutils/graylog/distinfo
+++ b/sysutils/graylog/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1602942955
-SHA256 (graylog/graylog-3.3.8.tgz) = 37c795ffc516115c7d1d1e0fb805f49473a0f6dce86c7a41b90272dd9e3eac78
-SIZE (graylog/graylog-3.3.8.tgz) = 129314297
-SHA256 (graylog-integrations/graylog-integrations-plugins-3.3.8.tgz) = 22536cf906e46be7014ab2eec24b215ab98bcf38e7b406a662f1db48441e5d01
-SIZE (graylog-integrations/graylog-integrations-plugins-3.3.8.tgz) = 28600261
+TIMESTAMP = 1609937385
+SHA256 (graylog/graylog-4.0.1.tgz) = 4b1c7b5a67a0b3cd84838d9cf977efe2ec653d0b8d458800df6d20deb336e5f9
+SIZE (graylog/graylog-4.0.1.tgz) = 163263748
+SHA256 (graylog-integrations/graylog-integrations-plugins-4.0.1.tgz) = 2d1031fe5310e92908f8764281d8e99dc66d10e73c2f008185795c18fec3436f
+SIZE (graylog-integrations/graylog-integrations-plugins-4.0.1.tgz) = 29070372
diff --git a/sysutils/graylog/files/pkg-message.in b/sysutils/graylog/files/pkg-message.in
index ffb9ffc44794..0cb4b5413ac1 100644
--- a/sysutils/graylog/files/pkg-message.in
+++ b/sysutils/graylog/files/pkg-message.in
@@ -12,12 +12,27 @@ When running graylog in a jail, you need to set enforce_statfs for the jail.
For a single-node installation, install:
- databases/mongodb40 or higher
-- textproc/elasticsearch5 or higher
+- textproc/elasticsearch6 or higher
And ensure that the elasticsearch cluster name matches that used by graylog.
-The locations for configuration files have changed to match upstream
-versions in 3.0 of this port, refer to UPDATING for migration steps.
+EOM
+}
+{ type: upgrade
+ message: <<EOM
+graylog now has a *minimum* dependency of elasticsearch6 or higher. You
+may need to re-index after upgrading to ES6, please refer to graylog
+docs for more details.
+
+- textproc/elasticsearch6 or higher
+- databases/mongodb40 or higher
+
+Remember to backup both MongoDB & ES6 databases before upgrading Graylog
+itself.
+
+Beginning with v4.0, Graylog Open Source is licensed under the
+Server Side Public License (SSPL). For more details, see
+https://www.graylog.org/post/graylog-v4-0-licensing-sspl
EOM
}
]
diff --git a/sysutils/graylog/pkg-plist b/sysutils/graylog/pkg-plist
index e852dcf2e6ba..3879cf122128 100644
--- a/sysutils/graylog/pkg-plist
+++ b/sysutils/graylog/pkg-plist
@@ -3,6 +3,8 @@
%%DATADIR%%/plugin/%%PORTNAME%%-plugin-collector-%%DISTVERSION%%.jar
%%DATADIR%%/plugin/%%PORTNAME%%-plugin-integrations-%%DISTVERSION%%.jar
%%DATADIR%%/plugin/%%PORTNAME%%-plugin-threatintel-%%DISTVERSION%%.jar
+%%DATADIR%%/plugin/%%PORTNAME%%-storage-elasticsearch6-%%DISTVERSION%%.jar
+%%DATADIR%%/plugin/%%PORTNAME%%-storage-elasticsearch7-%%DISTVERSION%%.jar
@dir %%ETCDIR%%
@dir(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,750) %%GRAYLOG_DATA_DIR%%
@dir(%%GRAYLOGUSER%%,%%GRAYLOGGROUP%%,750) %%GRAYLOG_LOGS_DIR%%