Patchwork [08/10] mpfr: add license info

login
register
mail settings
Submitter Gustavo Zacarias
Date Sept. 7, 2012, 2:48 p.m.
Message ID <1347029337-12494-8-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/182393/
State Changes Requested
Headers show

Comments

Gustavo Zacarias - Sept. 7, 2012, 2:48 p.m.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/mpfr/mpfr.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Peter Korsgaard - Sept. 9, 2012, 8:57 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/mpfr/mpfr.mk |    2 ++
 Gustavo>  1 files changed, 2 insertions(+), 0 deletions(-)

 Gustavo> diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
 Gustavo> index 9caf3ac..f283be4 100644
 Gustavo> --- a/package/mpfr/mpfr.mk
 Gustavo> +++ b/package/mpfr/mpfr.mk
 Gustavo> @@ -7,6 +7,8 @@
 Gustavo>  MPFR_VERSION = 3.1.1
 Gustavo>  MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION)
 Gustavo>  MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.bz2
 Gustavo> +MPFR_LICENSE = GPLv3 LGPLv3+
 Gustavo> +MPFR_LICENSE_FILES = COPYING COPYING.LESSER

According to the README and mpfr website the license is simply LGPLv3+,
but I also see COPYING. Are you sure it is both?
Gustavo Zacarias - Sept. 9, 2012, 9:57 p.m.
On 09/09/12 17:57, Peter Korsgaard wrote:

> According to the README and mpfr website the license is simply LGPLv3+,
> but I also see COPYING. Are you sure it is both?

I'm based on the assumption that they're shipping both files(/licenses).
In some cases the library portion is LGPL, for example with gnutls, and
the rest (binary/testcases) remain GPL, though it's unclear for mpfr and
gmp as you say.
I'm just erring on the strict side.
Regards.

Patch

diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index 9caf3ac..f283be4 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -7,6 +7,8 @@ 
 MPFR_VERSION = 3.1.1
 MPFR_SITE = http://www.mpfr.org/mpfr-$(MPFR_VERSION)
 MPFR_SOURCE = mpfr-$(MPFR_VERSION).tar.bz2
+MPFR_LICENSE = GPLv3 LGPLv3+
+MPFR_LICENSE_FILES = COPYING COPYING.LESSER
 MPFR_INSTALL_STAGING = YES
 MPFR_DEPENDENCIES = gmp
 MPFR_MAKE_OPT = RANLIB=$(TARGET_RANLIB)