Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: rspamd
Upstream-Contact: Vsevolod Stakhov <vsevolod@highsecure.ru>
Source: https://github.com/rspamd/rspamd
Files-Excluded: debian/* .hgtags
Comment: Do not ship upstream debian files

Files: *
Copyright: 2008-2019 Vsevolod Stakhov <vsevolod@highsecure.ru>
License: Apache-2.0

Files: contrib/aho-corasick/*
Copyright: 2009-2014 Mischa Sandberg <mischasan@gmail.com>
License: LGPL-3+

Files: contrib/aho-corasick/_acism.h
 contrib/aho-corasick/acism_create.c
Copyright: 2009-2014 Mischa Sandberg
License: LGPL-3.0

Files: contrib/cdb/*
Copyright: Michael Tokarev <mjt@corpit.ru>
License: public-domain
Comment:
 The exact meaning of "Public domain" mentioned in the file headers was taken from:
 http://www.corpit.ru/mjt/tinycdb.html

Files: contrib/fastutf8/*
Copyright: 2019 Yibo Cai
           2019 Vsevolod Stakhov
License: Expat

Files: contrib/fpconv/*
Copyright: Andreas Samoljuk
License: BSL-1.0

Files: contrib/hiredis/*
Copyright: 2009-2011, Salvatore Sanfilippo <antirez@gmail.com>
           2010-2011, Pieter Noordhuis <pcnoordhuis@gmail.com>
License: BSD-3-Clause

Files: contrib/http-parser/*
Copyright: 2002-2015 Igor Sysoev
           Joyent, Inc. and other Node contributors
License: Expat

Files: contrib/kann/*
Copyright: 2018-2019 Dana-Farber Cancer Institute
           2016-2018 Broad Institute
License: Expat

Files: contrib/lc-btrie/*
Copyright: 2013, Geoffrey T. Dairiki
License: BSD-3-Clause

Files: contrib/libev/*
Copyright: 2007-2013 Marc Alexander Lehmann
License: BSD-2-Clause

Files: contrib/libottery/*
Copyright: Nick Mathewson
License: CC0-1.0

Files: contrib/libottery/aes_cryptobox.c
 contrib/libottery/chacha_cryptobox.c
Copyright: 2015-2017 Vsevolod Stakhov
                2017 Frank Denis
License: BSD-2-Clause

Files: contrib/libottery/chacha_merged.c
Copyright: Ted Krovetz <ted@krovetz.net>
           D. J. Bernstein
License: public-domain

Files: contrib/librdns/*
Copyright: 2014 Vsevolod Stakhov
License: BSD-2-Clause

Files: contrib/librdns/punycode.c
Copyright:      2014 Vsevolod Stakhov
           2004-2008 Kungliga Tekniska Högskolan
License: BSD-3-Clause

Files: contrib/libucl/*
Copyright: 2014 Vsevolod Stakhov
License: BSD-2-Clause

Files: contrib/libucl/khash.h contrib/libucl/kvec.h
Copyright: 2008, by Attractive Chaos <attractor@live.co.uk>
License: Expat

Files: contrib/libucl/tree.h
Copyright: 2005 Ian Piumarta
License: MIT

Files: contrib/libucl/ucl_util.c
Copyright: 2013, Vsevolod Stakhov
           2015 Allan Jude <allanjude@freebsd.org>
License: BSD-2-Clause

Files: contrib/lua-argparse/*
Copyright: 2013 - 2018 Peter Melnichenko
License: Expat

Files: contrib/lua-bit/*
Copyright: 2008-2012 Mike Pall
License: Expat

Files: contrib/lua-fun/*
Copyright: 2013 Roman Tsisyk <roman@tsisyk.com>
License: Expat

Files: contrib/lua-lpeg/*
Copyright: 2007-2015 Lua.org, PUC-Rio.
License: Expat

Files: contrib/lua-lupa/*
Copyright: 2015-2019 Mitchell
License: Expat

Files: contrib/lua-tableshape/*
Copyright: 2018 Leaf Corcoran
License: Expat

Files: contrib/mumhash/*
Copyright: 2016 Vladimir Makarov <vmakarov@gcc.gnu.org>
License: Expat

Files: contrib/publicsuffix/*
Copyright: 2007-2011, Mozilla Foundation.
License: MPL-2.0

Files: contrib/replxx/*
Copyright: 2017-2018 Marcin Konarski
                2010 Salvatore Sanfilippo
                2010, Pieter Noordhuis
License: BSD-3-Clause

Files: contrib/replxx/src/wcwidth.cpp
Copyright: 2007 Markus Kuhn
License: public-domain
 Permission to use, copy, modify, and distribute this software
 for any purpose and without fee is hereby granted. The author
 disclaims all warranties with regard to this software.

Files: contrib/snowball/*
Copyright: 2001-2015 Dr Martin Porter
           2002-2015 Richard Boulton
License: BSD-2-Clause

Files: contrib/t1ha/*
Copyright: 2016-2018 Positive Technologies, https://www.ptsecurity.com
           2010-2013 Leonid Yuriev <leo@yuriev.ru>
License: Zlib

Files: contrib/uthash/*
Copyright: 2003-2013 Troy D. Hanson http://troydhanson.github.com/uthash/
License: BSD-1-Clause

Files: contrib/xxhash/*
Copyright: 2012-2014, Yann Collet
License: BSD-2-Clause

Files: contrib/zstd/*
Copyright: 2016-present, Facebook, Inc.
License: BSD-3-Clause

Files: contrib/zstd/divsufsort.*
Copyright: 2003-2008 Yuta Mori
License: Expat

Files: contrib/zstd/bitstream.h
 contrib/zstd/entropy_common.c
 contrib/zstd/fse.h
 contrib/zstd/fse_compress.c
 contrib/zstd/fse_decompress.c
 contrib/zstd/huf.h
 contrib/zstd/huf_compress.c
 contrib/zstd/huf_decompress.c
Copyright: 2016 Yann Collet
License: BSD-2-Clause

Files: doc/doxydown/*
Copyright: 2014 Vsevolod Stakhov <vsevolod@highsecure.ru>
License: Expat

Files: interface/*
Copyright: 2012-2013 Anton Simonov <untone@gmail.com>
           2014-2015 Vsevolod Stakhov <vsevolod@highsecure.ru>
License: Expat

Files: src/libcryptobox/base64/avx2.c
Copyright: 2013-2015 Alfred Klomp
                2018 Vsevolod Stakhov
License: Apache-2.0 and BSD-2-Clause

Files: src/libcryptobox/base64/ref.c
Copyright: 2013-2015 Alfred Klomp
                2016 Vsevolod Stakhov
License: BSD-2-Clause

Files: src/libcryptobox/base64/sse42.c
Copyright: 2013-2015 Alfred Klomp
                2016 Vsevolod Stakhov
License: Apache-2.0 and BSD-2-Clause

Files: src/libcryptobox/catena/catena.c
Copyright: 2014 cforler
           2016 Vsevolod Stakhov
License: Expat

Files: src/libcryptobox/chacha20/chacha.c
Copyright: 2015 Vsevolod Stakhov
           2015 Andrew Moon
License: BSD-2-Clause

Files: src/libcryptobox/chacha20/chacha.h
Copyright: 2015 Andrew Moon
License: Expat

Files: src/libutil/printf.c src/libserver/url.c
Copyright: 2016 Vsevolod Stakhov <vsevolod@highsecure.ru>
           2002-2015 Igor Sysoev
           2011-2015 Nginx, Inc.
License: Apache-2.0 and BSD-2-Clause

Files: test/functional/lua/flags.lua
Copyright: 2015 Vsevolod Stakhov
License: BSD-2-Clause

Files: test/lua/compat_env.lua
Copyright: 2012 David Manura
License: Expat

Files: test/lua/telescope.lua
Copyright: 2009-2012 Norman Clarke
License: Expat

Files: test/lua/unit/folding.lua
Copyright: 2015 Vsevolod Stakhov
License: BSD-2-Clause

Files: test/lua/unit/rfc2047.lua
Copyright: 2016 Vsevolod Stakhov
License: BSD-2-Clause

Files: debian/*
Copyright: 2011-2015 Vsevolod Stakhov <vsevolod@highsecure.ru>
           2014-2015 Mikhail Gusarov <dottedmag@dottedmag.net>
           2018-2019 Jerome Lebleu <jerome@maroufle.fr>
           2018-2023 Sebastien Badia <seb@sebian.fr>
License: BSD-2-Clause

## Licenses

License: Apache-2.0
  Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache License can be found
 in `/usr/share/common-licenses/Apache-2.0'.

License: BSD-1-Clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
 Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 .
 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.

License: BSD-2-Clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 Redistributions of source code must retain the above copyright notice, this
 list of conditions and the following disclaimer.
 .
 Redistributions in binary form must reproduce the above copyright notice,
 this list of conditions and the following disclaimer in the documentation
 and/or other materials provided with the distribution.
 .
 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.

License: BSD-3-Clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:
 .
 Redistributions of source code must retain the above copyright
 notice, this list of conditions and the following disclaimer.
 .
 Redistributions in binary form must reproduce the above
 copyright notice, this list of conditions and the following disclaimer
 in the documentation and/or other materials provided with the
 distribution.
 .
 Neither the name of the copyright holder nor the names of its
 contributors may be used to endorse or promote products derived from
 this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: CC0-1.0
 To the extent possible under law, the author(s) have dedicated all copyright
 and related and neighboring rights to this software to the public domain
 worldwide. This software is distributed without any warranty.
 .
 You should have received a copy of the CC0 Public Domain Dedication along with
 this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
 .
 On Debian systems, the complete text of the CC0 1.0 Universal license can be
 found in ‘/usr/share/common-licenses/CC0-1.0’.

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights to
 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
 of the Software, and to permit persons to whom the Software is furnished to do
 so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

License: LGPL-3+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 3 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 .
 On Debian systems, the full text of the GNU Library General Public
 License version 3 can be found in the file
 `/usr/share/common-licenses/LGPL-3'.

License: MPL-2.0
 On Debian systems, the complete text of the GNU Library General Public
 License can be found in the file `/usr/share/common-licenses/MPL-2.0'.

License: public-domain
 Public domain.

License: Zlib
 This software is provided 'as-is', without any express or implied
 warranty. In no event will the authors be held liable for any damages
 arising from the use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
 1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software
    in a product, an acknowledgement in the product documentation would be
    appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.

License: BSL-1.0
 Permission is hereby granted, free of charge, to any person or organization
 obtaining a copy of the software and accompanying documentation covered by
 this license (the "Software") to use, reproduce, display, distribute,
 execute, and transmit the Software, and to prepare derivative works of the
 Software, and to permit third-parties to whom the Software is furnished to do
 so, all subject to the following:
 .
 The copyright notices in the Software and this entire statement, including
 the above license grant, this restriction and the following disclaimer, must
 be included in all copies of the Software, in whole or in part, and all
 derivative works of the Software, unless such copies or derivative works are
 solely in the form of machine-executable object code generated by a source
 language processor.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR
 ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.

License: LGPL-3.0
 This program is free software; you can redistribute it and/or modify it under
 the terms of the GNU Lesser General Public License Version 3 as published by
 the Free Software Foundation. You may not use, modify or distribute this
 program under any other version of the GNU Lesser General Public License.
 .
 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 details.
 .
 You should have received a copy of the GNU Lesser General Public License
 along with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the 'Software'), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, and/or sell copies of the
 Software, and to permit persons to whom the Software is furnished to do so,
 provided that the above copyright notice(s) and this permission notice appear
 in all copies of the Software and that both the above copyright notice(s) and
 this permission notice appear in supporting documentation.
 .
 THE SOFTWARE IS PROVIDED 'AS IS'.  USE ENTIRELY AT YOUR OWN RISK.
