bug-gnulib
[Top][All Lists]
Advanced

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

fix copyright notices in gnulib for getdate, quote, verify, etc.


From: Paul Eggert
Subject: fix copyright notices in gnulib for getdate, quote, verify, etc.
Date: Mon, 14 Aug 2006 11:36:48 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed the following to add and/or fix the copyright notices of
modules that I help maintain, or for which I expect Simon won't mind
adding a notice.

I'll send out two other messages on this subject, one for Bruno and
one for Karl, to address the files they maintain.

The modules files were the biggest pain since they are processed
automatically and adding a copyright notice for each would be a pain.
Since they aren't intended to be copied into applications I think it's
ok to add a single file containing the copyright notice for the
collection; if I'm wrong please let me know and I'll be glad to add
the notice to each file separately.

2006-08-14  Paul Eggert  <address@hidden>

        * modules/COPYING: New file.
        * check-module: Add copyright notice.
        Output a copyright notice if "--version" is specified.
        * config/srclistvars.sh: Add copyright notice.
        * doc/getdate.texi: Update FDL version from 1.1 to 1.2.
        * doc/quote.texi: Add copyright notice.
        * lib/TODO: Remove; this belongs only in coreutils.
        * tests/test-getaddrinfo.c: Add copyright notice.
        * tests/test-verify.c: Likewise.

--- /dev/null   2005-09-24 22:00:15.000000000 -0700
+++ modules/COPYING     2006-08-14 11:17:30.000000000 -0700
@@ -0,0 +1,8 @@
+The files in this directory describe the gnulib modules.
+The following copyright notice applies to each of these
+description files.
+
+Copyright (C) 2006 Free Software Foundation, Inc.
+This file is free software; the Free Software Foundation
+gives unlimited permission to copy and/or distribute it,
+with or without modifications, as long as this notice is preserved.

Index: check-module
===================================================================
RCS file: /cvsroot/gnulib/gnulib/check-module,v
retrieving revision 1.4
diff -p -u -r1.4 check-module
--- check-module        31 Aug 2005 15:56:01 -0000      1.4
+++ check-module        14 Aug 2006 18:27:17 -0000
@@ -1,4 +1,24 @@
 #!/usr/bin/perl -w
+# Check a gnulib module.
+
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+
 # Read a module description file and derive the set of files
 # included directly by any .c or .h file listed in the `Files:' section.
 # Take the union of all such sets for any dependent modules.
@@ -21,6 +41,11 @@ use strict;
 use Getopt::Long;
 #use Coda;
 
+my $COPYRIGHT_NOTICE = "Copyright (C) 2006 Free Software Foundation, Inc.\n".
+"This is free software.  You may redistribute copies of it under the terms 
of\n".
+"the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n".
+"There is NO WARRANTY, to the extent permitted by law.\n";
+
 (my $VERSION = '$Revision: 1.4 $ ') =~ tr/[0-9].//cd;
 (my $ME = $0) =~ s|.*/||;
 
@@ -237,7 +262,7 @@ sub check_module ($)
   GetOptions
     (
      help => sub { usage 0 },
-     version => sub { print "$ME version $VERSION\n"; exit },
+     version => sub { print "$ME version $VERSION\n$COPYRIGHT_NOTICE"; exit },
     ) or usage 1;
 
   @ARGV < 1
Index: config/srclistvars.sh
===================================================================
RCS file: /cvsroot/gnulib/gnulib/config/srclistvars.sh,v
retrieving revision 1.26
diff -p -u -r1.26 srclistvars.sh
--- config/srclistvars.sh       8 Aug 2006 16:15:45 -0000       1.26
+++ config/srclistvars.sh       14 Aug 2006 18:27:17 -0000
@@ -2,6 +2,24 @@
 # Variables for srclist-update and srclist.txt.
 # Will change for each user.
 
+# Copyright (C) 2002, 2003, 2004 2005, 2006 Free Software Foundation,
+# Inc.
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
 case $LOGNAME in
 jas | eggert)
   : ${AUTOCONF=../autoconf}
Index: doc/getdate.texi
===================================================================
RCS file: /cvsroot/gnulib/gnulib/doc/getdate.texi,v
retrieving revision 1.5
diff -p -u -r1.5 getdate.texi
--- doc/getdate.texi    9 Jan 2006 23:13:56 -0000       1.5
+++ doc/getdate.texi    14 Aug 2006 18:27:17 -0000
@@ -4,7 +4,7 @@
 @c 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
 @c Permission is granted to copy, distribute and/or modify this document
address@hidden under the terms of the GNU Free Documentation License, Version 
1.1 or
address@hidden under the terms of the GNU Free Documentation License, Version 
1.2 or
 @c any later version published by the Free Software Foundation; with no
 @c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
 @c Texts.  A copy of the license is included in the ``GNU Free
Index: doc/quote.texi
===================================================================
RCS file: /cvsroot/gnulib/gnulib/doc/quote.texi,v
retrieving revision 1.1
diff -p -u -r1.1 quote.texi
--- doc/quote.texi      19 Sep 2005 15:46:26 -0000      1.1
+++ doc/quote.texi      14 Aug 2006 18:27:18 -0000
@@ -1,6 +1,15 @@
 @node Quoting
 @section Quoting
 
address@hidden Copyright (C) 2005 Free Software Foundation, Inc.
+
address@hidden Permission is granted to copy, distribute and/or modify this 
document
address@hidden under the terms of the GNU Free Documentation License, Version 
1.2 or
address@hidden any later version published by the Free Software Foundation; 
with no
address@hidden Invariant Sections, with no Front-Cover Texts, and with no 
Back-Cover
address@hidden Texts.  A copy of the license is included in the ``GNU Free
address@hidden Documentation License'' file as part of this distribution.
+
 @cindex Quoting
 @findex quote
 @findex quotearg
Index: tests/test-getaddrinfo.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/tests/test-getaddrinfo.c,v
retrieving revision 1.2
diff -p -u -r1.2 test-getaddrinfo.c
--- tests/test-getaddrinfo.c    28 Jun 2006 11:08:35 -0000      1.2
+++ tests/test-getaddrinfo.c    14 Aug 2006 18:27:18 -0000
@@ -1,3 +1,23 @@
+/* Test the getaddrinfo module.
+
+   Copyright (C) 2006 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
+/* Written by Simon Josefsson.  */
+
 #include "config.h"
 #include "getaddrinfo.h"
 #include "inet_ntop.h"
Index: tests/test-verify.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/tests/test-verify.c,v
retrieving revision 1.4
diff -p -u -r1.4 test-verify.c
--- tests/test-verify.c 28 Sep 2005 12:00:59 -0000      1.4
+++ tests/test-verify.c 14 Aug 2006 18:27:18 -0000
@@ -1,3 +1,23 @@
+/* Test the "verify" module.
+
+   Copyright (C) 2005 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
+/* Written by Bruno Haible.  */
+
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif




reply via email to

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