Control: severity -1 serious
Control: found -1 6.0-4
Control: tags -1 wheezy

[ Vasudev, sorry for the dupe, but the initial mail didn't go through
  as the bug was archived. ]

On Sun, 2013-09-15 at 17:34:40 +0530, Vasudev Kamath wrote:
> On Sun, Sep 15, 2013 at 2:31 PM, Mats Erik Andersson wrote:
> >> and while building
> >>
> >> I: using cowbuilder as pbuilder
> >> dpkg-buildpackage: source package dwm
> >> dpkg-buildpackage: source version 6.0-5
> >> dpkg-buildpackage: source distribution unstable
> >> dpkg-buildpackage: source changed by Vasudev Kamath 
> >> <[email protected]>
> >>  dpkg-source --before-build dwm
> >> dpkg-source: info: using options from dwm/debian/source/local-options:
> >> --unapply-patches --abort-on-upstream-changes
> >> dpkg-source: info: using options from dwm/debian/source/options:
> >> --compression=gzip --compression-level=9
> >> dpkg-source: warning: diff
> >> `dwm/debian/patches/03-transparent-makefile.patch' doesn't contain any
> >> patch
> >> dpkg-source: warning: diff
> >> `dwm/debian/patches/03-transparent-makefile.patch' doesn't contain any
> >> patch
> >
> > Here goes: doesn't contain any patch
> >
> > The patch text was rejected. Case proved!
> 
> Heh so much for writing reply in hurry and not cross checking the
> output again. Sorry for my ignorance and thanks for bringing it up.

Actually dpkg-source was just complaining, but used to be able to apply
broken patches with the patch program, but not any longer with the
latest dpkg-dev version in stable which got more strict to disallow
path traversals. It would be nice if this could be fixed in stable,
otherwise the source cannot be unpacked normally. Here's a simple
patch against the stable version.

This was found by David Suárez in an archive-wide check:

  <https://lists.debian.org/debian-dpkg/2014/07/msg00002.html>

Thanks,
Guillem
diff -Nru dwm-6.0/debian/changelog dwm-6.0/debian/changelog
--- dwm-6.0/debian/changelog	2012-06-16 16:24:35.000000000 +0200
+++ dwm-6.0/debian/changelog	2014-07-05 23:12:07.000000000 +0200
@@ -1,3 +1,10 @@
+dwm (6.0-4.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix broken patch headers.
+
+ -- Guillem Jover <[email protected]>  Sat, 05 Jul 2014 23:11:57 +0200
+
 dwm (6.0-4) unstable; urgency=low
 
   * debian/rules:
diff -Nru dwm-6.0/debian/patches/03-transparent-makefile.patch dwm-6.0/debian/patches/03-transparent-makefile.patch
--- dwm-6.0/debian/patches/03-transparent-makefile.patch	2012-06-16 16:24:35.000000000 +0200
+++ dwm-6.0/debian/patches/03-transparent-makefile.patch	2014-07-05 23:08:07.000000000 +0200
@@ -3,7 +3,8 @@
  visible to every one when DH_VERBOSE=1
 Author: Vasudev Kamath <[email protected]>
 Last-Update: 2012-02-19
-Forwarded: not-needed--- a/Makefile
+Forwarded: not-needed
+--- a/Makefile
 +++ b/Makefile
 @@ -16,45 +16,45 @@
  

Reply via email to