Date: Thu, 15 Sep 2022 13:34:52 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: LICENSE and implicit LICENSE_FILE Message-ID: <CAFDf7ULq9SFM7OFRuypQs5oM007s13VoiX5g=K2TkVHi-4tqdA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--000000000000845dfb05e8b67995 Content-Type: text/plain; charset="UTF-8" Hello to all, I can't find an answer for my doubt about if there is a implicit LICENSE_FILE for LICENSE and this way we could use LICENSE without LICENSE_FILE? e.g. --- LICENSE=BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE --- is the same as: --- LICENSE=BSD3CLAUSE --- assuming "LICENSE" file name is implicit? I've searched at ports/Mk/* but I didn't find its proof and Porter's Hanbook says: --- Example 33. Simplest Usage, Predefined Licenses When the README of some software says "This software is under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version." but does not provide the license file, use this: LICENSE= LGPL21+ When the software provides the license file, use this: LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING --- So big question is: Should we use LICENSE_FILE whenever LICENSE file(s) exists on ${WRKSRC}? Thanks, -- Nuno Teixeira FreeBSD Committer (ports) --000000000000845dfb05e8b67995 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello to all,</div><div><br></div><div>I can't fi= nd an answer for my doubt about if there is a implicit LICENSE_FILE for LIC= ENSE and this way we could use LICENSE without LICENSE_FILE?</div><div><br>= </div><div>e.g.</div><div>---</div><div>LICENSE=3DBSD3CLAUSE</div><div>LICE= NSE_FILE=3D ${WRKSRC}/LICENSE<br></div><div>---</div><div>is the same as:</= div><div>---</div><div><div>LICENSE=3DBSD3CLAUSE</div><div>---<br></div></d= iv><div>assuming "LICENSE" file name is implicit?</div><div><br><= /div><div>I've searched at ports/Mk/* but I didn't find its proof a= nd Porter's Hanbook says:</div><div>---</div><div><div id=3D"gmail-lice= nses-license-ex1" class=3D"exampleblock"><div class=3D"gmail-title">Example= 33. Simplest Usage, Predefined Licenses</div><div class=3D"gmail-content">= <div class=3D"gmail-paragraph"><p>When the <span class=3D"gmail-filename">R= EADME</span> of some software says "This software is under the terms of the GNU=20 Lesser General Public License as published by the Free Software=20 Foundation; either version 2.1 of the License, or (at your option) any=20 later version." but does not provide the license file, use this:</p></= div><div class=3D"gmail-literalblock gmail-programlisting"><div class=3D"gm= ail-content"><pre>LICENSE=3D LGPL21+</pre></div></div><div class=3D"gmail-p= aragraph"><p>When the software provides the license file, use this:</p></di= v><div class=3D"gmail-literalblock gmail-programlisting"><div class=3D"gmai= l-content"><pre>LICENSE=3D LGPL21+ LICENSE_FILE=3D ${WRKSRC}/COPYING<br>---<br></pre></div></div></div></div><= /div><div><br></div><div>So big question is:<br><br></div><div>Should we us= e LICENSE_FILE whenever LICENSE file(s) exists on ${WRKSRC}?<br></div><div>= <br></div><div>Thanks,<br></div><div>-- <br><div dir=3D"ltr" class=3D"gmail= _signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><span style= =3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</spa= n></div></div></div></div> --000000000000845dfb05e8b67995--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7ULq9SFM7OFRuypQs5oM007s13VoiX5g=K2TkVHi-4tqdA>