Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: https://valkey.io/connect/
Upstream-Name: valkey
Source: https://github.com/valkey-io/valkey
Files-Excluded: deps/hiredis/adapters/macosx.h
                deps/hiredis/examples/example-macosx.c

Files: *
Copyright: 2006-2020 Salvatore Sanfilippo <antirez@gmail.com>
           2024 Valkey contributors
License: BSD-3-clause

Files: tests/modules/postnotifications.c
       tests/modules/keyspace_events.c
Copyright: 2020 Meir Shpilraien <meir@redislabs.com>
License: BSD-3-clause

Files: tests/support/response_transformers.tcl
       src/script.*
       src/connhelpers.h
       src/logreqres.c
       src/call_reply.*
       src/script_lua.*
       src/socket.c
       src/function_lua.c
       src/functions.*
       src/resp_parser.*
       src/cli_common.c
       src/connection.h
       src/syscheck.h
       src/defrag.c
       src/tls.c
Copyright: 2009-2023 Redis Ltd.
License: BSD-3-clause

Files: src/crcspeed.h
       src/quicklist.*
Copyright: 2014 Matt Stancliff <matt@genges.com>
License: BSD-3-clause

Files: src/crcspeed.c
Copyright: 2013 Mark Adler <madler@alumni.caltech.edu>
License: Custom-Mark-Adler

Files: src/crc64.c
Copyright: 2014 Matt Stancliff <matt@genges.com>
           2020 Amazon Web Services
License: BSD-3-clause

Files: src/geo.c
Copyright: 2014 Matt Stancliff <matt@genges.com>
           2015-2016 Salvatore Sanfilippo <antirez@gmail.com>
License: BSD-3-clause

Files: src/modules/helloacl.c
Copyright: 2019 Amazon.com, Inc. or its affiliates
License: BSD-3-clause

Files: src/geohash_helper.*
       src/geohash.*
Copyright: 2013-2014 yinqiwen <yinqiwen@gmail.com>
           2014 Matt Stancliff <matt@genges.com>
           2015-2016 Salvatore Sanfilippo <antirez@gmail.com>
License: BSD-3-clause

Files: src/listpack.c
       src/syscheck.c
       src/sdsalloc.h
       src/debug.c
Copyright: 2006-2020 Salvatore Sanfilippo <antirez@gmail.com>
           2015-2022 Redis Labs, Inc
License: BSD-3-clause

Files: src/unix.c
       src/setcpuaffinity.c
       src/connection.c
Copyright: 2020-2022 zhenwei pi
License: Expat

Files: src/crc16.c
Copyright: 2001-2010 Georges Menie <www.menie.org>
           2010-2012 Salvatore Sanfilippo <antirez@gmail.com> 
License: BSD-3-clause

Files: src/siphash.c
Copyright: 2012-2016 Jean-Philippe Aumasson <jeanphilippe.aumasson@gmail.com>
           2012-2014 Daniel J. Bernstein <djb@cr.yp.to>
           2017 Salvatore Sanfilippo <antirez@gmail.com>
License: CC0

Files: src/lzf.h
       src/lzfP.h
       src/lzf_d.c
       src/lzf_c.c
Copyright: 2000-2010 Marc Alexander Lehmann <schmorp@schmorp.de>
           2009-2012 Salvatore Sanfilippo <antirez@gmail.com>
License: BSD-2-clause

Files: src/mt19937-64.*
Copyright: 2004 Makoto Matsumoto and Takuji Nishimura
License: BSD-3-clause

Files: src/strl.c
Copyright: 1998-2015 Todd C. Miller <millert@openbsd.org>
License: ISC

Files: src/setproctitle.c
Copyright: 2010 William Ahern
           2013 Salvatore Sanfilippo
           2013 Stam He
License: BSD-3-clause

Files: src/ae_evport.c
Copyright: 2012 Joyent, Inc.
License: BSD-3-clause

Files: src/ae_kqueue.c
Copyright: 2009 Harish Mallipeddi <harish.mallipeddi@gmail.com>
License: BSD-3-clause

Files: utils/install_server.sh
Copyright: 2011 Dvir Volk <dvirsk@gmail.com>
License: BSD-2-clause

Files: src/pqsort.*
Copyright: 1992-1993 The Regents of the University of California
License: BSD-3-clause

Files: src/rio.*
       src/t_zset.c
       src/ziplist.h
       src/intset.*
       src/valkey-check-aof.c
       deps/hiredis/*
Copyright: 2009-2014 Pieter Noordhuis <pcnoordhuis@gmail.com>
           2009-2013 Salvatore Sanfilippo <antirez@gmail.com>
License: BSD-3-clause

Files: deps/linenoise/*
Copyright: 2010-2016 Pieter Noordhuis <pcnoordhuis@gmail.com>
           2010-2016 Salvatore Sanfilippo <antirez@gmail.com>
License: BSD-2-clause

Files: src/sha1.c
Copyright: Steve Reid <steve@edmweb.com>
License: CC0

Files: src/sha256.c
Copyright: Brad Conte <brad@bradconte.com>
License: CC0
Comment: After some discussion with upstream
         (https://github.com/orgs/valkey-io/discussions/830),
	 the conclusion was that this file is a (slightly modified) copy of
	 https://github.com/B-Con/crypto-algorithms/blob/master/sha256.c,
	 and this repo is available under Public Domain:
	 https://github.com/B-Con/crypto-algorithms/blob/master/README.md.

Files: deps/hiredis/fuzzing/format_command_fuzzer.c
       deps/hiredis/hiredis.*
       deps/hiredis/net.*
Copyright: 2009-2020 Salvatore Sanfilippo <antirez@gmail.com>
           2010-2020 Pieter Noordhuis <pcnoordhuis@gmail.com>
           2015-2020 Matt Stancliff <matt@genges.com>
           2015-2020 Jan-Erik Rediger <janerik@fnordig.com>
License: BSD-3-clause

Files: deps/hiredis/sockcompat.*
Copyright: 2019 Marcus Geelnard <m@bitsnbites.eu>
License: BSD-3-clause

Files: deps/hiredis/ssl.c
       src/ziplist.c
Copyright: 2009-2017 Salvatore Sanfilippo <antirez@gmail.com>
           2010-2012 Pieter Noordhuis <pcnoordhuis@gmail.com>
           2019-2020 Redis Labs
License: BSD-3-clause

Files: deps/hiredis/sdsalloc.h
       deps/hiredis/sds.*
Copyright: 2006-2015 Salvatore Sanfilippo <antirez@gmail.com>
           2015 Oran Agra
           2015 Redis Labs, Inc
License: BSD-3-clause

Files: deps/hiredis/adapters/qt.h
Copyright: 2014 Pietro Cerutti <gahr@gahr.ch>
License: BSD-2-clause

Files: deps/hiredis/adapters/libev.h
       deps/hiredis/adapters/libevent.h
       deps/hiredis/adapters/ae.h
Copyright: 2010-2011 Pieter Noordhuis <pcnoordhuis@gmail.com>
License: BSD-3-clause

Files: deps/hiredis/examples/example-push.c
       deps/hiredis/alloc.*
       deps/hiredis/sdscompat.h
Copyright: 2020 Michael Grunder <michael.grunder@gmail.com>
License: BSD-3-clause

Files: deps/hiredis/hiredis_ssl.h
Copyright: 2019 Redis Labs
License: BSD-3-clause

Files: deps/lua/*
Copyright: 1994-2018 Lua.org, PUC-Ri
License: Expat

Files: deps/lua/src/lua_cjson.c
       deps/lua/src/strbuf.*
       deps/lua/src/fpconv.c
Copyright: 2010-2012 Mark Pulford <mark@kyne.com.au>
License: Expat

Files: deps/lua/src/lua_bit.c
Copyright: 2008-2012 Mike Pall
License: Expat

Files: deps/lua/src/lua_cmsgpack.c
Copyright: 2012 Salvatore Sanfilippo <antirez@gmail.com>
License: Expat

Files: deps/hdr_histogram/*
Copyright: 2012-2014 Gil Tene
           2014 Michael Barker
           2014 Matt Warren
License: CC0 and BSD-2-clause

Files: deps/fpconv/*
Copyright: 2013-2019 night-shift <as.smljk@gmail.com>
           2009 Florian Loitsch <florian.loitsch@inria.fr>
           2021 Redis Labs
License: BSL-1.0

Files: deps/jemalloc/*
Copyright: 2002-2024 Jason Evans <jasone@canonware.com>
           2007-2012 Mozilla Foundation
           2009-2024 Facebook, Inc.
License: BSD-2-clause

Files: deps/jemalloc/m4/ax_cxx_compile_stdcxx.m4
Copyright: 2008 Benjamin Kosnik <bkoz@redhat.com>
           2012 Zack Weinberg <zackw@panix.com>
           2013 Roy Stogner <roystgnr@ices.utexas.edu>
           2014-2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
           2015 Paul Norman <penorman@mac.com>
           2015 Moritz Klammler <moritz@klammler.eu>
           2016-2018 Krzesimir Nowak <qdlacz@gmail.com>
           2019 Enji Cooper <yaneurabeya@gmail.com>
License: FSFAP

Files: deps/jemalloc/build-aux/config.sub
       deps/jemalloc/build-aux/config.guess
Copyright: 1992-2021 Free Software Foundation, Inc.
License: GPL-3+

Files: deps/jemalloc/test/include/test/SFMT-*.h
       deps/jemalloc/test/src/SFMT.c
Copyright: 2006-2007 Mutsuo Saito, Makoto Matsumoto and Hiroshima University
License: BSD-3-clause

Files: deps/jemalloc/build-aux/install-sh
Copyright: 1991 the Massachusetts Institute of Technology
License: Expat

Files: deps/jemalloc/bin/jeprof.in
Copyright: 1998-2007 Google Inc.
License: BSD-3-clause

Files: deps/jemalloc/include/msvc_compat/C99/stdint.h
Copyright: 2006-2008 Alexander Chemeris
License: BSD-3-clause

Files: deps/jemalloc/test/unit/hash.c
Copyright: 2010-2012 Austin Appleby
License: Expat

Files: debian/*
Copyright: © 2009—2022 Chris Lamb <lamby@debian.org>
           © 2024 Lucas Kanashiro <kanashiro@debian.org>
License: BSD-3-clause

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:
 .
 1. Redistributions of source code must retain the above copyright notice, this
 list of conditions and the following disclaimer.
 .
 2. 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 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 HOLDER 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 Redis 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: 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: 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: FSFAP
 Copying and distribution of this file, with or without modification, are
 permitted in any medium without royalty provided the copyright notice and this
 notice are preserved. This file is offered as-is, without any warranty.

License: GPL-3+
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 .
 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 General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU General Public
 License version 3 can be found in `/usr/share/common-licenses/GPL-3'.

License: CC0
 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/>.

License: ISC
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
 FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THIS SOFTWARE.

License: Custom-Mark-Adler
 This software is provided 'as-is', without any express or implied
 warranty.  In no event will the author 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 acknowledgment 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.

