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

lintian: r1297 - in trunk: checks debian



Author: rra
Date: 2008-05-04 21:20:49 +0200 (Sun, 04 May 2008)
New Revision: 1297

Modified:
   trunk/checks/shared-libs
   trunk/debian/changelog
Log:
* checks/shared-libs:
  + [RA] Fix an unescaped | in the regular expression parsing postinst
    files for ldconfig invocation.  The regex had always been broken,
    but in Perl 5.10 it causes a recursion error in the regex engine.

Modified: trunk/checks/shared-libs
===================================================================
--- trunk/checks/shared-libs	2008-05-04 19:14:09 UTC (rev 1296)
+++ trunk/checks/shared-libs	2008-05-04 19:20:49 UTC (rev 1297)
@@ -475,9 +475,8 @@
     s/^if\[.?remove.?="\$1"\];?\n*then\n*BldconfigB//gm;
     s/^\["\$1"=.?remove.?\]\&&BldconfigB//gm;
     s/^\[.?remove.?="\$1"\]&&BldconfigB//gm;
+    s/remove(?:\|[^)]+)*\).*?BldconfigB.*?(;;|esac)//s;
 
-	s!remove(?:|[^)]+)*\).*?BldconfigB.*?(;;|esac)!!s;
-
     if (/^[^\#]*BldconfigB/m) {
         tag "postrm-unsafe-ldconfig", "";
     }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-05-04 19:14:09 UTC (rev 1296)
+++ trunk/debian/changelog	2008-05-04 19:20:49 UTC (rev 1297)
@@ -8,6 +8,10 @@
   * checks/menus:
     + [RA] Stop using a deprecated Perl construct that Perl 5.10 no longer
       supports.  Patch from Adam D. Barratt.  (Closes: #479318)
+  * checks/shared-libs:
+    + [RA] Fix an unescaped | in the regular expression parsing postinst
+      files for ldconfig invocation.  The regex had always been broken,
+      but in Perl 5.10 it causes a recursion error in the regex engine.
   * checks/version-substvars:
     + [FL] Also apply the "not-binnmuable-*" checks to Pre-Depends.
       (Closes: #472247)


Reply to: