<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>----- Original message -----
<br>> Hi,
<br>>
<br>> i booted the Debian installation of the project test machine
<br>>  Linux debian 2.6.26-2-amd64 #1 SMP Tue Jan 12 22:12:20 UTC 2010 x86_64
<br>> (Yeah, luxury. A dedicated modern test machine. Donated.)
<br>>
<br>> Now i would need instructions for dummies how to create a debuggable
<br>> bsdtar resp. one that gives me opportunity to inject a few fprintf.
<br>> Internet is reachable from the system. (Not that i could remember
<br>> how i did it a year ago.)
<br>
<br>you might want to start with apt-get update....
<br>
<br>Then try:
<br>mkdir /tmp/foobar && cd /tmp/foobar
<br>apt-get source libarchive
<br>cd libarchive-2*
<br>DEB_BUILDGOPTIONS="noopt nostrip debug" dpkg-buildpackage -uc -us
<br>
<br>this should spit out .deb packages in /tmp/foobar containing non-optimized debuggage binaries.
<br>
<br>You install them with "dpkg -i /tmp/foobar/*.deb"
<br>
<br>if you want to inject printfs, just edit the source and rerun from the dpkg-buildpackage step.....
<br>
<br>>
<br>>
<br>> Have a nice day :)
<br>>
<br>> Thomas
<br>>
<br>>
<br>>
<br><br></p>
</body>
</html>