Package: devscripts
Version: 2.10.48
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: licensecheck
Here's a patch that removes assembler comments beginning with "@" or
";", which characters will not get stripped later on.
This only touches comments on a line by themselves, to avoid munging
email addresses and the like.
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBCHANGE_RELEASE_HEURISTIC=changelog
USCAN_SYMLINK=rename
DEBCOMMIT_STRIP_MESSAGE=yes
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.14.26 Debian package development tools
ii libc6 2.9-9 GNU C Library: Shared libraries
ii perl 5.10.0-19 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 curl 7.19.4-1 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.13.1 Command-line tools to process Debi
ii debian-keyring 2009.04.04 GnuPG (and obsolete PGP) keys of D
ii debian-maintainers 1.56 GPG keys of Debian maintainers
pn dput | dupload <none> (no description available)
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.12.2 Gives a fake root environment
ii git-core 1:1.6.2.4-1 fast, scalable, distributed revisi
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii iceape-browser [ww 1.1.14-1 Iceape Navigator (Internet browser
pn libauthen-sasl-per <none> (no description available)
ii libcrypt-ssleay-pe 0.57-1+b1 Support for https protocol in LWP
pn libparse-debcontro <none> (no description available)
pn libsoap-lite-perl <none> (no description available)
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.826-1 WWW client/server library for Perl
pn libyaml-syck-perl <none> (no description available)
ii lintian 2.2.10 Debian package checker
ii lsb-release 3.2-22 Linux Standard Base version report
ii lynx-cur [www-brow 2.8.7pre2-1 Text-mode WWW Browser with NLS sup
ii man-db 2.5.5-1 on-line manual pager
ii mercurial 1.2-1 scalable distributed version contr
ii openssh-client [ss 1:5.1p1-5 secure shell client, an rlogin/rsh
ii patch 2.5.9-5 Apply a diff file to an original
ii patchutils 0.3.1-1 Utilities to work with patches
ii strace 4.5.18-1 A system call tracer
ii unzip 5.52-12 De-archiver for .zip files
pn wdiff <none> (no description available)
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)
pn gnuplot <none> (no description available)
ii libfile-desktopentry-perl 0.04-2 Perl module to handle freedesktop
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.18-6 text-based mailreader supporting M
pn svn-buildpackage <none> (no description available)
-- no debconf information
--- /usr/bin/licensecheck 2009-04-12 11:35:48.000000000 -0400
+++ licensecheck 2009-05-02 15:42:21.000000000 -0400
@@ -287,6 +287,8 @@
print qq(----- $file header -----\n$content----- end header -----\n\n)
if $opt_verbose;
+ # Remove assembler comments on a line by themselves
+ $content =~ s/^\s*[@;]//mg;
$content =~ tr/\t\r\n/ /;
# Remove C / C++ comments
$content =~ s#(\*/|/[/*])##g;