Browse Source

Change most public domain parts to 0BSD.

Translations and doc/xz-file-format.txt and doc/lzma-file-format.txt
were not touched.

COPYING.0BSD was added.
v5.6
Lasse Collin 2 months ago
parent
commit
689e0228ba
  1. 3
      .github/workflows/ci.yml
  2. 3
      .github/workflows/windows-ci.yml
  3. 3
      CMakeLists.txt
  4. 112
      COPYING
  5. 11
      COPYING.0BSD
  6. 3
      Makefile.am
  7. 11
      PACKAGERS
  8. 3
      autogen.sh
  9. 3
      build-aux/ci_build.sh
  10. 3
      build-aux/manconv.sh
  11. 3
      build-aux/version.sh
  12. 3
      cmake/remove-ordinals.cmake
  13. 3
      cmake/tuklib_common.cmake
  14. 3
      cmake/tuklib_cpucores.cmake
  15. 3
      cmake/tuklib_integer.cmake
  16. 3
      cmake/tuklib_large_file_support.cmake
  17. 3
      cmake/tuklib_mbstr.cmake
  18. 3
      cmake/tuklib_physmem.cmake
  19. 3
      cmake/tuklib_progname.cmake
  20. 3
      configure.ac
  21. 3
      debug/Makefile.am
  22. 3
      debug/crc32.c
  23. 3
      debug/full_flush.c
  24. 3
      debug/hex2bin.c
  25. 3
      debug/known_sizes.c
  26. 3
      debug/memusage.c
  27. 3
      debug/repeat.c
  28. 3
      debug/sync_flush.c
  29. 3
      debug/translation.bash
  30. 3
      doc/examples/01_compress_easy.c
  31. 3
      doc/examples/02_decompress.c
  32. 3
      doc/examples/03_compress_custom.c
  33. 3
      doc/examples/04_compress_easy_mt.c
  34. 3
      doc/examples/11_file_info.c
  35. 3
      doc/examples/Makefile
  36. 3
      dos/Makefile
  37. 3
      doxygen/update-doxygen
  38. 3
      extra/7z2lzma/7z2lzma.bash
  39. 3
      m4/tuklib_common.m4
  40. 3
      m4/tuklib_cpucores.m4
  41. 3
      m4/tuklib_integer.m4
  42. 3
      m4/tuklib_mbstr.m4
  43. 3
      m4/tuklib_physmem.m4
  44. 3
      m4/tuklib_progname.m4
  45. 3
      po4a/update-po
  46. 3
      src/Makefile.am
  47. 3
      src/common/common_w32res.rc
  48. 3
      src/common/mythread.h
  49. 3
      src/common/sysdefs.h
  50. 3
      src/common/tuklib_common.h
  51. 3
      src/common/tuklib_cpucores.c
  52. 3
      src/common/tuklib_cpucores.h
  53. 3
      src/common/tuklib_exit.c
  54. 3
      src/common/tuklib_exit.h
  55. 3
      src/common/tuklib_gettext.h
  56. 3
      src/common/tuklib_integer.h
  57. 3
      src/common/tuklib_mbstr.h
  58. 3
      src/common/tuklib_mbstr_fw.c
  59. 3
      src/common/tuklib_mbstr_width.c
  60. 3
      src/common/tuklib_open_stdxxx.c
  61. 3
      src/common/tuklib_open_stdxxx.h
  62. 3
      src/common/tuklib_physmem.c
  63. 3
      src/common/tuklib_physmem.h
  64. 3
      src/common/tuklib_progname.c
  65. 3
      src/common/tuklib_progname.h
  66. 3
      src/liblzma/Makefile.am
  67. 3
      src/liblzma/api/Makefile.am
  68. 13
      src/liblzma/api/lzma.h
  69. 3
      src/liblzma/api/lzma/base.h
  70. 3
      src/liblzma/api/lzma/bcj.h
  71. 3
      src/liblzma/api/lzma/block.h
  72. 3
      src/liblzma/api/lzma/check.h
  73. 3
      src/liblzma/api/lzma/container.h
  74. 3
      src/liblzma/api/lzma/delta.h
  75. 3
      src/liblzma/api/lzma/filter.h
  76. 3
      src/liblzma/api/lzma/hardware.h
  77. 3
      src/liblzma/api/lzma/index.h
  78. 3
      src/liblzma/api/lzma/index_hash.h
  79. 3
      src/liblzma/api/lzma/lzma12.h
  80. 3
      src/liblzma/api/lzma/stream_flags.h
  81. 3
      src/liblzma/api/lzma/version.h
  82. 3
      src/liblzma/api/lzma/vli.h
  83. 3
      src/liblzma/check/Makefile.inc
  84. 3
      src/liblzma/check/check.c
  85. 3
      src/liblzma/check/check.h
  86. 3
      src/liblzma/check/crc32_arm64.h
  87. 3
      src/liblzma/check/crc32_fast.c
  88. 3
      src/liblzma/check/crc32_small.c
  89. 3
      src/liblzma/check/crc32_table.c
  90. 3
      src/liblzma/check/crc32_tablegen.c
  91. 3
      src/liblzma/check/crc32_x86.S
  92. 3
      src/liblzma/check/crc64_fast.c
  93. 3
      src/liblzma/check/crc64_small.c
  94. 3
      src/liblzma/check/crc64_table.c
  95. 3
      src/liblzma/check/crc64_tablegen.c
  96. 3
      src/liblzma/check/crc64_x86.S
  97. 3
      src/liblzma/check/crc_common.h
  98. 3
      src/liblzma/check/crc_x86_clmul.h
  99. 3
      src/liblzma/check/sha256.c
  100. 3
      src/liblzma/common/Makefile.inc

3
.github/workflows/ci.yml

@ -2,9 +2,6 @@
#
# Author: Jia Tan
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
name: CI

3
.github/workflows/windows-ci.yml

@ -2,9 +2,6 @@
#
# Author: Jia Tan
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
name: Windows-CI

3
CMakeLists.txt

@ -38,9 +38,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
cmake_minimum_required(VERSION 3.13...3.27 FATAL_ERROR)

112
COPYING

@ -6,77 +6,95 @@ XZ Utils Licensing
is a rough summary of which licenses apply to which parts of this
package (but check the individual files to be sure!):
- liblzma is in the public domain.
- liblzma is under the BSD Zero Clause License (0BSD).
- xz, xzdec, and lzmadec command line tools are in the public
domain unless GNU getopt_long had to be compiled and linked
in from the lib directory. The getopt_long code is under
GNU LGPLv2.1+.
- The command line tools xz, xzdec, lzmadec, and lzmainfo are
under 0BSD except that, on systems that don't have a usable
getopt_long, GNU getopt_long is compiled and linked in from the
'lib' directory. The getopt_long code is under GNU LGPLv2.1+.
- The scripts to grep, diff, and view compressed files have been
adapted from gzip. These scripts and their documentation are
under GNU GPLv2+.
- All the documentation in the doc directory and most of the
XZ Utils specific documentation files in other directories
are in the public domain.
adapted from gzip. These scripts (xzgrep, xzdiff, xzless, and
xzmore) and their documentation are under GNU GPLv2+. The man
page of xzless ('xzless.1') is an exception: it's under 0BSD.
- Most of the XZ Utils specific documentation that is in
plain text files (like README, INSTALL, PACKAGERS, NEWS,
and ChangeLog) are under 0BSD unless stated otherwise in
the file itself. The files xz-file-format.txt and
lzma-file-format.xt are in the public domain but may
be distributed under the terms of 0BSD too.
- Doxygen-generated HTML version of the liblzma API documentation:
While Doxygen is under the GNU GPLv2, the license information
in Doxygen includes the following exception:
Documents produced by doxygen are derivative works
derived from the input used in their production;
they are not affected by this license.
Note: The JavaScript files (under the MIT license) have
been removed from the Doxygen-generated HTML version of the
liblzma API documentation. Doxygen itself is under the GNU GPL
but the remaining files generated by Doxygen are not affected
by the licenses used in Doxygen because Doxygen licensing has
the following exception:
been removed from the Doxygen output.
"Documents produced by doxygen are derivative works
derived from the input used in their production;
they are not affected by this license."
- The XZ logo (xz-logo.png) included in the Doxygen-generated
documentation is under the Creative Commons BY-SA 4.0 license.
- The XZ logo included in the Doxygen documentation is under
the Creative Commons BY-SA 4.0 license.
- Translated messages and man pages are under 0BSD except that
some old translations are in the public domain.
- Translated messages are in the public domain.
- Test files and test code in the 'tests' directory, and
debugging utilities in the 'debug' directory are under
the BSD Zero Clause License (0BSD).
- The build system contains public domain files, and files that
are under GNU GPLv2+ or GNU GPLv3+. None of these files end up
in the binaries being built.
- The GNU Autotools based build system contains files that are
under GNU GPLv2+, GNU GPLv3+, and a few permissive licenses.
These files don't affect the licensing of the binaries being
built.
- Test files and test code in the tests directory, and debugging
utilities in the debug directory are in the public domain.
- The extra directory contain files that are under various
free software licenses.
- The extra directory may contain public domain files, and files
that are under various free software licenses.
For the files under the BSD Zero Clause License (0BSD), if
a copyright notice is needed, the following is sufficient:
You can do whatever you want with the files that have been put into
the public domain. If you find public domain legally problematic,
take the previous sentence as a license grant. If you still find
the lack of copyright legally problematic, you have too many
lawyers.
Copyright (C) The XZ Utils authors and contributors
As usual, this software is provided "as is", without any warranty.
If you copy significant amounts of public domain code from XZ Utils
If you copy significant amounts of 0BSD-licensed code from XZ Utils
into your project, acknowledging this somewhere in your software is
polite (especially if it is proprietary, non-free software), but
naturally it is not legally required. Here is an example of a good
notice to put into "about box" or into documentation:
it is not legally required by the license terms. Here is an example
of a good notice to put into "about box" or into documentation:
This software includes code from XZ Utils
<https://xz.tukaani.org/xz-utils/>.
The following license texts are included in the following files:
- COPYING.0BSD: BSD Zero Clause License
- COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
- COPYING.GPLv2: GNU General Public License version 2
- COPYING.GPLv3: GNU General Public License version 3
- COPYING.CC-BY-SA-4.0: Creative Commons Attribution-ShareAlike 4.0
International Public License
Note that the toolchain (compiler, linker etc.) may add some code
pieces that are copyrighted. Thus, it is possible that e.g. liblzma
binary wouldn't actually be in the public domain in its entirety
even though it contains no copyrighted code from the XZ Utils source
package.
If you have questions, don't hesitate to ask the author(s) for more
information.
A note about old XZ Utils releases:
XZ Utils releases 5.4.6 and older and 5.5.1alpha have a
significant amount of code put into the public domain and
that obviously remains so. The switch from public domain to
0BSD for newer releases was made in Febrary 2024 because
public domain has (real or perceived) legal ambiguities in
some jurisdictions.
There is very little *practical* difference between public
domain and 0BSD. The main difference likely is that one
shouldn't claim that 0BSD-licensed code is in the public
domain; 0BSD-licensed code is copyrighted but available under
an extremely permissive license. Neither 0BSD nor public domain
require retaining or reproducing author, copyright holder, or
license notices when distributing the software. (Compare to,
for example, BSD 2-Clause "Simplified" License which does have
such requirements.)
If you have questions, don't hesitate to ask for more information.
The contact information is in the README file.

