Commit 5143f4e9 authored by Bruno Haible's avatar Bruno Haible

Add a license tag to every module.

parent c22ddf54
2004-09-22 Bruno Haible <bruno@clisp.org>
* modules/*: Add 'License' field.
* gnulib-tool: Accept --extract-license option.
(func_get_license): New function.
2004-09-21 Bruno Haible <bruno@clisp.org>
* modules/vasnprintf (Files): Add m4/stdint_h.m4, m4/inttypes_h.m4.
......
......@@ -22,7 +22,7 @@
progname=$0
package=gnulib
cvsdatestamp='$Date: 2004-09-21 14:22:48 $'
cvsdatestamp='$Date: 2004-09-22 15:11:04 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
......@@ -54,6 +54,7 @@ Usage: gnulib-tool --list
gnulib-tool --extract-autoconf-snippet module
gnulib-tool --extract-automake-snippet module
gnulib-tool --extract-include-directive module
gnulib-tool --extract-license module
gnulib-tool --extract-maintainer module
Operation modes:
......@@ -72,6 +73,8 @@ Operation modes:
--extract-autoconf-snippet extract the snippet for configure.ac
--extract-automake-snippet extract the snippet for lib/Makefile.am
--extract-include-directive extract the #include directive
--extract-license report the license terms of the source files
under lib/
--extract-maintainer report the maintainer(s) inside gnulib
Options:
......@@ -285,6 +288,7 @@ sed_extract_prog=':[ ]*$/ {
s/^configure\.ac:[ ]*$//
s/^Makefile\.am:[ ]*$//
s/^Include:[ ]*$//
s/^License:[ ]*$//
s/^Maintainer:[ ]*$//
tb
p
......@@ -331,6 +335,12 @@ func_get_include_directive ()
sed -e 's/^\(["<]\)/#include \1/'
}
# func_get_license module
func_get_license ()
{
sed -n -e "/^License$sed_extract_prog" < "$gnulib_dir/modules/$1"
}
# func_get_maintainer module
func_get_maintainer ()
{
......@@ -928,6 +938,16 @@ case $mode in
done
;;
extract-license )
for module
do
func_verify_module
if test -n "$module"; then
func_get_license "$module"
fi
done
;;
extract-maintainer )
for module
do
......
......@@ -10,5 +10,8 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
......@@ -17,6 +17,9 @@ lib_SOURCES += acl.h acl.c
Include:
"acl.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -26,5 +26,8 @@ MOSTLYCLEANFILES += alloca.h alloca.h-t
Include:
#include <alloca.h>
License:
GPL
Maintainer:
bug-gnulib@gnu.org
......@@ -21,5 +21,8 @@ lib_SOURCES += allocsa.h allocsa.c
Include:
#include "allocsa.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -22,6 +22,9 @@ lib_SOURCES += argmatch.h argmatch.c
Include:
"argmatch.h"
License:
GPL
Maintainer:
all
......@@ -39,6 +39,9 @@ lib_SOURCES += argp.h argp-ba.c argp-eexst.c \
Include:
"argp.h"
License:
LGPL
Maintainer:
Simon Josefsson, glibc
......@@ -26,5 +26,8 @@ MOSTLYCLEANFILES += argz.h argz.h-t
Include:
<argz.h>
License:
GPL
Maintainer:
bug-libtool@gnu.org
......@@ -14,6 +14,9 @@ Makefile.am:
Include:
<assert.h>
License:
GPL
Maintainer:
Jim Meyering
......@@ -15,6 +15,9 @@ Makefile.am:
Include:
<stdlib.h>
License:
GPL
Maintainer:
Jim Meyering
......@@ -22,6 +22,9 @@ lib_SOURCES += backupfile.h backupfile.c
Include:
"backupfile.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -13,5 +13,8 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
......@@ -14,6 +14,9 @@ lib_SOURCES += binary-io.h
Include:
"binary-io.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -13,6 +13,9 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
Paul Eggert
......@@ -16,6 +16,9 @@ lib_SOURCES += c-ctype.h c-ctype.c
Include:
"c-ctype.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -19,6 +19,9 @@ lib_SOURCES += c-stack.h c-stack.c
Include:
"c-stack.h"
License:
GPL
Maintainer:
Paul Eggert
......@@ -18,6 +18,9 @@ lib_SOURCES += c-strtod.h c-strtod.c
Include:
"c-strtod.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -19,6 +19,9 @@ lib_SOURCES += c-strtod.h c-strtod.c c-strtold.c
Include:
"c-strtod.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -15,5 +15,8 @@ Makefile.am:
Include:
<stdlib.h>
License:
GPL
Maintainer:
Jim Meyering
......@@ -16,6 +16,9 @@ lib_SOURCES += canon-host.c
Include:
License:
GPL
Maintainer:
Jim Meyering
......@@ -22,6 +22,9 @@ lib_SOURCES += canonicalize.h canonicalize.c stat-macros.h
Include:
"canonicalize.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -16,6 +16,9 @@ Makefile.am:
Include:
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering
......@@ -18,5 +18,8 @@ lib_SOURCES += cloexec.c cloexec.h
Include:
"cloexec.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -23,5 +23,8 @@ lib_SOURCES += closeout.h closeout.c
Include:
"closeout.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -23,6 +23,9 @@ lib_SOURCES += copy-file.h copy-file.c
Include:
"copy-file.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -16,6 +16,9 @@ lib_SOURCES += cycle-check.c cycle-check.h dev-ino.h
Include:
"cycle-check.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -15,6 +15,9 @@ lib_SOURCES += diacrit.h diacrit.c
Include:
"diacrit.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -17,5 +17,8 @@ lib_SOURCES += dirfd.h
Include:
"dirfd.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -21,6 +21,9 @@ lib_SOURCES += dirname.h dirname.c basename.c stripslash.c
Include:
"dirname.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -13,5 +13,8 @@ lib_SOURCES += dummy.c
Include:
License:
GPL
Maintainer:
all
......@@ -15,6 +15,9 @@ Makefile.am:
Include:
<unistd.h>
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -16,5 +16,8 @@ EXTRA_DIST += eealloc.h
Include:
#include <eealloc.h>
License:
GPL
Maintainer:
Bruno Haible
......@@ -19,6 +19,9 @@ Makefile.am:
Include:
"error.h"
License:
LGPL
Maintainer:
all, glibc
......@@ -19,6 +19,9 @@ lib_SOURCES += euidaccess.h stat-macros.h
Include:
"euidaccess.h"
License:
LGPL
Maintainer:
Jim Meyering, glibc
......@@ -22,6 +22,9 @@ lib_SOURCES += exclude.h exclude.c
Include:
"exclude.h"
License:
GPL
Maintainer:
Paul Eggert
......@@ -25,6 +25,9 @@ lib_SOURCES += execute.h execute.c w32spawn.h
Include:
"execute.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -14,6 +14,9 @@ lib_SOURCES += exit.h
Include:
"exit.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -18,6 +18,9 @@ lib_SOURCES += exitfail.h exitfail.c
Include:
"exitfail.h"
License:
GPL
Maintainer:
Paul Eggert
......@@ -13,6 +13,9 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
Paul Eggert and Jim Meyering
......@@ -21,6 +21,9 @@ lib_SOURCES += fatal-signal.h fatal-signal.c
Include:
"fatal-signal.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -18,6 +18,9 @@ lib_SOURCES += fcntl-safer.h open-safer.c
Include:
"fcntl-safer.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -19,6 +19,9 @@ lib_SOURCES += file-type.h file-type.c stat-macros.h
Include:
"file-type.h"
License:
GPL
Maintainer:
Paul Eggert, Jim Meyering
......@@ -14,6 +14,9 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
Jim Meyering
......@@ -19,6 +19,9 @@ lib_SOURCES += filemode.h filemode.c stat-macros.h
Include:
"filemode.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -21,6 +21,9 @@ lib_SOURCES += findprog.h findprog.c
Include:
"findprog.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -29,5 +29,8 @@ MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
Include:
<fnmatch.h>
License:
LGPL
Maintainer:
all, glibc
......@@ -14,6 +14,9 @@ Makefile.am:
Include:
"fnmatch.h"
License:
GPL
Maintainer:
all
......@@ -14,6 +14,9 @@ Makefile.am:
Include:
"fnmatch.h"
License:
GPL
Maintainer:
all
......@@ -17,6 +17,9 @@ lib_SOURCES += __fpending.h
Include:
"__fpending.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -15,6 +15,9 @@ Makefile.am:
Include:
<stdlib.h>
License:
GPL
Maintainer:
Paul Eggert
......@@ -22,6 +22,9 @@ lib_SOURCES += fsusage.h
Include:
"fsusage.h"
License:
GPL
Maintainer:
Jim Meyering
......@@ -15,6 +15,9 @@ Makefile.am:
Include:
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering
......@@ -17,6 +17,9 @@ lib_SOURCES += full-read.h full-read.c
Include:
"full-read.h"
License:
GPL
Maintainer:
Jim Meyering, Bruno Haible
......@@ -16,6 +16,9 @@ lib_SOURCES += full-write.h full-write.c
Include:
"full-write.h"
License:
GPL
Maintainer:
Jim Meyering, Bruno Haible
......@@ -15,5 +15,8 @@ lib_SOURCES += fwriteerror.h fwriteerror.c
Include:
"fwriteerror.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -15,6 +15,9 @@ lib_SOURCES += gcd.h gcd.c
Include:
"gcd.h"
License:
GPL
Maintainer:
Bruno Haible
......@@ -16,6 +16,9 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
Jim Meyering
......@@ -27,6 +27,9 @@ MAINTAINERCLEANFILES += getdate.c
Include:
"getdate.h"
License:
GPL
Maintainer:
Paul Eggert
......@@ -17,5 +17,8 @@ lib_SOURCES += getdomainname.h
Include:
"getdomainname.h"
License:
GPL
Maintainer:
all
......@@ -16,6 +16,9 @@ Makefile.am:
Include:
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering
......@@ -14,6 +14,9 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
all
......@@ -23,6 +23,9 @@ EXTRA_DIST += getndelim2.h getndelim2.c
Include:
"getline.h"
License:
GPL
Maintainer:
all
......@@ -16,6 +16,9 @@ Makefile.am:
Include:
License:
GPL
Maintainer:
Jim Meyering
......@@ -20,6 +20,9 @@ EXTRA_DIST += getndelim2.h getndelim2.c
Include:
"getndelim2.h"
License: