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:
- 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: