bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Re: c-ctype, inttostr, intprops module license


From: Yoann Vandoorselaere
Subject: [PATCH] Re: c-ctype, inttostr, intprops module license
Date: Tue, 14 Nov 2006 13:01:45 +0100

On Tue, 2006-11-14 at 12:07 +0100, Bruno Haible wrote:
> Yoann Vandoorselaere wrote:
> > The following modules are licensed under GPL but used by LGPL modules:
> > 
> > - c-ctype: used by c-strcase, c-strcasestr, linebreak.
> 
> I'm changing the copyright of c-ctype to LGPL:

Thanks!

> > As new dependencies get introduced to existing GnuLib modules, it would
> > be nice to have a tool that automatically check that LGPL modules
> > doesn't depend on GPL modules
> 
> Yes, I agree. Do you have time to add such a test to gnulib-tool's
> func_create_testdir?

Patch attached (note: I'm not very good at shell programming).

The patch work for --create-testdir with or without argument. 

The code consider an incompatible module license as a fatal error, thus
it will stop importing at that point. 

Changing 'func_fatal_error' to 'echo' permit to retrieve a list of
incompatible license dependencies:

$ ./gnulib-tool --dir test --create-testdir 
warning: module argp depend on another module with incompatible license: dirname
warning: module argp depend on another module with incompatible license: exit
warning: module argp depend on another module with incompatible license: 
exitfail
warning: module argp depend on another module with incompatible license: inline
warning: module argp depend on another module with incompatible license: xalloc
warning: module argp depend on another module with incompatible license: 
xalloc-die
warning: module argp depend on another module with incompatible license: 
xstrndup
warning: module canon-host depend on another module with incompatible license: 
intprops
warning: module canon-host depend on another module with incompatible license: 
inttostr
warning: module euidaccess depend on another module with incompatible license: 
exit
warning: module euidaccess depend on another module with incompatible license: 
exitfail
warning: module euidaccess depend on another module with incompatible license: 
group-member
warning: module euidaccess depend on another module with incompatible license: 
inline
warning: module euidaccess depend on another module with incompatible license: 
xalloc
warning: module euidaccess depend on another module with incompatible license: 
xalloc-die
warning: module fts-lgpl depend on another module with incompatible license: 
chdir-long
warning: module fts-lgpl depend on another module with incompatible license: 
chown
warning: module fts-lgpl depend on another module with incompatible license: 
d-ino
warning: module fts-lgpl depend on another module with incompatible license: 
dirname
warning: module fts-lgpl depend on another module with incompatible license: 
exit
warning: module fts-lgpl depend on another module with incompatible license: 
exitfail
warning: module fts-lgpl depend on another module with incompatible license: 
fcntl-safer
warning: module fts-lgpl depend on another module with incompatible license: 
getcwd
warning: module fts-lgpl depend on another module with incompatible license: 
inline
warning: module fts-lgpl depend on another module with incompatible license: 
intprops
warning: module fts-lgpl depend on another module with incompatible license: 
lchown
warning: module fts-lgpl depend on another module with incompatible license: 
openat
warning: module fts-lgpl depend on another module with incompatible license: 
save-cwd
warning: module fts-lgpl depend on another module with incompatible license: 
unistd-safer
warning: module fts-lgpl depend on another module with incompatible license: 
xalloc
warning: module fts-lgpl depend on another module with incompatible license: 
xalloc-die
warning: module fts-lgpl depend on another module with incompatible license: 
xgetcwd
warning: module fts-lgpl depend on another module with incompatible license: 
xstrndup
warning: module getaddrinfo depend on another module with incompatible license: 
intprops
warning: module getaddrinfo depend on another module with incompatible license: 
inttostr
warning: module glob depend on another module with incompatible license: d-type
warning: module mkdtemp depend on another module with incompatible license: 
tempname
warning: module obstack depend on another module with incompatible license: exit
warning: module obstack depend on another module with incompatible license: 
exitfail

-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58                  Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com

Attachment: gnulib-tool.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]