Third-party notices for overdub
===============================

overdub itself is BSD 2-Clause; see LICENSE.txt. This file is for the code it
does not own.

Source distribution needs nothing beyond this file. A COMPILED overdub is
different: the packages below are linked into the binary, and clause 2 of each
BSD license among them asks that its copyright notice, conditions and disclaimer
travel with it. So ship this file alongside any binary you publish. The release
tarball carries it, beside LICENSE.txt.

go.mod and go.sum are the authority on versions. Each license below is copied
verbatim, from the module's own LICENSE or, for what the NDK links in, from the
NDK's own NOTICE.

---------------------------------------------------------------------------
github.com/flynn/noise -- the Noise handshake in internal/esphome/noise.go
BSD-3-Clause

Flynn® is a trademark of Prime Directive, Inc.

Copyright (c) 2015 Prime Directive, Inc. All rights reserved.

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 Prime Directive, Inc. 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.

---------------------------------------------------------------------------
golang.org/x/crypto -- Curve25519, ChaCha20-Poly1305, and the BLAKE2
                       flynn/noise compiles in beside them
golang.org/x/net    -- the DNS wire format in internal/mdns/mdns.go
                       (dns/dnsmessage), and HTTP/2 for Alexa's session
                       (http2, and http/httpguts beneath it)
golang.org/x/text   -- the name handling x/net/http2 reaches through
                       idna: secure/bidirule, unicode/bidi, unicode/norm
the Go standard library and runtime, which every Go binary links in
BSD-3-Clause

All four carry the same license, which is reproduced once below. The Go
distribution's own LICENSE is this same text, under this same copyright.

Copyright 2009 The Go Authors.

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 Google LLC 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.

---------------------------------------------------------------------------
Bionic's C runtime startup objects -- crtbegin_dynamic.o and crtend_android.o,
supplied by the Android NDK
BSD-2-Clause, which is Bionic's standard file header

The chime is cgo, so the binary is linked by the NDK's clang rather than by Go
alone, and that link statically embeds Bionic's startup objects: _start,
_start_main, atexit and __libc_init are in the binary. Bionic's libc itself is
not -- libc.so, libdl.so and liblog.so are NEEDED entries resolved on the
device, and libmixerAPI.so is loaded at run time. The device's own copies need
nothing from us.

Copyright (C) 2008 The Android Open Source Project
All rights reserved.

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 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.

---------------------------------------------------------------------------
LLVM compiler-rt builtins, supplied by the Android NDK, need no notice, and
that is the exception rather than an omission.

The same link embeds __aeabi_uidivmod, __aeabi_idiv0 and __aeabi_ldiv0 from
libclang_rt.builtins-arm-android.a. Go's runtime defines none of those three.
compiler-rt is Apache-2.0 WITH LLVM-exception, and the exception says that
portions embedded into object form as a result of compiling may be
redistributed without complying with sections 4(a), 4(b) and 4(d) -- which are
the copy-of-the-license and NOTICE requirements. So they are named here and
their license is not reproduced.

---------------------------------------------------------------------------
github.com/mewkiz/flac -- the FLAC decoder in internal/sendspin/flac.go
Unlicense: dedicated to the public domain, so it needs no notice.

It requires 3 modules indirectly. github.com/mewkiz/pkg and github.com/mewpkg/term
are Unlicense too. github.com/icza/bitio is Apache-2.0. The binary's build info
lists all 3, and none contributes a symbol: only the encoder calls them, and the
linker drops it.

---------------------------------------------------------------------------
golang.org/x/sys is required indirectly by go.mod and carries this same Go
Authors license. It is not linked into the ARM build: the binary's own build
info does not list it, and it contributes no symbols.

The Go repositories also ship a separate PATENTS grant. Clause 2 asks for the
copyright notice, the conditions and the disclaimer, which are above; the grant
is named here rather than reproduced.
