All ebuilds list: LICENSE="LGPL-2.1 MIT" Most of the library part is under LGPL-2.1+ and the helper programs are under the GPLv2+: https://www.gnupg.org/related_software/libgcrypt/ I checked and MIT expat does apply to cipher/idea.c Also, the LICENSES file lists the other licenses that certain parts are under. In that file, I see: - BSD_3Clause - A permissive license from intel. - Modified BSD-3-clause with an option to distribute under the terms of the GPL instead. - Custom permissive license with an option to distribute under the terms of the GPL instead. - The X11 license - Public domain - The OCB license version 1
The OCB license is a license allowing the algorithm to be used in opensource code. Two notes about this: * The shipped OCB code itself is LGPL, and I think we usually consider LICENSE to cover the code copyright and not the patent situation. * This is largely obsolete, as Philipp Rogaway has declared that he has abandoned the OCB patents and there are no more restrictions on implementing OCB: https://mailarchive.ietf.org/arch/msg/cfrg/qLTveWOdTJcLn4HP3ev-vrj05Vg/
Coming back to this, for some reason this bug is still open. It should be; LICENSE="LGPL-2.1+ GPL-2+ MIT"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5651dc498a8206d491c8a59b6dbe6a757ccf544 commit a5651dc498a8206d491c8a59b6dbe6a757ccf544 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-01-04 10:49:55 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-01-04 10:49:55 +0000 dev-libs/libgcrypt: update LICENSE Closes: https://bugs.gentoo.org/875542 Signed-off-by: Ulrich Müller <ulm@gentoo.org> dev-libs/libgcrypt/libgcrypt-1.10.1-r2.ebuild | 4 ++-- dev-libs/libgcrypt/libgcrypt-1.10.1-r3.ebuild | 4 ++-- dev-libs/libgcrypt/libgcrypt-1.10.2.ebuild | 4 ++-- dev-libs/libgcrypt/libgcrypt-1.10.3-r1.ebuild | 2 +- dev-libs/libgcrypt/libgcrypt-1.10.3.ebuild | 4 ++-- dev-libs/libgcrypt/libgcrypt-1.9.4-r2.ebuild | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-)