On Wed, Nov 28, 2018 at 07:49:50PM -0800, Noah Meyerhans wrote: > On Tue, Nov 27, 2018 at 09:50:17AM -0800, Jakub Kicinski wrote: > > > > Please see https://salsa.debian.org/kernel-team/linux/merge_requests/72 > > > > > > Ugh. We cannot currently package bpftool in Debian. There are several > > > GPLv2-only files in its source tree, and it links unconditionally > > > against the GPLv3 libbfd. :( > > > > If we relicense the GPLv2-only files to be GPLv2-only OR BSD-2-Clause > > - like the majority of bpftool sources - would that work? > > > > I wanted to make sure GPLv2-only + BSD-2-Clause will satisfy the > > license requirement when linking against libbfd, before I start chasing > > people for acks on the relicense :) > > Yes, the BSD 2-clause license is OK. GPLv2 or greater would be OK, too. > It's really just GPLv2-only in this case that's causing the problem.
Hi, the following merge-commit, which has been accepted into bpf-next for inclusion in v4.21, addresses the problem raised above by clarifying that the licence of bpftool is GPLv2-only + BSD-2-Clause. commit 00842be52f2015c3c1028e16b565f325f4ca20fc Merge: 8f9a8a619311 907b22365115 Author: Daniel Borkmann <[email protected]> Date: Thu Dec 13 12:08:45 2018 +0100 Merge branch 'bpf-bpftool-license-update' Jakub Kicinski says: ==================== We are changing/clarifying the license on bpftool to GPLv2-only + BSD-2-Clause for all files. Current license mix is incompatible with libbfd (which is GPLv3-only) and therefore Debian maintainers are apprehensive about packaging bpftool. Acks include authors of code which has been copied into bpftool (e.g. JSON writer from iproute2, code from tools/bpf, code from BPF samples and selftests, etc.) Thanks again to all the authors who acked the change! ==================== Acked-by: Roman Gushchin <[email protected]> Acked-by: YueHaibing <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Acked-by: Sean Young <[email protected]> Acked-by: Jiri Benc <[email protected]> Acked-by: David Calavera <[email protected]> Acked-by: Andrey Ignatov <[email protected]> Acked-by: Joe Stringer <[email protected]> Acked-by: David Ahern <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Acked-by: Petar Penkov <[email protected]> Acked-by: Sandipan Das <[email protected]> Acked-by: Prashant Bhole <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: John Fastabend <[email protected]> Acked-by: Taeung Song <[email protected]> Acked-by: Jiri Olsa <[email protected]> Acked-by: Daniel Borkmann <[email protected]> CC: [email protected] Signed-off-by: Daniel Borkmann <[email protected]>