11
COPYING.0BSD

@ -0,0 +1,11 @@
Permission to use, copy, modify, and/or distribute this
software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

3
Makefile.am

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
# Use -n to prevent gzip from adding a timestamp to the .gz headers.
GZIP_ENV = -9n

11
PACKAGERS

@ -124,14 +124,15 @@ Information to packagers of XZ Utils
If the package manager supports a license field, you probably should
put GPLv2+ there (GNU GPL v2 or later). The interesting parts of
XZ Utils are in the public domain, but some less important files
ending up into the binary package are under GPLv2+. So it is simplest
to just say GPLv2+ if you cannot specify "public domain and GPLv2+".
XZ Utils are under the BSD Zero Clause License (0BSD), but some less
important files ending up into the binary package are under GPLv2+.
So it is simplest to just say GPLv2+ if you cannot specify
"BSD0 and GPLv2+".
If you split XZ Utils into multiple packages as described earlier
in this file, liblzma and liblzma-dev packages will contain only
public domain code (from XZ Utils at least; compiler or linker may
add some third-party code, which may be copyrighted).
0BSD-licensed code from XZ Utils (compiler or linker may add some
third-party code which may have other licenses).
4. configure options

3
autogen.sh

@ -4,9 +4,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
set -e -x

3
build-aux/ci_build.sh

@ -9,9 +9,6 @@
#
# Author: Jia Tan
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
set -e

3
build-aux/manconv.sh

@ -17,9 +17,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
FORMAT=$1

3
build-aux/version.sh

@ -9,9 +9,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/

3
cmake/remove-ordinals.cmake

@ -16,9 +16,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
file(READ "${INPUT_FILE}" STR)

3
cmake/tuklib_common.cmake

@ -3,9 +3,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
function(tuklib_add_definitions TARGET_OR_ALL DEFINITIONS)
# DEFINITIONS may be an empty string/list but it's fine here. There is

3
cmake/tuklib_cpucores.cmake

@ -3,9 +3,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckCSourceCompiles)

3
cmake/tuklib_integer.cmake

