Differential D35127 Diff 106005 documentation/content/en/books/porters-handbook/makefiles/_index.adoc
Changeset View
Changeset View
Standalone View
Standalone View
documentation/content/en/books/porters-handbook/makefiles/_index.adoc
Show First 20 Lines • Show All 2,548 Lines • ▼ Show 20 Lines | |||||||||
When the software provides the license file, use this: | When the software provides the license file, use this: | ||||||||
[.programlisting] | [.programlisting] | ||||||||
.... | .... | ||||||||
LICENSE= LGPL21+ | LICENSE= LGPL21+ | ||||||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||||||
.... | .... | ||||||||
However, please do not use `LICENSE_FILE` for the GNU General Public License (`GPLv1`, `GPLv1+`, `GPL2`, `GPLv2+`, `GPLv3`, `GPLv3+`) to avoid installing on our systems multiple copies of the same identical files. | |||||||||
==== | ==== | ||||||||
mat: I disagree with that, if a LICENSE_FILE is not provided, a generic one will be installed, which… | |||||||||
For the predefined licenses, the default permissions are `dist-mirror dist-sell pkg-mirror pkg-sell auto-accept`. | For the predefined licenses, the default permissions are `dist-mirror dist-sell pkg-mirror pkg-sell auto-accept`. | ||||||||
[[licenses-license-list]] | [[licenses-license-list]] | ||||||||
.Predefined License List | .Predefined License List | ||||||||
[cols="1,1,1,1", frame="none", options="header"] | [cols="1,1,1,1", frame="none", options="header"] | ||||||||
|=== | |=== | ||||||||
| Short Name | | Short Name | ||||||||
▲ Show 20 Lines • Show All 632 Lines • ▼ Show 20 Lines | |||||||||
==== | ==== | ||||||||
[[licenses-license_file]] | [[licenses-license_file]] | ||||||||
=== `LICENSE_FILE` and `LICENSE_FILE_NAME` | === `LICENSE_FILE` and `LICENSE_FILE_NAME` | ||||||||
Full path to the file containing the license text, usually [.filename]#${WRKSRC}/some/file#. | Full path to the file containing the license text, usually [.filename]#${WRKSRC}/some/file#. | ||||||||
If the file is not in the distfile, and its content is too long to be put in <<licenses-license_text,`LICENSE_TEXT`>>, put it in a new file in [.filename]#${FILESDIR}#. | If the file is not in the distfile, and its content is too long to be put in <<licenses-license_text,`LICENSE_TEXT`>>, put it in a new file in [.filename]#${FILESDIR}#. | ||||||||
Please do not use `LICENSE_FILE` for the GNU General Public License (`GPLv1`, `GPLv1+`, `GPL2`, `GPLv2+`, `GPLv3`, `GPLv3+`) to avoid installing on our systems multiple copies of the same identical files. | |||||||||
[[licenses-license_file-ex1]] | [[licenses-license_file-ex1]] | ||||||||
.`LICENSE_FILE` | .`LICENSE_FILE` | ||||||||
[example] | [example] | ||||||||
==== | ==== | ||||||||
[.programlisting] | [.programlisting] | ||||||||
.... | .... | ||||||||
LICENSE= BSD2CLAUSE | LICENSE= GPLv3+ | ||||||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/COPYING | ||||||||
Not Done Inline Actions
Do BSD-licensed apps typically come with the license text in COPYING? pauamma_gundo.com: Do BSD-licensed apps typically come with the license text in COPYING? | |||||||||
.... | .... | ||||||||
==== | ==== | ||||||||
[[licenses-license_text]] | [[licenses-license_text]] | ||||||||
=== `LICENSE_TEXT` and `LICENSE_TEXT_NAME` | === `LICENSE_TEXT` and `LICENSE_TEXT_NAME` | ||||||||
Text to use as a license. | Text to use as a license. | ||||||||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||||||
LICENSE= ART10 GPLv1 | LICENSE= ART10 GPLv1 | ||||||||
LICENSE_COMB= dual | LICENSE_COMB= dual | ||||||||
.... | .... | ||||||||
If license files are provided, use this: | If license files are provided, use this: | ||||||||
[.programlisting] | [.programlisting] | ||||||||
.... | .... | ||||||||
LICENSE= ART10 BSD2CLAUSE | LICENSE= ART10 GPLv1 | ||||||||
LICENSE_COMB= dual | LICENSE_COMB= dual | ||||||||
LICENSE_FILE_ART10= ${WRKSRC}/Artistic | LICENSE_FILE_ART10= ${WRKSRC}/Artistic | ||||||||
LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE | LICENSE_FILE_GPLv1= ${WRKSRC}/Copying | ||||||||
.... | .... | ||||||||
==== | ==== | ||||||||
[[licenses-license_comb-ex2]] | [[licenses-license_comb-ex2]] | ||||||||
.Multiple Licenses | .Multiple Licenses | ||||||||
[example] | [example] | ||||||||
==== | ==== | ||||||||
▲ Show 20 Lines • Show All 2,028 Lines • Show Last 20 Lines |
I disagree with that, if a LICENSE_FILE is not provided, a generic one will be installed, which is wrong, we should install whatever license actually comes with the software.
Most of us are software developers, not lawyers, when porting some software, when the software says:
We don't have legal knowledge sufficient to determine if the file actually contains a license named FOO, so what we do is actually provide the file, as to make sure we don't mess things up.