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