[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gentoo GNU/Linux and non-free packages (was: 'bzr init-repo .' cras

From: Jonas Bernoulli
Subject: Re: Gentoo GNU/Linux and non-free packages (was: 'bzr init-repo .' crashes for lack of module bz2. Help, please!)
Date: Wed, 6 Jan 2010 01:10:31 +0100

On Tue, Jan 5, 2010 at 21:45, Richard Stallman <address@hidden> wrote:
>    Indeed, Gentoo also ships non-free packages and has no simple switch to
>    tell the package manager to never install non-free packages.  But at
>    least when installing a package, you can easily get a list of it and its
>    dependencies including the licenses.
> This enables you to achieve, with a lot of effort,
> what free distros do automatically.

>From a manpage about configuring the development version of portage (the
default package manager of Gentoo):

        ACCEPT_LICENSE = [space delimited list of licenses or groups]
                This  variable  is used  to  mask  packages  based on  licensing
                restrictions.  It make  contain  both license  and group  names,
                where  group names  are prefixed  with the  '@'  symbol. License
                groups   are   defined   in   the   license_groups   file   (see
                portage(5)). In addition  to license and group names,  the * and
                -* wildcard  tokens are  also supported.  Refer to  GLEP  23 for
                Defaults to the value of * address@hidden
                # Accept any license
                # Accept any license except the "public-domain" license
                ACCEPT_LICENSE="* -public-domain"
                # Only accept licenses in the FSF-APPROVED license group
                ACCEPT_LICENSE="-* @FSF-APPROVED"

The rational can be found in the mentioned "glep":


So provided that you use the development (which works just fine for a lot of
people) it is not very hard to move away from non-free software. Thought the
default is something else. Just add this to /etc/make.conf:


After that portage will inform you of installed packages that are "masked", in
this case because of license issues.  Then it is mostly a mater of removing
these packages which isn't hard to do, and you don't have to do it all at once.

At one point this will become standard.  So while Gentoo isn't there yet it's

-- Jonas

reply via email to

[Prev in Thread] Current Thread [Next in Thread]