]> git.ozlabs.org Git - ccan/commitdiff
Relicense all public domain modules to CC0.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Nov 2012 05:07:41 +0000 (15:37 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Nov 2012 05:08:12 +0000 (15:38 +1030)
I wrote all of most of them, for the others, here's the CCAN mailing
list thread authorizing it:

From: Timothy B. Terriberry <tterribe@xiph.org>
Subject: Re: [ccan] Changing from Public Domain to CC0
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: ccan@ozlabs.org
Date: Wed, 31 Oct 2012 02:53:50 -0400

Rusty Russell <rusty@rustcorp.com.au> wrote:

> I want to change the License string (and add a symlink) to the following
> trivial modules.  Please Ack.

> isaac

Ack.

From: Alessandro Guido <ag@alessandroguido.name>
Subject: Re: Changing from Public Domain to CC0
To: Rusty Russell <rusty@rustcorp.com.au>
Date: Wed, 31 Oct 2012 10:59:53 +0100

Acked-by: Alessandro Guido <ag@alessandroguido.name>
From: Brad Hards <bradh@frogmouth.net>
Subject: Re: Changing from Public Domain to CC0
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Joey Adams <joeyadams3.14159@gmail.com>, Alessandro Guido <ag@alessandroguido.name>, Andreas Schlick <schlick@lavabit.com>, ccan@ozlabs.org
Date: Wed, 31 Oct 2012 23:43:24 +1100

On 31/10/12 17:43, Rusty Russell wrote:
> Damn lawyers!
>
> Since Public Domain is a slippery concept outside certain countries, it
> has been suggested that I formalize it to Creative Commons Zero.
>
> I want to change the License string (and add a symlink) to the following
> trivial modules.  Please Ack.

Ack.

More generally, anything I've put into CCAN is so trivial that you can
relicense it (to any Free / Open Source license) as part of any
relicensing you can otherwise get agreement to.

Brad

[Sorry if this comes out in HTML - I'm stuck with unsat tools while
travelling].

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
48 files changed:
ccan/alignof/LICENSE [new symlink]
ccan/alignof/_info
ccan/alignof/alignof.h
ccan/array_size/LICENSE [new symlink]
ccan/array_size/_info
ccan/array_size/array_size.h
ccan/build_assert/LICENSE [new symlink]
ccan/build_assert/_info
ccan/build_assert/build_assert.h
ccan/check_type/LICENSE [new symlink]
ccan/check_type/_info
ccan/check_type/check_type.h
ccan/compiler/LICENSE [new symlink]
ccan/compiler/_info
ccan/compiler/compiler.h
ccan/container_of/LICENSE [new symlink]
ccan/container_of/_info
ccan/container_of/container_of.h
ccan/err/LICENSE [new symlink]
ccan/err/_info
ccan/err/err.c
ccan/err/err.h
ccan/hash/_info
ccan/hash/hash.h
ccan/isaac/LICENSE [new symlink]
ccan/isaac/_info
ccan/isaac/isaac.c
ccan/isaac/isaac.h
ccan/isaac/isaac64.c
ccan/isaac/isaac64.h
ccan/noerr/LICENSE [new symlink]
ccan/noerr/_info
ccan/noerr/noerr.c
ccan/noerr/noerr.h
ccan/short_types/LICENSE [new symlink]
ccan/short_types/_info
ccan/short_types/short_types.h
ccan/str/LICENSE [new symlink]
ccan/str/_info
ccan/str/debug.c
ccan/str/str.c
ccan/str/str.h
ccan/str/str_debug.h
ccan/strmap/_info
ccan/strset/_info
ccan/tcon/LICENSE [new symlink]
ccan/tcon/_info
ccan/tcon/tcon.h

diff --git a/ccan/alignof/LICENSE b/ccan/alignof/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 069929f9fd277c2149c12f5a34aaf3625448b912..85cf810c9564eda924d67b61d890e52fe985390c 100644 (file)
@@ -35,7 +35,7 @@
  *             }
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index d146e4cdda43750c4cfb53e7f2c470fdf60ed8d1..9a02f188a839271294c79955e0a22cab154aad8e 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_ALIGNOF_H
 #define CCAN_ALIGNOF_H
 #include "config.h"
diff --git a/ccan/array_size/LICENSE b/ccan/array_size/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 0ecb45dfafea5d511aa48344263adb71e14c2f2b..d670042decab79a8ec2f3e8fce54c1825c5c5099 100644 (file)
@@ -29,7 +29,7 @@
  *             return 0;
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index 0876945c5e52a7c19e034fb8fdd1ff5e75d1305f..0ca422a291687e25d1d783ce076d64547299bbf9 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_ARRAY_SIZE_H
 #define CCAN_ARRAY_SIZE_H
 #include "config.h"
diff --git a/ccan/build_assert/LICENSE b/ccan/build_assert/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 284c6cf5b8c6591185949cec18db37e6768778fa..bce92b7e182ea0d439ec3be07494ef82ec0295f8 100644 (file)
@@ -33,7 +33,7 @@
  *             return (char *)foo;
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index 24e59c44cd930173178ac9b6e101b0af64a879e9..b9ecd84028e3fbebd1bf009c3c57e8a193e45646 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_BUILD_ASSERT_H
 #define CCAN_BUILD_ASSERT_H
 
diff --git a/ccan/check_type/LICENSE b/ccan/check_type/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 33448b4f1f660038e83b38f2e6ef792f7e70a2d3..cb19e20283caf56fc45aca0a76a9dee9e695c652 100644 (file)
@@ -14,7 +14,7 @@
  * since they have to use sizeof() which can only distiguish between types of
  * different size.
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index b199347116b07dbc2f2e5e843345334195559ba1..77501a95597c3e73396c270d54a8ed53a9defbc4 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_CHECK_TYPE_H
 #define CCAN_CHECK_TYPE_H
 #include "config.h"
diff --git a/ccan/compiler/LICENSE b/ccan/compiler/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 9f3945397386cc7ff058c1529143671dbf259be5..fc9318f6d576115fee286f7ce630e0d83a563550 100644 (file)
@@ -21,7 +21,7 @@
  * - IS_COMPILE_CONSTANT()
  *     For using different tradeoffs for compiletime vs runtime evaluation.
  *
- * License: Public Domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:
index fcb89c8f2a68a9aa90f5cba4746a98910c0a551d..651b47cee9dcd611ad7c8513d92ec06ba852bb63 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_COMPILER_H
 #define CCAN_COMPILER_H
 #include "config.h"
diff --git a/ccan/container_of/LICENSE b/ccan/container_of/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 2f45ca7ccd745fc76bc82343e009a8aaed53b7e2..77b3bd15fa5ada5101378a7305cda1d5a1675b37 100644 (file)
@@ -46,7 +46,7 @@
  *             return 0;
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index 1c9d147ae06df9f4e0e54adea977f6087e4c628d..2943b8f098d5e3eba3d7f71a439712dde01df04d 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_CONTAINER_OF_H
 #define CCAN_CONTAINER_OF_H
 #include <stddef.h>
diff --git a/ccan/err/LICENSE b/ccan/err/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 97bc0f9ed4ff03437804b2928326aa040d3e5665..64cc2cef01d80579bb57d6c47c751902c5ef6a30 100644 (file)
@@ -22,7 +22,7 @@
  *             exit(0);
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index 9e0e20c86fa9f34c074e6caf38bc1f182e7b3f74..33dd108a0d9d7c93cfdfce08234946373ede222b 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "err.h"
 
 #if !HAVE_ERR_H
index 58ad91c728a65a36487bd4eda87d31dbf8c19957..23e7f0c4858ef78c566b0107663695eecc802a3a 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_ERR_H
 #define CCAN_ERR_H
 #include "config.h"
index 5aeb91213694d4e1605249e3bdee75ca73464b32..4b425d392b40fa0f77384c60f51b4a5ad57a33c8 100644 (file)
@@ -13,7 +13,7 @@
  * The stable ones will always give the same results on any computer,
  * and on any version of this package.
  *
- * License: Public Domain
+ * License: Public domain
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
  */
index f838e562faa64eec5371924e8a53b3d749287c72..217068406af701b74257d4066c5bdf39d41f41e8 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_HASH_H
 #define CCAN_HASH_H
 #include "config.h"
diff --git a/ccan/isaac/LICENSE b/ccan/isaac/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 6b46e04113d881496e8fafa23fca122071319c8e..81c6ff23784895487848479540f55a05073472fd 100644 (file)
@@ -99,7 +99,7 @@
  *    return 0;
  *  }
  *
- * License: Public Domain
+ * License: CC0 (Public domain)
  * Ccanlint:
  *     // We actually depend on the LGPL ilog routines, so not PD :(
  *     license_depends_compat FAIL
index b35ac41700ecd507de51d799b905b10d074f071b..e27a1890eb537cce7a5a4d7cf0211449f152221b 100644 (file)
@@ -1,4 +1,5 @@
-/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009 public domain.
+/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009.
+  CC0 (Public domain) - see LICENSE file for details
   Based on the public domain implementation by Robert J. Jenkins Jr.*/
 #include <float.h>
 #include <math.h>
index a254712bb7582ef7308cee2df7106ca43fee54da..fc874e5b59dcef3f0d1095178b03298a53b33eab 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #if !defined(_isaac_H)
 # define _isaac_H (1)
 # include <stdint.h>
index 43ab0e6e701127dff0fc496fa49965a4ad00f49b..3a392fc9b4b91d6e8121644042661f32a08d4082 100644 (file)
@@ -1,4 +1,5 @@
-/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009 public domain.
+/*Written by Timothy B. Terriberry (tterribe@xiph.org) 1999-2009
+  CC0 (Public domain) - see LICENSE file for details
   Based on the public domain ISAAC implementation by Robert J. Jenkins Jr.*/
 #include <float.h>
 #include <math.h>
index f4d4cd64e7b36a6857150ade5d2c9fe8218fa0ee..5c22253bd232e64951057ed90ec77042997c0f43 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #if !defined(_isaac64_H)
 # define _isaac64_H (1)
 # include <stdint.h>
diff --git a/ccan/noerr/LICENSE b/ccan/noerr/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 7310e1bd4693d1c296760eeae27cf12ba017d2d8..ebc407d8cd6b454002eac15be808549b5677a1b5 100644 (file)
@@ -45,7 +45,7 @@
  *             return true;
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index 439ac7e8b02e1ed83038d2c51939290d282343b4..4368a5e7eb2349bb7268d1169a6cfb1b8cec6354 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "noerr.h"
 #include <unistd.h>
 #include <errno.h>
index 191b3d3cfc49eb76405b9b79f4680c0e622b43fd..99b0f69043ac458672597a7a3932a989528f491d 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef NOERR_H
 #define NOERR_H
 #include <stdio.h>
diff --git a/ccan/short_types/LICENSE b/ccan/short_types/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 333d84ef230cf4885b8c7e2e873e16aa95d73226..cfd439e6fccb270e943a25263478c12b6dc164a8 100644 (file)
@@ -65,7 +65,7 @@
  *             return 0;
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index e34efe0eaa696b860fe6c339a51ab1e3289b7dc7..f94ec0980fe759f26debbda91522d58366439742 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_SHORT_TYPES_H
 #define CCAN_SHORT_TYPES_H
 #include <stdint.h>
diff --git a/ccan/str/LICENSE b/ccan/str/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index a6858c3c7b42708af94c8817881691406768d854..548f059d76f56210491b8b9bbc8c8ac57c36c1bd 100644 (file)
@@ -35,7 +35,7 @@
  *             return 0;
  *     }
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
index 027915bc640cf091b9c9e2b58b00f68b80f1c583..8c519442d792a77c1339a8de2fc403920b074b12 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "config.h"
 #include <ccan/str/str_debug.h>
 #include <assert.h>
index fa9809fbd94d3670ac6190697f253f9c208b4342..a9245c1742ec40654e50b7277610989116b5770a 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include <ccan/str/str.h>
 
 size_t strcount(const char *haystack, const char *needle)
index f9326085ae8da0a2c7bfcff51a8855570d1eb7e8..85491bc7e33e2f2d6d7dd87fe606ec3e26c00d30 100644 (file)
@@ -1,4 +1,4 @@
-/* Placed into the public domain. */
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_STR_H
 #define CCAN_STR_H
 #include "config.h"
index 6b56477689efe31b0e622779a8a0130f45a6b2b2..92c10c41cc6150a6746f8764cb871c1b693a5d59 100644 (file)
@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_STR_DEBUG_H
 #define CCAN_STR_DEBUG_H
 
index 82f20d13fa2bfe7a6b09d3b4451fe583e3ee1e0d..6d03b0caaa9c4c81ec30bba34e66e3dddf4d7dbb 100644 (file)
@@ -9,7 +9,7 @@
  *  http://cr.yp.to/critbit.html
  *  http://github.com/agl/critbit (which this code is based on)
  *
- * License: Public domain (but some dependencies are LGPL!)
+ * License: CC0 (but some dependencies are LGPL!)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Ccanlint:
  *     license_depends_compat FAIL
index b5df9dfa5dc9e1a1aca0c52b1b3b479017ace365..1c7426e66973c2b7b3687ab1d3aca38d689848c9 100644 (file)
@@ -47,7 +47,7 @@
  *     // Given "foo bar" outputs "bar foo "
  *     // Given "foo foo bar" outputs "bar foo "
  *
- * License: Public domain (but some dependencies are LGPL!)
+ * License: CC0 (but some dependencies are LGPL!)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Ccanlint:
  *     license_depends_compat FAIL
diff --git a/ccan/tcon/LICENSE b/ccan/tcon/LICENSE
new file mode 120000 (symlink)
index 0000000..b7951da
--- /dev/null
@@ -0,0 +1 @@
+../../licenses/CC0
\ No newline at end of file
index 02c0dd8addc3ccc0699f12f298582885c8472752..895da9e1c1c32009c1f892c0e4a95fef2ad98d6d 100644 (file)
@@ -56,7 +56,7 @@
  *     // Given "foo" outputs "Last arg is foo of 1 arguments"
  *     // Given "foo bar" outputs "Last arg is bar of 2 arguments"
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  *
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
index 93c3ea6b9f942bafca549b440e24b647f124214b..cf82f3e78233ea9b993c7eef2c9fa45f81472418 100644 (file)
@@ -1,4 +1,4 @@
-/* Placed into the public domain */
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_TCON_H
 #define CCAN_TCON_H
 #include "config.h"