Matthew Booth wrote: > I've just been trying to use getopt-gnu in a project, only to hit > license confusion. The (LGPLv2+) project is already using a bunch of > gnulib modules, which are all listed in a bootstrap file. Adding > getopt-gnu to this list results in an incompatible license error. The > module's license is given as 'LGPL'. The bootstrap script calls > gnulib-tool with '--lgpl=2'. > > Firstly, could the license please be updated to 'LGPLv2+', which I > believe is probably the intention. > > Secondly, the license headers of lib/getopt.c and lib/getopt1.c seem > to be GPLv3, which doesn't sound right. Do they also need to be > updated?
Hi Matt, That sounds fine, since the pieces all come from glibc, and the sole dependent module, getopt-posix is already lgplv2+. I'll wait a little, in case someone else wants to chime in. Here's the patch: >From b65975545768b43ceedb45b307546f1ee6605132 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Wed, 2 Mar 2011 18:48:01 +0100 Subject: [PATCH] getopt-gnu: relax license from LGPLv3+ to LGPLv2+ * modules/getopt-gnu (License): Relax to LGPLv2+, for augeas, on request from Mattew Booth. --- ChangeLog | 6 ++++++ modules/getopt-gnu | 2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1d85cf7..82842e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-03-02 Jim Meyering <meyer...@redhat.com> + + getopt-gnu: relax license from LGPLv3+ to LGPLv2+ + * modules/getopt-gnu (License): Relax to LGPLv2+, for augeas, + on request from Matt Booth. + 2011-03-01 Jim Meyering <meyer...@redhat.com> copy-file: ignore warning about chown's unused return value diff --git a/modules/getopt-gnu b/modules/getopt-gnu index 54bbe42..92b37dd 100644 --- a/modules/getopt-gnu +++ b/modules/getopt-gnu @@ -17,7 +17,7 @@ Include: <getopt.h> License: -LGPL +LGPLv2+ Maintainer: all, glibc -- 1.7.4.1.21.g4cc62