From: Eric Biggers Date: Wed, 27 Apr 2016 05:05:17 +0000 (-0500) Subject: Use more comprehensive public domain dedications X-Git-Tag: v1.9.2~13 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=eb3e3b72db23ecaa7789a807afeb9577962653fe Use more comprehensive public domain dedications --- diff --git a/COPYING b/COPYING index 5bded6da..c636ad14 100644 --- a/COPYING +++ b/COPYING @@ -20,3 +20,9 @@ However, a binary copy of wimlib that was compiled without libntfs-3g support (for example; the exception may be applicable in other situations as well) logically cannot be affected by libntfs-3g's license and should therefore be free to be redistributed under the LGPL instead of the GPL. + +NOTE! The file COPYING.CC0 contains a public domain dedication. This public +domain dedication does not apply to wimlib as a whole, but rather to individual +source code files which the author(s) have elected to place into the public +domain, as noted in the corresponding file headers. As usual, such code carries +NO WARRANTY, to the extent permitted by law. See COPYING.CC0 for more details. diff --git a/COPYING.CC0 b/COPYING.CC0 new file mode 100644 index 00000000..0e259d42 --- /dev/null +++ b/COPYING.CC0 @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/Makefile.am b/Makefile.am index 3615d49f..b3161222 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,9 +17,9 @@ AM_CFLAGS = -std=gnu99 $(PLATFORM_CFLAGS) -fno-common \ AM_LDFLAGS = $(PLATFORM_LDFLAGS) -EXTRA_DIST = README README.WINDOWS \ - COPYING COPYING.GPLv3 COPYING.LGPLv3 \ - examples \ +EXTRA_DIST = README README.WINDOWS \ + COPYING COPYING.GPLv3 COPYING.LGPLv3 COPYING.CC0 \ + examples \ archlinux debian rpm ############################################################################## diff --git a/examples/applywim.c b/examples/applywim.c index 824752b0..ffcff149 100644 --- a/examples/applywim.c +++ b/examples/applywim.c @@ -1,8 +1,21 @@ /* * applywim.c - A program to extract the first image from a WIM file. * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2013-2014 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #include diff --git a/examples/capturewim.c b/examples/capturewim.c index ecc6b83c..2d89e51f 100644 --- a/examples/capturewim.c +++ b/examples/capturewim.c @@ -1,8 +1,21 @@ /* * capturewim.c - A program to capture a directory tree into a WIM file. * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2014 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #include diff --git a/examples/compressfile.c b/examples/compressfile.c index 6887e0e4..bc7ed18a 100644 --- a/examples/compressfile.c +++ b/examples/compressfile.c @@ -1,7 +1,25 @@ /* - * compressfile.c + * compressfile.c - compression API example * - * An example of using wimlib's compression API to compress a file. + * The following copying information applies to this specific source code file: + * + * Written in 2014 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . + */ + +/* + * This an example of using wimlib's compression API to compress a file. * * This program does *not* have anything to do with WIM files other than the * fact that this makes use of compression formats that are used in WIM files. @@ -26,9 +44,6 @@ * * The compressed file format created here is simply a series of compressed * chunks. A real format would need to have checksums and other metadata. - * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. */ #define _GNU_SOURCE diff --git a/examples/decompressfile.c b/examples/decompressfile.c index 0d8bee6b..cc2b758e 100644 --- a/examples/decompressfile.c +++ b/examples/decompressfile.c @@ -1,8 +1,26 @@ /* - * decompressfile.c + * decompressfile.c - decompression API example * - * An example of using wimlib's compression API to decompress a file compressed - * with the compressfile.c program. + * The following copying information applies to this specific source code file: + * + * Written in 2014 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . + */ + +/* + * This an example of using wimlib's compression API to decompress a file + * compressed with the compressfile.c program. * * This program does *not* have anything to do with WIM files other than the * fact that this makes use of compression formats that are used in WIM files. @@ -24,9 +42,6 @@ * * The compressed file format created here is simply a series of compressed * chunks. A real format would need to have checksums and other metadata. - * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. */ #define _GNU_SOURCE diff --git a/examples/updatewim.c b/examples/updatewim.c index 910eab11..d46f24d2 100644 --- a/examples/updatewim.c +++ b/examples/updatewim.c @@ -2,8 +2,21 @@ * updatewim.c - A program to add a file or directory tree to the first image of * a WIM file. * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2014 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #include diff --git a/include/wimlib/avl_tree.h b/include/wimlib/avl_tree.h index e2e22270..516f5271 100644 --- a/include/wimlib/avl_tree.h +++ b/include/wimlib/avl_tree.h @@ -1,14 +1,22 @@ /* - * avl_tree.h + * avl_tree.h - intrusive, nonrecursive AVL tree data structure (self-balancing + * binary search tree), header file * - * Intrusive, nonrecursive AVL tree data structure (self-balancing binary search - * tree), header file. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014 + * Written in 2014 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _AVL_TREE_H_ diff --git a/include/wimlib/bitops.h b/include/wimlib/bitops.h index 14c73593..70e6c611 100644 --- a/include/wimlib/bitops.h +++ b/include/wimlib/bitops.h @@ -1,10 +1,21 @@ /* - * bitops.h + * bitops.h - inline functions for bit manipulation * - * Inline functions for bit manipulation. + * The following copying information applies to this specific source code file: * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * Written in 2014-2016 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_BITOPS_H diff --git a/include/wimlib/bt_matchfinder.h b/include/wimlib/bt_matchfinder.h index e1a8295c..6a2e7edf 100644 --- a/include/wimlib/bt_matchfinder.h +++ b/include/wimlib/bt_matchfinder.h @@ -1,11 +1,21 @@ /* - * bt_matchfinder.h + * bt_matchfinder.h - Lempel-Ziv matchfinding with a hash table of binary trees * - * Author: Eric Biggers - * Year: 2014, 2015 + * The following copying information applies to this specific source code file: * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * Written in 2014-2015 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . * * ---------------------------------------------------------------------------- * diff --git a/include/wimlib/compiler.h b/include/wimlib/compiler.h index 43ccc7d4..a43bb769 100644 --- a/include/wimlib/compiler.h +++ b/include/wimlib/compiler.h @@ -3,8 +3,21 @@ * * Compiler-specific definitions. Currently, only GCC and clang are supported. * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2013-2016 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_COMPILER_H diff --git a/include/wimlib/decompress_common.h b/include/wimlib/decompress_common.h index 54241b36..f3f1dee5 100644 --- a/include/wimlib/decompress_common.h +++ b/include/wimlib/decompress_common.h @@ -3,8 +3,21 @@ * * Header for decompression code shared by multiple compression formats. * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2012-2016 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_DECOMPRESS_COMMON_H diff --git a/include/wimlib/endianness.h b/include/wimlib/endianness.h index 772724df..9cea963b 100644 --- a/include/wimlib/endianness.h +++ b/include/wimlib/endianness.h @@ -1,13 +1,21 @@ /* - * endianness.h + * endianness.h - macros and inline functions for endianness conversion * - * Macros and inline functions for endianness conversion. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014, 2015 + * Written in 2014-2015 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_ENDIANNESS_H diff --git a/include/wimlib/hc_matchfinder.h b/include/wimlib/hc_matchfinder.h index e1da62b5..1f552db2 100644 --- a/include/wimlib/hc_matchfinder.h +++ b/include/wimlib/hc_matchfinder.h @@ -1,11 +1,21 @@ /* - * hc_matchfinder.h + * hc_matchfinder.h - Lempel-Ziv matchfinding with a hash table of linked lists * - * Author: Eric Biggers - * Year: 2014, 2015 + * The following copying information applies to this specific source code file: * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * Written in 2014-2015 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . * * --------------------------------------------------------------------------- * diff --git a/include/wimlib/lcpit_matchfinder.h b/include/wimlib/lcpit_matchfinder.h index 916e2fb5..662eae11 100644 --- a/include/wimlib/lcpit_matchfinder.h +++ b/include/wimlib/lcpit_matchfinder.h @@ -4,11 +4,21 @@ * A match-finder for Lempel-Ziv compression based on bottom-up construction and * traversal of the Longest Common Prefix (LCP) interval tree. * - * Author: Eric Biggers - * Year: 2014, 2015 + * The following copying information applies to this specific source code file: * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * Written in 2014-2015 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _LCPIT_MATCHFINDER_H diff --git a/include/wimlib/lz_extend.h b/include/wimlib/lz_extend.h index 7d7cd05b..858cb9a3 100644 --- a/include/wimlib/lz_extend.h +++ b/include/wimlib/lz_extend.h @@ -1,13 +1,21 @@ /* - * lz_extend.h + * lz_extend.h - fast match extension for Lempel-Ziv matchfinding * - * Fast match extension for Lempel-Ziv matchfinding. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014, 2015 + * Written in 2014-2015 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_LZ_EXTEND_H diff --git a/include/wimlib/lz_hash.h b/include/wimlib/lz_hash.h index 464c01af..7416585a 100644 --- a/include/wimlib/lz_hash.h +++ b/include/wimlib/lz_hash.h @@ -1,13 +1,21 @@ /* - * lz_hash.h + * lz_hash.h - hashing for Lempel-Ziv matchfinding * - * Hashing for Lempel-Ziv matchfinding. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014, 2015 + * Written in 2014-2015 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _LZ_HASH_H diff --git a/include/wimlib/security_descriptor.h b/include/wimlib/security_descriptor.h index ff789e2c..0355fd2c 100644 --- a/include/wimlib/security_descriptor.h +++ b/include/wimlib/security_descriptor.h @@ -1,8 +1,21 @@ /* - * security_descriptor.h + * security_descriptor.h - declarations for Windows security descriptor format * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2013-2015 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_SECURITY_DESCRIPTOR_H @@ -123,5 +136,4 @@ typedef struct { wimlib_SID sid; } _packed_attribute wimlib_SYSTEM_AUDIT_ACE; - -#endif +#endif /* _WIMLIB_SECURITY_DESCRIPTOR_H */ diff --git a/include/wimlib/sha1.h b/include/wimlib/sha1.h index e4ed953a..d14a9c1e 100644 --- a/include/wimlib/sha1.h +++ b/include/wimlib/sha1.h @@ -1,8 +1,21 @@ /* * sha1.h * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2013-2015 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_SHA1_H diff --git a/include/wimlib/unaligned.h b/include/wimlib/unaligned.h index d25e76f6..cc9f27f1 100644 --- a/include/wimlib/unaligned.h +++ b/include/wimlib/unaligned.h @@ -1,13 +1,21 @@ /* - * unaligned.h + * unaligned.h - inline functions for unaligned memory accesses * - * Inline functions for unaligned memory accesses. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014, 2015 + * Written in 2014-2015 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WIMLIB_UNALIGNED_H diff --git a/include/wimlib/wof.h b/include/wimlib/wof.h index 0d2cec26..d0fcf03a 100644 --- a/include/wimlib/wof.h +++ b/include/wimlib/wof.h @@ -6,8 +6,21 @@ * http://msdn.microsoft.com/en-us/library/windows/hardware/ff540367(v=vs.85).aspx * for more information about the documented ioctls. * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * The following copying information applies to this specific source code file: + * + * Written in 2014-2016 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifndef _WOF_H_ diff --git a/rpm/wimtools.spec b/rpm/wimtools.spec index 53e3b27a..3ae22e34 100644 --- a/rpm/wimtools.spec +++ b/rpm/wimtools.spec @@ -89,4 +89,4 @@ rm -rf %{buildroot} %files -n libwim15 %defattr(-, root, root) %{_libdir}/libwim.so.* -%doc COPYING COPYING.GPLv3 COPYING.LGPLv3 +%doc COPYING COPYING.GPLv3 COPYING.LGPLv3 COPYING.CC0 diff --git a/src/avl_tree.c b/src/avl_tree.c index a8477aa4..d3afae4e 100644 --- a/src/avl_tree.c +++ b/src/avl_tree.c @@ -1,14 +1,22 @@ /* - * avl_tree.c + * avl_tree.c - intrusive, nonrecursive AVL tree data structure (self-balancing + * binary search tree), implementation file * - * Intrusive, nonrecursive AVL tree data structure (self-balancing binary search - * tree), implementation file. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014 + * Written in 2014 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifdef HAVE_CONFIG_H diff --git a/src/compress_common.c b/src/compress_common.c index 8b85d9d5..53f3d36f 100644 --- a/src/compress_common.c +++ b/src/compress_common.c @@ -1,13 +1,21 @@ /* * compress_common.c * - * Code for compression shared among multiple compression formats. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2012 - 2014 + * Written in 2012-2014 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifdef HAVE_CONFIG_H diff --git a/src/decompress_common.c b/src/decompress_common.c index 76fb1278..c927502c 100644 --- a/src/decompress_common.c +++ b/src/decompress_common.c @@ -3,11 +3,21 @@ * * Code for decompression shared among multiple compression formats. * - * Author: Eric Biggers - * Year: 2012 - 2014 + * The following copying information applies to this specific source code file: * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * Written in 2012-2015 by Eric Biggers + * + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifdef HAVE_CONFIG_H diff --git a/src/lcpit_matchfinder.c b/src/lcpit_matchfinder.c index 67baac4d..3041e3fa 100644 --- a/src/lcpit_matchfinder.c +++ b/src/lcpit_matchfinder.c @@ -1,14 +1,21 @@ /* * lcpit_matchfinder.c * - * A match-finder for Lempel-Ziv compression based on bottom-up construction and - * traversal of the Longest Common Prefix (LCP) interval tree. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014, 2015 + * Written in 2014-2015 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifdef HAVE_CONFIG_H diff --git a/src/sha1.c b/src/sha1.c index 24f9b682..d1532506 100644 --- a/src/sha1.c +++ b/src/sha1.c @@ -1,15 +1,21 @@ /* - * sha1.c + * sha1.c - implementation of the Secure Hash Algorithm version 1 (FIPS 180-1) * - * Implementation of the Secure Hash Algorithm version 1 (FIPS 180-1). + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2014 + * Written in 2014-2015 by Eric Biggers * - * The default SHA-1 transform is based on public domain code by Steve Reid. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifdef HAVE_CONFIG_H diff --git a/src/x86_cpu_features.c b/src/x86_cpu_features.c index 786dce2b..3995413d 100644 --- a/src/x86_cpu_features.c +++ b/src/x86_cpu_features.c @@ -1,13 +1,21 @@ /* - * x86_cpu_features.c + * x86_cpu_features.c - feature detection for x86 processors * - * Feature detection for x86 processors. + * The following copying information applies to this specific source code file: * - * Author: Eric Biggers - * Year: 2015 + * Written in 2015 by Eric Biggers * - * The author dedicates this file to the public domain. - * You can do whatever you want with this file. + * To the extent possible under law, the author(s) have dedicated all copyright + * and related and neighboring rights to this software to the public domain + * worldwide via the Creative Commons Zero 1.0 Universal Public Domain + * Dedication (the "CC0"). + * + * This software 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 CC0 for more details. + * + * You should have received a copy of the CC0 along with this software; if not + * see . */ #ifdef HAVE_CONFIG_H