git: bf9dfed44f - main - Porter's handbook: GPL licenses installation

Lorenzo Salvadore <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by salvadore (ports committer):

URL: https://cgit.FreeBSD.org/doc/commit/?id=bf9dfed44fd3ea2903e3fc732603a9b43eadf33a

commit bf9dfed44fd3ea2903e3fc732603a9b43eadf33a
Author:     Lorenzo Salvadore <[email protected]>
AuthorDate: 2022-05-04 22:36:56 +0000
Commit:     Lorenzo Salvadore <[email protected]>
CommitDate: 2022-05-11 12:54:23 +0000

    Porter's handbook: GPL licenses installation
    
    As 13.20 kindly asks to avoid installing more GNU General Public License
    files into our system,
    
    - Repeat this recommendation in 5.7.
    - Modify an example in 5.7 going against that recommendation by
      replacing GPLv3+ with BSD2CLAUSE.
    
    Reviewed by:    Pau Amma <[email protected]>
    Approved by:    gerald (mentor), doc (carlavilla)
    Differential Revision: https://reviews.freebsd.org/D35127
---
 .../content/en/books/porters-handbook/makefiles/_index.adoc   | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
index 10a76f01da..e0168a2792 100644
--- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
@@ -2554,6 +2554,8 @@ LICENSE=	LGPL21+
 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.
+
 ====
 
 For the predefined licenses, the default permissions are `dist-mirror dist-sell pkg-mirror pkg-sell auto-accept`.
@@ -3203,6 +3205,7 @@ LICENSE_PERMS=  dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 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}#.
+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]]
 .`LICENSE_FILE`
@@ -3211,8 +3214,8 @@ If the file is not in the distfile, and its content is too long to be put in <<l
 
 [.programlisting]
 ....
-LICENSE=	GPLv3+
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 ....
 
 ====
@@ -3294,10 +3297,10 @@ If license files are provided, use this:
 
 [.programlisting]
 ....
-LICENSE=	ART10 GPLv1
+LICENSE=	ART10 BSD2CLAUSE
 LICENSE_COMB=   dual
 LICENSE_FILE_ART10=     ${WRKSRC}/Artistic
-LICENSE_FILE_GPLv1=     ${WRKSRC}/Copying
+LICENSE_FILE_BSD2CLAUSE=     ${WRKSRC}/LICENSE
 ....
 
 ====
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.