1275970ScyLibevent is available for use under the following license, commonly known
2275970Scyas the 3-clause (or "modified") BSD license:
3275970Scy
4275970Scy==============================
5275970ScyCopyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
6275970ScyCopyright (c) 2007-2012 Niels Provos and Nick Mathewson
7275970Scy
8275970ScyRedistribution and use in source and binary forms, with or without
9275970Scymodification, are permitted provided that the following conditions
10275970Scyare met:
11275970Scy1. Redistributions of source code must retain the above copyright
12275970Scy   notice, this list of conditions and the following disclaimer.
13275970Scy2. Redistributions in binary form must reproduce the above copyright
14275970Scy   notice, this list of conditions and the following disclaimer in the
15275970Scy   documentation and/or other materials provided with the distribution.
16275970Scy3. The name of the author may not be used to endorse or promote products
17275970Scy   derived from this software without specific prior written permission.
18275970Scy
19275970ScyTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20275970ScyIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21275970ScyOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22275970ScyIN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23275970ScyINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24275970ScyNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25275970ScyDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26275970ScyTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27275970Scy(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28275970ScyTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29275970Scy==============================
30275970Scy
31275970ScyPortions of Libevent are based on works by others, also made available by
32275970Scythem under the three-clause BSD license above.  The copyright notices are
33275970Scyavailable in the corresponding source files; the license is as above.  Here's
34275970Scya list:
35275970Scy
36275970Scylog.c:
37275970Scy   Copyright (c) 2000 Dug Song <dugsong@monkey.org>
38275970Scy   Copyright (c) 1993 The Regents of the University of California.
39275970Scy
40275970Scystrlcpy.c:
41275970Scy   Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
42275970Scy
43275970Scywin32select.c:
44275970Scy   Copyright (c) 2003 Michael A. Davis <mike@datanerds.net>
45275970Scy
46275970Scyevport.c:
47275970Scy   Copyright (c) 2007 Sun Microsystems
48275970Scy
49275970Scyht-internal.h:
50275970Scy   Copyright (c) 2002 Christopher Clark
51275970Scy
52275970Scyminheap-internal.h:
53275970Scy   Copyright (c) 2006 Maxim Yegorushkin <maxim.yegorushkin@gmail.com>
54275970Scy
55275970Scy==============================
56275970Scy
57275970ScyThe arc4module is available under the following, sometimes called the
58275970Scy"OpenBSD" license:
59275970Scy
60275970Scy   Copyright (c) 1996, David Mazieres <dm@uun.org>
61275970Scy   Copyright (c) 2008, Damien Miller <djm@openbsd.org>
62275970Scy
63275970Scy   Permission to use, copy, modify, and distribute this software for any
64275970Scy   purpose with or without fee is hereby granted, provided that the above
65275970Scy   copyright notice and this permission notice appear in all copies.
66275970Scy
67275970Scy   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
68275970Scy   WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
69275970Scy   MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
70275970Scy   ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
71275970Scy   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
72275970Scy   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
73275970Scy   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
74275970Scy
75275970Scy==============================
76275970Scy
77275970ScyThe Windows timer code is based on code from libutp, which is
78275970Scydistributed under this license, sometimes called the "MIT" license.
79275970Scy
80275970Scy
81275970ScyCopyright (c) 2010 BitTorrent, Inc.
82275970Scy
83275970ScyPermission is hereby granted, free of charge, to any person obtaining a copy
84275970Scyof this software and associated documentation files (the "Software"), to deal
85275970Scyin the Software without restriction, including without limitation the rights
86275970Scyto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87275970Scycopies of the Software, and to permit persons to whom the Software is
88275970Scyfurnished to do so, subject to the following conditions:
89275970Scy
90275970ScyThe above copyright notice and this permission notice shall be included in
91275970Scyall copies or substantial portions of the Software.
92275970Scy
93275970ScyTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94275970ScyIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95275970ScyFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96275970ScyAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97275970ScyLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98275970ScyOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99275970ScyTHE SOFTWARE.
100