Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] User defined license groups
Date: Tue, 01 Feb 2011 16:26:40
Message-Id: 4D483440.2090409@gentoo.org
In Reply to: Re: [gentoo-dev] User defined license groups by "Michał Górny"
1 On 02/01/2011 02:27 AM, Michał Górny wrote:
2 > On Tue, 01 Feb 2011 02:05:49 -0800
3 > Zac Medico <zmedico@g.o> wrote:
4 >
5 >> On 02/01/2011 01:35 AM, Zeerak Mustafa Waseem wrote:
6 >>> Hey guys,
7 >>>
8 >>> I ran with ACCEPT_LICENSE="*" for a while and a few days ago I
9 >>> decided to look into the licenses the programs I'm using need and
10 >>> read up on them, then add them manually. I then remembered the
11 >>> license groups and proceeded to specify my own license group
12 >>> in /usr/portage/profiles/license_groups, first emerge -uDN @world
13 >>> worked great, all downgrades from license masking were dropped. But
14 >>> then I sync'ed my tree, and now my own group is gone.
15 >>>
16 >>> So I was wondering if there is another place to specify license
17 >>> groups? If not, would I go to the bugzilla and file a bug for a
18 >>> feature request or is there another way to go about it?
19 >>
20 >> It's possible to add license groups via an overlay, which means that
21 >> you can set PORTDIR_OVERLAY="${MY_OVERLAY}" in /etc/make.conf, and
22 >> then define your license groups in
23 >> ${MY_OVERLAY}/profiles/license_groups.
24 >>
25 >> You can go ahead and file a bug at bugs.gentoo.org if you'd like to
26 >> have support added for /etc/portage/license_groups.
27 >
28 > How about /etc/portage/profile? Won't that work?
29
30 No, because profiles/license_groups is somewhat of a misnomer since the
31 profiles/ directory contains profiles but it is not actual a part of any
32 profile.
33
34 Anyway, it turns out that /etc/portage/license_groups is already
35 supported, so I've added it to the man page:
36
37 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=731549e94963d808ea49c408167cd85947e20b1d
38 --
39 Thanks,
40 Zac