@ -3,9 +3,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(TestBigEndian)

3
cmake/tuklib_large_file_support.cmake

@ -8,9 +8,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckCSourceCompiles)

3
cmake/tuklib_mbstr.cmake

@ -3,9 +3,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckSymbolExists)

3
cmake/tuklib_physmem.cmake

@ -6,9 +6,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckCSourceCompiles)

3
cmake/tuklib_progname.cmake

@ -3,9 +3,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckSymbolExists)

3
configure.ac

@ -5,9 +5,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
# NOTE: Don't add useless checks. autoscan detects this and that, but don't

3
debug/Makefile.am

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
EXTRA_DIST = \
translation.bash

3
debug/crc32.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/full_flush.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/hex2bin.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/known_sizes.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/memusage.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/repeat.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/sync_flush.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "sysdefs.h"

3
debug/translation.bash

@ -20,9 +20,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
set -e

3
doc/examples/01_compress_easy.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdbool.h>

3
doc/examples/02_decompress.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdbool.h>

3
doc/examples/03_compress_custom.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdbool.h>

3
doc/examples/04_compress_easy_mt.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdbool.h>

3
doc/examples/11_file_info.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdbool.h>

3
doc/examples/Makefile

@ -1,9 +1,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
CC = c99
CFLAGS = -g

3
dos/Makefile

@ -4,9 +4,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
# For debugging, set comment "#define NDEBUG 1" from config.h to enable

3
doxygen/update-doxygen

@ -16,9 +16,6 @@
# Authors: Jia Tan
# Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
set -e

3
extra/7z2lzma/7z2lzma.bash

@ -17,9 +17,6 @@
#
# Author: Lasse Collin <lasse.collin@tukaani.org>
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
# You can use 7z or 7za, both will work.

3
m4/tuklib_common.m4

@ -11,9 +11,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
AC_DEFUN_ONCE([TUKLIB_COMMON], [
AC_REQUIRE([AC_CANONICAL_HOST])

3
m4/tuklib_cpucores.m4

@ -21,9 +21,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
AC_DEFUN_ONCE([TUKLIB_CPUCORES], [
AC_REQUIRE([TUKLIB_COMMON])

3
m4/tuklib_integer.m4

@ -15,9 +15,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
AC_DEFUN_ONCE([TUKLIB_INTEGER], [
AC_REQUIRE([TUKLIB_COMMON])

3
m4/tuklib_mbstr.m4

@ -19,9 +19,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
AC_DEFUN_ONCE([TUKLIB_MBSTR], [
AC_REQUIRE([TUKLIB_COMMON])

3
m4/tuklib_physmem.m4

@ -33,9 +33,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
AC_DEFUN_ONCE([TUKLIB_PHYSMEM], [
AC_REQUIRE([TUKLIB_COMMON])

3
m4/tuklib_progname.m4

@ -15,9 +15,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
AC_DEFUN_ONCE([TUKLIB_PROGNAME], [
AC_REQUIRE([TUKLIB_COMMON])

3
po4a/update-po

@ -10,9 +10,6 @@
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################
if type po4a > /dev/null 2>&1; then

3
src/Makefile.am

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
SUBDIRS = liblzma xzdec

3
src/common/common_w32res.rc

@ -1,8 +1,5 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#include <winresrc.h>

3
src/common/mythread.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef MYTHREAD_H

3
src/common/sysdefs.h

@ -8,9 +8,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef LZMA_SYSDEFS_H

3
src/common/tuklib_common.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_COMMON_H

3
src/common/tuklib_cpucores.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_cpucores.h"

3
src/common/tuklib_cpucores.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_CPUCORES_H

3
src/common/tuklib_exit.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_common.h"

3
src/common/tuklib_exit.h

@ -6,9 +6,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_EXIT_H

3
src/common/tuklib_gettext.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_GETTEXT_H

3
src/common/tuklib_integer.h

@ -37,9 +37,6 @@
// Authors: Lasse Collin
// Joachim Henke
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_INTEGER_H

3
src/common/tuklib_mbstr.h

@ -10,9 +10,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_MBSTR_H

3
src/common/tuklib_mbstr_fw.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_mbstr.h"

3
src/common/tuklib_mbstr_width.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_mbstr.h"

3
src/common/tuklib_open_stdxxx.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_open_stdxxx.h"

3
src/common/tuklib_open_stdxxx.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_OPEN_STDXXX_H

3
src/common/tuklib_physmem.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_physmem.h"

3
src/common/tuklib_physmem.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_PHYSMEM_H

3
src/common/tuklib_progname.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_progname.h"

3
src/common/tuklib_progname.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef TUKLIB_PROGNAME_H

3
src/liblzma/Makefile.am

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
SUBDIRS = api

3
src/liblzma/api/Makefile.am

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
nobase_include_HEADERS = \
lzma.h \

13
src/liblzma/api/lzma.h

@ -3,10 +3,10 @@
* \brief The public API of liblzma data compression library
* \mainpage
*
* liblzma is a public domain general-purpose data compression library with
* a zlib-like API. The native file format is .xz, but also the old .lzma
* format and raw (no headers) streams are supported. Multiple compression
* algorithms (filters) are supported. Currently LZMA2 is the primary filter.
* liblzma is a general-purpose data compression library with a zlib-like API.
* The native file format is .xz, but also the old .lzma format and raw (no
* headers) streams are supported. Multiple compression algorithms (filters)
* are supported. Currently LZMA2 is the primary filter.
*
* liblzma is part of XZ Utils <https://xz.tukaani.org/xz-utils/>. XZ Utils
* includes a gzip-like command line tool named xz and some other tools.
@ -19,13 +19,12 @@
* 7-Zip <https://7-zip.org/>, which has a modified version of the public
* domain SHA-256 code found from Crypto++ <https://www.cryptopp.com/>.
* The SHA-256 code in Crypto++ was written by Kevin Springle and Wei Dai.
*
* liblzma is distributed under the BSD Zero Clause License (0BSD).
*/
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H

3
src/liblzma/api/lzma/base.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/bcj.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/block.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/check.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/container.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/delta.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/filter.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/hardware.h

@ -23,9 +23,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/index.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/index_hash.h

@ -9,9 +9,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/lzma12.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/stream_flags.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/version.h

@ -6,9 +6,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/api/lzma/vli.h

@ -17,9 +17,6 @@
/*
* Author: Lasse Collin
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
#ifndef LZMA_H_INTERNAL

3
src/liblzma/check/Makefile.inc

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
## Note: There is no check for COND_CHECK_CRC32 because
## currently crc32 is always enabled.

3
src/liblzma/check/check.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"

3
src/liblzma/check/check.h

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef LZMA_CHECK_H

3
src/liblzma/check/crc32_arm64.h

@ -7,9 +7,6 @@
// Jia Tan
// Hans Jansen
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////

3
src/liblzma/check/crc32_fast.c

@ -7,9 +7,6 @@
// Ilya Kurdyukov
// Hans Jansen
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"

3
src/liblzma/check/crc32_small.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"

3
src/liblzma/check/crc32_table.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "common.h"

3
src/liblzma/check/crc32_tablegen.c

@ -9,9 +9,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdio.h>

3
src/liblzma/check/crc32_x86.S

@ -11,9 +11,6 @@
* Authors: Igor Pavlov (original version)
* Lasse Collin (AT&T syntax, PIC support, better portability)
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*
* This code needs lzma_crc32_table, which can be created using the
* following C code:

3
src/liblzma/check/crc64_fast.c

@ -6,9 +6,6 @@
// Authors: Lasse Collin
// Ilya Kurdyukov
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"

3
src/liblzma/check/crc64_small.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"

3
src/liblzma/check/crc64_table.c

@ -5,9 +5,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "common.h"

3
src/liblzma/check/crc64_tablegen.c

@ -8,9 +8,6 @@
//
// Author: Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include <stdio.h>

3
src/liblzma/check/crc64_x86.S

@ -7,9 +7,6 @@
* Authors: Igor Pavlov (original CRC32 assembly code)
* Lasse Collin (CRC64 adaptation of the modified CRC32 code)
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*
* This code needs lzma_crc64_table, which can be created using the
* following C code:

3
src/liblzma/check/crc_common.h

@ -8,9 +8,6 @@
// Hans Jansen
// Jia Tan
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef LZMA_CRC_COMMON_H

3
src/liblzma/check/crc_x86_clmul.h

@ -27,9 +27,6 @@
// Lasse Collin
// Jia Tan
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
// This file must not be included more than once.

3
src/liblzma/check/sha256.c

@ -10,9 +10,6 @@
// Authors: Wei Dai
// Lasse Collin
//
// This file has been put into the public domain.
// You can do whatever you want with this file.
//
///////////////////////////////////////////////////////////////////////////////
#include "check.h"

3
src/liblzma/common/Makefile.inc

@ -1,9 +1,6 @@
##
## Author: Lasse Collin
##
## This file has been put into the public domain.
## You can do whatever you want with this file.
##
liblzma_la_SOURCES += \
common/common.c \

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save