Patchwork [02/10] udev: fix LICENSE fields to be SPDX compliant

login
register
mail settings
Submitter Joshua Lock
Date Dec. 15, 2011, 11:30 p.m.
Message ID <eec8014c76be16e9a58c34f5a448231a74abd445.1323991540.git.josh@linux.intel.com>
Download mbox | patch
Permalink /patch/17043/
State New
Headers show

Comments

Joshua Lock - Dec. 15, 2011, 11:30 p.m.
Additionally I'm not sure where the LGPL license came from, the COPYING
file and Fedora both say GPL v2 or later so drop the LGPL entry for now.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 meta/recipes-core/udev/udev-new.inc |    2 +-
 meta/recipes-core/udev/udev.inc     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Khem Raj - Dec. 16, 2011, 7:36 a.m.
On Thursday, December 15, 2011, Joshua Lock <josh@linux.intel.com> wrote:
> Additionally I'm not sure where the LGPL license came from, the COPYING
> file and Fedora both say GPL v2 or later so drop the LGPL entry for now.
>
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  meta/recipes-core/udev/udev-new.inc |    2 +-
>  meta/recipes-core/udev/udev.inc     |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/recipes-core/udev/udev-new.inc
b/meta/recipes-core/udev/udev-new.inc
> index eac7903..769d54a 100644
> --- a/meta/recipes-core/udev/udev-new.inc
> +++ b/meta/recipes-core/udev/udev-new.inc
> @@ -2,7 +2,7 @@ SUMMARY = "/dev/ and hotplug management daemon"
>  DESCRIPTION = "udev is a daemon which dynamically creates and removes
device nodes from \
>  /dev/, handles hotplug events and loads drivers at boot time."
>  HOMEPAGE = "
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
> -LICENSE = "GPLv2+ & LGPLv2.1+"
> +LICENSE = "GPL-2.0+"
>  LICENSE_${PN} = "GPLv2+

Why two notations for Gpl v2 above


>  LICENSE_libudev = "LGPLv2.1+"
>  LICENSE_libgudev = "LGPLv2.1+"
> diff --git a/meta/recipes-core/udev/udev.inc
b/meta/recipes-core/udev/udev.inc
> index d731816..2e501fa 100644
> --- a/meta/recipes-core/udev/udev.inc
> +++ b/meta/recipes-core/udev/udev.inc
> @@ -1,7 +1,7 @@
>  SUMMARY = "/dev/ and hotplug management daemon"
>  DESCRIPTION = "udev is a program which dynamically creates and removes
device nodes from \
>  /dev/. It responds to /sbin/hotplug device events and requires a 2.6
kernel."
> -LICENSE = "GPL"
> +LICENSE = "GPL-2.0+"
>
>  SRC_URI += " \
>           file://udev.rules \
> @@ -11,7 +11,7 @@ SRC_URI += " \
>           file://mount.sh \
>           file://network.sh \
>           file://local.rules \
> -       file://udev-cache \
> +           file://udev-cache \
>            file://init"
>
>  UDEV_DEVFS_RULES ?= "0"
> --
> 1.7.7.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
Joshua Lock - Dec. 19, 2011, 6:48 p.m.
On 15/12/11 23:36, Khem Raj wrote:
> 
> 
> On Thursday, December 15, 2011, Joshua Lock <josh@linux.intel.com
> <mailto:josh@linux.intel.com>> wrote:
>> Additionally I'm not sure where the LGPL license came from, the COPYING
>> file and Fedora both say GPL v2 or later so drop the LGPL entry for now.

Of course, the LGPL is for libudev!

>>
>> Signed-off-by: Joshua Lock <josh@linux.intel.com
> <mailto:josh@linux.intel.com>>
>> ---
>>  meta/recipes-core/udev/udev-new.inc |    2 +-
>>  meta/recipes-core/udev/udev.inc     |    4 ++--
>>  2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/meta/recipes-core/udev/udev-new.inc
> b/meta/recipes-core/udev/udev-new.inc
>> index eac7903..769d54a 100644
>> --- a/meta/recipes-core/udev/udev-new.inc
>> +++ b/meta/recipes-core/udev/udev-new.inc
>> @@ -2,7 +2,7 @@ SUMMARY = "/dev/ and hotplug management daemon"
>>  DESCRIPTION = "udev is a daemon which dynamically creates and removes
> device nodes from \
>>  /dev/, handles hotplug events and loads drivers at boot time."
>>  HOMEPAGE =
> "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
>> -LICENSE = "GPLv2+ & LGPLv2.1+"
>> +LICENSE = "GPL-2.0+"
>>  LICENSE_${PN} = "GPLv2+
> 
> Why two notations for Gpl v2 above

Good catch, thanks!

I'll get an updated patch series out.

Cheers,
Joshua

Patch

diff --git a/meta/recipes-core/udev/udev-new.inc b/meta/recipes-core/udev/udev-new.inc
index eac7903..769d54a 100644
--- a/meta/recipes-core/udev/udev-new.inc
+++ b/meta/recipes-core/udev/udev-new.inc
@@ -2,7 +2,7 @@  SUMMARY = "/dev/ and hotplug management daemon"
 DESCRIPTION = "udev is a daemon which dynamically creates and removes device nodes from \
 /dev/, handles hotplug events and loads drivers at boot time."
 HOMEPAGE = "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
-LICENSE = "GPLv2+ & LGPLv2.1+"
+LICENSE = "GPL-2.0+"
 LICENSE_${PN} = "GPLv2+"
 LICENSE_libudev = "LGPLv2.1+"
 LICENSE_libgudev = "LGPLv2.1+"
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index d731816..2e501fa 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -1,7 +1,7 @@ 
 SUMMARY = "/dev/ and hotplug management daemon"
 DESCRIPTION = "udev is a program which dynamically creates and removes device nodes from \
 /dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel."
-LICENSE = "GPL"
+LICENSE = "GPL-2.0+"
 
 SRC_URI += " \
 	   file://udev.rules \
@@ -11,7 +11,7 @@  SRC_URI += " \
 	   file://mount.sh \
 	   file://network.sh \
 	   file://local.rules \
-       file://udev-cache \
+           file://udev-cache \
            file://init"
 
 UDEV_DEVFS_RULES ?= "0"