diff mbox

[2/3] mxml: add license information

Message ID 9e9f83eae727c218f9ee7cfc2a7d86772a12a308.1343796460.git.baruch@tkos.co.il
State Rejected
Headers show

Commit Message

Baruch Siach Aug. 1, 2012, 4:48 a.m. UTC
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/mxml/mxml.mk |    2 ++
 1 file changed, 2 insertions(+)

Comments

Thomas Petazzoni Aug. 1, 2012, 6:10 p.m. UTC | #1
Le Wed,  1 Aug 2012 07:48:58 +0300,
Baruch Siach <baruch@tkos.co.il> a écrit :

> +MXML_LICENSE = LGPLv2+
> +MXML_LICENSE_FILES = COPYING

I haven't applied this one, because the situation is a bit more
complicated here. mxml is released under LGPLv2+ + some special
exceptions. See the COPYING file:

                           Mini-XML License
                          September 18, 2010


The Mini-XML library and included programs are provided under the
terms of the GNU Library General Public License version 2 (LGPL2)
with the following exceptions:

  1. Static linking of applications to the Mini-XML library
does not constitute a derivative work and does not require
the author to provide source code for the application, use
the shared Mini-XML libraries, or link their applications
against a user-supplied version of Mini-XML.

If you link the application to a modified version of
Mini-XML, then the changes to Mini-XML must be provided
under the terms of the LGPL2 in sections 1, 2, and 4.

  2. You do not have to provide a copy of the Mini-XML license
with programs that are linked to the Mini-XML library, nor
do you have to identify the Mini-XML license in your
program or documentation as required by section 6 of the
LGPL2.


^L                GNU LIBRARY GENERAL PUBLIC LICENSE
                         Version 2, June 1991

[... rest of the LGPLv2 text ...]

I am not sure how to encode this into the _LICENSE field. Luca?

Thomas
Luca Ceresoli Aug. 1, 2012, 8:24 p.m. UTC | #2
Thomas Petazzoni wrote:
> Le Wed,  1 Aug 2012 07:48:58 +0300,
> Baruch Siach <baruch@tkos.co.il> a écrit :
>
>> +MXML_LICENSE = LGPLv2+
>> +MXML_LICENSE_FILES = COPYING
>
> I haven't applied this one, because the situation is a bit more
> complicated here. mxml is released under LGPLv2+ + some special
> exceptions. See the COPYING file:
>
>                             Mini-XML License
>                            September 18, 2010
>
>
> The Mini-XML library and included programs are provided under the
> terms of the GNU Library General Public License version 2 (LGPL2)
> with the following exceptions:
>
>    1. Static linking of applications to the Mini-XML library
> does not constitute a derivative work and does not require
> the author to provide source code for the application, use
> the shared Mini-XML libraries, or link their applications
> against a user-supplied version of Mini-XML.
>
> If you link the application to a modified version of
> Mini-XML, then the changes to Mini-XML must be provided
> under the terms of the LGPL2 in sections 1, 2, and 4.
>
>    2. You do not have to provide a copy of the Mini-XML license
> with programs that are linked to the Mini-XML library, nor
> do you have to identify the Mini-XML license in your
> program or documentation as required by section 6 of the
> LGPL2.
>
>
> ^L                GNU LIBRARY GENERAL PUBLIC LICENSE
>                           Version 2, June 1991
>
> [... rest of the LGPLv2 text ...]
>
> I am not sure how to encode this into the _LICENSE field. Luca?

Well, the fallback for fancy licenses is "<package_name> license", as in
"bzip2 license", for example.

But in cases like this, where the license is very similar to a well-known
one, I would prefer something like "LGPLv2+ with exceptions".That is much
more informative, while still clearly stating this not equal to an LGPLv2+.

Luca
Baruch Siach Aug. 2, 2012, 3:54 a.m. UTC | #3
Hi Luca, Thomas,

On Wed, Aug 01, 2012 at 10:24:45PM +0200, Luca Ceresoli wrote:
> Thomas Petazzoni wrote:
> >Le Wed,  1 Aug 2012 07:48:58 +0300,
> >Baruch Siach <baruch@tkos.co.il> a écrit :
> >
> >>+MXML_LICENSE = LGPLv2+
> >>+MXML_LICENSE_FILES = COPYING
> >
> >I haven't applied this one, because the situation is a bit more
> >complicated here. mxml is released under LGPLv2+ + some special
> >exceptions. See the COPYING file:

[snip]

> >I am not sure how to encode this into the _LICENSE field. Luca?
> 
> Well, the fallback for fancy licenses is "<package_name> license", as in
> "bzip2 license", for example.
> 
> But in cases like this, where the license is very similar to a well-known
> one, I would prefer something like "LGPLv2+ with exceptions".That is much
> more informative, while still clearly stating this not equal to an LGPLv2+.

Ok. I'll resubmit the patch.

baruch
diff mbox

Patch

diff --git a/package/mxml/mxml.mk b/package/mxml/mxml.mk
index af1cb26..807de11 100644
--- a/package/mxml/mxml.mk
+++ b/package/mxml/mxml.mk
@@ -5,6 +5,8 @@ 
 #############################################################
 MXML_VERSION = 2.7
 MXML_SITE = http://ftp.easysw.com/pub/mxml/$(MXML_VERSION)
+MXML_LICENSE = LGPLv2+
+MXML_LICENSE_FILES = COPYING
 MXML_INSTALL_STAGING = YES
 
 MXML_INSTALL_STAGING_OPT = DSTROOT=$(STAGING_DIR) install