flatcar / Flatcar

Flatcar project repository for issue tracking, project documentation, etc.

Home Page:https://www.flatcar.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netpref license gets the wrong license from upstream

miao0miao opened this issue · comments

Description

netperf gets the license from upstream.
The license is pulled from http://www.netperf.org/ - the website is down.
It moved to Github https://github.com/HewlettPackard/netperf and uses the MIT license

The License is still correct, as the Gentoo upstream and Flatcar still use the 2.7.0 tar.gz sources. See: https://github.com/flatcar/scripts/blob/main/sdk_container/src/third_party/portage-stable/net-analyzer/netperf/netperf-2.7.0-r3.ebuild#L9C10-L9C31

I think we should update to the one that switched to the MIT license; the one we're shipping cannot be used for commercial purposes. Either we update or we switch to something more modern (and better maintained) entirely, e.g. fio.

I think we should update to the one that switched to the MIT license; the one we're shipping cannot be used for commercial purposes. Either we update or we switch to something more modern (and better maintained) entirely, e.g. fio.

We could fork the repo under the Flatcar umbrella, create a tag and a release on Github so that the sources can be retrieved and then move it from portage stable to overlay?

The best way would be though to +1 this issue HewlettPackard/netperf#75?

I pushed a PR that can be used as a reference showing how to package a fixed commit of netperf: flatcar/scripts#2015

Please feel free to take over, I don't really have the time to follow up on this.

Thilo found that netperf is part of production images, but only the devcontainer. It's better to drop.

Gentoo upstream is now shipping an ebuild of the latest github state: https://github.com/gentoo/gentoo/blob/6f42017f1c4cb1ff42618a097f87fceffbdf1ad3/net-analyzer/netperf/netperf-2.7.0_p20210121.ebuild#L10

It's unstable (masked), but we could import that and unmask it for Flatcar. Ships with MIT license.