• Bug#1102354: haskell-charsetdetect-ae: Wrong BSD license

    From Bastian Germann@21:1/5 to All on Tue Apr 8 09:30:02 2025
    Source: haskell-charsetdetect-ae
    Version: 1.1.0.4-7
    Severity: serious
    Justification: Policy 12.5

    Your package's copyright file claims libcharsetdetect/nspr-emu/prcpucfg.h
    to be licensed under /usr/share/common-licenses/BSD. That BSD variant is
    not the same that is actually in the file's header comment.

    Please replace the reference with a copy of the actual license.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bastian Germann@21:1/5 to All on Fri Apr 25 14:30:01 2025
    Control: tags -1 patch

    Please find a fixed version of the copyright file attached.

    Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: charsetdetect-ae
    Upstream-Contact: Artyom <yom@artyom.me>
    Source: https://hackage.haskell.org/package/charsetdetect-ae

    Files: *
    Copyright: Max Bolingbroke <batterseapower@hotmail.com>
    License: LGPL-2.1+

    Files: libcharsetdetect/libcharsetdetect.{cpp,h}
    Copyright: Colin Snover
    License: MIT

    Files: libcharsetdetect/mozilla/*
    Copyright: mozilla.org
    License: MPL-1.1/GPL-2/LGPL-2.1

    Files: libcharsetdetect/nspr-emu/*
    Copyright: mozilla.org
    License: MPL-1.1/GPL-2/LGPL-2.1

    Files: libcharsetdetect/nspr-emu/prcpucfg.h
    Copyright: 2008, Google Inc.
    License: BSD-3-clause~Google

    Files: debian/*
    Copyright: held by the contributors mentioned in debian/changelog
    License: LGPL-2.1+

    License: LGPL-2.1+
    Copyright (C) 2010 Maximilian Bolingbroke
    .
    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 systems, the full text of the GNU Lesser General Public
    License version 2.1 can be found in the file
    `/usr/share/common-licenses/LGPL-2.1'.

    License: MIT
    The files `libcharsetdetect.{cpp,h}` are (c) 2010 Colin Snover and released under an MIT license.
    .
    Copyright (c) 2010 Colin Snover
    .
    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: MPL-1.1/GPL-2/LGPL-2.1
    The UCSD is (c) mozilla.org and tri-licensed under MPL 1.1/GPL 2.0/LGPL 2.1.
    We incorporate header files from the NSPR emulation library, which is LGPL licensed.
    .
    On Debian systems, the full text of the GNU Lesser General Public
    License version 2.1 can be found in the file
    `/usr/share/common-licenses/LGPL-2.1'.
    .
    On Debian systems, the full text of the GNU General Public
    License version 2 can be found in the file
    `/usr/share/common-licenses/GPL-2'.
    .
    You may obtain a copy of the Mozilla Public License at
    http://www.mozilla.org/MPL/

    License: BSD-3-clause~Google
    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 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)