Browse Source

Relicense all public domain modules to CC0.

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>
Rusty Russell 13 years ago
parent
commit
516c477908

+ 1 - 0
ccan/alignof/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/alignof/_info

@@ -35,7 +35,7 @@
  *		}
  *		}
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/alignof/alignof.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_ALIGNOF_H
 #ifndef CCAN_ALIGNOF_H
 #define CCAN_ALIGNOF_H
 #define CCAN_ALIGNOF_H
 #include "config.h"
 #include "config.h"

+ 1 - 0
ccan/array_size/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/array_size/_info

@@ -29,7 +29,7 @@
  *		return 0;
  *		return 0;
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/array_size/array_size.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_ARRAY_SIZE_H
 #ifndef CCAN_ARRAY_SIZE_H
 #define CCAN_ARRAY_SIZE_H
 #define CCAN_ARRAY_SIZE_H
 #include "config.h"
 #include "config.h"

+ 1 - 0
ccan/build_assert/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/build_assert/_info

@@ -33,7 +33,7 @@
  *		return (char *)foo;
  *		return (char *)foo;
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/build_assert/build_assert.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_BUILD_ASSERT_H
 #ifndef CCAN_BUILD_ASSERT_H
 #define CCAN_BUILD_ASSERT_H
 #define CCAN_BUILD_ASSERT_H
 
 

+ 1 - 0
ccan/check_type/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/check_type/_info

@@ -14,7 +14,7 @@
  * since they have to use sizeof() which can only distiguish between types of
  * since they have to use sizeof() which can only distiguish between types of
  * different size.
  * different size.
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/check_type/check_type.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_CHECK_TYPE_H
 #ifndef CCAN_CHECK_TYPE_H
 #define CCAN_CHECK_TYPE_H
 #define CCAN_CHECK_TYPE_H
 #include "config.h"
 #include "config.h"

+ 1 - 0
ccan/compiler/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/compiler/_info

@@ -21,7 +21,7 @@
  * - IS_COMPILE_CONSTANT()
  * - IS_COMPILE_CONSTANT()
  *	For using different tradeoffs for compiletime vs runtime evaluation.
  *	For using different tradeoffs for compiletime vs runtime evaluation.
  *
  *
- * License: Public Domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  *
  * Example:
  * Example:

+ 1 - 0
ccan/compiler/compiler.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_COMPILER_H
 #ifndef CCAN_COMPILER_H
 #define CCAN_COMPILER_H
 #define CCAN_COMPILER_H
 #include "config.h"
 #include "config.h"

+ 1 - 0
ccan/container_of/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/container_of/_info

@@ -46,7 +46,7 @@
  *		return 0;
  *		return 0;
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/container_of/container_of.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_CONTAINER_OF_H
 #ifndef CCAN_CONTAINER_OF_H
 #define CCAN_CONTAINER_OF_H
 #define CCAN_CONTAINER_OF_H
 #include <stddef.h>
 #include <stddef.h>

+ 1 - 0
ccan/err/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/err/_info

@@ -22,7 +22,7 @@
  *		exit(0);
  *		exit(0);
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/err/err.c

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "err.h"
 #include "err.h"
 
 
 #if !HAVE_ERR_H
 #if !HAVE_ERR_H

+ 1 - 0
ccan/err/err.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_ERR_H
 #ifndef CCAN_ERR_H
 #define CCAN_ERR_H
 #define CCAN_ERR_H
 #include "config.h"
 #include "config.h"

+ 1 - 1
ccan/hash/_info

@@ -13,7 +13,7 @@
  * The stable ones will always give the same results on any computer,
  * The stable ones will always give the same results on any computer,
  * and on any version of this package.
  * and on any version of this package.
  *
  *
- * License: Public Domain
+ * License: Public domain
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
  * Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
  */
  */

+ 1 - 0
ccan/hash/hash.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_HASH_H
 #ifndef CCAN_HASH_H
 #define CCAN_HASH_H
 #define CCAN_HASH_H
 #include "config.h"
 #include "config.h"

+ 1 - 0
ccan/isaac/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/isaac/_info

@@ -99,7 +99,7 @@
  *    return 0;
  *    return 0;
  *  }
  *  }
  *
  *
- * License: Public Domain
+ * License: CC0 (Public domain)
  * Ccanlint:
  * Ccanlint:
  *	// We actually depend on the LGPL ilog routines, so not PD :(
  *	// We actually depend on the LGPL ilog routines, so not PD :(
  *	license_depends_compat FAIL
  *	license_depends_compat FAIL

+ 2 - 1
ccan/isaac/isaac.c

@@ -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.*/
   Based on the public domain implementation by Robert J. Jenkins Jr.*/
 #include <float.h>
 #include <float.h>
 #include <math.h>
 #include <math.h>

+ 1 - 0
ccan/isaac/isaac.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #if !defined(_isaac_H)
 #if !defined(_isaac_H)
 # define _isaac_H (1)
 # define _isaac_H (1)
 # include <stdint.h>
 # include <stdint.h>

+ 2 - 1
ccan/isaac/isaac64.c

@@ -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.*/
   Based on the public domain ISAAC implementation by Robert J. Jenkins Jr.*/
 #include <float.h>
 #include <float.h>
 #include <math.h>
 #include <math.h>

+ 1 - 0
ccan/isaac/isaac64.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #if !defined(_isaac64_H)
 #if !defined(_isaac64_H)
 # define _isaac64_H (1)
 # define _isaac64_H (1)
 # include <stdint.h>
 # include <stdint.h>

+ 1 - 0
ccan/noerr/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/noerr/_info

@@ -45,7 +45,7 @@
  *		return true;
  *		return true;
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/noerr/noerr.c

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "noerr.h"
 #include "noerr.h"
 #include <unistd.h>
 #include <unistd.h>
 #include <errno.h>
 #include <errno.h>

+ 1 - 0
ccan/noerr/noerr.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef NOERR_H
 #ifndef NOERR_H
 #define NOERR_H
 #define NOERR_H
 #include <stdio.h>
 #include <stdio.h>

+ 1 - 0
ccan/short_types/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/short_types/_info

@@ -65,7 +65,7 @@
  *		return 0;
  *		return 0;
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/short_types/short_types.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_SHORT_TYPES_H
 #ifndef CCAN_SHORT_TYPES_H
 #define CCAN_SHORT_TYPES_H
 #define CCAN_SHORT_TYPES_H
 #include <stdint.h>
 #include <stdint.h>

+ 1 - 0
ccan/str/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/str/_info

@@ -35,7 +35,7 @@
  *		return 0;
  *		return 0;
  *	}
  *	}
  *
  *
- * License: Public domain
+ * License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */
 int main(int argc, char *argv[])
 int main(int argc, char *argv[])

+ 1 - 0
ccan/str/debug.c

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include "config.h"
 #include "config.h"
 #include <ccan/str/str_debug.h>
 #include <ccan/str/str_debug.h>
 #include <assert.h>
 #include <assert.h>

+ 1 - 0
ccan/str/str.c

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #include <ccan/str/str.h>
 #include <ccan/str/str.h>
 
 
 size_t strcount(const char *haystack, const char *needle)
 size_t strcount(const char *haystack, const char *needle)

+ 1 - 1
ccan/str/str.h

@@ -1,4 +1,4 @@
-/* Placed into the public domain. */
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_STR_H
 #ifndef CCAN_STR_H
 #define CCAN_STR_H
 #define CCAN_STR_H
 #include "config.h"
 #include "config.h"

+ 1 - 0
ccan/str/str_debug.h

@@ -1,3 +1,4 @@
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_STR_DEBUG_H
 #ifndef CCAN_STR_DEBUG_H
 #define CCAN_STR_DEBUG_H
 #define CCAN_STR_DEBUG_H
 
 

+ 1 - 1
ccan/strmap/_info

@@ -9,7 +9,7 @@
  *  http://cr.yp.to/critbit.html
  *  http://cr.yp.to/critbit.html
  *  http://github.com/agl/critbit (which this code is based on)
  *  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>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Ccanlint:
  * Ccanlint:
  *	license_depends_compat FAIL
  *	license_depends_compat FAIL

+ 1 - 1
ccan/strset/_info

@@ -47,7 +47,7 @@
  *	// Given "foo bar" outputs "bar foo "
  *	// Given "foo bar" outputs "bar foo "
  *	// Given "foo 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>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  * Ccanlint:
  * Ccanlint:
  *	license_depends_compat FAIL
  *	license_depends_compat FAIL

+ 1 - 0
ccan/tcon/LICENSE

@@ -0,0 +1 @@
+../../licenses/CC0

+ 1 - 1
ccan/tcon/_info

@@ -56,7 +56,7 @@
  *	// Given "foo" outputs "Last arg is foo of 1 arguments"
  *	// Given "foo" outputs "Last arg is foo of 1 arguments"
  *	// Given "foo bar" outputs "Last arg is bar of 2 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>
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
  */

+ 1 - 1
ccan/tcon/tcon.h

@@ -1,4 +1,4 @@
-/* Placed into the public domain */
+/* CC0 (Public domain) - see LICENSE file for details */
 #ifndef CCAN_TCON_H
 #ifndef CCAN_TCON_H
 #define CCAN_TCON_H
 #define CCAN_TCON_H
 #include "config.h"
 #include "config.h"