Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2020 14:39:37 +0200
From:      Mathieu Arnold <mat@freebsd.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Mathieu Arnold <mat@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r548168 - in head/graphics/pgplot: . files
Message-ID:  <20200911123937.y4ifxa32x57iowfw@aching.in.mat.cc>
In-Reply-To: <20200910172620.GE35438@spindle.one-eyed-alien.net>
References:  <202009092338.089NcABH064850@repo.freebsd.org> <20200910060947.6qpy7fn467nqb46h@aching.in.mat.cc> <20200910172620.GE35438@spindle.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--ymlslrtc26p6kxrw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 10, 2020 at 05:26:20PM +0000, Brooks Davis wrote:
> On Thu, Sep 10, 2020 at 08:09:47AM +0200, Mathieu Arnold wrote:
> > On Wed, Sep 09, 2020 at 11:38:10PM +0000, Brooks Davis wrote:
> > > +LICENSE=3D	PGPLOT
> > > +LICENSE_NAME=3D	PGPLOT License
> > > +LICENSE_FILE=3D	${WRKSRC}/copyright.notice
> > > +LICENSE_PERMS=3D	no-dist-sell no-pkg-sell
> >=20
> > LICENSE_PERMS is a place where you *explicitely* state what a license
> > allows.  The no-xxx components are only useful if you set, say,
> > "dist-sell no-dist-sell", in which case the no-xxx cancels the xxx, and
> > the permission is not set.  If you use the no-xxx component alone, it
> > just gets ignored.  So those perms are equivalent to giving empty
> > permissions, because you are not allowing anything.  In this case, what
> > you probably meant was:
> >=20
> > LICENSE_PERMS=3D	dist-mirror pkg-mirror auto-accept
>=20
> Thanks for the correction.  This was not at all what the documentation
> led me to believe.  If the no-* permissions exist so that OPTIONS can
> remove permissions then that should be stated explicitly and they
> probably shouldn't be documented interleaved like they are now.

It is probable that when I wrote the doc, I had absolutely no idea how
it all worked, and I only used what I could gather in the comments from
the code.

Note that you can run `make debug-license` to see how the framework
interpretted what you wrote.

I am still unsure why one would need the no-* permissions exactly, even
if you have multiple licenses, and set the combination to be "multi",
only the components that have been permitted by all licenses will be
allowed, so you do not really need to use the no-* bits.

The only case when they are actually used is if you write:

LICENSE_PERMS=3D	pkg-sell no-pkg-sell

But I would say that you should probably make up your mind about it and
not write that ;-)

--=20
Mathieu Arnold

--ymlslrtc26p6kxrw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAl9bcAJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2
MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd
fgKlNhAAudicdmh40M4ZSMrPmrUgkVyoju9wEb/RtpnEM0dupAfwxZb6HfsQmVLM
mft+p+G6HI8x+mefhjcsPvZl5tiRq0lgxArA6rG5mJWW5rfEBgjRYZH+3bVYCCq6
ACFi6i6OTK1tKBa6CmdCcg2qY2Es06m9rNdtfdZs5E82ZX8vpGI70QUmeJhN0mus
l65qrxcvXkhauTQoVFzLTIU+W0LSFNyXIYeM+ghlRsOM3IwJ+gJsAP1OWvPD9qce
n5m51wnu3quNps9DmdIypd/hKu06mXvWlLG7qX1MZFsC1DKOvjuhqem2Nbsi5D8L
ymafR3P3qudFqd2jesIg12v9tH+Ut948N9DzzlnI75BGMe1nSxR9IBIv+ZTq5foz
XpfpMnmjb9LIbT6l34JN+Us4wEDw1URSt6mZ7a49dvB29+A9aNV7shrVcyt7yE5l
v0UG/ybfj89yG+vW1vEvQ28FZDz2FBuOHZKNmDTXm45nA/KUfnwzIBdGlqZB3cb2
0BvIUD27xUzxu2FBqBbRbBllfXZTeA1L4nfyWO3AMdQc2kyBz2kdB164TdBMkuxy
FhCcgPVRAuTGNeLEykTs6lAxWcJ9DGfPkOZj+SimC1V6lEBpupd/ExFLFTZ+dXDu
f4Scfeigokxx0SHhfW1Cn3yJqYIj7gSrFfmuVJHGXo3ob+wae94=
=+h8v
-----END PGP SIGNATURE-----

--ymlslrtc26p6kxrw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200911123937.y4ifxa32x57iowfw>