xref: /freebsd/contrib/libarchive/COPYING (revision c3afd20f)
1caf54c4fSMartin MatuskaThe libarchive distribution as a whole is Copyright by Tim Kientzle
2caf54c4fSMartin Matuskaand is subject to the copyright notice reproduced at the bottom of
3caf54c4fSMartin Matuskathis file.
4caf54c4fSMartin Matuska
5caf54c4fSMartin MatuskaEach individual file in this distribution should have a clear
6caf54c4fSMartin Matuskacopyright/licensing statement at the beginning of the file.  If any do
7caf54c4fSMartin Matuskanot, please let me know and I will rectify it.  The following is
8caf54c4fSMartin Matuskaintended to summarize the copyright status of the individual files;
9caf54c4fSMartin Matuskathe actual statements in the files are controlling.
10caf54c4fSMartin Matuska
11caf54c4fSMartin Matuska* Except as listed below, all C sources (including .c and .h files)
12caf54c4fSMartin Matuska  and documentation files are subject to the copyright notice reproduced
13caf54c4fSMartin Matuska  at the bottom of this file.
14caf54c4fSMartin Matuska
15caf54c4fSMartin Matuska* The following source files are also subject in whole or in part to
16caf54c4fSMartin Matuska  a 3-clause UC Regents copyright; please read the individual source
17caf54c4fSMartin Matuska  files for details:
186c95142eSMartin Matuska   libarchive/archive_read_support_filter_compress.c
19cdf63a70SMartin Matuska   libarchive/archive_write_add_filter_compress.c
20caf54c4fSMartin Matuska   libarchive/mtree.5
21caf54c4fSMartin Matuska
22caf54c4fSMartin Matuska* The following source files are in the public domain:
23cdf63a70SMartin Matuska   libarchive/archive_getdate.c
24caf54c4fSMartin Matuska
25*b1c91e4bSMartin Matuska* The following source files are triple-licensed with the ability to choose
26*b1c91e4bSMartin Matuska  from CC0 1.0 Universal, OpenSSL or Apache 2.0 licenses:
27*b1c91e4bSMartin Matuska   libarchive/archive_blake2.h
28*b1c91e4bSMartin Matuska   libarchive/archive_blake2_impl.h
29*b1c91e4bSMartin Matuska   libarchive/archive_blake2s_ref.c
30*b1c91e4bSMartin Matuska   libarchive/archive_blake2sp_ref.c
31*b1c91e4bSMartin Matuska
32caf54c4fSMartin Matuska* The build files---including Makefiles, configure scripts,
33caf54c4fSMartin Matuska  and auxiliary scripts used as part of the compile process---have
34caf54c4fSMartin Matuska  widely varying licensing terms.  Please check individual files before
35caf54c4fSMartin Matuska  distributing them to see if those restrictions apply to you.
36caf54c4fSMartin Matuska
37caf54c4fSMartin MatuskaI intend for all new source code to use the license below and hope over
38caf54c4fSMartin Matuskatime to replace code with other licenses with new implementations that
39caf54c4fSMartin Matuskado use the license below.  The varying licensing of the build scripts
40caf54c4fSMartin Matuskaseems to be an unavoidable mess.
41caf54c4fSMartin Matuska
42caf54c4fSMartin Matuska
43*b1c91e4bSMartin MatuskaCopyright (c) 2003-2018 <author(s)>
44caf54c4fSMartin MatuskaAll rights reserved.
45caf54c4fSMartin Matuska
46caf54c4fSMartin MatuskaRedistribution and use in source and binary forms, with or without
47caf54c4fSMartin Matuskamodification, are permitted provided that the following conditions
48caf54c4fSMartin Matuskaare met:
49caf54c4fSMartin Matuska1. Redistributions of source code must retain the above copyright
50caf54c4fSMartin Matuska   notice, this list of conditions and the following disclaimer
51caf54c4fSMartin Matuska   in this position and unchanged.
52caf54c4fSMartin Matuska2. Redistributions in binary form must reproduce the above copyright
53caf54c4fSMartin Matuska   notice, this list of conditions and the following disclaimer in the
54caf54c4fSMartin Matuska   documentation and/or other materials provided with the distribution.
55caf54c4fSMartin Matuska
56caf54c4fSMartin MatuskaTHIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
57caf54c4fSMartin MatuskaIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
58caf54c4fSMartin MatuskaOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
59caf54c4fSMartin MatuskaIN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
60caf54c4fSMartin MatuskaINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
61caf54c4fSMartin MatuskaNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
62caf54c4fSMartin MatuskaDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
63caf54c4fSMartin MatuskaTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
64caf54c4fSMartin Matuska(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
65caf54c4fSMartin MatuskaTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66