Patchwork [7/8] oprofile: add license information

login
register
mail settings
Submitter Simon Dawson
Date Nov. 30, 2012, 10:14 a.m.
Message ID <1354270483-32356-8-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/202915/
State Accepted
Headers show

Comments

Simon Dawson - Nov. 30, 2012, 10:14 a.m.
From: Simon Dawson <simond@trainfx.com>

Signed-off-by: Simon Dawson <simond@trainfx.com>
---
 package/oprofile/oprofile.mk |    2 ++
 1 file changed, 2 insertions(+)
Arnout Vandecappelle - Dec. 4, 2012, 9:55 p.m.
On 30/11/12 11:14, spdawson@gmail.com wrote:
> From: Simon Dawson<simond@trainfx.com>
>
> Signed-off-by: Simon Dawson<simond@trainfx.com>
> ---
>   package/oprofile/oprofile.mk |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/package/oprofile/oprofile.mk b/package/oprofile/oprofile.mk
> index 54c46dd..17d225a 100644
> --- a/package/oprofile/oprofile.mk
> +++ b/package/oprofile/oprofile.mk
> @@ -6,6 +6,8 @@
>
>   OPROFILE_VERSION = 0.9.7
>   OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION)
> +OPROFILE_LICENSE = GPLv2

  Only a few files specify the license, but the ones that do specify
"or later" - including the man page. So it should be GPLv2+.

  (libjvmti, libjvmpi and libopagent libraries are LGPLv2.1+, for which no
license file is included. However, since we don't install to staging, this
is probably not relevant.)


  Regards,
  Arnout

> +OPROFILE_LICENSE_FILES = COPYING
>   OPROFILE_CONF_OPT = --localstatedir=/var --with-kernel-support
>   OPROFILE_BINARIES = utils/ophelp pp/opannotate pp/oparchive pp/opgprof
>   OPROFILE_BINARIES += pp/opreport opjitconv/opjitconv daemon/oprofiled
Peter Korsgaard - Dec. 4, 2012, 10:44 p.m.
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

 Arnout> On 30/11/12 11:14, spdawson@gmail.com wrote:
 >> From: Simon Dawson<simond@trainfx.com>
 >> 
 >> Signed-off-by: Simon Dawson<simond@trainfx.com>
 >> ---
 >> package/oprofile/oprofile.mk |    2 ++
 >> 1 file changed, 2 insertions(+)
 >> 
 >> diff --git a/package/oprofile/oprofile.mk b/package/oprofile/oprofile.mk
 >> index 54c46dd..17d225a 100644
 >> --- a/package/oprofile/oprofile.mk
 >> +++ b/package/oprofile/oprofile.mk
 >> @@ -6,6 +6,8 @@
 >> 
 >> OPROFILE_VERSION = 0.9.7
 >> OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION)
 >> +OPROFILE_LICENSE = GPLv2

 Arnout>  Only a few files specify the license, but the ones that do specify
 Arnout> "or later" - including the man page. So it should be GPLv2+.

 Arnout>  (libjvmti, libjvmpi and libopagent libraries are LGPLv2.1+,
 Arnout> for which no license file is included. However, since we don't
 Arnout> install to staging, this is probably not relevant.)

Committed as GPLv2+, thanks.

Patch

diff --git a/package/oprofile/oprofile.mk b/package/oprofile/oprofile.mk
index 54c46dd..17d225a 100644
--- a/package/oprofile/oprofile.mk
+++ b/package/oprofile/oprofile.mk
@@ -6,6 +6,8 @@ 
 
 OPROFILE_VERSION = 0.9.7
 OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION)
+OPROFILE_LICENSE = GPLv2
+OPROFILE_LICENSE_FILES = COPYING
 OPROFILE_CONF_OPT = --localstatedir=/var --with-kernel-support
 OPROFILE_BINARIES = utils/ophelp pp/opannotate pp/oparchive pp/opgprof
 OPROFILE_BINARIES += pp/opreport opjitconv/opjitconv daemon/oprofiled