Package: dpkg-repack
Version: 1.22
Followup-For: Bug #287319
Since I've also stumbled into the bug, and meanwhile I've reported the
"bug" in 'cp' (that is 'cp -a' not being the same as 'cp -dpPR'), what
about the following patch:
---------------------------------------------------
$ diff -u dpkg-repack.orig dpkg-repack
--- dpkg-repack.orig 2006-05-15 22:50:34.000000000 +0200
+++ dpkg-repack 2006-05-15 22:53:43.000000000 +0200
@@ -227,6 +227,10 @@
SafeMkdir "$build_dir/$origfn",$st->mode;
chown($st->uid, $st->gid, "$build_dir/$origfn");
}
+ else if (-p $fn) { # named pipes can't be copied with 'cp -pd'
at least
+ # with coreutils < 5.95
+ SafeSystem "cp","-a",$fn,"$build_dir/$origfn","";
+ }
else {
SafeSystem "cp","-pd",$fn,"$build_dir/$origfn","";
}
---------------------------------------------------
*t
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.22
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dpkg-repack depends on:
ii dpkg-dev 1.13.18 package building tools for Debian
ii perl 5.8.8-4 Larry Wall's Practical Extraction
dpkg-repack recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]