xref: /dflybsd-src/contrib/libarchive/COPYING (revision afd311f52496a4b5c3df02ea6d4bdab591886c60)
160b4ad09SPeter AvalosThe libarchive distribution as a whole is Copyright by Tim Kientzle
260b4ad09SPeter Avalosand is subject to the copyright notice reproduced at the bottom of
360b4ad09SPeter Avalosthis file.
460b4ad09SPeter Avalos
560b4ad09SPeter AvalosEach individual file in this distribution should have a clear
660b4ad09SPeter Avaloscopyright/licensing statement at the beginning of the file.  If any do
760b4ad09SPeter Avalosnot, please let me know and I will rectify it.  The following is
860b4ad09SPeter Avalosintended to summarize the copyright status of the individual files;
960b4ad09SPeter Avalosthe actual statements in the files are controlling.
1060b4ad09SPeter Avalos
1160b4ad09SPeter Avalos* Except as listed below, all C sources (including .c and .h files)
1260b4ad09SPeter Avalos  and documentation files are subject to the copyright notice reproduced
1360b4ad09SPeter Avalos  at the bottom of this file.
1460b4ad09SPeter Avalos
1560b4ad09SPeter Avalos* The following source files are also subject in whole or in part to
1660b4ad09SPeter Avalos  a 3-clause UC Regents copyright; please read the individual source
1760b4ad09SPeter Avalos  files for details:
18c09f92d2SPeter Avalos   libarchive/archive_read_support_filter_compress.c
196b384f39SPeter Avalos   libarchive/archive_write_add_filter_compress.c
2060b4ad09SPeter Avalos   libarchive/mtree.5
2160b4ad09SPeter Avalos
2260b4ad09SPeter Avalos* The following source files are in the public domain:
236b384f39SPeter Avalos   libarchive/archive_getdate.c
2460b4ad09SPeter Avalos
25*085658deSDaniel Fojt* The following source files are triple-licensed with the ability to choose
26*085658deSDaniel Fojt  from CC0 1.0 Universal, OpenSSL or Apache 2.0 licenses:
27*085658deSDaniel Fojt   libarchive/archive_blake2.h
28*085658deSDaniel Fojt   libarchive/archive_blake2_impl.h
29*085658deSDaniel Fojt   libarchive/archive_blake2s_ref.c
30*085658deSDaniel Fojt   libarchive/archive_blake2sp_ref.c
31*085658deSDaniel Fojt
3260b4ad09SPeter Avalos* The build files---including Makefiles, configure scripts,
3360b4ad09SPeter Avalos  and auxiliary scripts used as part of the compile process---have
3460b4ad09SPeter Avalos  widely varying licensing terms.  Please check individual files before
3560b4ad09SPeter Avalos  distributing them to see if those restrictions apply to you.
3660b4ad09SPeter Avalos
3760b4ad09SPeter AvalosI intend for all new source code to use the license below and hope over
3860b4ad09SPeter Avalostime to replace code with other licenses with new implementations that
3960b4ad09SPeter Avalosdo use the license below.  The varying licensing of the build scripts
4060b4ad09SPeter Avalosseems to be an unavoidable mess.
4160b4ad09SPeter Avalos
4260b4ad09SPeter Avalos
43*085658deSDaniel FojtCopyright (c) 2003-2018 <author(s)>
4460b4ad09SPeter AvalosAll rights reserved.
4560b4ad09SPeter Avalos
4660b4ad09SPeter AvalosRedistribution and use in source and binary forms, with or without
4760b4ad09SPeter Avalosmodification, are permitted provided that the following conditions
4860b4ad09SPeter Avalosare met:
4960b4ad09SPeter Avalos1. Redistributions of source code must retain the above copyright
5060b4ad09SPeter Avalos   notice, this list of conditions and the following disclaimer
5160b4ad09SPeter Avalos   in this position and unchanged.
5260b4ad09SPeter Avalos2. Redistributions in binary form must reproduce the above copyright
5360b4ad09SPeter Avalos   notice, this list of conditions and the following disclaimer in the
5460b4ad09SPeter Avalos   documentation and/or other materials provided with the distribution.
5560b4ad09SPeter Avalos
5660b4ad09SPeter AvalosTHIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
5760b4ad09SPeter AvalosIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
5860b4ad09SPeter AvalosOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
5960b4ad09SPeter AvalosIN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
6060b4ad09SPeter AvalosINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
6160b4ad09SPeter AvalosNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
6260b4ad09SPeter AvalosDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
6360b4ad09SPeter AvalosTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
6460b4ad09SPeter Avalos(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
6560b4ad09SPeter AvalosTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
66