Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/pytorch/pytorch
Files-Excluded:
  .ci/*
  .github/*
  .circleci/*
  ios/TestApp/models/*
  android/libs/fbjni/*
  android/pytorch_android/src/androidTest/assets/*
  third_party/benchmark/*
  third_party/composable_kernel/*
  third_party/cpuinfo/*
  third_party/cudnn_frontend/*
  third_party/cutlass/*
  third_party/eigen/*
  third_party/fbgemm/*
  third_party/flatbuffers/*
  third_party/fmt/*
  third_party/FP16/*
  third_party/FXdiv/*
  third_party/gemmlowp/*
  third_party/gloo/*
  third_party/googletest/*
  third_party/ideep/*
  third_party/ittapi/*
  third_party/kineto/*
  third_party/nccl/*
  third_party/nlohmann/*
  third_party/NNPACK/*
  third_party/NVTX/*
  third_party/onnx/*
  third_party/pocketfft/*
  third_party/protobuf/*
  third_party/psimd/*
  third_party/pthreadpool/*
  third_party/pybind11/*
  third_party/python-peachpy/*
  third_party/sleef/*
  third_party/tensorpipe/*
  third_party/VulkanMemoryAllocator/*
  third_party/XNNPACK/*
  third_party/mimalloc/*
  third_party/opentelemetry-cpp/*
  third_party/cpp-httplib/*
Comment:
 Q: why the embedded third_party/miniz ?
 A: (1) It's a part of upstream source tarball (2) no other project seems
    to use this "miniz" library.
 .
 Q: many BSD-3-Clause licensed files have their 3rd clause modified,
    why don't you reflect the changes in d/copyright?
 A: can we save some time and energy?
 .
 Q: why not splitting the shared objects into different packages?
 A: upstream may add or delete shared object in short future.
 .
 Q: why are models excluded?
 A: Those excluded files seem to be pre-trained neural networks.
    Such numerical representation of neural network is not deemd
    free-software. See
    https://salsa.debian.org/deeplearning-team/ml-policy
    The rest are third party sources which are not necessary to include.
 .
 Q: Difference between src:pytorch and src:pytorch-cuda?
 A: We will build two variants of pytorch, one is CPU version, while the
    other is the CUDA version. While the CPU version is uploaded to the
    main section, the CUDA version has to be uploaded to the contrib section
    due to the dependency on Nvidia's non-free CUDA toolkit.
    And note, src:pytorch-cuda is automatically generated from src:pytorch
    by the debian/cudabuild.sh script.

### Global

Files: *
 android/*
 aten/*
 benchmarks/*
 c10/*
 cmake/*
 docs/*
 ios/*
 scripts/*
 test/*
 tools/*
 torch/*
 functorch/*
Copyright: Facebook, Inc. and its affiliates.
           Meta Platforms, Inc. and affiliates.
 2016-     Facebook, Inc            (Adam Paszke)
 2014-     Facebook, Inc            (Soumith Chintala)
 2011-2014 Idiap Research Institute (Ronan Collobert)
 2012-2014 Deepmind Technologies    (Koray Kavukcuoglu)
 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
 2011-2013 NYU                      (Clement Farabet)
 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
 2006      Idiap Research Institute (Samy Bengio)
 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
 2016-present, Facebook Inc. All rights reserved.
 2015 Google Inc.
 2015 Yangqing Jia
 2013, 2014, 2015, the respective Caffe contributors
 2015, 2016 the respective contributors
License: BSD-3-Clause

Files: debian/*
Copyright: 2019-2024 Mo Zhou <lumin@debian.org>
License: Expat

## aten/

Files: aten/src/ATen/cuda/llvm_complex.cpp
       aten/src/ATen/cuda/llvm_basic.cpp
Copyright: LLVM Project
License: Apache-2.0
Comment: those files are adopted from LLVM upstream and modified
 by PyTorch authors.

Files: aten/src/ATen/detail/FunctionTraits.h
Copyright: 2011 kennytm (stackoverflow)
License: CC-BY-SA-4.0

Files: aten/src/ATen/detail/MPSHooksInterface.cpp
       aten/src/ATen/detail/MPSHooksInterface.h
       aten/src/ATen/mps/*
       aten/src/ATen/native/mps/*
Copyright: 2022 Apple Inc.
License: BSD-3-Clause

Files: aten/src/ATen/native/cpu/avx_mathfun.h
Copyright: 2012 Giovanni Garberoglio
 Copyright holders for Files: *
License: ZLIB

Files: aten/src/ATen/native/cpu/UpSampleKernelAVXAntialias.h
Copyright: 1997-2011 by Secret Labs AB
           1995-2011 by Fredrik Lundh
           2010-2022 by Alex Clark and contributors
License: HPND
Comment: The code derives from Python PIL/Pillow projects.
 https://github.com/uploadcare/pillow-simd/blob/simd/master/LICENSE

Files: aten/src/ATen/native/cuda/UpSampleLinear1d.cu
       aten/src/ATen/native/cuda/UpSampleBilinear2d.cu
       aten/src/ATen/native/cuda/UpSampleTrilinear3d.cu
       aten/src/ATen/native/UpSampleTrilinear3d.cpp
       aten/src/ATen/native/UpSampleLinear1d.cpp
       aten/src/ATen/native/UpSampleBilinear2d.cpp
Copyright: Caffe contributors
           Pauline Luc
           George Papandreou
License: BSD-2-Clause
Comment: https://github.com/BVLC/caffe/blob/master/LICENSE

Files: aten/src/ATen/native/LossCTC.cpp
       aten/src/ATen/native/cuda/LossCTC.cu
Copyright: 2018, MathInf GmbH, Thomas Viehmann
License: BSD-3-Clause

Files: aten/src/ATen/native/quantized/cpu/qnnpack/*
Copyright: Facebook, Inc. and its affiliates.
License: BSD-3-Clause
Comment: This is acknowledged by upstream as a forked copy of QNNPACK

Files: aten/src/ATen/native/transformers/cuda/flash_attn/*
       aten/src/ATen/native/transformers/cuda/mem_eff_attention/*
Copyright: 2011-2021, NVIDIA CORPORATION.
           2022, Tri Dao.
License: BSD-3-Clause

Files: aten/src/ATen/native/Math.h
       aten/src/ATen/native/cuda/Math.cuh
Copyright: 2014, Indiana University
           2018, Steven Moshier
           1984, 1987, 1992, 2000, Stephen L. Moshier
License: BSD-3-Clause

Files: aten/src/ATen/nnapi/NeuralNetworks.h
Copyright: 2017 The Android Open Source Project
License: Apache-2.0

Files: aten/src/ATen/nnapi/nnapi_wrapper.*
Copyright: Facebook, Inc. and its affiliates.
License: Apache-2.0

Files: aten/src/ATen/native/Distributions.h
 aten/src/ATen/native/Distributions.cpp
Copyright: 2005, Robert Kern (robert.kern@gmail.com)
 Copyright holders for Files: *
License: BSD-3-Clause
Comment: these files includes BSD-3-Clause licensed function by Robert Kern.
 Specifically, this function is derived from the implementation of the digamma
 function in the Cephes Math Library.

Files: aten/src/ATen/core/MT19937RNGEngine.h
Copyright: 1997-2002, Makoto Matsumoto and Takuji Nishimura,
License: BSD-3-Clause

## benchmarks/

Files: benchmarks/functional_autograd_benchmark/torchvision_models.py
       benchmarks/functional_autograd_benchmark/torchaudio_models.py
Copyright: 2016 Soumith Chintala
           2017 Facebook Inc. (Soumith Chintala)
License: BSD-3-Clause
Comment: The two files are from other projects of PyTorch upstream.
 https://github.com/pytorch/audio/blob/main/LICENSE
 https://github.com/pytorch/vision/blob/main/LICENSE

## binaries/

Files: binaries/*
Copyright: 2016-present, Facebook, Inc.
License: Apache-2.0

## c10/

Files: c10/util/AlignOf.h
       c10/util/ArrayRef.h
       c10/util/SmallVector.cpp
       c10/util/SmallVector.h
Copyright: LLVM Compiler Infrastructure contributors
 Copyright holders for Files: *
License: U-OF-I-BSD-LIKE

Files: c10/util/FunctionRef.h
       c10/util/llvmMathExtras.h
       c10/util/sparse_bitset.h
Copyright: LLVM Compiler Infrastructure contributors
 Copyright holders for Files: *
License: Apache-2.0
Comment: Apache-2.0 WITH LLVM-exception

Files: c10/util/Array.h
Copyright: 2007-2017 Free Software Foundation, Inc.
License: GPL-3.0+

Files: c10/util/flat_hash_map.h
       c10/util/order_preserving_flat_hash_map.h
Copyright: 2017 Malte Skarupke
License: BSL-1.0

Files: c10/util/Optional.h
Copyright: 2011-2012, Andrzej Krzemienski.
License: BSL-1.0

Files: c10/util/hash.h
Copyright: Boost contributors and Pytorch contributors
License: BSL-1.0

Files: c10/util/int128.cpp
       c10/util/int128.h
Copyright: 2008 Google Inc.
License: BSD-3-Clause
Comment: File copied from ProtoBuf and modified.

Files: c10/util/strong_type.h
Copyright: Björn Fahller
License: BSL-1.0

Files: c10/util/Synchronized.h
Copyright: Meta Platforms, Inc. and affiliates.
License: Apache-2.0
Comment:
 Source taken from Facebook's own folly project.
 https://github.com/facebook/folly/blob/main/folly/docs/Synchronized.md
 https://github.com/facebook/folly/blob/main/folly/Synchronized.h

## caffe2/

Files: caffe2/*
Copyright: 2016, -present, Facebook, Inc.
           2015 Google Inc.
           2015 Yangqing Jia
           2019-2020 Kakao Brain
           2022 Cruise LLC.
           2013, 2014, 2015, the respective contributors
License: Apache-2.0
Comment: in the past facebook had merged caffe2 codebase into pytorch's
 https://github.com/facebookarchive/caffe2/blob/master/LICENSE
 The global license for caffe2 project is Apache-2.0
 and you can still see many files containing an Apache-2.0 banner

Files: caffe2/serialize/crc_alt.h
Copyright: 2011-2019 Stephan Brumme
License: ZLIB
Comment: http://create.stephan-brumme.com/disclaimer.html

Files: caffe2/utils/threadpool/pthreadpool.h
Copyright: 2019 Google LLC
           (c) 2017 Facebook Inc.
           (c) 2015-2017 Georgia Institute of Technology
License: BSD-2-Clause

Files: caffe2/utils/threadpool/WorkersPool.h
Copyright: 2015 The Gemmlowp Authors. All Rights Reserved.
License: Apache-2.0
Comment: https://github.com/google/gemmlowp/blob/6c91e1ed0c2eff1182d804310b92911fe9c18019/internal/multi_thread_gemm.h

## cmake/

Files: cmake/Modules_CUDA_fix/upstream/FindCUDA/run_nvcc.cmake
       cmake/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake
       cmake/Modules_CUDA_fix/upstream/FindCUDA/parse_cubin.cmake
Copyright: 2007-2009, Scientific Computing and Imaging Institute, University of Utah
  2008-2009, NVIDIA Corporation.
License: Expat

## docker/ (nothing special

## docs/ (nothing special

## functorch/

Files: functorch/examples/lennard_jones/lennard_jones.py
Copyright: martin [at] digitalbaker.net
License: GPL-3.0

Files: functorch/examples/maml_omniglot/*
Copyright: Facebook, Inc. and its affiliates.
License: Apache-2.0

## ios/ (nothing special

## scripts/

Files: scripts/apache_header.txt
       scripts/apache_python.txt
Copyright: 2016, -present, Facebook, Inc.
License: Apache-2.0

## test/

Files: test/cpp/tensorexpr/gtest_assert_float_eq.h
Copyright: 2005, Google Inc.
License: BSD-3-Clause

## third_party/ (+ debian/ embedded sources)

Files: third_party/valgrind-headers/*
Copyright: 2003-2017 Josef Weidendorfer.
           2000-2017 Julian Seward.
License: GPL-2.0
Comment: we accidentally removed it from upstream tarball through
 Files-Excluded.

Files: third_party/miniz-*
Copyright: 2010-2014, Rich Geldreich and Tenacious Software LLC
  2013-2014, RAD Game Tools and Valve Software
License: Expat

Files: debian/pocketfft-9d3ab05a7fffbc71a492bc6a17be034e83e8f0fe/*
Copyright: 2010-2021 Max-Planck-Society
           2019-2020 Peter Bell
           2003, 2007-14 Matteo Frigo
           2003, 2007-14 Massachusetts Institute of Technology
License: BSD-3-Clause

Files: debian/kineto-338140f58a28d599da3434ced4fd2d75dd1a213d/*
Copyright: Facebook, Inc. and its affiliates. All rights reserved.
           Microsoft Corporation. (The Azure AI Platform team)
License: BSD-3-Clause

Files: debian/kineto-338140f58a28d599da3434ced4fd2d75dd1a213d/libkineto/third_party/dynolog/*
Copyright: Facebook, Inc. and its affiliates. All rights reserved.
License: Expat
Comment: recursive embedded copy of code as a result of git submodules. This is just a partial copy, with all files not used by pytorch/kineto deleted.

Files: aten/src/ATen/native/quantized/cpu/qnnpack/deps/clog/*
Copyright: Copyright (C) 2018 Marat Dukhan
 Copyright (c) 2017-2018 Facebook Inc.
 Copyright (c) 2017 Georgia Institute of Technology
License: BSD-2-Clause

## tools/

Files: tools/nightly.py
Copyright: Edward Z. Yang <ezyang@mit.edu>
License: Expat
Comment: Much of the logging code here was forked from https://github.com/ezyang/ghstack

## torch/

Files: torch/utils/hipify/hipify_python.py
Copyright: 2015-2016, Advanced Micro Devices, Inc.
           2017-2018, Advanced Micro Devices, Inc.
           2017-2018, Facebook Inc. All rights reserved.
License: Expat

Files: torch/csrc/jit/frontend/strtod.cpp
       torch/csrc/utils/structseq.cpp
Copyright: 2001-2014, Python Software Foundation
License: Python
 A copy of the python license can be found here:
 https://github.com/python/cpython/blob/master/LICENSE

Files: torch/csrc/jit/testing/file_check.cpp
Copyright: LLVM Project
License: Apache-2.0
Comment: Copied from LLVM and modified.

Files: torch/csrc/lazy/core/cache.h
       torch/csrc/lazy/core/hash.cpp
       torch/csrc/lazy/core/hash.h
       torch/csrc/lazy/core/metrics.h
       torch/csrc/lazy/core/multi_wait.h
       torch/csrc/lazy/core/thread_pool.h
       torch/csrc/lazy/core/unique.h
       torch/csrc/lazy/core/util.h
Copyright: 2018 Google Inc.
License: Apache-2.0
Comment: Files copied from PyTorch/XLA:
 https://github.com/pytorch/xla/blob/master/LICENSE

Files: torch/distributed/algorithms/model_averaging/hierarchical_model_averager.py
Copyright: 2022 Cruise LLC
License: BSD-3-Clause

Files: torch/fx/experimental/unification/*
Copyright: 2014 Matthew Rocklin
License: BSD-3-Clause

Files: torch/package/_stdlib.py
Copyright: 2013 Timothy Edmund Crosley
License: Expat
Comment: taken from https://github.com/PyCQA/isort/tree/develop/isort/stdlibs
 https://github.com/PyCQA/isort/blob/main/LICENSE

Files: torch/utils/data/datapipes/utils/decoder.py
Copyright: 2017-2021 NVIDIA CORPORATION.
           Meta Platforms Inc.
License: BSD-3-Clause
Comment: partially taken from https://github.com/tmbdev/webdataset/blob/master/webdataset/autodecode.py

Files: torch/_appdirs.py
Copyright: 2005-2010 ActiveState Software Inc.
           2013 Eddy Petrișor
License: Expat

## torchgen/ (nothing special

## LICENSES ###############################################################

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:
 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 University 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 HOLDERS 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 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: 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 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.

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 version 2.0 license
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: GPL-3.0
 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, version 3 of the License.
 .
 This package 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: GPL-3.0+
 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 package 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: 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: BSL-1.0
 Boost Software License - Version 1.0 - August 17th, 2003
 .
 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: GPL-2.0
 This package 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; version 2 of the License.
 .
 This package 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 2 can be found in "/usr/share/common-licenses/GPL-2".

License: U-OF-I-BSD-LIKE
 ==============================================================================
 LLVM Release License
 ==============================================================================
 University of Illinois/NCSA
 Open Source License
 .
 Copyright (c) 2003-2017 University of Illinois at Urbana-Champaign.
 All rights reserved.
 .
 Developed by:
 .
     LLVM Team
 .
     University of Illinois at Urbana-Champaign
 .
     http://llvm.org
 .
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal with
 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:
 .
     * Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimers.
 .
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimers in the
       documentation and/or other materials provided with the distribution.
 .
     * Neither the names of the LLVM Team, University of Illinois at
       Urbana-Champaign, nor the names of its contributors may be used to
       endorse or promote products derived from this Software without specific
       prior written permission.
 .
 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
 CONTRIBUTORS 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 WITH THE
 SOFTWARE.

License: CC-BY-SA-4.0
 Attribution-ShareAlike 4.0 International
 .
 =======================================================================
 .
 Creative Commons Corporation ("Creative Commons") is not a law firm and
 does not provide legal services or legal advice. Distribution of
 Creative Commons public licenses does not create a lawyer-client or
 other relationship. Creative Commons makes its licenses and related
 information available on an "as-is" basis. Creative Commons gives no
 warranties regarding its licenses, any material licensed under their
 terms and conditions, or any related information. Creative Commons
 disclaims all liability for damages resulting from their use to the
 fullest extent possible.
 .
 Using Creative Commons Public Licenses
 .
 Creative Commons public licenses provide a standard set of terms and
 conditions that creators and other rights holders may use to share
 original works of authorship and other material subject to copyright
 and certain other rights specified in the public license below. The
 following considerations are for informational purposes only, are not
 exhaustive, and do not form part of our licenses.
 .
     Considerations for licensors: Our public licenses are
     intended for use by those authorized to give the public
     permission to use material in ways otherwise restricted by
     copyright and certain other rights. Our licenses are
     irrevocable. Licensors should read and understand the terms
     and conditions of the license they choose before applying it.
     Licensors should also secure all rights necessary before
     applying our licenses so that the public can reuse the
     material as expected. Licensors should clearly mark any
     material not subject to the license. This includes other CC-
     licensed material, or material used under an exception or
     limitation to copyright. More considerations for licensors:
     wiki.creativecommons.org/Considerations_for_licensors
 .
     Considerations for the public: By using one of our public
     licenses, a licensor grants the public permission to use the
     licensed material under specified terms and conditions. If
     the licensor's permission is not necessary for any reason--for
     example, because of any applicable exception or limitation to
     copyright--then that use is not regulated by the license. Our
     licenses grant only permissions under copyright and certain
     other rights that a licensor has authority to grant. Use of
     the licensed material may still be restricted for other
     reasons, including because others have copyright or other
     rights in the material. A licensor may make special requests,
     such as asking that all changes be marked or described.
     Although not required by our licenses, you are encouraged to
     respect those requests where reasonable. More_considerations
     for the public:
     wiki.creativecommons.org/Considerations_for_licensees
 .
 =======================================================================
 .
 Creative Commons Attribution-ShareAlike 4.0 International Public
 License
 .
 By exercising the Licensed Rights (defined below), You accept and agree
 to be bound by the terms and conditions of this Creative Commons
 Attribution-ShareAlike 4.0 International Public License ("Public
 License"). To the extent this Public License may be interpreted as a
 contract, You are granted the Licensed Rights in consideration of Your
 acceptance of these terms and conditions, and the Licensor grants You
 such rights in consideration of benefits the Licensor receives from
 making the Licensed Material available under these terms and
 conditions.
 .
 .
 Section 1 -- Definitions.
 .
  a. Adapted Material means material subject to Copyright and Similar
     Rights that is derived from or based upon the Licensed Material
     and in which the Licensed Material is translated, altered,
     arranged, transformed, or otherwise modified in a manner requiring
     permission under the Copyright and Similar Rights held by the
     Licensor. For purposes of this Public License, where the Licensed
     Material is a musical work, performance, or sound recording,
     Adapted Material is always produced where the Licensed Material is
     synched in timed relation with a moving image.
 .
  b. Adapter's License means the license You apply to Your Copyright
     and Similar Rights in Your contributions to Adapted Material in
     accordance with the terms and conditions of this Public License.
 .
  c. BY-SA Compatible License means a license listed at
     creativecommons.org/compatiblelicenses, approved by Creative
     Commons as essentially the equivalent of this Public License.
 .
  d. Copyright and Similar Rights means copyright and/or similar rights
     closely related to copyright including, without limitation,
     performance, broadcast, sound recording, and Sui Generis Database
     Rights, without regard to how the rights are labeled or
     categorized. For purposes of this Public License, the rights
     specified in Section 2(b)(1)-(2) are not Copyright and Similar
     Rights.
 .
  e. Effective Technological Measures means those measures that, in the
     absence of proper authority, may not be circumvented under laws
     fulfilling obligations under Article 11 of the WIPO Copyright
     Treaty adopted on December 20, 1996, and/or similar international
     agreements.
 .
  f. Exceptions and Limitations means fair use, fair dealing, and/or
     any other exception or limitation to Copyright and Similar Rights
     that applies to Your use of the Licensed Material.
 .
  g. License Elements means the license attributes listed in the name
     of a Creative Commons Public License. The License Elements of this
     Public License are Attribution and ShareAlike.
 .
  h. Licensed Material means the artistic or literary work, database,
     or other material to which the Licensor applied this Public
     License.
 .
  i. Licensed Rights means the rights granted to You subject to the
     terms and conditions of this Public License, which are limited to
     all Copyright and Similar Rights that apply to Your use of the
     Licensed Material and that the Licensor has authority to license.
 .
  j. Licensor means the individual(s) or entity(ies) granting rights
     under this Public License.
 .
  k. Share means to provide material to the public by any means or
     process that requires permission under the Licensed Rights, such
     as reproduction, public display, public performance, distribution,
     dissemination, communication, or importation, and to make material
     available to the public including in ways that members of the
     public may access the material from a place and at a time
     individually chosen by them.
 .
  l. Sui Generis Database Rights means rights other than copyright
     resulting from Directive 96/9/EC of the European Parliament and of
     the Council of 11 March 1996 on the legal protection of databases,
     as amended and/or succeeded, as well as other essentially
     equivalent rights anywhere in the world.
 .
  m. You means the individual or entity exercising the Licensed Rights
     under this Public License. Your has a corresponding meaning.
 .
 .
 Section 2 -- Scope.
 .
  a. License grant.
 .
       1. Subject to the terms and conditions of this Public License,
          the Licensor hereby grants You a worldwide, royalty-free,
          non-sublicensable, non-exclusive, irrevocable license to
          exercise the Licensed Rights in the Licensed Material to:
 .
            a. reproduce and Share the Licensed Material, in whole or
               in part; and
 .
            b. produce, reproduce, and Share Adapted Material.
 .
       2. Exceptions and Limitations. For the avoidance of doubt, where
          Exceptions and Limitations apply to Your use, this Public
          License does not apply, and You do not need to comply with
          its terms and conditions.
 .
       3. Term. The term of this Public License is specified in Section
          6(a).
 .
       4. Media and formats; technical modifications allowed. The
          Licensor authorizes You to exercise the Licensed Rights in
          all media and formats whether now known or hereafter created,
          and to make technical modifications necessary to do so. The
          Licensor waives and/or agrees not to assert any right or
          authority to forbid You from making technical modifications
          necessary to exercise the Licensed Rights, including
          technical modifications necessary to circumvent Effective
          Technological Measures. For purposes of this Public License,
          simply making modifications authorized by this Section 2(a)
          (4) never produces Adapted Material.
 .
       5. Downstream recipients.
 .
            a. Offer from the Licensor -- Licensed Material. Every
               recipient of the Licensed Material automatically
               receives an offer from the Licensor to exercise the
               Licensed Rights under the terms and conditions of this
               Public License.
 .
            b. Additional offer from the Licensor -- Adapted Material.
               Every recipient of Adapted Material from You
               automatically receives an offer from the Licensor to
               exercise the Licensed Rights in the Adapted Material
               under the conditions of the Adapter's License You apply.
 .
            c. No downstream restrictions. You may not offer or impose
               any additional or different terms or conditions on, or
               apply any Effective Technological Measures to, the
               Licensed Material if doing so restricts exercise of the
               Licensed Rights by any recipient of the Licensed
               Material.
 .
       6. No endorsement. Nothing in this Public License constitutes or
          may be construed as permission to assert or imply that You
          are, or that Your use of the Licensed Material is, connected
          with, or sponsored, endorsed, or granted official status by,
          the Licensor or others designated to receive attribution as
          provided in Section 3(a)(1)(A)(i).
 .
  b. Other rights.
 .
       1. Moral rights, such as the right of integrity, are not
          licensed under this Public License, nor are publicity,
          privacy, and/or other similar personality rights; however, to
          the extent possible, the Licensor waives and/or agrees not to
          assert any such rights held by the Licensor to the limited
          extent necessary to allow You to exercise the Licensed
          Rights, but not otherwise.
 .
       2. Patent and trademark rights are not licensed under this
          Public License.
 .
       3. To the extent possible, the Licensor waives any right to
          collect royalties from You for the exercise of the Licensed
          Rights, whether directly or through a collecting society
          under any voluntary or waivable statutory or compulsory
          licensing scheme. In all other cases the Licensor expressly
          reserves any right to collect such royalties.
 .
 .
 Section 3 -- License Conditions.
 .
 Your exercise of the Licensed Rights is expressly made subject to the
 following conditions.
 .
  a. Attribution.
 .
       1. If You Share the Licensed Material (including in modified
          form), You must:
 .
            a. retain the following if it is supplied by the Licensor
               with the Licensed Material:
 .
                 i. identification of the creator(s) of the Licensed
                    Material and any others designated to receive
                    attribution, in any reasonable manner requested by
                    the Licensor (including by pseudonym if
                    designated);
 .
                ii. a copyright notice;
 .
               iii. a notice that refers to this Public License;
 .
                iv. a notice that refers to the disclaimer of
                    warranties;
 .
                 v. a URI or hyperlink to the Licensed Material to the
                    extent reasonably practicable;
 .
            b. indicate if You modified the Licensed Material and
               retain an indication of any previous modifications; and
 .
            c. indicate the Licensed Material is licensed under this
               Public License, and include the text of, or the URI or
               hyperlink to, this Public License.
 .
       2. You may satisfy the conditions in Section 3(a)(1) in any
          reasonable manner based on the medium, means, and context in
          which You Share the Licensed Material. For example, it may be
          reasonable to satisfy the conditions by providing a URI or
          hyperlink to a resource that includes the required
          information.
 .
       3. If requested by the Licensor, You must remove any of the
          information required by Section 3(a)(1)(A) to the extent
          reasonably practicable.
 .
  b. ShareAlike.
 .
     In addition to the conditions in Section 3(a), if You Share
     Adapted Material You produce, the following conditions also apply.
 .
       1. The Adapter's License You apply must be a Creative Commons
          license with the same License Elements, this version or
          later, or a BY-SA Compatible License.
 .
       2. You must include the text of, or the URI or hyperlink to, the
          Adapter's License You apply. You may satisfy this condition
          in any reasonable manner based on the medium, means, and
          context in which You Share Adapted Material.
 .
       3. You may not offer or impose any additional or different terms
          or conditions on, or apply any Effective Technological
          Measures to, Adapted Material that restrict exercise of the
          rights granted under the Adapter's License You apply.
 .
 .
 Section 4 -- Sui Generis Database Rights.
 .
 Where the Licensed Rights include Sui Generis Database Rights that
 apply to Your use of the Licensed Material:
 .
  a. for the avoidance of doubt, Section 2(a)(1) grants You the right
     to extract, reuse, reproduce, and Share all or a substantial
     portion of the contents of the database;
 .
  b. if You include all or a substantial portion of the database
     contents in a database in which You have Sui Generis Database
     Rights, then the database in which You have Sui Generis Database
     Rights (but not its individual contents) is Adapted Material,
 .
     including for purposes of Section 3(b); and
  c. You must comply with the conditions in Section 3(a) if You Share
     all or a substantial portion of the contents of the database.
 .
 For the avoidance of doubt, this Section 4 supplements and does not
 replace Your obligations under this Public License where the Licensed
 Rights include other Copyright and Similar Rights.
 .
 .
 Section 5 -- Disclaimer of Warranties and Limitation of Liability.
 .
  a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
     EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
     AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
     ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
     IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
     WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
     PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
     ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
     KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
     ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
 .
  b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
     TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
     NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
     INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
     COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
     USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
     ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
     DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
     IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
 .
  c. The disclaimer of warranties and limitation of liability provided
     above shall be interpreted in a manner that, to the extent
     possible, most closely approximates an absolute disclaimer and
     waiver of all liability.
 .
 .
 Section 6 -- Term and Termination.
 .
  a. This Public License applies for the term of the Copyright and
     Similar Rights licensed here. However, if You fail to comply with
     this Public License, then Your rights under this Public License
     terminate automatically.
 .
  b. Where Your right to use the Licensed Material has terminated under
     Section 6(a), it reinstates:
 .
       1. automatically as of the date the violation is cured, provided
          it is cured within 30 days of Your discovery of the
          violation; or
 .
       2. upon express reinstatement by the Licensor.
 .
     For the avoidance of doubt, this Section 6(b) does not affect any
     right the Licensor may have to seek remedies for Your violations
     of this Public License.
 .
  c. For the avoidance of doubt, the Licensor may also offer the
     Licensed Material under separate terms or conditions or stop
     distributing the Licensed Material at any time; however, doing so
     will not terminate this Public License.
 .
  d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
     License.
 .
 .
 Section 7 -- Other Terms and Conditions.
 .
  a. The Licensor shall not be bound by any additional or different
     terms or conditions communicated by You unless expressly agreed.
 .
  b. Any arrangements, understandings, or agreements regarding the
     Licensed Material not stated herein are separate from and
     independent of the terms and conditions of this Public License.
 .
 .
 Section 8 -- Interpretation.
 .
  a. For the avoidance of doubt, this Public License does not, and
     shall not be interpreted to, reduce, limit, restrict, or impose
     conditions on any use of the Licensed Material that could lawfully
     be made without permission under this Public License.
 .
  b. To the extent possible, if any provision of this Public License is
     deemed unenforceable, it shall be automatically reformed to the
     minimum extent necessary to make it enforceable. If the provision
     cannot be reformed, it shall be severed from this Public License
     without affecting the enforceability of the remaining terms and
     conditions.
 .
  c. No term or condition of this Public License will be waived and no
     failure to comply consented to unless expressly agreed to by the
     Licensor.
 .
  d. Nothing in this Public License constitutes or may be interpreted
     as a limitation upon, or waiver of, any privileges and immunities
     that apply to the Licensor or You, including from the legal
     processes of any jurisdiction or authority.
 .
 .
 =======================================================================
 .
 Creative Commons is not a party to its public licenses.
 Notwithstanding, Creative Commons may elect to apply one of its public
 licenses to material it publishes and in those instances will be
 considered the "Licensor." Except for the limited purpose of indicating
 that material is shared under a Creative Commons public license or as
 otherwise permitted by the Creative Commons policies published at
 creativecommons.org/policies, Creative Commons does not authorize the
 use of the trademark "Creative Commons" or any other trademark or logo
 of Creative Commons without its prior written consent including,
 without limitation, in connection with any unauthorized modifications
 to any of its public licenses or any other arrangements,
 understandings, or agreements concerning use of licensed material. For
 the avoidance of doubt, this paragraph does not form part of the public
 licenses.
 .
 Creative Commons may be contacted at creativecommons.org.

License: HPND
 By obtaining, using, and/or copying this software and/or its associated
 documentation, you agree that you have read, understood, and will comply
 with the following terms and conditions:
 .
 Permission to use, copy, modify, and distribute this software and its
 associated documentation for any purpose and without fee is hereby granted,
 provided that the above copyright notice appears in all copies, and that
 both that copyright notice and this permission notice appear in supporting
 documentation, and that the name of Secret Labs AB or the author not be
 used in advertising or publicity pertaining to distribution of the software
 without specific, written prior permission.
 .
 SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
 IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL,
 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.
