• Bug#1034247: mtree-netbsd: Wrong BSD-4-clause

    From Bastian Germann@21:1/5 to All on Mon Apr 7 14:50:01 2025
    Control: tags -1 patch
    Control: severity -1 serious

    For files that have two or more applicable licenses, please include
    both. The machine-readable copyright format has support for this with
    "and" or "or" keywords. Please find a fixed copyright file attached.
    I have identified two more issues with licenses being misrepresented in excludes.c and install-sh.

    Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mtree
    Source: :pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot pkgsrc/pkgtools/mtree/files
    Comment:
    Some BSD-4-clause licenses use the NetBSD copyright addendum published at
    https://www.netbsd.org/about/redistribution.html and are effectively presented
    as BSD-2-clause.

    Files: *
    Copyright: Copyright (c) 1989, 1990, 1993 The Regents of the University of California.
    License: BSD-3-Clause

    Files: debian/*
    Copyright: 2018 John Goerzen <jgoerzen@complete.org>
    License: BSD-3-Clause

    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.

    Files: config.guess
    Copyright: Copyright: 1992-2006 Free Software Foundation,
    License: GPL-2+

    Files: configure
    Copyright: Copyright: 1992-1996, 1998-2012 Free Software Foundation, Inc. License: FSF-Unlimited

    License: FSF-Unlimited
    This configure script is free software; the Free Software Foundation
    gives unlimited permission to copy, distribute and modify it.

    Files: create.c
    Copyright: Copyright: 1989, 1993 The Regents of the University of California. License: BSD-3-clause

    Files: debian/README.Debian
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/README.source
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/changelog
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/compat
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/control
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/copyright
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/gbp.conf
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/mtree-netbsd-docs.docs
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/rules
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: debian/source/format
    Copyright: 2018, John Goerzen <jgoerzen@complete.org>
    License: GPL-2+

    Files: excludes.c
    Copyright: Copyright: 2000 Massachusetts Institute of Technology
    License: HPND-MIT-disclaimer

    Files: extern.h
    Copyright: Copyright: 1991, 1993 The Regents of the University of California. License: BSD-3-clause

    Files: getid.c
    Copyright:
    Copyright 1987-1989, 1993-1995 The Regents of the University of California.
    Copyright (c) 2002 The NetBSD Foundation, Inc.
    All rights reserved.
    Comment:
    This code is derived from software contributed to The NetBSD Foundation
    by Luke Mewburn of Wasabi Systems.
    License: BSD-3-clause and BSD-2-clause

    Files: install-sh
    Copyright: Copyright: 1991 the Massachusetts Institute of Technology
    License: HPND

    Files: misc.c
    Copyright: Copyright: 1991, 1993 The Regents of the University of California. License: BSD-3-clause

    Files: mtree.8
    Copyright:
    Copyright 1989-1990, 1993 The Regents of the University of California.
    Copyright (c) 2001-2004 The NetBSD Foundation, Inc.
    All rights reserved.
    Comment:
    This code is derived from software contributed to The NetBSD Foundation
    by Luke Mewburn of Wasabi Systems.
    License: BSD-3-clause and BSD-2-clause

    Files: mtree.c
    Copyright: Copyright: 1989-1990, 1993 The Regents of the University of California.
    License: BSD-3-clause

    Files: mtree2nbcompat
    Copyright: Copyright: 2004 The NetBSD Foundation, Inc.
    License: BSD-2-clause

    Files: pack_dev.c
    Copyright: Copyright: 1998, 2001 The NetBSD Foundation, Inc.
    License: BSD-2-clause

    Files: pack_dev.h
    Copyright: Copyright: 1998, 2001 The NetBSD Foundation, Inc.
    License: BSD-2-clause

    Files: spec.c
    Copyright:
    Copyright 1989, 1993 The Regents of the University of California.
    Copyright (c) 2001-2004 The NetBSD Foundation, Inc.
    All rights reserved.
    Comment:
    This code is derived from software contributed to The NetBSD Foundation
    by Luke Mewburn of Wasabi Systems.
    License: BSD-3-clause and BSD-2-clause

    Files: stat_flags.c
    Copyright: Copyright: 1993 The Regents of the University of California. License: BSD-3-clause

    Files: stat_flags.h
    Copyright: Copyright: 1991, 1993 The Regents of the University of California. License: BSD-3-clause

    Files: verify.c
    Copyright: Copyright: 1990, 1993 The Regents of the University of California. License: BSD-3-clause

    License: gpl-2+
    See /usr/share/common-licenses/GPL-2

    License: HPND-MIT-disclaimer
    Permission to use, copy, modify, and distribute this software and
    its documentation for any purpose and without fee is hereby
    granted, provided that both the above copyright notice and this
    permission notice appear in all copies, that both the above
    copyright notice and this permission notice appear in all
    supporting documentation, and that the name of M.I.T. not be used
    in advertising or publicity pertaining to distribution of the
    software without specific, written prior permission. M.I.T. makes
    no representations about the suitability of this software for any
    purpose. It is provided "as is" without express or implied
    warranty.
    .
    THIS SOFTWARE IS PROVIDED BY M.I.T. ``AS IS''. M.I.T. DISCLAIMS
    ALL EXPRESS OR IMPLIED WARRANTIES WITH REGARD TO THIS SOFTWARE,
    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT
    SHALL M.I.T. 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: HPND
    Permission to use, copy, modify, distribute, and sell this software and its
    documentation for any purpose is hereby granted without fee, provided that
    the above copyright notice appear in all copies and that both that
    copyright notice and this permission notice appear in supporting
    documentation, and that the name of M.I.T. not be used in advertising or
    publicity pertaining to distribution of the software without specific,
    written prior permission. M.I.T. makes no representations about the
    suitability of this software for any purpose. It is provided "as is"
    without express or implied warranty.

    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 NETBSD FOUNDATION, INC. 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.

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