[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#991943: klibc: please consider including machine-readable copyright file



Hi,

On Fri, 06 Aug 2021 14:31:26 +0200 Andrej Shadura <andrewsh@debian.org>
wrote:
> Please consider including the attached machine-readable copyright file.
> I tried to make it as precise as I can based on the information in the
> source and accompanying text files; improve it as you see fit.

I’ve noticed a few issues with the proposed copyright file. I have fixed
them; please find the attached patch to the packaging.

-- 
Cheers,
  Andrej
>From 317a7494fd2faea9a75f9d7556bc48d2691be706 Mon Sep 17 00:00:00 2001
From: Andrej Shadura <andrew.shadura@collabora.co.uk>
Date: Wed, 11 Aug 2021 14:24:29 +0200
Subject: [PATCH] Rewrite debian/copyright in the machine-readable format

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
---
 debian/copyright | 246 ++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 191 insertions(+), 55 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 7b60024..ce50305 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,56 +1,192 @@
-This package was debianized by Jeff Bailey <jbailey@raspberryginger.com> on
-Sun, 23 Jan 2005 21:11:50 -0500.
-
-It was downloaded from http://www.kernel.org/pub/linux/libs/klibc/
-
-Copyright 2004-2006 H. Peter Anvin <hpa@zytor.com>
-
-License:
-
-BSD/GPL
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License v2 can be found in `/usr/share/common-licenses/GPL-2'.
-
--- BSD license text
-
-Some files are derived from files copyrighted by the Regents of The
-University of California, and are available under the following
-license:
-
-Note: The advertising clause in the license appearing on BSD Unix
-files was officially rescinded by the Director of the Office of
-Technology Licensing of the University of California on July 22
-1999. He states that clause 3 is "hereby deleted in its entirety."
-
- * Copyright (c)
- *	The Regents of the University of California.  All rights reserved.
- *
- * 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. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *	This product includes software developed by the University of
- *	California, Berkeley and its contributors.
- * 4. 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.
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
+Files: *
+Copyright: 2004-2021, H. Peter Anvin and klibc contributors
+License: BSD-3-clause and/or GPL-2 and/or Expat
+
+Files: klcc/*
+License: Expat
+
+Files: contrib/klibc.m4
+Copyright: 1995-2003, Free Software Foundation, Inc.
+License: GPL-2-with-Autoconf-exception
+
+Files: scripts/basic/fixdep.c
+Copyright: 2002, Kai Germaschewski <kai.germaschewski@gmx.de>
+License: GPL-2
+
+Files: usr/dash/*
+Copyright:
+ 1989-1994, The Regents of the University of California
+ 1997, Christos Zoulas
+ 1997-2012, Herbert Xu <herbert@gondor.apana.org.au>
+Comment:
+ This code is derived from software contributed to Berkeley by Kenneth Almquist.
+License: BSD-3-Clause
+
+Files: usr/dash/TOUR
+Copyright: 1989, Kenneth Almquist.
+License: BSD-3-Clause
+
+Files: usr/dash/src/bltin/test.c
+Copyright: Erik Baalbergen, Eric Gisin, Arnold Robbins, J.T. Conklin
+License: public-domain
+
+Files: usr/gzip/*
+Copyright:
+ 1992-1993 Jean-loup Gailly
+License: GPL-2+
+
+Files: usr/gzip/inflate.c
+Copyright: 1992, Mark Adler
+License: public-domain
+
+Files: usr/include/arch/*
+Copyright: 2004-2006, H. Peter Anvin
+License: Expat
+
+Files:
+ usr/include/arch/sparc/*
+ usr/klibc/arch/sparc/*
+Copyright:
+ 1994, Allen Briggs
+ 1993, Adam Glass
+ 1988, University of Utah.
+ 1982, 1990, 1992, 1993, The Regents of the University of California.
+License: BSD-4-Clause-UC
+
+Files: usr/include/sys/md.h
+Copyright: 2006, H. Peter Anvin
+License: GPL-2+
+
+Files:
+ usr/include/zconf.h
+ usr/include/zlib.h
+ usr/klibc/zlib/*
+Copyright: 1995-2005, Jean-loup Gailly and Mark Adler
+License: Zlib
+
+Files: usr/kinit/capabilities.*
+Copyright: 2011, Google Inc.
+License: BSD-3-clause and/or GPL-2 and/or Expat
+
+Files: usr/kinit/fstype/jfs_superblock.h
+Copyright: 2000-2003, International Business Machines Corp.
+License: GPL-2+
+
+Files: usr/kinit/run-init/*
+Copyright: 2004-2006, H. Peter Anvin
+License: Expat
+
+Files: usr/klibc/arch/ia64/klibc.ld
+Copyright: 2014-2018, Free Software Foundation, Inc.
+License: FSFAP
+
+Files: usr/utils/cpio.c
+Copyright: 1990-1992, 2001-2004, Free Software Foundation, Inc.
+License: GPL-2+
+
+Files: usr/utils/minips.c
+Copyright: 1998, Albert Cahalan
+License: LGPL-2+
+
+Files: usr/utils/nuke.c
+Copyright: 2004-2006, H. Peter Anvin
+License: Expat
+
+License: GPL-2-with-Autoconf-exception
+ This file is free software, distributed under the terms of the GNU
+ General Public License.  As a special exception to the GNU General
+ Public License, this file may be distributed as part of a program
+ that contains a configuration script generated by Autoconf, under
+ the same distribution terms as the rest of that program.
+
+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: 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: BSD-4-Clause-UC
+ Note: The advertising clause in the license appearing on BSD Unix
+ files was officially rescinded by the Director of the Office of
+ Technology Licensing of the University of California on July 22
+ 1999. He states that clause 3 is "hereby deleted in its entirety."
+ .
+ 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. All advertising materials mentioning features or use of this software
+    must display the following acknowledgement:
+      This product includes software developed by the University of
+      California, Berkeley and its contributors.
+ 4. 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: FSFAP
+ Copying and distribution of this script, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved.
+
+License: GPL-2
+ On Debian GNU/Linux systems, the complete text of the GNU General Public
+ License v2 can be found in /usr/share/common-licenses/GPL-2.
-- 
2.31.1


Reply to: