[gentoo-dev] User defined license groups

2011-02-01 Thread Zeerak Mustafa Waseem
Hey guys,

I ran with ACCEPT_LICENSE=* for a while and a few days ago I decided to look 
into the licenses the programs I'm using need and read up on them, then add 
them manually.
I then remembered the license groups and proceeded to specify my own license 
group in /usr/portage/profiles/license_groups, first emerge -uDN @world worked 
great, all downgrades from license masking were dropped. But then I sync'ed my 
tree, and now my own group is gone.

So I was wondering if there is another place to specify license groups? If not, 
would I go to the bugzilla and file a bug for a feature request or is there 
another way to go about it?

-- 
Best Regards

Zeerak Waseem



Re: [gentoo-dev] User defined license groups

2011-02-01 Thread Zac Medico
On 02/01/2011 01:35 AM, Zeerak Mustafa Waseem wrote:
 Hey guys,
 
 I ran with ACCEPT_LICENSE=* for a while and a few days ago I decided to 
 look into the licenses the programs I'm using need and read up on them, then 
 add them manually.
 I then remembered the license groups and proceeded to specify my own license 
 group in /usr/portage/profiles/license_groups, first emerge -uDN @world 
 worked great, all downgrades from license masking were dropped. But then I 
 sync'ed my tree, and now my own group is gone.
 
 So I was wondering if there is another place to specify license groups? If 
 not, would I go to the bugzilla and file a bug for a feature request or is 
 there another way to go about it?

It's possible to add license groups via an overlay, which means that you
can set PORTDIR_OVERLAY=${MY_OVERLAY} in /etc/make.conf, and then
define your license groups in ${MY_OVERLAY}/profiles/license_groups.

You can go ahead and file a bug at bugs.gentoo.org if you'd like to have
support added for /etc/portage/license_groups.
-- 
Thanks,
Zac



Re: [gentoo-dev] User defined license groups

2011-02-01 Thread Michał Górny
On Tue, 01 Feb 2011 02:05:49 -0800
Zac Medico zmed...@gentoo.org wrote:

 On 02/01/2011 01:35 AM, Zeerak Mustafa Waseem wrote:
  Hey guys,
  
  I ran with ACCEPT_LICENSE=* for a while and a few days ago I
  decided to look into the licenses the programs I'm using need and
  read up on them, then add them manually. I then remembered the
  license groups and proceeded to specify my own license group
  in /usr/portage/profiles/license_groups, first emerge -uDN @world
  worked great, all downgrades from license masking were dropped. But
  then I sync'ed my tree, and now my own group is gone.
  
  So I was wondering if there is another place to specify license
  groups? If not, would I go to the bugzilla and file a bug for a
  feature request or is there another way to go about it?
 
 It's possible to add license groups via an overlay, which means that
 you can set PORTDIR_OVERLAY=${MY_OVERLAY} in /etc/make.conf, and
 then define your license groups in
 ${MY_OVERLAY}/profiles/license_groups.
 
 You can go ahead and file a bug at bugs.gentoo.org if you'd like to
 have support added for /etc/portage/license_groups.

How about /etc/portage/profile? Won't that work?

-- 
Best regards,
Michał Górny


signature.asc
Description: PGP signature


Re: [gentoo-dev] User defined license groups

2011-02-01 Thread Zac Medico
On 02/01/2011 02:27 AM, Michał Górny wrote:
 On Tue, 01 Feb 2011 02:05:49 -0800
 Zac Medico zmed...@gentoo.org wrote:
 
 On 02/01/2011 01:35 AM, Zeerak Mustafa Waseem wrote:
 Hey guys,

 I ran with ACCEPT_LICENSE=* for a while and a few days ago I
 decided to look into the licenses the programs I'm using need and
 read up on them, then add them manually. I then remembered the
 license groups and proceeded to specify my own license group
 in /usr/portage/profiles/license_groups, first emerge -uDN @world
 worked great, all downgrades from license masking were dropped. But
 then I sync'ed my tree, and now my own group is gone.

 So I was wondering if there is another place to specify license
 groups? If not, would I go to the bugzilla and file a bug for a
 feature request or is there another way to go about it?

 It's possible to add license groups via an overlay, which means that
 you can set PORTDIR_OVERLAY=${MY_OVERLAY} in /etc/make.conf, and
 then define your license groups in
 ${MY_OVERLAY}/profiles/license_groups.

 You can go ahead and file a bug at bugs.gentoo.org if you'd like to
 have support added for /etc/portage/license_groups.
 
 How about /etc/portage/profile? Won't that work?

No, because profiles/license_groups is somewhat of a misnomer since the
profiles/ directory contains profiles but it is not actual a part of any
profile.

Anyway, it turns out that /etc/portage/license_groups is already
supported, so I've added it to the man page:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=731549e94963d808ea49c408167cd85947e20b1d
-- 
Thanks,
Zac