Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: zig Upstream-Contact: Andrew Kelley Source: https://codeberg.org/ziglang/zig Files: * Copyright: 2015-2025 Andrew Kelley 2015-2025 Zig contributors License: MIT Files: debian/* Copyright: 2026 Ivan Carvalho 2026 Edmund Lodewijks 2021 Liliana Marie Prikler 2021 Sarah Morgensen 2021 Calum Irwin 2022-2024 Efraim Flashner 2023 Ekaitz Zarraga 2023-2026 Hilton Chain 2025 dan License: GPL-3+ Comment: Packaging is based upon GNU Guix's gnu/packages/zig.scm bootstrap. Files: debian/bootstrap-patches/01_0.10.0-610-cbe-undef-string-literal.patch debian/bootstrap-patches/02_subtf3-addf3.patch debian/bootstrap-patches/05_0.10.0-748-revert-call-usages.patch debian/bootstrap-patches/06_0.10.0-851-enum-layout.patch debian/bootstrap-patches/07_0.10.0-1073-atomic-compat.patch debian/bootstrap-patches/08_0.10.0-2571-start-c_char.patch debian/bootstrap-patches/09b_0.11.0-494-cbe-enumfields-uaf.patch debian/bootstrap-patches/10_0.11.0-761-errSetCast.patch debian/bootstrap-patches/11_0.11.0-3501-builtin-fn-alignment.patch debian/bootstrap-patches/12_0.11.0-3506-fieldParentPtr-3arg.patch debian/bootstrap-patches/13_0.13.0-1323-disableInstrumentation.patch debian/bootstrap-patches/14_0.13.0-2924-sema-panic.patch debian/bootstrap-patches/15_0.14.0-877-setFloat.patch debian/bootstrap-patches/15b_0.16.0-1490-soft-f80-align.patch Copyright: 2015-2025 Andrew Kelley 2015-2025 Zig contributors 2024 Matthew Lugg License: MIT Comment: Upstream Zig backports and reverts adapted for intermediate bootstrap transitions. Files: debian/bootstrap-patches/03_0.10.0-722-TypeOf-hack.patch debian/bootstrap-patches/04_0.10.0-748-CallOptions.patch Copyright: 2022-2023 Motiejus Jakštys 2021-2026 GNU Guix contributors License: GPL-3 Comment: Bootstrap patches imported from GNU Guix package definitions. Files: debian/bootstrap-patches/00_0.10.0-541-llvm22.patch debian/bootstrap-patches/09_0.11.0-149-revert-c4848694d2-llvm-without-libllvm.patch debian/bootstrap-patches/16_0.17.1-0-llvm22-nostrlen.patch Copyright: 2026 Ivan Carvalho License: MIT Comment: Debian-specific original patches for modern toolchain compatibility and build fixes. Files: deps/SoftFloat-3e/* Copyright: 2011-2018 The Regents of the University of California License: BSD-3-clause Comment: Berkeley SoftFloat Release 3e, written by John R. Hauser. Files: src/zig_llvm-ar.cpp sources*/src/zig_llvm-ar.cpp Copyright: 2003-2024 University of Illinois at Urbana-Champaign and LLVM Project contributors License: Apache-2.0 with LLVM exception Files: src/stage1/parse_f128.c Copyright: 2005-2020 Rich Felker, et al. 2015-2022 Andrew Kelley and Zig contributors License: MIT Comment: Adapted from musl libc (floatscan.c / shgetc.c). Files: sources*/deps/aro/* sources*/lib/compiler/aro/* Copyright: 2020-2025 Vexu and Aro contributors License: MIT Comment: Upstream: https://github.com/Vexu/arocc Files: sources*/deps/aro/aro/char_info.zig sources*/lib/compiler/aro/aro/char_info.zig sources*/lib/compiler/aro/aro/char_info/identifier_tables.zig Copyright: 2020-2025 Vexu and Aro contributors 2022 David Tolnay 1991-2023 Unicode, Inc. License: MIT and Unicode-DFS-2016 Comment: Derived from https://github.com/dtolnay/unicode-ident and Unicode Standard Annex #31. Files: sources*/deps/aro/aro/record_layout.zig sources*/lib/compiler/aro/aro/record_layout.zig Copyright: 2020-2025 Vexu and Aro contributors 2020 mahkoh License: MIT Comment: Adapted from https://github.com/mahkoh/repr-c. Files: sources*/lib/compiler/resinator/* sources*/src/resinator/* Copyright: 2021-2025 Ryan Liptak License: MIT Comment: Upstream: https://github.com/squeek502/resinator Files: lib/compiler_rt/* sources*/lib/compiler_rt/* Copyright: 2015-2025 Andrew Kelley and Zig contributors 2009-2024 University of Illinois at Urbana-Champaign and LLVM Project contributors License: MIT and Apache-2.0 with LLVM exception and NCSA Comment: Zig's compiler_rt builtins are ported from LLVM compiler-rt (dual-licensed under Apache-2.0 with LLVM-exception and NCSA/MIT). Files: lib/compiler_rt/ceil.zig lib/compiler_rt/cos.zig lib/compiler_rt/exp.zig lib/compiler_rt/exp2.zig lib/compiler_rt/floor.zig lib/compiler_rt/fma.zig lib/compiler_rt/log.zig lib/compiler_rt/log10.zig lib/compiler_rt/log2.zig lib/compiler_rt/rem_pio2.zig lib/compiler_rt/rem_pio2_large.zig lib/compiler_rt/rem_pio2f.zig lib/compiler_rt/round.zig lib/compiler_rt/sin.zig lib/compiler_rt/sincos.zig lib/compiler_rt/sqrt.zig lib/compiler_rt/tan.zig lib/compiler_rt/trig.zig lib/compiler_rt/trunc.zig sources*/lib/compiler_rt/ceil.zig sources*/lib/compiler_rt/cos.zig sources*/lib/compiler_rt/exp.zig sources*/lib/compiler_rt/exp2.zig sources*/lib/compiler_rt/floor.zig sources*/lib/compiler_rt/floor_ceil.zig sources*/lib/compiler_rt/fma.zig sources*/lib/compiler_rt/log.zig sources*/lib/compiler_rt/log10.zig sources*/lib/compiler_rt/log2.zig sources*/lib/compiler_rt/rem_pio2.zig sources*/lib/compiler_rt/rem_pio2_large.zig sources*/lib/compiler_rt/rem_pio2f.zig sources*/lib/compiler_rt/rem_pio2l.zig sources*/lib/compiler_rt/round.zig sources*/lib/compiler_rt/sin.zig sources*/lib/compiler_rt/sincos.zig sources*/lib/compiler_rt/sqrt.zig sources*/lib/compiler_rt/tan.zig sources*/lib/compiler_rt/trig.zig sources*/lib/compiler_rt/trunc.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 2005-2020 Rich Felker, et al. 1993 Sun Microsystems, Inc. 2003-2011 David Schultz 2005-2012 Bruce D. Evans and Steven G. Kargl 2017-2018 Arm Limited License: MIT and BSD-2-clause and SunPro Comment: Ported from musl libc, which in turn derives math routines from fdlibm (Sun Microsystems), FreeBSD libm, and Arm Optimized Routines. Files: lib/std/math/acos.zig lib/std/math/acosh.zig lib/std/math/asin.zig lib/std/math/asinh.zig lib/std/math/atan.zig lib/std/math/atan2.zig lib/std/math/atanh.zig lib/std/math/cbrt.zig lib/std/math/complex/* lib/std/math/copysign.zig lib/std/math/cosh.zig lib/std/math/expm1.zig lib/std/math/expo2.zig lib/std/math/frexp.zig lib/std/math/hypot.zig lib/std/math/ilogb.zig lib/std/math/ldexp.zig lib/std/math/log1p.zig lib/std/math/log2.zig lib/std/math/modf.zig lib/std/math/scalbn.zig lib/std/math/sinh.zig lib/std/math/sqrt.zig lib/std/math/tanh.zig sources*/lib/std/math/acos.zig sources*/lib/std/math/acosh.zig sources*/lib/std/math/asin.zig sources*/lib/std/math/asinh.zig sources*/lib/std/math/atan.zig sources*/lib/std/math/atan2.zig sources*/lib/std/math/atanh.zig sources*/lib/std/math/cbrt.zig sources*/lib/std/math/complex/* sources*/lib/std/math/copysign.zig sources*/lib/std/math/cosh.zig sources*/lib/std/math/expm1.zig sources*/lib/std/math/expo2.zig sources*/lib/std/math/frexp.zig sources*/lib/std/math/gamma.zig sources*/lib/std/math/hypot.zig sources*/lib/std/math/ilogb.zig sources*/lib/std/math/ldexp.zig sources*/lib/std/math/log1p.zig sources*/lib/std/math/log2.zig sources*/lib/std/math/modf.zig sources*/lib/std/math/scalbn.zig sources*/lib/std/math/sinh.zig sources*/lib/std/math/sqrt.zig sources*/lib/std/math/tanh.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 2005-2020 Rich Felker, et al. 1993 Sun Microsystems, Inc. 2003-2011 David Schultz 2004-2005 Stefan Farfeleder 2005-2012 Bruce D. Evans and Steven G. Kargl 2014-2015 Stephen L. Moshier License: MIT and BSD-2-clause and SunPro Comment: Ported from musl libc (which incorporates fdlibm, FreeBSD libm, and Cephes math routines). Files: lib/std/math/log.zig lib/std/math/log10.zig lib/std/math/powi.zig sources*/lib/std/math/log.zig sources*/lib/std/math/log10.zig sources*/lib/std/math/powi.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 2005-2020 Rich Felker, et al. 2012-2020 The Rust Project Developers License: MIT and Apache-2.0 Comment: Ported from musl libc and the Rust standard library (libcore). Files: lib/std/fmt/parse_float/* sources*/lib/std/fmt/parse_float/* Copyright: 2021-2025 Andrew Kelley and Zig contributors 2020-2021 Daniel Lemire and fast-float contributors License: MIT Comment: Ported from https://github.com/fastfloat/fast_float and https://github.com/aldanor/fast-float-rust. Files: lib/std/compress/deflate* lib/std/fmt/parse_float/convert_hex.zig lib/std/math/pow.zig sources*/lib/std/compress/deflate* sources*/lib/std/compress/flate/* sources*/lib/std/crypto/ff.zig sources*/lib/std/fmt/parse_float/convert_hex.zig sources*/lib/std/math/pow.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 2009-2022 The Go Authors License: MIT and BSD-3-clause Comment: Ported from the Go standard library. Files: lib/std/hash/adler.zig sources*/lib/std/compress/flate/deflate.zig sources*/lib/std/hash/Adler32.zig sources*/lib/std/hash/adler.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 1995-2022 Jean-loup Gailly and Mark Adler License: MIT and Zlib Comment: Derived from zlib. Files: lib/std/crypto/chacha20.zig sources*/lib/std/crypto/chacha20.zig sources*/lib/std/math/nextafter.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 2008 Daniel J. Bernstein mingw-w64 contributors License: MIT and public-domain Files: lib/std/sort.zig sources*/lib/std/sort.zig sources*/lib/std/sort/block.zig Copyright: 2015-2025 Andrew Kelley and Zig contributors 2014-2020 BonzaiThePenguin License: MIT and Unlicense Comment: Block merge sort ported from WikiSort (https://github.com/BonzaiThePenguin/WikiSort). Files: sources*/lib/std/tar/output.zig Copyright: 2022-2025 Andrew Kelley and Zig contributors 2022 Matthew Knight License: MIT Comment: Ported from https://github.com/mattnite/tar. 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, 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: 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: Apache-2.0 with LLVM exception On Debian systems, the complete text of the Apache License, Version 2.0 can be found in "/usr/share/common-licenses/Apache-2.0". . ---- LLVM Exceptions to the Apache 2.0 License ---- . As an exception, if, as a result of your compiling your source code, portions of this Software are embedded into an Object form of such source code, you may redistribute such embedded portions in such Object form without complying with the conditions of Sections 4(a), 4(b) and 4(d) of the License. . In addition, if you combine or link compiled forms of this Software with software that is licensed under the GPLv2 ("Combined Software") and if a court of competent jurisdiction determines that the patent provision (Section 3), the indemnity provision (Section 9) or other Section of the License conflicts with the conditions of the GPLv2, you may retroactively and prospectively choose to deem waived or otherwise exclude such Section(s) of the License, but only in their entirety and only with respect to the Combined Software. License: NCSA 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: 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 AUTHOR 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 AUTHOR 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: 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 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: SunPro Developed at SunPro, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. License: Unicode-DFS-2016 Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any associated documentation (the "Software") to deal in the Data Files or Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, and/or sell copies of the Data Files or Software, and to permit persons to whom the Data Files or Software are furnished to do so, provided that either (a) this copyright and permission notice appear with all copies of the Data Files or Software, or (b) this copyright and permission notice appear in associated Documentation. . THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR 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 THE DATA FILES OR SOFTWARE. . Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. 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: Unlicense This is free and unencumbered software released into the public domain. . Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. . In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. . 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 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: public-domain These files have been placed in the public domain by their authors, or have copyright notices waiving all rights to the extent permitted by law. License: GPL-3 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+ On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".