[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 1.24.4-79-g19ea75c



The following commit has been merged in the master branch:
commit 7d3c7ec999b0f097bca50964fbae297722bf39aa
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sat Aug 30 10:59:43 2008 -0500

    Check for embedded copies of tinymce/2 and allow the usage of regexes on pkgs names
    
    Signed-off-by: Raphael Geissert <atomo64@gmail.com>
    Signed-off-by: Frank Lichtenheld <djpig@debian.org>

diff --git a/checks/files b/checks/files
index ce6238c..042ce2b 100644
--- a/checks/files
+++ b/checks/files
@@ -618,12 +618,13 @@ foreach my $file (sort keys %{$info->index}) {
 	    [ qr,(?i)scriptaculous\.js(\.gz)?$, => 'libjs-scriptaculous' ],
 	    [ qr,(?i)fckeditor\.js(\.gz)?$, => 'fckeditor' ],
 	    [ qr,(?i)cropper(\.uncompressed)?\.js(\.gz)?$, => 'libjs-cropper' ],
-	    [ qr,(?i)yahoo-(dom-event|min)\.js(\.gz)?$, => 'libjs-yui' ],
+	    [ qr,(?i)yahoo(-(dom-event|min))?\.js(\.gz)?$, => 'libjs-yui' ],
 	    [ qr,(?i)jsjac(\.packed)?\.js(\.gz)?$, => 'libjs-jac' ],
 	    [ qr,(?i)jsMath(-fallback-\w+)?\.js(\.gz)?$, => 'jsmath' ],
+	    [ qr,(?i)tiny_mce(_(popup|src))?\.js(\.gz)?$, => qr'tinymce2?' ],
 	);
 	foreach my $jslibrary (@jslibraries) {
-	    if ($file =~ m,$jslibrary->[0], and $pkg ne $jslibrary->[1]) {
+	    if ($file =~ m,$jslibrary->[0], and $pkg !~ m,^$jslibrary->[1]$,) {
 		tag "embedded-javascript-library", "$file";
 	    }
 	}
diff --git a/debian/changelog b/debian/changelog
index f6d6aa2..6232c5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ lintian (1.25.0) unstable; urgency=low
   * checks/files{,.desc}:
     + [RA] Check for embedding copies of jsjac and jsMath.  Patch from
       Raphael Geissert.
+    + [FL] Check for embedded copies of tinymce/2 and allow the usage of
+      regexes on pkgs names.  Patch from Raphael Geissert.
     + [RA] Add experimental check for embedded copies of PEAR PHP modules.
       Patch from Raphael Geissert.
     + [ADB] Rework the description for embedded-javascript-library to make

-- 
Debian package checker


Reply to: