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