Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Hasura GraphQL Engine (community edition)
Upstream-Contact: Hasura, Inc. <https://github.com/hasura/graphql-engine>
Source: https://github.com/bigbluebutton/hasura-graphql-engine
Comment:
 The /usr/bin/hasura-graphql-engine executable in this package is a modified
 build of the Apache-2.0 licensed Hasura GraphQL Engine community edition,
 built from source by the BigBlueButton project from the fork at
 https://github.com/bigbluebutton/hasura-graphql-engine (release tag
 v2.50.7-bbb.2, commit 391cf837, based on the upstream tag v2.50.7). The
 modifications relative to upstream are listed in the BBB-CHANGES.md file at
 the root of that fork. The fork is maintained by the BigBlueButton project
 and is not affiliated with, nor endorsed by, Hasura, Inc.; "Hasura" is a
 trademark of Hasura, Inc.
 .
 The /usr/bin/hasura CLI is the unmodified upstream release binary.
 .
 System libraries (glibc, libgmp10, libpq5, libkrb5-3, unixODBC and others)
 are linked dynamically and are therefore package dependencies, not part of
 this package; their licenses ship with their own packages.

Files: usr/bin/hasura-graphql-engine usr/bin/hasura
Copyright: Hasura, Inc.
License: Apache-2.0 and MIT and BSD-3-Clause
Comment:
 The statically linked Haskell and C components embedded in the engine
 executable carry the following licenses (copyright holders as published by
 each project):
 .
  * mimalloc (Microsoft Corporation, Daan Leijen): MIT
  * libdeflate-hs: MIT
  * ekg-core, ekg-prometheus, ekg-json (Johan Tibell and contributors):
    BSD-3-Clause
  * resource-pool: BSD-3-Clause
  * aeson-ordered: BSD-3-Clause
  * hedis (Falko Peters): BSD-3-Clause
  * graphql-parser: BSD-3-Clause
  * odbc (FP Complete): BSD-3-Clause
  * Spock-core: BSD-3-Clause
  * kriti-lang (Hasura, Inc.): Apache-2.0
  * ci-info (Hasura, Inc.): MIT
 .
 The remaining Haskell dependencies resolved by the pinned freeze file of the
 fork are under permissive licenses (BSD, MIT, Apache-2.0, ISC or MPL-2.0);
 no GPL, LGPL or AGPL licensed code is linked statically.

Files: usr/share/bbb-graphql-server/* etc/default/bbb-graphql-server lib/systemd/system/*
Copyright: BigBlueButton Inc.
License: LGPL-3.0+
Comment: BigBlueButton packaging and configuration.

License: Apache-2.0
 On Debian systems, the complete text of the Apache License version 2.0 can
 be found in "/usr/share/common-licenses/Apache-2.0".

License: LGPL-3.0+
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 3 can be found in "/usr/share/common-licenses/LGPL-3".

License: MIT
 The following components statically linked into the engine executable are
 distributed under the MIT license, with these copyright notices:
 .
  * mimalloc: Copyright (c) 2018-2021 Microsoft Corporation, Daan Leijen
  * libdeflate-hs: Copyright (c) 2022 Hasura
  * ci-info: Copyright (c) 2019 Hasura
 .
 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: BSD-3-Clause
 The following components statically linked into the engine executable are
 distributed under the BSD-3-Clause license, with these copyright notices:
 .
  * ekg-core: Copyright (c) 2014, Johan Tibell
  * ekg-prometheus: Copyright (c) 2014, Johan Tibell
  * ekg-json: Copyright (c) 2015, Johan Tibell
  * resource-pool: Copyright (c) 2011, MailRank, Inc.
  * aeson-ordered: Copyright (c) 2011 MailRank, Inc.; Copyright (c) 2014-2021 Aeson project contributors; Copyright (c) 2022 Hasura Inc.
  * hedis: Copyright (c)2011, Falko Peters
  * graphql-parser: Copyright 2018–2020 Hasura Inc., 2015 J. Daniel Navarro
  * odbc: Copyright FP Complete (c) 2017
  * Spock-core: Copyright (c) 2013 - 2021, Alexander Thiemann <mail@athiemann.net>
 .
 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.
 .
 3. Neither the name of the author nor the names of his contributors
    may be used to endorse or promote products derived from this software
    without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE 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 AUTHORS 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.
