Package: devscripts
Version: 2.10.43
Severity: wishlist
File: /usr/bin/licensecheck
Tags: patch
Attached is a patch to licensecheck to detect CDDL license.
Cheers,
Mike
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.14.24 Debian package development tools
ii libc6 2.7-16 GNU C Library: Shared libraries
ii perl 5.10.0-18 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.10.2 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20081101cvs-2 A simple mail user agent
ii bzr 1.5-1.1 easy to use distributed version co
ii curl 7.18.2-8 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.13.0 Command-line tools to process Debi
ii debian-keyring 2008.11.30 GnuPG (and obsolete PGP) keys of D
pn debian-maintainers <none> (no description available)
ii dput 0.9.2.36 Debian package upload tool
ii epiphany-gecko [ww 2.22.3-8+b1 Intuitive GNOME web browser - Geck
ii epiphany-webkit [w 2.22.3-8+b1 Intuitive GNOME web browser - webk
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.11.4 Gives a fake root environment
ii galeon [www-browse 2.0.6-2+b1 GNOME web browser for advanced use
ii git-core 1:1.5.6.5-2 fast, scalable, distributed revisi
ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep
ii iceape-browser [ww 1.1.14-1 Iceape Navigator (Internet browser
ii iceweasel [www-bro 3.0.5-1 lightweight web browser based on M
pn libauthen-sasl-per <none> (no description available)
ii libcrypt-ssleay-pe 0.57-1+b1 Support for https protocol in LWP
ii libparse-debcontro 2.005-2 Easy OO parsing of Debian control-
ii libsoap-lite-perl 0.710.08-2 Client and server side SOAP implem
pn libterm-size-perl <none> (no description available)
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii libwww-perl 5.820-1 WWW client/server library for Perl
ii libyaml-syck-perl 1.05-1 Fast, lightweight YAML loader and
ii links [www-browser 2.2-1 Web browser running in text mode
ii lintian 2.1.3 Debian package checker
ii lsb-release 3.2-20 Linux Standard Base version report
ii lynx-cur [www-brow 2.8.7dev11-2 Text-mode WWW Browser with NLS sup
ii mailx 1:20081101-2 Transitional package for mailx ren
ii man-db 2.5.2-3 on-line manual pager
ii mercurial 1.0.1-5.1 Scalable distributed version contr
ii openssh-client [ss 1:5.1p1-4 secure shell client, an rlogin/rsh
ii patch 2.5.9-5 Apply a diff file to an original
ii patchutils 0.2.31-4 Utilities to work with patches
ii strace 4.5.17+cvs080723-2 A system call tracer
ii subversion 1.5.1dfsg1-2 Advanced version control system
ii svk 2.0.2-3 A Distributed Version Control Syst
ii unzip 5.52-12 De-archiver for .zip files
ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent
ii wdiff 0.5-18 Compares two files word by word
ii wget 1.11.4-2 retrieves files from the web
Versions of packages devscripts suggests:
ii build-essential 11.4 Informational list of build-essent
pn cvs-buildpackage <none> (no description available)
pn devscripts-el <none> (no description available)
ii gnuplot 4.2.4-4 A command-line driven interactive
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.18-4 text-based mailreader supporting M
pn svn-buildpackage <none> (no description available)
-- no debconf information
--- /usr/bin/licensecheck 2008-12-08 07:34:30.000000000 +0100
+++ /tmp/licensecheck 2009-01-01 17:15:35.626833080 +0100
@@ -478,6 +478,10 @@
$license = "Public domain";
}
+ if ($licensetext =~ /terms of the Common Development and Distribution
License(, Version ([^(]+))? \(the License\)/) {
+ $license = "CDDL " . ($1 ? "(v$2) " : '') . $license;
+ }
+
$license = "UNKNOWN" if (!length($license));
return $license;