Hi!

I have prepared a fix for this bug, and for 424237 as well.

The FTBFS bug can be solved by simply removing the include for <net/bpf.h>,
since it's now sufficient to use <pcap.h>.  

The failure to build twice in a row occurs when autotools-dev is not
installed, because the Makefile.in says that config.sub and config.guess
should be deleted.  This could be fixed either by patching Makefile.in or
by depending on autotools-dev.  I chose to patch Makefile.in, since I
consider that there is where the bug is.

Both changes should be sent to upstream.

I'll be uploading directly to sid, according to the 0-day NMU policy.  I'm
attaching the full interdiff output, that consists of the changelog entry
and the two changes mentioned.

Please see this as an effort on helping keep the packages in good state.

-- 
 Love,      {o_
     Marga. (')_
diff -u ssldump-0.9b3/base/pcap-snoop.c ssldump-0.9b3/base/pcap-snoop.c
--- ssldump-0.9b3/base/pcap-snoop.c
+++ ssldump-0.9b3/base/pcap-snoop.c
@@ -49,7 +49,6 @@
 
 #include <pcap.h>
 #include <unistd.h>
-#include <net/bpf.h>
 #ifndef _WIN32
 #include <sys/param.h>
 #endif
diff -u ssldump-0.9b3/Makefile.in ssldump-0.9b3/Makefile.in
--- ssldump-0.9b3/Makefile.in
+++ ssldump-0.9b3/Makefile.in
@@ -70,7 +70,7 @@
 
 CFLAGS += @CFLAGS@ @DEFS@
 
-AUTOCONFS = config.cache config.status config.log config.h config.sub config.guess
+AUTOCONFS = config.cache config.status config.log config.h
 
 
 ssldump: $(OBJECTS)
diff -u ssldump-0.9b3/debian/changelog ssldump-0.9b3/debian/changelog
--- ssldump-0.9b3/debian/changelog
+++ ssldump-0.9b3/debian/changelog
@@ -1,3 +1,13 @@
+ssldump (0.9b3-2.2) unstable; urgency=low
+
+  * Non-maintainer upload to fix Failure To Build From Source.
+  * Removed the inclusion of <net/bpf.h> since including <pcap.h> is now
+    enough, as adviced by Romain Francoise. (Closes: #439459)
+  * Removed config.sub and config.guess from the list of files to be erased
+    when cleaning, allowing a second build. (Closes: #424237)
+
+ -- Margarita Manterola <[EMAIL PROTECTED]>  Tue, 11 Sep 2007 14:18:40 -0300
+
 ssldump (0.9b3-2.1) unstable; urgency=high
 
   * Non-maintainer upload.

Reply via email to