Re: [Xen-devel] [PATCH v4 03/21] acpi: Re-license ACPI builder files from GPLv2 to LGPLv2.1

2016-09-20 Thread Lars Kurth


On 20/09/2016 01:19, "Boris Ostrovsky"  wrote:

>ACPI builder is currently distributed under GPLv2 license.
>
>We plan to make the builder available to components other
>than the hvmloader (which is also GPLv2). Some of these
>components (such as libxl) may be distributed under LGPL-2.1
>so that they can be used by non-GPLv2 callers.  But this
>will not be possible if we incorporate the ACPI builder in
>those other components.
>
>To avoid this problem we are relicensing sources in ACPI
>bulder directory to the Lesser GNU Public License (LGPL)
>version 2.1
>
>(dsdt.asl remains GPLv2 as we might need permission from Lenovo
>due to commit 801d469ad ("[HVM] ACPI support patch 3 of 4: ACPI
>_PRT table."))
>
>Signed-off-by: Boris Ostrovsky 
>Acked-by: Daniel Kiper 
>Acked-by: Stefan Berger 
>Acked-by: Kouya Shimura 
>Acked-by: Jan Beulich 
>Acked-by: Kevin Tian 
>Acked-by: Keir Fraser 
>Acked-by: Simon Horman 
>Acked-by: Lars Kurth 
>Acked-by: Konrad Rzeszutek Wilk  [for Oracle,
>VirtualIron and Sun contributions]
>---
>CC: Daniel Kiper 
>CC: Stefan Berger 
>CC: Kouya Shimura 
>CC: Jan Beulich 
>CC: Kevin Tian 
>CC: Keir Fraser 
>CC: Simon Horman 
>CC: Lars Kurth 
>CC: Konrad Rzeszutek Wilk 
>CC: k...@lenovo.com
>---
>
>Changes in v4:
>* Dropped dsdt.asl until Lenovo ACK is received (note that mk_dsdt.c *is*
>made LGPL)
>
> tools/firmware/hvmloader/acpi/Makefile| 18 --

The directory tools/firmware/hvmloader/acpi/ should contain a COPYING file
containing the text following text

[1] http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/libxc/COPYING


I would replace the following block in [1] with a more verbose
description, 
which provides additional context and states our intention.

1 Note that the only valid version of the LGPL as far as the files in
   2 this directory (and its subdirectories) are concerned is _this_
   3 particular version of the license (i.e., *only* v2.1, not v2.2 or v3.x
   4 or whatever), unless explicitly otherwise stated.

This library is licensed under LGPL v2.1 to allow its usage in LGPL-2.1
libraries such as libxl. Note that the only valid version of the LGPL as
far as the files in this directory (and its subdirectories) are concerned
is _this_ particular version of the license (i.e., *only* v2.1, not v2.2
or v3.x, unless explicitly otherwise stated.

After this block


6 Where clause 3 is invoked in order to relicense under the GPL then
   7 this shall be considered to be GPL v2 only for files which have
   8 specified LGPL v2.1 only.

add



gpl sub-directory
=
This directory contains a gpl sub-directory which contains code licensed
under the GPL v2, because we have not yet been able to get the permission
to relicense the relevant code to LGPL v2.1. See gpl/COPYING for more
information.

The makefile in this component allows to build a GPL and LGPL only
variant of this library, the latter omits all GPL source code.

Regards
Lars

___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


[Xen-devel] [PATCH v4 03/21] acpi: Re-license ACPI builder files from GPLv2 to LGPLv2.1

2016-09-19 Thread Boris Ostrovsky
ACPI builder is currently distributed under GPLv2 license.

We plan to make the builder available to components other
than the hvmloader (which is also GPLv2). Some of these
components (such as libxl) may be distributed under LGPL-2.1
so that they can be used by non-GPLv2 callers.  But this
will not be possible if we incorporate the ACPI builder in
those other components.

To avoid this problem we are relicensing sources in ACPI
bulder directory to the Lesser GNU Public License (LGPL)
version 2.1

(dsdt.asl remains GPLv2 as we might need permission from Lenovo
due to commit 801d469ad ("[HVM] ACPI support patch 3 of 4: ACPI
_PRT table."))

Signed-off-by: Boris Ostrovsky 
Acked-by: Daniel Kiper 
Acked-by: Stefan Berger 
Acked-by: Kouya Shimura 
Acked-by: Jan Beulich 
Acked-by: Kevin Tian 
Acked-by: Keir Fraser 
Acked-by: Simon Horman 
Acked-by: Lars Kurth 
Acked-by: Konrad Rzeszutek Wilk  [for Oracle, 
VirtualIron and Sun contributions]
---
CC: Daniel Kiper 
CC: Stefan Berger 
CC: Kouya Shimura 
CC: Jan Beulich 
CC: Kevin Tian 
CC: Keir Fraser 
CC: Simon Horman 
CC: Lars Kurth 
CC: Konrad Rzeszutek Wilk 
CC: k...@lenovo.com
---

Changes in v4:
* Dropped dsdt.asl until Lenovo ACK is received (note that mk_dsdt.c *is* made 
LGPL)

 tools/firmware/hvmloader/acpi/Makefile| 18 --
 tools/firmware/hvmloader/acpi/acpi2_0.h   | 19 ---
 tools/firmware/hvmloader/acpi/build.c | 18 --
 tools/firmware/hvmloader/acpi/mk_dsdt.c   | 12 
 tools/firmware/hvmloader/acpi/ssdt_pm.asl | 11 ---
 tools/firmware/hvmloader/acpi/ssdt_s3.asl | 11 ---
 tools/firmware/hvmloader/acpi/ssdt_s4.asl | 11 ---
 tools/firmware/hvmloader/acpi/ssdt_tpm.asl| 18 --
 tools/firmware/hvmloader/acpi/static_tables.c | 18 --
 9 files changed, 64 insertions(+), 72 deletions(-)

diff --git a/tools/firmware/hvmloader/acpi/Makefile 
b/tools/firmware/hvmloader/acpi/Makefile
index 32d8c22..c6382bd 100644
--- a/tools/firmware/hvmloader/acpi/Makefile
+++ b/tools/firmware/hvmloader/acpi/Makefile
@@ -1,17 +1,15 @@
 #
 # Copyright (c) 2004, Intel Corporation.
 #
-# This program is free software; you can redistribute it and/or modify it
-# under the terms and conditions of the GNU General Public License,
-# version 2, as published by the Free Software Foundation.
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation; version 2.1 only. with the special
+# exception on linking described in file LICENSE.
 #
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-# more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; If not, see .
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# NU Lesser General Public License for more details.
 #
 
 XEN_ROOT = $(CURDIR)/../../../..
diff --git a/tools/firmware/hvmloader/acpi/acpi2_0.h 
b/tools/firmware/hvmloader/acpi/acpi2_0.h
index 87a558a..775eb7a 100644
--- a/tools/firmware/hvmloader/acpi/acpi2_0.h
+++ b/tools/firmware/hvmloader/acpi/acpi2_0.h
@@ -1,18 +1,15 @@
 /*
  * Copyright (c) 2004, Intel Corporation.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; If not, see .
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; version 2.1 only. with the special
+ * exception on linking described in file LICENSE.
  *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT