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