Re: [PATCH RESEND 0/4] Add package.license support to profiles

Louis Chauvet <[email protected]> Wed, 17 Dec 2025 12:10:33 +0100
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>

On 12/17/25 10:33, Ulrich Müller wrote:
>>>>>> On Wed, 17 Dec 2025, Louis Chauvet wrote:
> 
>> Currently profiles does not allow using per-package license unmasking.
>> The only solution is the LICENSE variable, which apply to all the packages.
> 
> What would be the application for this? I understand package.license
> in user configuration, but why would we ever want to unmask nonfree
> per-package licenses in profiles?

My goal is to create my own custom profile to use the same set of 
packages, version, use between my laptop and my desktop.

I have some non-free packages (linux-firmware, Saleae, intel-microcode), 
so for me that make sense to have a package.license file in the profile.

For information, I also opened a pull request on Codeberg [1] because I 
wasn’t sure if the mailing list was active.

[1]:https://codeberg.org/gentoo/portage/pulls/1