mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
dc3b2a0727
Major changes in 0.19 * Restore compilation with libpcap 1.9+ * Too strict test for error message from libpcap Major changes in 0.20 * Spelling fixes Major changes in 0.21 * Configure: Avoid implicit ints during feature probing * use "our" for global variable declaration * Don't inherit from Exporter anymore This might break modules that rely on Net::Pcap isa Exporter, but that was never documented. Create a patch on stubs.inc to enable fake struct pcap_rmtauth declaration with libpcap > 1.9.0 required by the port. For the record, we don't have remote capture support for libpcap on FreeBSD. Also fix existing patches format to make linter happy Full changelog: https://metacpan.org/dist/Net-Pcap/changes
25 lines
560 B
Makefile
25 lines
560 B
Makefile
PORTNAME= Net-Pcap
|
|
PORTVERSION= 0.21
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Interface to pcap(3) LBL packet capture library
|
|
WWW= https://metacpan.org/release/Net-Pcap
|
|
|
|
LICENSE= ART10 GPLv1+
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-IO-Interface>=0:net/p5-IO-Interface
|
|
TEST_DEPENDS= p5-Test-Exception>=0:devel/p5-Test-Exception
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Net/Pcap/Pcap.so
|
|
|
|
.include <bsd.port.mk>
|