xref: /libevent-2.1.12/LICENSE (revision 2c470452)
170670067SNick MathewsonLibevent is available for use under the following license, commonly known
270670067SNick Mathewsonas the 3-clause (or "modified") BSD license:
370670067SNick Mathewson
470670067SNick Mathewson==============================
570670067SNick MathewsonCopyright (c) 2000-2007 Niels Provos <[email protected]>
6e49e2891SNick MathewsonCopyright (c) 2007-2012 Niels Provos and Nick Mathewson
770670067SNick Mathewson
870670067SNick MathewsonRedistribution and use in source and binary forms, with or without
970670067SNick Mathewsonmodification, are permitted provided that the following conditions
1070670067SNick Mathewsonare met:
1170670067SNick Mathewson1. Redistributions of source code must retain the above copyright
1270670067SNick Mathewson   notice, this list of conditions and the following disclaimer.
1370670067SNick Mathewson2. Redistributions in binary form must reproduce the above copyright
1470670067SNick Mathewson   notice, this list of conditions and the following disclaimer in the
1570670067SNick Mathewson   documentation and/or other materials provided with the distribution.
1670670067SNick Mathewson3. The name of the author may not be used to endorse or promote products
1770670067SNick Mathewson   derived from this software without specific prior written permission.
1870670067SNick Mathewson
1970670067SNick MathewsonTHIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2070670067SNick MathewsonIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2170670067SNick MathewsonOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2270670067SNick MathewsonIN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2370670067SNick MathewsonINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2470670067SNick MathewsonNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2570670067SNick MathewsonDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2670670067SNick MathewsonTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2770670067SNick Mathewson(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2870670067SNick MathewsonTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2970670067SNick Mathewson==============================
3070670067SNick Mathewson
3170670067SNick MathewsonPortions of Libevent are based on works by others, also made available by
3270670067SNick Mathewsonthem under the three-clause BSD license above.  The copyright notices are
3370670067SNick Mathewsonavailable in the corresponding source files; the license is as above.  Here's
3470670067SNick Mathewsona list:
3570670067SNick Mathewson
3670670067SNick Mathewsonlog.c:
3770670067SNick Mathewson   Copyright (c) 2000 Dug Song <[email protected]>
3870670067SNick Mathewson   Copyright (c) 1993 The Regents of the University of California.
3970670067SNick Mathewson
4070670067SNick Mathewsonstrlcpy.c:
4170670067SNick Mathewson   Copyright (c) 1998 Todd C. Miller <[email protected]>
4270670067SNick Mathewson
4370670067SNick Mathewsonwin32select.c:
4470670067SNick Mathewson   Copyright (c) 2003 Michael A. Davis <[email protected]>
4570670067SNick Mathewson
4670670067SNick Mathewsonevport.c:
4770670067SNick Mathewson   Copyright (c) 2007 Sun Microsystems
48e15e1e94SNick Mathewson
4938b7b571SNick Mathewsonht-internal.h:
5038b7b571SNick Mathewson   Copyright (c) 2002 Christopher Clark
5138b7b571SNick Mathewson
5238b7b571SNick Mathewsonminheap-internal.h:
5338b7b571SNick Mathewson   Copyright (c) 2006 Maxim Yegorushkin <[email protected]>
5438b7b571SNick Mathewson
55e15e1e94SNick Mathewson==============================
56e15e1e94SNick Mathewson
57e15e1e94SNick MathewsonThe arc4module is available under the following, sometimes called the
58e15e1e94SNick Mathewson"OpenBSD" license:
59e15e1e94SNick Mathewson
60e15e1e94SNick Mathewson   Copyright (c) 1996, David Mazieres <[email protected]>
61e15e1e94SNick Mathewson   Copyright (c) 2008, Damien Miller <[email protected]>
62e15e1e94SNick Mathewson
63e15e1e94SNick Mathewson   Permission to use, copy, modify, and distribute this software for any
64e15e1e94SNick Mathewson   purpose with or without fee is hereby granted, provided that the above
65e15e1e94SNick Mathewson   copyright notice and this permission notice appear in all copies.
66e15e1e94SNick Mathewson
67e15e1e94SNick Mathewson   THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
68e15e1e94SNick Mathewson   WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
69e15e1e94SNick Mathewson   MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
70e15e1e94SNick Mathewson   ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
71e15e1e94SNick Mathewson   WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
72e15e1e94SNick Mathewson   ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
73e15e1e94SNick Mathewson   OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
74e15e1e94SNick Mathewson
75*2c470452SNick Mathewson==============================
76*2c470452SNick Mathewson
77*2c470452SNick MathewsonThe Windows timer code is based on code from libutp, which is
78*2c470452SNick Mathewsondistributed under this license, sometimes called the "MIT" license.
79*2c470452SNick Mathewson
80*2c470452SNick Mathewson
81*2c470452SNick MathewsonCopyright (c) 2010 BitTorrent, Inc.
82*2c470452SNick Mathewson
83*2c470452SNick MathewsonPermission is hereby granted, free of charge, to any person obtaining a copy
84*2c470452SNick Mathewsonof this software and associated documentation files (the "Software"), to deal
85*2c470452SNick Mathewsonin the Software without restriction, including without limitation the rights
86*2c470452SNick Mathewsonto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
87*2c470452SNick Mathewsoncopies of the Software, and to permit persons to whom the Software is
88*2c470452SNick Mathewsonfurnished to do so, subject to the following conditions:
89*2c470452SNick Mathewson
90*2c470452SNick MathewsonThe above copyright notice and this permission notice shall be included in
91*2c470452SNick Mathewsonall copies or substantial portions of the Software.
92*2c470452SNick Mathewson
93*2c470452SNick MathewsonTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
94*2c470452SNick MathewsonIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
95*2c470452SNick MathewsonFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
96*2c470452SNick MathewsonAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
97*2c470452SNick MathewsonLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
98*2c470452SNick MathewsonOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
99*2c470452SNick MathewsonTHE SOFTWARE.
100