Bug#1029117: libtasn1-6: Convert d/copyright to machine-readable format

Simon Josefsson simon at josefsson.org
Sun Oct 27 09:24:44 GMT 2024


Hi.  I took a stab at creating a debian/copyright file too, see attached
manually created copy.

What may have changed since last time is that there is a tool
'licenserecon' in Debian that verify correctness of the file (at least
compared to 'licensecheck' outputs).  It can be run offline by invoking
'lrc' in the Debian package directory, and also integrated into a Salsa
pipeline, one output of a run is here:

https://salsa.debian.org/jas/libtasn1/-/jobs/6492561

Alas lrc seems to parse 'Files:' wildcards a bit different than DEP5, so
you may run into lintian pedantic complains meanwhile.  See
<https://bugs.debian.org/1086136>.  Hopefully this can be resolved.

Btw, the licensing of debian/* files are not clear anywhere, I leave
that as an exercise. :) My gitlog2copyright tool suggests a relevant
copyright snippet, although I don't know whe license is intended:

Copyright: 2006-2023 Andreas Metzler <ametzler at bebt.de> (286 commits)
           2006-2007 James Westby <jw+debian at jameswestby.net> (2 commits)
           2021-2024 Simon Josefsson <simon at josefsson.org> (6 commits)
           2022      Debian Janitor <janitor at jelmer.uk> (2 commits)

/Simon
-------------- next part --------------
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Libidn2
Upstream-Contact: Simon Josefsson <simon at josefsson.org>
Source: https://ftp.gnu.org/gnu/libtasn1/
Comment:
 This package was debianized by Ivo Timmermans <ivo at debian.org> on
 Sat, 15 Jun 2002 23:37:29 +0200.
 Matthias Urlichs <smurf at debian.org>.
 It is now maintained by Andreas Metzler <ametzler at debian.org>, Eric Dorland
 <eric at debian.org> and James Westby <jw+debian at jameswestby.net>
 Upstream Authors: Fabio Fiorina <fiorinaf at gnutls.org>
                   Simon Josefsson <jas at extundo.com>
                   Nikos Mavrogiannopoulos <nmav at gnutls.org>
 The library itself is licensed as LGPLv2.1+, the build system, test-suite and
 command-line tools (package libtasn1-bin) are GPLv3+.

Files: *
Copyright: Copyright (C) 2002-2022 Free Software Foundation, Inc.
License: GPL-3+

Files: tests/object-id-encoding.c
Copyright: (C) 2019 Nikos Mavrogiannopoulos
License: GPL-3+

Files: tests/object-id-decoding.c
       tests/ocsp-basic-response.c
       tests/spc_pe_image_data.c
Copyright: (C) 2016 Red Hat, Inc.
License: GPL-3+

Files: gtk-doc.make
Copyright: (C) 2003 James Henstridge
               2004-2007 Damon Chaplin
               2007-2017 Stefan Sauer
License: GPL-3+

Files: lib/*.y lib/*.c lib/*.h lib/includes/* lib/gl/*.c lib/gl/*.h src/gl/*.c src/gl/*.h lib/libtasn1.map lib/libtasn1.pc.in
Copyright: Copyright (C) 2002-2022 Free Software Foundation, Inc.
License: LGPL-2.1+

Files: lib/gl/arg-nonnull.h lib/gl/c++defs.h lib/gl/_Noreturn.h lib/gl/warn-on-use.h src/gl/arg-nonnull.h src/gl/c++defs.h src/gl/_Noreturn.h src/gl/warn-on-use.h
Copyright: Copyright (C) 2009-2022 Free Software Foundation, Inc.
License: LGPL-2+

Files: src/gl/gettime.c src/gl/timespec.* src/gl/version-etc.* src/gl/version-etc-fsf.c
Copyright: Copyright(c) 2017-2020 Free Software Foundation, Inc.
License: LGPL-3+

Files: src/gl/progname.*
Copyright: Copyright (C) 2001-2003, 2005-2022 Free Software Foundation, Inc.
License: GPL-3+

Files: lib/ASN1.c
Copyright: Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, Inc.
           Copyright (C) 2001-2022 Free Software Foundation, Inc.
License: GPL-3+ with Bison-2.2 exception

Files: fuzz/*.c fuzz/*.h
Copyright: Copyright(c) 2017-2020 Free Software Foundation, Inc.
License: LGPL-3+

Files: fuzz/corpus2array.c
Copyright: Copyright (C) 2019-2022 Free Software Foundation, Inc.
License: LGPL-2.1+

Files: fuzz/main.c fuzz/Makefile.*
Copyright: Copyright(c) 2017-2019 Tim Ruehsen
License: Expat

Files: doc/gdoc
Copyright: Copyright (c) 2002-2021 Simon Josefsson
           Copyright (c) 2001, 2002 Nikos Mavrogiannopoulos
           Copyright (c) 1998 Michael Zucchi
           Copyright (c) 2013 Adam Sampson
License: GPL-3+

Files: doc/libtasn1.texi doc/libtasn1.info
Copyright: Copyright @copyright{} 2001--2022 Free Software Foundation, Inc.
License: GFDL-NIV-1.3+

Files: doc/man/*.3 doc/TODO THANKS NEWS INSTALL
Copyright: Copyright \(co 2006-2022 Free Software Foundation, Inc..
License: FSFAP

Files: build-aux/install-sh
Copyright: Copyright (C) 1994 X Consortium
License: X11
 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
 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
 TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 .
 Except as contained in this notice, the name of the X Consortium shall not
 be used in advertising or otherwise to promote the sale, use or other deal-
 ings in this Software without prior written authorization from the X Consor-
 tium.
 .
 FSF changes to this file are in the public domain.

License: GPL-3+
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.
 .
 This program 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 General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
Comment:
 On Debian GNU/Linux 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+ with Bison-2.2 exception
   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
 .
   This program 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 General Public License for more details.
 .
   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 .
   As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.
 .
   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.
 .
 * This file is part of LIBTASN1.
 *
 * The LIBTASN1 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
Comment:
 On Debian GNU/Linux systems, the complete text of the GNU General Public
 License version 3 can be found in /usr/share/common-licenses/GPL-3.

License: LGPL-2.1+
 LIBTASN1 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.
 .
 LIBTASN1 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 LIBTASN1; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 02110-1301, USA
Comment:
 On Debian GNU/Linux systems, the complete text of the GNU Lesser
 General Public License version 2.1 can be found in
 /usr/share/common-licenses/LGPL-2.1.

License: LGPL-2+
   This program 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 of the License, or
   (at your option) any later version.
 .
   This program 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 program.  If not, see <https://www.gnu.org/licenses/>.  */
Comment:
 On Debian GNU/Linux systems, the complete text of the GNU Lesser
 General Public License version 2 can be found in
 /usr/share/common-licenses/LGPL-2.

License: LGPL-3+
   This file 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 3 of the
   License, or (at your option) any later version.
 .
   This file 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 program.  If not, see <https://www.gnu.org/licenses/>.  */
Comment:
 On Debian GNU/Linux systems, the complete text of the GNU Lesser
 General Public License version 3 can be found in
 /usr/share/common-licenses/LGPL-3.

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: FSFAP
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright
 notice and this notice are preserved.

License: GFDL-NIV-1.3+
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
 any later version published by the Free Software Foundation; with no
 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
 copy of the license is included in the section entitled ``GNU Free
 Documentation License''.
Comment:
 On Debian systems, the complete text of the GNU Free Documentation
 License Version 1.3 can be found in the file
 `/usr/share/common-licenses/GFDL-1.3'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 255 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20241027/f3de5462/attachment.sig>


More information about the Pkg-gnutls-maint mailing list