----- Original message -----
> Hi,
> 
> i booted the Debian installation of the project test machine
>     Linux debian 2.6.26-2-amd64 #1 SMP Tue Jan 12 22:12:20 UTC 2010 x86_64
> (Yeah, luxury. A dedicated modern test machine. Donated.)
> 
> Now i would need instructions for dummies how to create a debuggable
> bsdtar resp. one that gives me opportunity to inject a few fprintf. 
> Internet is reachable from the system. (Not that i could remember
> how i did it a year ago.)

you might want to start with apt-get update....

Then try:
mkdir /tmp/foobar && cd /tmp/foobar
apt-get source libarchive
cd libarchive-2*
DEB_BUILDGOPTIONS="noopt nostrip debug" dpkg-buildpackage -uc -us

this should spit out .deb packages in /tmp/foobar containing non-optimized 
debuggage binaries.

You install them with "dpkg -i /tmp/foobar/*.deb"

if you want to inject printfs, just edit the source and rerun from the 
dpkg-buildpackage step.....

> 
> 
> Have a nice day :)
> 
> Thomas
> 
> 
> 

Reply via email to