tag 228125 patch
thanks

[EMAIL PROTECTED]/dpkg--devel--1.13--patch-16 (similar to my
dpkg-checkbuilddeps patch):
--- orig/ChangeLog
+++ mod/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-27  Frank Lichtenheld  <[EMAIL PROTECTED]>
+
+       * scripts/dpkg-gencontrol: Bail out with an error if parsedep
+       found an error while parsing a dependency field.
+
 2005-08-17  Scott James Remnant  <[EMAIL PROTECTED]>

        * configure.ac: Bump version to 1.13.12~.


--- orig/debian/changelog
+++ mod/debian/changelog
@@ -1,6 +1,8 @@
 dpkg (1.13.12~) unstable; urgency=low

-  *
+  * Fixes to dpkg-dev (Frank Lichtenheld):
+    - Let dpkg-gencontrol bail out with an error if parsedep
+      found an error while parsing a dependency field. Closes: #228125

  --



--- orig/scripts/dpkg-gencontrol.pl
+++ mod/scripts/dpkg-gencontrol.pl
@@ -182,7 +182,9 @@
     } elsif (s/^C$myindex //) {
         if (m/^(Package|Description|Essential|Optional)$/) {
         } elsif (exists($pkg_dep_fields{$_})) {
-            $f{$_}= showdep(parsedep(substvars($v)), 0);
+           my $dep = parsedep(substvars($v));
+           &error("error occoured while parsing $_") unless defined
$dep;
+            $f{$_}= showdep($dep, 0);
         } elsif (m/^Section$|^Priority$/) {
         } elsif (m/^Architecture$/) {
         } elsif (s/^X[CS]*B[CS]*-//i) {


Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to