tags 459705 patch thanks On Thu, Jun 26, 2008 at 12:33:58PM +0200, Magnus Holmgren wrote: > While I generally agree that everything Debian ships should be really free, > not merely free to redistribute, in this case I feel that a single file > buried inside another tarball, which no-one has reason to unpack since Nettle > exists as a package of its own, is such a marginal issue that the desire to > ship a pristine tarball should carry more weight.
Hi Magnus, I'm attaching a script that does this for you. It should no longer be a burden to remove that file from a deeply buried tarball. Usage: ./prune_pike pike7.6_7.6.112.orig.tar.gz pike7.6_7.6.112.dfsg.orig.tar.gz Will you try to get this fixed in Lenny? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
#!/bin/bash -ex prune_nettle () { local nettle=`readlink -f $1` local tmp=`mktemp -d` tar -C ${tmp} -xzf ${nettle} rm -f ${tmp}/nettle-1.14/testsuite/rfc1750.txt rm -f ${nettle} (cd ${tmp} && tar -czpf ${nettle} *) rm -rf ${tmp} } in=`readlink -f $1` out=`pwd`/$2 tmp=`mktemp -d` tar -C ${tmp} -xzf ${in} prune_nettle ${tmp}/Pike-v7.6.112/bundles/nettle-1.14.tar.gz (cd ${tmp} && tar -czpf ${out} *) rm -rf ${tmp}