1228753SmmThe libarchive distribution as a whole is Copyright by Tim Kientzle
2228753Smmand is subject to the copyright notice reproduced at the bottom of
3228753Smmthis file.
4228753Smm
5228753SmmEach individual file in this distribution should have a clear
6228753Smmcopyright/licensing statement at the beginning of the file.  If any do
7228753Smmnot, please let me know and I will rectify it.  The following is
8228753Smmintended to summarize the copyright status of the individual files;
9228753Smmthe actual statements in the files are controlling.
10228753Smm
11228753Smm* Except as listed below, all C sources (including .c and .h files)
12228753Smm  and documentation files are subject to the copyright notice reproduced
13228753Smm  at the bottom of this file.
14228753Smm
15228753Smm* The following source files are also subject in whole or in part to
16228753Smm  a 3-clause UC Regents copyright; please read the individual source
17228753Smm  files for details:
18232153Smm   libarchive/archive_read_support_filter_compress.c
19299529Smm   libarchive/archive_write_add_filter_compress.c
20228753Smm   libarchive/mtree.5
21228753Smm
22228753Smm* The following source files are in the public domain:
23299529Smm   libarchive/archive_getdate.c
24228753Smm
25342360Smm* The following source files are triple-licensed with the ability to choose
26342360Smm  from CC0 1.0 Universal, OpenSSL or Apache 2.0 licenses:
27342360Smm   libarchive/archive_blake2.h
28342360Smm   libarchive/archive_blake2_impl.h
29342360Smm   libarchive/archive_blake2s_ref.c
30342360Smm   libarchive/archive_blake2sp_ref.c
31342360Smm
32228753Smm* The build files---including Makefiles, configure scripts,
33228753Smm  and auxiliary scripts used as part of the compile process---have
34228753Smm  widely varying licensing terms.  Please check individual files before
35228753Smm  distributing them to see if those restrictions apply to you.
36228753Smm
37228753SmmI intend for all new source code to use the license below and hope over
38228753Smmtime to replace code with other licenses with new implementations that
39228753Smmdo use the license below.  The varying licensing of the build scripts
40228753Smmseems to be an unavoidable mess.
41228753Smm
42228753Smm
43342360SmmCopyright (c) 2003-2018 <author(s)>
44228753SmmAll rights reserved.
45228753Smm
46228753SmmRedistribution and use in source and binary forms, with or without
47228753Smmmodification, are permitted provided that the following conditions
48228753Smmare met:
49228753Smm1. Redistributions of source code must retain the above copyright
50228753Smm   notice, this list of conditions and the following disclaimer
51228753Smm   in this position and unchanged.
52228753Smm2. Redistributions in binary form must reproduce the above copyright
53228753Smm   notice, this list of conditions and the following disclaimer in the
54228753Smm   documentation and/or other materials provided with the distribution.
55228753Smm
56228753SmmTHIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
57228753SmmIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
58228753SmmOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
59228753SmmIN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
60228753SmmINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
61228753SmmNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
62228753SmmDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
63228753SmmTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
64228753Smm(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
65228753SmmTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66