Bug#788839: Please detect embedded-javascript-library libjs-raphael
Package: lintian
Version: 2.5.30+deb8u4
Severity: wishlist
Tags: patch
Hello
It would be nice if lintian could warn the maintainers about embeded copies
of raphael.js provided by libjs-raphael.
Attached is a patch looking for raphael.js, raphael.min.js and raphael-min.js.
>From a quick "apt-file search raphael" I don't think there will be false
positives.
-- System Information:
Debian Release: 8.1
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages lintian depends on:
ii binutils 2.25-5
ii bzip2 1.0.6-7+b3
ii diffstat 1.58-1
ii file 1:5.22+15-2
ii gettext 0.19.3-2
ii hardening-includes 2.6
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.29+b2
ii libarchive-zip-perl 1.39-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.37-1+b1
ii libdpkg-perl 1.17.25
ii libemail-valid-perl 1.195-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-2+b1
ii libparse-debianchangelog-perl 1.2.0-1.1
ii libtext-levenshtein-perl 0.11-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.64-1
ii man-db 2.7.0.2-5
ii patchutils 0.3.3-1
ii perl [libdigest-sha-perl] 5.20.2-3+deb8u1
ii t1utils 1.38-4
Versions of packages lintian recommends:
ii libautodie-perl 2.25-1
ii libperlio-gzip-perl 0.18-3+b1
ii perl 5.20.2-3+deb8u1
ii perl-modules [libautodie-perl] 5.20.2-3+deb8u1
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.17.25
ii libhtml-parser-perl 3.71-1+b3
ii libtext-template-perl 1.46-1
ii libyaml-perl 1.13-1
ii xz-utils 5.1.1alpha+20120614-2+b3
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/lintian/data/files/js-libraries (from lintian package)
diff --git a/data/files/js-libraries b/data/files/js-libraries
index 62a5685..62d9028 100644
--- a/data/files/js-libraries
+++ b/data/files/js-libraries
@@ -37,6 +37,7 @@ libjs-jquery-treetable ~~ (?i)/jquery\.treetable$EXT
libjs-mochikit ~~ (?i)/mochikit$EXT
libjs-mootools ~~ (?i)/mootools(?:(?:\.v|-)[\d\.]+)?(?:-(?:(?:core(?:-server)?)|more)(?:-(?:yc|jm|nc))?)?$EXT
libjs-prototype ~~ (?i)/prototype(?:-[\d\.]+)?$EXT
+libjs-raphael ~~ (?i)/raphael(?:[\.-]min)?$EXT
libjs-scriptaculous ~~ (?i)/scriptaculous$EXT
libjs-strophe ~~ (?i)/strophe$EXT
libjs-underscore ~~ (?i)/underscore$EXT
Reply to: