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