From 63a2b079ddfb5dea3a7994a5f463703df099d6af Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sat, 22 Mar 2014 15:55:23 -0600 Subject: [PATCH] patch for tarman handling of multi-line descriptions --- debian/changelog | 4 +++- debian/tarman | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1ab1b56f..f3816b35 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ tar (1.27.1-2) unstable; urgency=low * patch from David Gilman adds watch file with signature verification, closes: #742351 + * patch from David Gilman fixes problem with multi-line descriptions, + closes: #593149 - -- Bdale Garbee Sat, 22 Mar 2014 13:31:09 -0600 + -- Bdale Garbee Sat, 22 Mar 2014 15:55:03 -0600 tar (1.27.1-1) unstable; urgency=low diff --git a/debian/tarman b/debian/tarman index 3ef257dc..70169311 100644 --- a/debian/tarman +++ b/debian/tarman @@ -94,6 +94,15 @@ while (<>) { $$lastoperation{'description'} .= $c3[1]; } } + if (!$nflag && !/\}/) { + while (<>) { + my @extended_desc = split('"', $_); + $$lastoperation{'description'} .= $extended_desc[1]; + if (/\}/) { + last; + } + } + } } } if ($mode == 3 ) { -- 2.30.2