Subject: licensecheck: please allow to format output according to DEP5 Package: devscripts Version: 2.10.66 Severity: wishlist
Hi, currently, licensecheck (if invoked via "-r --copyright") reports the copyright and license information for a specific source tree in a per-file format, but does not allow for the grouping of files with the same combination of copyright holder and license as current DEP5 suggests. Current CDBS (thus CC:ing the CDBS maintainer) provids a nice little helper script in /usr/lib/cdbs/licensecheck2dep5 that allows to convert licensecheck's output into DEP5 format [1]. Since both programs are written in perl, I believe it is rather straightforward to implement this feature in licensecheck itself. Ideally, licensecheck would provide a new command line option, e.g. "--dep5", that implies "-r --copyright" and reports exact the same output as if piped through CDBS's licensecheck2dep5 program. Thanks, Fabian [1] For an actual use case of this script in combination with licensecheck, please see the debian/stamp-copyright-check: rule in /usr/share/cdbs/1/rules/utils.mk. -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- Not present -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (550, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages devscripts depends on: ii dpkg-dev 1.15.7.2 Debian package development tools ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii perl 5.10.1-12 Larry Wall's Practical Extraction Versions of packages devscripts recommends: ii at 3.1.12-1 Delayed job execution and batch pr ii bsd-mailx [mailx] 8.1.2-0.20100314cvs-1 simple mail user agent ii cvs 1:1.12.13-12 Concurrent Versions System pn dctrl-tools <none> (no description available) pn debian-keyring <none> (no description available) pn debian-maintainer <none> (no description available) pn dput | dupload <none> (no description available) ii epiphany-browser 2.30.2-3 Intuitive GNOME web browser pn equivs <none> (no description available) ii fakeroot 1.14.4-1 Gives a fake root environment ii git [git-core] 1:1.7.1-1 fast, scalable, distributed revisi ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep ii iceweasel [www-br 3.5.9-3 Web browser based on Firefox pn libauthen-sasl-pe <none> (no description available) pn libcrypt-ssleay-p <none> (no description available) pn libjson-perl <none> (no description available) pn libparse-debcontr <none> (no description available) pn libsoap-lite-perl <none> (no description available) pn libterm-size-perl <none> (no description available) ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.54-1 module to manipulate and access UR ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar pn libyaml-syck-perl <none> (no description available) pn lintian <none> (no description available) ii lsb-release 3.2-23.1 Linux Standard Base version report ii lzma 4.43-14 Compression method of 7z format in ii man-db 2.5.7-3 on-line manual pager ii openssh-client [s 1:5.5p1-3 secure shell (SSH) client, for sec ii patch 2.6-2 Apply a diff file to an original pn patchutils <none> (no description available) ii sensible-utils 0.0.4 Utilities for sensible alternative pn strace <none> (no description available) pn unzip <none> (no description available) ii w3m [www-browser] 0.5.2-4 WWW browsable pager with excellent pn wdiff <none> (no description available) ii wget 1.12-2 retrieves files from the web ii xz-utils 4.999.9beta+20100307-1 XZ-format compression utilities Versions of packages devscripts suggests: ii build-essential 11.5 Informational list of build-essent pn cvs-buildpackage <none> (no description available) pn devscripts-el <none> (no description available) pn gnuplot <none> (no description available) pn libfile-desktopentry-perl <none> (no description available) pn libnet-smtp-ssl-perl <none> (no description available) ii mutt 1.5.20-7 text-based mailreader supporting M pn svn-buildpackage <none> (no description available) ii w3m 0.5.2-4 WWW browsable pager with excellent -- 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