Details
- Reviewers
dch - Commits
- rP560510: sysutils/graylog: update to 4.0 and change license to SSPL
Diff Detail
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 35065 Build 32040: arc lint + arc unit
Event Timeline
This update broke my server. I rolled back to 3.3.8 and submit a issue to Graylog's Github
EDIT: Now it's working!
patchwise LGTM, do you think we need to add any messages about updates/compatibility?
I tested this, doing an upgrade from ES5->ES6 and it was all fine.
These notes normally go in /UPDATING for example, or in pkg-message itself - see
https://www.freebsd.org/doc/en/books/porters-handbook/book.html#porting-message
Finally, the license change needs to be addressed:
Beginning with v4.0, Graylog Open Source will be licensed under the Server Side Public
License (SSPL). First introduced by MongoDB, the SSPL license provides similar open
source rights to GPL v3, and additionally extends those rights to cover cloud and SaaS
offerings. For more information about this upcoming license change, see
https://www.graylog.org/post/graylog-v4-0-licensing-sspl.
Which is a big semantic change, that arguably won't actually impact anybody directly
in practice. But adding this to UPDATING or pkg-message is sensible.
See an existing example for databases/mongodb42/Makefile:
# databases/mongodb42/Makefile # mongodb is SSPLv1, C++ driver is APACHE20 LICENSE= SSPLv1 APACHE20 LICENSE_NAME_SSPLv1= Server Side Public License LICENSE_FILE_SSPLv1= ${WRKSRC}/LICENSE-Community.txt LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
At this point we should commit this "as is", like mongo, in the graylog Makefile.
As a second step, we should refactor all the ports with SSPL (mongo & graylog only)
to use a generic SSPL license type to Mk/bsd.licenses.db.mk.
See r445082 for an example.
Support for Elasticsearch versions prior to v6.8.0 is dropped on Graylog 4.0.0
If ES's version is prior v5 will need a full reindex, because ES6.8.0+ reads indices created by ES5 & ES6, while ES7 reads indices created by ES6 & ES7.
These notes normally go in /UPDATING for example, or in pkg-message itself - see
https://www.freebsd.org/doc/en/books/porters-handbook/book.html#porting-messageFinally, the license change needs to be addressed:
Beginning with v4.0, Graylog Open Source will be licensed under the Server Side Public
License (SSPL). First introduced by MongoDB, the SSPL license provides similar open
source rights to GPL v3, and additionally extends those rights to cover cloud and SaaS
offerings. For more information about this upcoming license change, see
https://www.graylog.org/post/graylog-v4-0-licensing-sspl.Which is a big semantic change, that arguably won't actually impact anybody directly
in practice. But adding this to UPDATING or pkg-message is sensible.See an existing example for databases/mongodb42/Makefile:
# databases/mongodb42/Makefile # mongodb is SSPLv1, C++ driver is APACHE20 LICENSE= SSPLv1 APACHE20 LICENSE_NAME_SSPLv1= Server Side Public License LICENSE_FILE_SSPLv1= ${WRKSRC}/LICENSE-Community.txt LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell auto-acceptAt this point we should commit this "as is", like mongo, in the graylog Makefile.
As a second step, we should refactor all the ports with SSPL (mongo & graylog only)
to use a generic SSPL license type to Mk/bsd.licenses.db.mk.See r445082 for an example.
Yes I forgot to address all this change, my bad. Thank you!
New note: Please make sure to create a MongoDB database backup before starting the upgrade to Graylog 4.0!
LDAP and Active Directory configuration changes: All existing LDAP settings will automatically be migrated to the new backend but are disabled by default, you'll need to enable with a admin user.
@charles_freebsdbrasil.com.br do you want to add the changes we discussed, or are you waiting on me to do them?
BTW you can update/add to an existing revision: arc diff --base git:HEAD^ --update D27253
- added UPDATING message
- added storage plugins
- added pkg-message info wrt licence and dependency changes
@charles_freebsdbrasil.com.br have a look here to see what's been changed to accommodate the license etc. I'll commit this shortly!