xref: /freebsd/contrib/libevent/LICENSE (revision c43e99fd)
1*c43e99fdSEd MasteLibevent is available for use under the following license, commonly known
2*c43e99fdSEd Masteas the 3-clause (or "modified") BSD license:
3*c43e99fdSEd Maste
4*c43e99fdSEd Maste==============================
5*c43e99fdSEd MasteCopyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
6*c43e99fdSEd MasteCopyright (c) 2007-2012 Niels Provos and Nick Mathewson
7*c43e99fdSEd Maste
8*c43e99fdSEd MasteRedistribution and use in source and binary forms, with or without
9*c43e99fdSEd Mastemodification, are permitted provided that the following conditions
10*c43e99fdSEd Masteare met:
11*c43e99fdSEd Maste1. Redistributions of source code must retain the above copyright
12*c43e99fdSEd Maste   notice, this list of conditions and the following disclaimer.
13*c43e99fdSEd Maste2. Redistributions in binary form must reproduce the above copyright
14*c43e99fdSEd Maste   notice, this list of conditions and the following disclaimer in the
15*c43e99fdSEd Maste   documentation and/or other materials provided with the distribution.
16*c43e99fdSEd Maste3. The name of the author may not be used to endorse or promote products
17*c43e99fdSEd Maste   derived from this software without specific prior written permission.
18*c43e99fdSEd Maste
19*c43e99fdSEd MasteTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20*c43e99fdSEd MasteIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21*c43e99fdSEd MasteOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22*c43e99fdSEd MasteIN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23*c43e99fdSEd MasteINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24*c43e99fdSEd MasteNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25*c43e99fdSEd MasteDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26*c43e99fdSEd MasteTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27*c43e99fdSEd Maste(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28*c43e99fdSEd MasteTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29*c43e99fdSEd Maste==============================
30*c43e99fdSEd Maste
31*c43e99fdSEd MastePortions of Libevent are based on works by others, also made available by
32*c43e99fdSEd Mastethem under the three-clause BSD license above.  The copyright notices are
33*c43e99fdSEd Masteavailable in the corresponding source files; the license is as above.  Here's
34*c43e99fdSEd Mastea list:
35*c43e99fdSEd Maste
36*c43e99fdSEd Mastelog.c:
37*c43e99fdSEd Maste   Copyright (c) 2000 Dug Song <dugsong@monkey.org>
38*c43e99fdSEd Maste   Copyright (c) 1993 The Regents of the University of California.
39*c43e99fdSEd Maste
40*c43e99fdSEd Mastestrlcpy.c:
41*c43e99fdSEd Maste   Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
42*c43e99fdSEd Maste
43*c43e99fdSEd Mastewin32select.c:
44*c43e99fdSEd Maste   Copyright (c) 2003 Michael A. Davis <mike@datanerds.net>
45*c43e99fdSEd Maste
46*c43e99fdSEd Masteevport.c:
47*c43e99fdSEd Maste   Copyright (c) 2007 Sun Microsystems
48*c43e99fdSEd Maste
49*c43e99fdSEd Masteht-internal.h:
50*c43e99fdSEd Maste   Copyright (c) 2002 Christopher Clark
51*c43e99fdSEd Maste
52*c43e99fdSEd Masteminheap-internal.h:
53*c43e99fdSEd Maste   Copyright (c) 2006 Maxim Yegorushkin <maxim.yegorushkin@gmail.com>
54*c43e99fdSEd Maste
55*c43e99fdSEd Maste==============================
56*c43e99fdSEd Maste
57*c43e99fdSEd MasteThe arc4module is available under the following, sometimes called the
58*c43e99fdSEd Maste"OpenBSD" license:
59*c43e99fdSEd Maste
60*c43e99fdSEd Maste   Copyright (c) 1996, David Mazieres <dm@uun.org>
61*c43e99fdSEd Maste   Copyright (c) 2008, Damien Miller <djm@openbsd.org>
62*c43e99fdSEd Maste
63*c43e99fdSEd Maste   Permission to use, copy, modify, and distribute this software for any
64*c43e99fdSEd Maste   purpose with or without fee is hereby granted, provided that the above
65*c43e99fdSEd Maste   copyright notice and this permission notice appear in all copies.
66*c43e99fdSEd Maste
67*c43e99fdSEd Maste   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
68*c43e99fdSEd Maste   WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
69*c43e99fdSEd Maste   MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
70*c43e99fdSEd Maste   ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
71*c43e99fdSEd Maste   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
72*c43e99fdSEd Maste   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
73*c43e99fdSEd Maste   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
74*c43e99fdSEd Maste
75*c43e99fdSEd Maste==============================
76*c43e99fdSEd Maste
77*c43e99fdSEd MasteThe Windows timer code is based on code from libutp, which is
78*c43e99fdSEd Mastedistributed under this license, sometimes called the "MIT" license.
79*c43e99fdSEd Maste
80*c43e99fdSEd Maste
81*c43e99fdSEd MasteCopyright (c) 2010 BitTorrent, Inc.
82*c43e99fdSEd Maste
83*c43e99fdSEd MastePermission is hereby granted, free of charge, to any person obtaining a copy
84*c43e99fdSEd Masteof this software and associated documentation files (the "Software"), to deal
85*c43e99fdSEd Mastein the Software without restriction, including without limitation the rights
86*c43e99fdSEd Masteto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87*c43e99fdSEd Mastecopies of the Software, and to permit persons to whom the Software is
88*c43e99fdSEd Mastefurnished to do so, subject to the following conditions:
89*c43e99fdSEd Maste
90*c43e99fdSEd MasteThe above copyright notice and this permission notice shall be included in
91*c43e99fdSEd Masteall copies or substantial portions of the Software.
92*c43e99fdSEd Maste
93*c43e99fdSEd MasteTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94*c43e99fdSEd MasteIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95*c43e99fdSEd MasteFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96*c43e99fdSEd MasteAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97*c43e99fdSEd MasteLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98*c43e99fdSEd MasteOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99*c43e99fdSEd MasteTHE SOFTWARE.
100