Bug#792431: cme: do not extract the copyright informations of the autoconf tools
$ licensecheck -r -m --copyright config config/texinfo.tex GPL (v3 or later) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995 config/ltmain.shGPL (v2 or later) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 Yes this is the problem, a very difficult one since everyone can modify these snipsets... In these files, the © statement is declared on 2 or 3 lines I've already tweaked licensecheck to cope with © statement declared on 2 lines: $ perl ~/debian-dev/devscripts/scripts/licensecheck.pl -r -m --copyright config config/texinfo.tex GPL (v3 or later) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, config/ltmain.shGPL (v2 or later) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. I guess I can tweak it more to cope with texinfo.tex... In the meantime, you can add instructions in debian/fix.scanned.copyright to add the missing information with something like: ! Files:config/texinfo.tex Copyright.=-2012 Free Software Foundation, Inc. ! Files:config/ltmain.sh Copyright.=-2011 Free Software Foundation, Inc. Do you know if there is an initiaive in prderto have machine readable copyright information sin sources files ? Once converted it would be possible to generate the copyright file by collecting all these informations ? thanks for the informations. is there a man page with the documentation for this fix.scanned.copyright fiel format Thanks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#792431: cme: do not extract the copyright informations of the autoconf tools
On Sat, 18 Jul 2015 16:39:44 +0200 Dominique Dumont d...@debian.org wrote: In the meantime, you can add instructions in debian/fix.scanned.copyright to add the missing information with something like: ! Files:config/texinfo.tex Copyright.=-2012 Free Software Foundation, Inc. ! Files:config/ltmain.sh Copyright.=-2011 Free Software Foundation, Inc. Sorry, I forgot to mention: for more information on fix.scanned.copyright, see https://ddumont.wordpress.com/2015/05/31/improving-update-of-existing-debiancopyright-file/ and Config::Model::Dpkg::Copyright(3pm) All the best -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#792431: cme: do not extract the copyright informations of the autoconf tools
Hello Unfortunately, cme relies on the output of licensecheck command to update the copyright file. Currently, licensecheck command does not process correctly the files from hkl/config directory and cme output matches what's found by licensecheck: $ licensecheck -r -m --copyright config config/texinfo.tex GPL (v3 or later) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995 config/ltmain.shGPL (v2 or later) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 In these files, the © statement is declared on 2 or 3 lines I've already tweaked licensecheck to cope with © statement declared on 2 lines: $ perl ~/debian-dev/devscripts/scripts/licensecheck.pl -r -m --copyright config config/texinfo.tex GPL (v3 or later) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, config/ltmain.shGPL (v2 or later) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. I guess I can tweak it more to cope with texinfo.tex... In the meantime, you can add instructions in debian/fix.scanned.copyright to add the missing information with something like: ! Files:config/texinfo.tex Copyright.=-2012 Free Software Foundation, Inc. ! Files:config/ltmain.sh Copyright.=-2011 Free Software Foundation, Inc. Hope this helps -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#792431: cme: do not extract the copyright informations of the autoconf tools
Le samedi 18 juillet 2015 15:13:43, vous avez écrit : Do you know if there is an initiaive in prderto have machine readable copyright information sin sources files ? Not that I know of. Besides, debian/copyright file, the only other things I know are: - spdx: a norm to collect legal information about software - fossology: a huge software used to scan license and copyright information Once converted it would be possible to generate the copyright file by collecting all these informations ? yes, it would be possible to generate the copyright file from the collected information. is there a man page with the documentation for this fix.scanned.copyright fiel format yes, besides the links I sent before, you have more details of the used syntax there: http://search.cpan.org/dist/Config-Model/lib/Config/Model/Loader.pm#load_string_syntax I now realize that this doc could use some examples. All the best -- https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/-o- irc: dod at irc.debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#792431: cme: do not extract the copyright informations of the autoconf tools
Package: cme Version: 1.005-3 Severity: normal Dear Maintainer, Hello, first thanks for this wonderfull cme update dpkg-copyright. It we save my days. so I updated my hkl package and I got this pacth for copyright +Files: config/* +Copyright: 1996-2001, 2003-2006, +License: GPL-2+ + +Files: config/texinfo.tex +Copyright: 1985, 1986, 1988, 1990-1995, +License: GPL-3+ + As you can see the copyright information is not right the list of files in my directory as quite usuall for a project using autotools ~/Debian/hkl/hkl$ ls -l config total 748 -rwxr-xr-x 1 picca picca 7333 juil. 7 18:24 compile -rwxr-xr-x 1 picca picca 42856 juil. 7 18:24 config.guess -rwxr-xr-x 1 picca picca 35837 juil. 7 18:24 config.sub -rwxr-xr-x 1 picca picca 23566 juil. 7 18:24 depcomp -rwxr-xr-x 1 picca picca 13997 juil. 7 18:24 install-sh -rw-r--r-- 1 picca picca 283672 juil. 7 18:24 ltmain.sh -rwxr-xr-x 1 picca picca 6095 juil. 7 18:24 mdate-sh -rwxr-xr-x 1 picca picca 6872 juil. 7 18:24 missing -rwxr-xr-x 1 picca picca 4287 juil. 7 18:24 test-driver -rw-r--r-- 1 picca picca 320197 juil. 7 18:24 texinfo.tex Do you think that you can improve cme in order to extract correctly the right copyright informations. If you need the file, just extract the hkl 4.99.99.1950-1 package. thanks Frederic -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.0.0-2-586 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cme depends on: ii libapp-cmd-perl 0.327-1 ii libconfig-model-perl 2.071-3 ii libpath-tiny-perl 0.058-1 ii libpod-pom-perl 0.29-2 ii perl 5.20.2-6 Versions of packages cme recommends: ii libconfig-model-approx-perl 1.009-2 ii libconfig-model-dpkg-perl 2.067 ii libconfig-model-lcdproc-perl 2.042-4 ii libconfig-model-openssh-perl 1.236-2 ii libconfig-model-tkui-perl 1.348-1 Versions of packages cme suggests: pn libconfig-model-cursesui-perl none pn libconfig-model-itself-perlnone -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org