[libvirt] [PATCH 0/4] Properly use LGPL

Eric Blake eblake at redhat.com
Thu May 16 00:23:26 UTC 2013


The FSF has some recommendations on how to use the LGPL, and
we weren't always following them.  This series tries to clean
things up to avoid any confusion on our intent - our source
code is LGPLv2+ (except for vbox which is LGPLv2-only); the
resulting binaries might be under a different license based
on what they link with (for example, libvirt_parthelper is
GPLv3+, and a future patch will make libvirtd GPLv2-only so
as to let libvirt.so become LGPLv2+ instead of its current
polluted LGPLv2-only when built with vbox).

One thing I was unable to figure out: when switching between
branches, older branches still create a non-versioned COPYING
file; git doesn't like to move to this commit unless you manually
remove that file first.  Unfortunately, I don't know of any
clean way to avoid that problem, unless we _don't_ version-control
COPYING and instead copy it out of .gnulib/docs/COPYINGv2 as
needed (similar to how configure.ac used to copy it from
COPYING.LIB before this series).  If having to manually remove
COPYING before switching branches proves too annoying, and if
you agree that libvirt.git can get away without COPYING (since
it is really only tarballs that NEED it), then I can tweak patch
2 to keep populating COPYING at configure time, rather than
version-controlling it.

Eric Blake (4):
  maint: use LGPL correctly
  maint: follow recommended practice for using LGPL
  maint: refer to correct license file
  maint: enforce correct copyright usage

 .gitignore                                  |   1 -
 COPYING                                     | 339 ++++++++++++++++++++++++++++
 COPYING.LIB => COPYING.LESSER               |   0
 Makefile.am                                 |  17 +-
 cfg.mk                                      |  12 +-
 configure.ac                                |  23 +-
 daemon/Makefile.am                          |  15 +-
 docs/Makefile.am                            |  17 +-
 docs/schemas/Makefile.am                    |  17 +-
 examples/apparmor/Makefile.am               |  17 +-
 examples/domain-events/events-c/Makefile.am |  17 +-
 examples/dominfo/Makefile.am                |  17 +-
 examples/domsuspend/Makefile.am             |  17 +-
 examples/hellolibvirt/Makefile.am           |  17 +-
 examples/openauth/Makefile.am               |  17 +-
 examples/python/Makefile.am                 |  17 +-
 examples/systemtap/Makefile.am              |  17 +-
 examples/xml/nwfilter/Makefile.am           |  17 +-
 gnulib/lib/Makefile.am                      |  17 +-
 gnulib/tests/Makefile.am                    |  17 +-
 include/Makefile.am                         |  17 +-
 include/libvirt/Makefile.am                 |  17 +-
 libvirt.spec.in                             |   6 +-
 python/Makefile.am                          |  15 +-
 python/tests/Makefile.am                    |  17 +-
 src/Makefile.am                             |  15 +-
 src/rpc/gendispatch.pl                      |  16 ++
 src/rpc/genprotocol.pl                      |  16 +-
 src/vbox/vbox_CAPI_v2_2.h                   |   2 +-
 src/vbox/vbox_CAPI_v3_0.h                   |   2 +-
 src/vbox/vbox_CAPI_v3_1.h                   |   2 +-
 src/vbox/vbox_CAPI_v3_2.h                   |   2 +-
 src/vbox/vbox_CAPI_v4_0.h                   |   2 +-
 src/vbox/vbox_CAPI_v4_1.h                   |   2 +-
 src/vbox/vbox_V2_2.c                        |   2 +-
 src/vbox/vbox_V3_0.c                        |   2 +-
 src/vbox/vbox_V3_1.c                        |   2 +-
 src/vbox/vbox_XPCOMCGlue.c                  |   2 +-
 src/vbox/vbox_XPCOMCGlue.h                  |   2 +-
 src/vbox/vbox_driver.c                      |   2 +-
 src/vbox/vbox_driver.h                      |   2 +-
 src/vbox/vbox_tmpl.c                        |   2 +-
 src/xen/xend_internal.c                     |  16 +-
 src/xen/xend_internal.h                     |  22 +-
 tests/Makefile.am                           |  15 +-
 tools/Makefile.am                           |  15 +-
 46 files changed, 765 insertions(+), 78 deletions(-)
 create mode 100644 COPYING
 rename COPYING.LIB => COPYING.LESSER (100%)

-- 
1.8.1.4




More information about the libvir-list mailing list