pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and wireshark on Solaris)



The following reply was made to PR pkg/47943; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
 wireshark on Solaris)
Date: Thu, 4 Jul 2013 04:14:37 +0000

 These two mails didn't make it to gnats. (If replying to yourself,
 please double-check the send address and set it to gnats-bugs; at
 least mutt and probably other mailers do the wrong thing by default.)
 
    ------
 
 From: Jonathan Perkin <jperkin%pkgsrc.org@localhost>
 To: solaris-pkg-people%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost, 
joern.clausen%uni-bielefeld.de@localhost
 Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
        wireshark on Solaris)
 Date: Fri, 21 Jun 2013 13:33:25 +0100
 
 Ok, in addition to removing the dlpisubs.c removal from configure, can you
 also add:
 
   CONFIGURE_ENV+=      ac_cv_func_getifaddrs=no
 
 to Makefile and try that?  This is enough to get it working again on
 SmartOS.
 
 The problem is that dlpisubs.c is only activated if getifaddrs() is
 missing, which is not the case on newer Solaris.  This is a bit of a hack,
 but a proper fix for the configure script would be a lot more work.
 
 Thanks,
 
 -- 
 Jonathan Perkin       www.perkin.org.uk
 github.com/jperkin  twitter.com/jperkin
 
 From: J?rn Clausen <joern.clausen%uni-bielefeld.de@localhost>
 To: Jonathan Perkin <jperkin%pkgsrc.org@localhost>
 Cc: solaris-pkg-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        pkgsrc-bugs%NetBSD.org@localhost
 Subject: Re: pkg/47943 (recent update to libpcap breaks tcpdump, nmap and
        wireshark on Solaris)
 Date: Fri, 21 Jun 2013 15:27:11 +0200
 
 On 21.06.13 14:33, Jonathan Perkin wrote:
 > Ok, in addition to removing the dlpisubs.c removal from configure, can you
 > also add:
 > 
 >    CONFIGURE_ENV+=   ac_cv_func_getifaddrs=no
 > 
 > to Makefile and try that?  This is enough to get it working again on
 > SmartOS.
 > 
 > The problem is that dlpisubs.c is only activated if getifaddrs() is
 > missing, which is not the case on newer Solaris.  This is a bit of a hack,
 > but a proper fix for the configure script would be a lot more work.
 
 libpcap.so still includes the necessary functions:
 
 $ nm ./work.pkgsrc-i86/libpcap-1.4.0/.libs/libpcap.so | grep
 pcap_conf_bufmod
 [309]   |    105276|     401|FUNC |GLOB |0    |12     |pcap_conf_bufmod
 
 and net/tcpdump does compile. Looks good to me.
 
 -- 
  J?rn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
  Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
  Universit?t Bielefeld
 


Home | Main Index | Thread Index | Old Index