Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/tdlib/td
Upstream-Name: TDLib
Upstream-Contact: Aliaksei Levin <levlam@telegram.org>, Arseny Smirnov <arseny30@gmail.com>

Files: *
License: BSL-1.0
Copyright: 2014-2026 Aliaksei Levin <levlam@telegram.org>
           2014-2026 Arseny Smirnov <arseny30@gmail.com>

Files: debian/*
License: BSL-1.0
Copyright: 2026 Nicholas Guriev <guriev-ns@ya.ru>

Files: example/web/tdweb/*
License: Expat
Copyright: Arseny Smirnov

Files: td/generate/tl-parser/*
License: GPL-2+
Copyright: 2012-2013 Vkontakte Ltd
           2012-2014 Vitaliy Valtman

Files: td/generate/tl-parser/crc32.c
       td/generate/tl-parser/crc32.h
License: LGPL-2+
Copyright: 2009-2012 Vkontakte Ltd
           2009-2012 Nikolai Durov
           2009-2012 Andrei Lopatin
                2012 Anton Maydell

Files: td/generate/tl-parser/portable_endian.h
License: Public-Domain
Copyright: Mathias Panzenböck

Files: td/generate/tl-parser/tl-parser-tree.h
License: LGPL-2.1+
Copyright: 2013-2014 Vitaly Valtman

Files: td/generate/tl-parser/tl-tl.h
License: GPL-2+ with OpenSSL exception
Copyright: 2012-2013 Vkontakte Ltd
           2012-2013 Vitaliy Valtman

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: GPL-2+
 tl-parser 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 2 of the License, or (at your option) any later
 version.
 .
 tl-parser 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 tl-parser. If not, see <http://www.gnu.org/licenses/>. On Debian-based
 systems the complete text of the GNU General Public License version 2 can be
 found in file "/usr/share/common-licenses/GPL-2".

License: GPL-2+ with OpenSSL exception
 VK/KittenPHP-DB-Engine 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 2 of the License, or (at your option) any
 later version.
 .
 VK/KittenPHP-DB-Engine 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
 VK/KittenPHP-DB-Engine. If not, see <http://www.gnu.org/licenses/>. On
 Debian-based systems the complete text of the GNU General Public License
 version 2 can be found in file "/usr/share/common-licenses/GPL-2".
 .
 This program is released under the GPL with the additional exemption that
 compiling, linking, and/or using OpenSSL is allowed. You are free to remove
 this exemption from derived works.

License: LGPL-2+
 VK/KittenPHP-DB-Engine 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 2 of the License, or
 (at your option) any later version.
 .
 VK/KittenPHP-DB-Engine 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 VK/KittenPHP-DB-Engine Library. If not, see <http://www.gnu.org/licenses/>.
 On Debian-based systems the complete text of the GNU Library General Public
 License version 2 can be found in file "/usr/share/common-licenses/LGPL-2".

License: LGPL-2.1+
 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 2.1 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. On Debian-based
 systems the complete text of the GNU Lesser General Public License version 2.1
 can be found in file "/usr/share/common-licenses/LGPL-2.1".

License: Public-Domain
 I, Mathias Panzenböck, place this file hereby into the public domain. Use it
 at your own risk for whatever you like.  In case there are jurisdictions that
 don't support putting things in the public domain you can also consider it to
 be "dual licensed" under the BSD, MIT and Apache licenses, if you want to.
 This code is trivial anyway. Consider it an example on how to get the endian
 conversion functions on different platforms.
