p5- ports and LICENSE

Henrik Brix Andersen brix at FreeBSD.org
Sun Aug 1 11:06:11 UTC 2010


Hi,

I have prepared the patch below for adding the artistic license v1 + v2 along with GPLv1 to our ports license framework - for use in our perl p5- ports.
Most p5- ports are licensed "under the same terms as Perl [5] itself", meaning dual licensed under Artistic License v1.0 and GPLv1 [1].

With the patch below, dual licensed p5- ports can define their license as follows:
LICENSE_COMB=   dual
LICENSE=        ART10 GPLv1

I have included the Artistic License v2.0 since this is what will be used by perl6. Feedback is most welcome.

Index: bsd.licenses.db.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.licenses.db.mk,v
retrieving revision 1.5
diff -u -p -r1.5 bsd.licenses.db.mk
--- bsd.licenses.db.mk	22 Jun 2010 19:50:04 -0000	1.5
+++ bsd.licenses.db.mk	1 Aug 2010 10:11:11 -0000
@@ -33,7 +33,7 @@
 # _LICENSE_LIST_GROUPS	- List of defined license groups
 #
 
-_LICENSE_LIST=			ASL BSD BSL CDDL EPL GFDL GPLv2 GPLv3 LGPL20 LGPL21 LGPL3 MIT MPL
+_LICENSE_LIST=			ART10 ART20 ASL BSD BSL CDDL EPL GFDL GPLv1 GPLv2 GPLv3 LGPL20 LGPL21 LGPL3 MIT MPL
 
 # List of groups (only names must be present)
 
@@ -58,6 +58,12 @@ _LICENSE_PERMS_DEFAULT=	dist-mirror dist
 # - General permissions from groups are added to each license, if not defined.
 #
 
+_LICENSE_NAME_ART10=	Artistic License version 1.0
+_LICENSE_GROUPS_ART10=	OSI
+
+_LICENSE_NAME_ART20=	Artistic License version 2.0
+_LICENSE_GROUPS_ART20=	FSF GPL OSI
+
 _LICENSE_NAME_ASL=		Apache License
 _LICENSE_GROUPS_ASL=	FSF OSI
 
@@ -76,6 +82,9 @@ _LICENSE_GROUPS_EPL=	FSF OSI
 _LICENSE_NAME_GFDL=		GNU Free Documentation License
 _LICENSE_GROUPS_GFDL=	FSF
 
+_LICENSE_NAME_GPLv1=	GNU General Public License version 1
+_LICENSE_GROUPS_GPLv1=	FSF GPL OSI
+
 _LICENSE_NAME_GPLv2=	GNU General Public License version 2
 _LICENSE_GROUPS_GPLv2=	FSF GPL OSI
 

[1]: http://dev.perl.org/licenses/
-- 
Henrik Brix Andersen <brix at FreeBSD.org>





More information about the freebsd-ports mailing list