FS#70388 - [elasticsearch] package version 7.10.1-1 ships Elastic licensed code but is tagged Apache

Attached to Project: Community Packages
Opened by David Ryskalczyk (david_rysk) - Friday, 09 April 2021, 15:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 30 April 2023, 08:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The elasticsearch package version 7.10.1-1 ships the Elastic licensed binary, not the Apache licensed one, but is tagged as Apache licensed. The Elastic license has usage limitations which make it nonfree, see https://www.elastic.co/licensing/elastic-license.

A patch is attached which will build and package the OSS Apache licensed version instead, but this will remove features which are under the Elastic license. This patch also adjusts Java versions to be consistent: e.g. makedepends specifies Java 14, but /usr/lib/jvm/java-11-openjdk is added to the PATH.

Alternatively the license information could be fixed in the package database — but some people may not want to run the version with Elastic licensed components, and use plugins from elsewhere instead.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 30 April 2023, 08:06 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Pkg was dropped to the AUR Jan '22.
Comment by loqs (loqs) - Friday, 09 April 2021, 16:11 GMT
Elastic is removing OSS packaging [1][2] so while that address the current issue longer term another solution seems to be required if the new license is not acceptable.
For instance 7.12.0 building using oss-linux-tar the included license in the generated tarball is SPPL/Elastic License 2.0 dual license.

[1] https://github.com/elastic/elasticsearch/issues/68797
[2] https://github.com/elastic/elasticsearch/commit/24adbbca41d06f5e74c0daf1467e9a6fa077cdcd
Comment by David Ryskalczyk (david_rysk) - Friday, 09 April 2021, 17:14 GMT
Open Distro is working on a forked version of Elasticsearch and Kibana, but it's not ready yet.
https://discuss.opendistrocommunity.dev/t/march-31-fork-update/5494
Comment by David Ryskalczyk (david_rysk) - Tuesday, 28 September 2021, 14:34 GMT
OpenSearch, the Apache 2.0 licensed fork of ElasticSearch, Kibana, and Open Distro enhancements, is now at version 1.0.1.
https://opensearch.org

I would suggest this as a replacement for ElasticSearch going forward.

Loading...