bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib-tool --lgpl exception for self tests?


From: Simon Josefsson
Subject: Re: gnulib-tool --lgpl exception for self tests?
Date: Mon, 09 Jan 2006 15:11:59 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote on 2005-10-25:
>> I'm using gnulib-tool --lgpl in some projects.  All of the *-tests
>> modules that I wrote recently are GPL.  There isn't really a need for
>> these self tests to be available under LGPL, but gnulib-tool complain
>> because I used --lgpl.  I think it would be fine to include GPL self
>> tests in a LGPL project, so I want gnulib-tool to deal with this
>> scenario.
>
> I don't think it makes a big difference for a test to be under GPL
> versus LGPL. While normal code can be copied from one package to
> another, tests are so closely tied to the code they test that there
> is not much reuse possible. Furthermore test code is rarely stored
> in executables or libraries for which the GPL would make a difference.
>
> Since it is easier to understand when all files in a package are
> under the same license, rather than to say "lib/ is under LGPL and
> tests/ under GPL", my vote is to distribute the tests under the same
> license as the code.

Since I don't seem to be bothered enough to fix gnulib-tool, I agree.
I installed the following.

2006-01-09  Simon Josefsson  <address@hidden>

        * modules/gc-rijndael-tests (License): Likewise.

        * modules/gc-des-tests (License): Likewise.

        * modules/gc-arcfour-tests (License): Likewise.

        * modules/gc-arctwo-tests (License): Likewise.

        * modules/gc-pbkdf2-sha1-tests (License): Likewise.

        * modules/gc-hmac-sha1-tests (Files): Likewise.

        * modules/gc-hmac-md5-tests (License): Likewise.

        * modules/gc-sha1-tests (License): Likewise.

        * modules/gc-md5-tests (License): Likewise.

        * modules/gc-md4-tests (License): Likewise.

        * modules/gc-md2-tests (License): Likewise.

        * modules/gc-tests (License): Likewise.

        * modules/des-tests (License): Likewise.

        * modules/md4-tests (License): Likewise.

        * modules/md2-tests (License): Likewise.

Index: des-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/des-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- des-tests   21 Oct 2005 12:28:18 -0000      1.1
+++ des-tests   9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-des
 noinst_PROGRAMS += test-des
 test_des_SOURCES = test-des.c
+
+License:
+LGPL
Index: gc-arcfour-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-arcfour-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-arcfour-tests    19 Oct 2005 15:40:27 -0000      1.1
+++ gc-arcfour-tests    9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-arcfour
 noinst_PROGRAMS += test-gc-arcfour
 test_gc_arcfour_SOURCES = test-gc-arcfour.c
+
+License:
+LGPL
Index: gc-arctwo-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-arctwo-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-arctwo-tests     21 Oct 2005 12:03:17 -0000      1.1
+++ gc-arctwo-tests     9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-arctwo
 noinst_PROGRAMS += test-gc-arctwo
 test_gc_arctwo_SOURCES = test-gc-arctwo.c
+
+License:
+LGPL
Index: gc-des-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-des-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-des-tests        21 Oct 2005 12:28:18 -0000      1.1
+++ gc-des-tests        9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-des
 noinst_PROGRAMS += test-gc-des
 test_gc_des_SOURCES = test-gc-des.c
+
+License:
+LGPL
Index: gc-hmac-md5-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-hmac-md5-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-hmac-md5-tests   13 Oct 2005 08:06:07 -0000      1.1
+++ gc-hmac-md5-tests   9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-hmac-md5
 noinst_PROGRAMS += test-gc-hmac-md5
 test_gc_hmac_md5_SOURCES = test-gc-hmac-md5.c
+
+License:
+LGPL
Index: gc-hmac-sha1-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-hmac-sha1-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-hmac-sha1-tests  13 Oct 2005 08:12:04 -0000      1.1
+++ gc-hmac-sha1-tests  9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-hmac-sha1
 noinst_PROGRAMS += test-gc-hmac-sha1
 test_gc_hmac_sha1_SOURCES = test-gc-hmac-sha1.c
+
+License:
+LGPL
Index: gc-md2-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-md2-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-md2-tests        28 Oct 2005 12:09:32 -0000      1.1
+++ gc-md2-tests        9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-md2
 noinst_PROGRAMS += test-gc-md2
 test_gc_md2_SOURCES = test-gc-md2.c
+
+License:
+LGPL
Index: gc-md4-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-md4-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-md4-tests        18 Oct 2005 23:35:52 -0000      1.1
+++ gc-md4-tests        9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-md4
 noinst_PROGRAMS += test-gc-md4
 test_gc_md4_SOURCES = test-gc-md4.c
+
+License:
+LGPL
Index: gc-md5-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-md5-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-md5-tests        13 Oct 2005 08:06:07 -0000      1.1
+++ gc-md5-tests        9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-md5
 noinst_PROGRAMS += test-gc-md5
 test_gc_md5_SOURCES = test-gc-md5.c
+
+License:
+LGPL
Index: gc-pbkdf2-sha1-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-pbkdf2-sha1-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-pbkdf2-sha1-tests        12 Oct 2005 13:13:29 -0000      1.1
+++ gc-pbkdf2-sha1-tests        9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-pbkdf2-sha1
 noinst_PROGRAMS += test-gc-pbkdf2-sha1
 test_gc_pbkdf2_sha1_SOURCES = test-gc-pbkdf2-sha1.c
+
+License:
+LGPL
Index: gc-rijndael-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-rijndael-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-rijndael-tests   19 Oct 2005 14:54:33 -0000      1.1
+++ gc-rijndael-tests   9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-rijndael
 noinst_PROGRAMS += test-gc-rijndael
 test_gc_rijndael_SOURCES = test-gc-rijndael.c
+
+License:
+LGPL
Index: gc-sha1-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-sha1-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-sha1-tests       17 Oct 2005 14:48:32 -0000      1.1
+++ gc-sha1-tests       9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc-sha1
 noinst_PROGRAMS += test-gc-sha1
 test_gc_sha1_SOURCES = test-gc-sha1.c
+
+License:
+LGPL
Index: gc-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/gc-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- gc-tests    8 Oct 2005 08:33:08 -0000       1.1
+++ gc-tests    9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-gc
 noinst_PROGRAMS += test-gc
 test_gc_SOURCES = test-gc.c
+
+License:
+LGPL
Index: md2-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/md2-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- md2-tests   28 Oct 2005 12:09:32 -0000      1.1
+++ md2-tests   9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-md2
 noinst_PROGRAMS += test-md2
 test_md2_SOURCES = test-md2.c
+
+License:
+LGPL
Index: md4-tests
===================================================================
RCS file: /sources/gnulib/gnulib/modules/md4-tests,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- md4-tests   18 Oct 2005 22:59:17 -0000      1.1
+++ md4-tests   9 Jan 2006 14:10:09 -0000       1.2
@@ -9,3 +9,6 @@ Makefile.am:
 TESTS += test-md4
 noinst_PROGRAMS += test-md4
 test_md4_SOURCES = test-md4.c
+
+License:
+LGPL




reply via email to

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