Hi,

Attached is an update to p5-Net-Pcap, but It has a little problem :


Looking at Makefile.PL : DynaLoader::dl_findfile(qw(-lpcap));' return
static pcap.a.

[04:20:36] d...@dbd-lappy:~ $ perl -e 'use DynaLoader print
DynaLoader::dl_findfile(qw(-lpcap));'
/usr/lib/libpcap.a

If I create a symbolic link ln -s libpcap.so.6.0 libpcap.so, all goes fine.

[04:21:48] d...@dbd-lappy:~ $ perl -e 'use DynaLoader print
DynaLoader::dl_findfile(qw(-L/usr/lib/ -lpcap));'
/usr/lib//libpcap.so

How handle this ?


It also needs a sync of our pcap lib, anybody working on this ? :

stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available" stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available" stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available" stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available" stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not available" stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available" stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not available" stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not available" stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available" stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not available" stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is not available" stubs.inc:499:2: warning: #warning "the function pcap_event() is not available" stubs.inc:514:2: warning: #warning "the function pcap_setsampling() is not available"


Index: Makefile
===================================================================
RCS file: /cvs/openbsd/ports/net/p5-Net-Pcap/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    2 Oct 2008 20:38:37 -0000       1.13
+++ Makefile    19 Jul 2009 00:29:52 -0000
@@ -5,8 +5,8 @@ SHARED_ONLY=    Yes
 COMMENT=       module for pcap access
 
 MODULES=       cpan
-DISTNAME=      Net-Pcap-0.04
-PKGNAME=       p5-${DISTNAME}p0
+DISTNAME=      Net-Pcap-0.16
+PKGNAME=       p5-${DISTNAME}
 CATEGORIES=    net
 
 MAINTAINER=    Brian Caswell <[email protected]>
Index: distinfo
===================================================================
RCS file: /cvs/openbsd/ports/net/p5-Net-Pcap/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    5 Apr 2007 16:20:13 -0000       1.3
+++ distinfo    19 Jul 2009 00:29:52 -0000
@@ -1,5 +1,5 @@
-MD5 (Net-Pcap-0.04.tar.gz) = NFaTSwlZgSL+pqVTzfQqkQ==
-RMD160 (Net-Pcap-0.04.tar.gz) = NhqmNPToxjlQKbwGWtMAv3ja1FU=
-SHA1 (Net-Pcap-0.04.tar.gz) = D/CGmv4HRFqiJ1VdxBvKMsfcvsk=
-SHA256 (Net-Pcap-0.04.tar.gz) = PZDq7z1lBc2ndO48OP12RGW19kEctjDihZ9yGTr49ZA=
-SIZE (Net-Pcap-0.04.tar.gz) = 9980
+MD5 (Net-Pcap-0.16.tar.gz) = sVDY4KQBN/rSp995LYDKtA==
+RMD160 (Net-Pcap-0.16.tar.gz) = EstEEBjDckT1i2ZHq2BHxNdENEk=
+SHA1 (Net-Pcap-0.16.tar.gz) = GQk3YMzigwwWwaCBp9wyTP4EPJs=
+SHA256 (Net-Pcap-0.16.tar.gz) = kxHQ1AQ+ofi4Vd0fLcMxJDYGT0KRx0En63w/ebFGd6o=
+SIZE (Net-Pcap-0.16.tar.gz) = 82023

Reply via email to