bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* new directory with license notices
@ 2021-06-04 18:40 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2021-06-04 18:40 UTC (permalink / raw)
  To: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

In preparation of the change of license notices, I'm adding suitable
license notices, ready for copy&paste into the source files.

While the vast majority of source files talk about "This program ...",
config.guess and config.sub talk about "This file ...". I adopt this change
for Gnulib, because Gnulib files are very often copied into other packages,
and we want to avoid the impression that the entire package is under a
weaker license than it actually is.


2021-06-04  Bruno Haible  <bruno@clisp.org>

	New directory with license notices.
	* etc/license-notices/*: New files.


[-- Attachment #2: 0001-New-directory-with-license-notices.patch --]
[-- Type: text/x-patch, Size: 13145 bytes --]

From efe8ff4b35009076eb6186419c2a9e37f93e15cf Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Fri, 4 Jun 2021 20:03:22 +0200
Subject: [PATCH] New directory with license notices.

* etc/license-notices/*: New files.
---
 ChangeLog                             |  5 ++++
 etc/license-notices/GPL               |  1 +
 etc/license-notices/GPLv2+            | 28 ++++++++++++++++++++++
 etc/license-notices/GPLv3+            | 43 ++++++++++++++++++++++++++++++++++
 etc/license-notices/LGPL              |  1 +
 etc/license-notices/LGPLv2+           | 28 ++++++++++++++++++++++
 etc/license-notices/LGPLv3+           | 28 ++++++++++++++++++++++
 etc/license-notices/LGPLv3+_or_GPLv2+ | 44 +++++++++++++++++++++++++++++++++++
 etc/license-notices/README            | 14 +++++++++++
 etc/license-notices/public_domain     | 14 +++++++++++
 etc/license-notices/unlimited         | 10 ++++++++
 11 files changed, 216 insertions(+)
 create mode 120000 etc/license-notices/GPL
 create mode 100644 etc/license-notices/GPLv2+
 create mode 100644 etc/license-notices/GPLv3+
 create mode 120000 etc/license-notices/LGPL
 create mode 100644 etc/license-notices/LGPLv2+
 create mode 100644 etc/license-notices/LGPLv3+
 create mode 100644 etc/license-notices/LGPLv3+_or_GPLv2+
 create mode 100644 etc/license-notices/README
 create mode 100644 etc/license-notices/public_domain
 create mode 100644 etc/license-notices/unlimited

diff --git a/ChangeLog b/ChangeLog
index a110970..0e2bb84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-04  Bruno Haible  <bruno@clisp.org>
+
+	New directory with license notices.
+	* etc/license-notices/*: New files.
+
 2021-05-30  Paul Eggert  <eggert@cs.ucla.edu>
 
 	reallocarray-tests: port to weird platforms
diff --git a/etc/license-notices/GPL b/etc/license-notices/GPL
new file mode 120000
index 0000000..fbd0cdc
--- /dev/null
+++ b/etc/license-notices/GPL
@@ -0,0 +1 @@
+GPLv3+
\ No newline at end of file
diff --git a/etc/license-notices/GPLv2+ b/etc/license-notices/GPLv2+
new file mode 100644
index 0000000..8d330e0
--- /dev/null
+++ b/etc/license-notices/GPLv2+
@@ -0,0 +1,28 @@
+
+   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 file 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, see <https://www.gnu.org/licenses/>.  */
+
+
+
+ * 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 file 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, see <https://www.gnu.org/licenses/>.
diff --git a/etc/license-notices/GPLv3+ b/etc/license-notices/GPLv3+
new file mode 100644
index 0000000..f6b0d67
--- /dev/null
+++ b/etc/license-notices/GPLv3+
@@ -0,0 +1,43 @@
+
+   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 3 of the License,
+   or (at your option) any later version.
+
+   This file 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, see <https://www.gnu.org/licenses/>.  */
+
+
+
+ * 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 3 of the License,
+ * or (at your option) any later version.
+ *
+ * This file 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, see <https://www.gnu.org/licenses/>.
+
+
+
+# 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 3 of the License,
+# or (at your option) any later version.
+#
+# This file 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, see <https://www.gnu.org/licenses/>.
diff --git a/etc/license-notices/LGPL b/etc/license-notices/LGPL
new file mode 120000
index 0000000..fc68c22
--- /dev/null
+++ b/etc/license-notices/LGPL
@@ -0,0 +1 @@
+LGPLv3+
\ No newline at end of file
diff --git a/etc/license-notices/LGPLv2+ b/etc/license-notices/LGPLv2+
new file mode 100644
index 0000000..f32acf7
--- /dev/null
+++ b/etc/license-notices/LGPLv2+
@@ -0,0 +1,28 @@
+
+   This file is free software: you can redistribute it and/or modify
+   it under the terms of the GNU Lesser General Public License as
+   published by the Free Software Foundation; either version 2.1 of the
+   License, or (at your option) any later version.
+
+   This file 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 Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+
+
+
+ * This file is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of the
+ * License, or (at your option) any later version.
+ *
+ * This file 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
diff --git a/etc/license-notices/LGPLv3+ b/etc/license-notices/LGPLv3+
new file mode 100644
index 0000000..5126fcf
--- /dev/null
+++ b/etc/license-notices/LGPLv3+
@@ -0,0 +1,28 @@
+
+   This file is free software: you can redistribute it and/or modify
+   it under the terms of the GNU Lesser General Public License as
+   published by the Free Software Foundation; either version 3 of the
+   License, or (at your option) any later version.
+
+   This file 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 Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+
+
+
+ * This file is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This file 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 Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
diff --git a/etc/license-notices/LGPLv3+_or_GPLv2+ b/etc/license-notices/LGPLv3+_or_GPLv2+
new file mode 100644
index 0000000..29a73ec
--- /dev/null
+++ b/etc/license-notices/LGPLv3+_or_GPLv2+
@@ -0,0 +1,44 @@
+
+   This file is free software.
+   It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
+   You can redistribute it and/or modify it under either
+     - the terms of the GNU Lesser General Public License as published
+       by the Free Software Foundation; either version 3, or (at your
+       option) any later version, or
+     - 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, or
+     - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+".
+
+   This file 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
+   Lesser General Public License and the GNU General Public License
+   for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License and of the GNU General Public License along with this
+   program.  If not, see <https://www.gnu.org/licenses/>.  */
+
+
+
+ * This file is free software.
+ * It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+".
+ * You can redistribute it and/or modify it under either
+ *   - the terms of the GNU Lesser General Public License as published
+ *     by the Free Software Foundation; either version 3, or (at your
+ *     option) any later version, or
+ *   - 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, or
+ *   - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+".
+ *
+ * This file 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
+ * Lesser General Public License and the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License and of the GNU General Public License along with this
+ * program.  If not, see <https://www.gnu.org/licenses/>.  */
diff --git a/etc/license-notices/README b/etc/license-notices/README
new file mode 100644
index 0000000..b2cb85b
--- /dev/null
+++ b/etc/license-notices/README
@@ -0,0 +1,14 @@
+This directory contains license notices, ready for copy-and-pasting into
+Gnulib source files.
+
+The wording is based on the Maintainers Guide, section "License Notices",
+<https://www.gnu.org/prep/maintain/html_node/License-Notices.html>.
+
+Instead of "this program", we write "this file", because Gnulib files
+are very often copied into other packages, and we want to avoid the
+impression that the entire package is under a weaker license than it
+actually is.
+
+The difference between 'unlimited' and 'public domain' is that 'unlimited'
+still requires the license notice to be preserved, while 'public domain'
+does not.
diff --git a/etc/license-notices/public_domain b/etc/license-notices/public_domain
new file mode 100644
index 0000000..fe0a3c3
--- /dev/null
+++ b/etc/license-notices/public_domain
@@ -0,0 +1,14 @@
+
+
+   This file is in the public domain.  */
+
+
+ * This file is in the public domain.
+
+
+# This file is in the public domain.
+
+
+See also
+<https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
+and <https://www.gnu.org/licenses/license-list.en.html#PublicDomain>.
diff --git a/etc/license-notices/unlimited b/etc/license-notices/unlimited
new file mode 100644
index 0000000..b6614fc
--- /dev/null
+++ b/etc/license-notices/unlimited
@@ -0,0 +1,10 @@
+
+
+# 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.
+
+
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-04 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 18:40 new directory with license notices Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).