Pkgsrc changes: o Add a patch to handle all BSD systems the same in test 03 o Added a commented-out build dependency, Test::Distribution does not appear to work for this package (and is optional anyway) Upstream changes: 2008.01.01 - 0.16 - Sebastien Aperghis-Tramoni (SAPER) - [BUGFIX] A typo prevented the new function names from working. - [TESTS] Added new tests: 21-next_ex.t, 22-open.t, 23-srcstr.t, 50-poe-component-pcap.t - [TESTS] Added support for user prefered device. See README. - [TESTS] Improved small bits of the tests here and there. 2007.12.02 - 0.15 - Sebastien Aperghis-Tramoni (SAPER) - [BUGFIX] CPAN-RT#30745: Fix WinPcap support. - [BUGFIX] CPAN-RT#25076: Fix next_ex(). - [API] Now providing "pcap_"-prefixed aliases for all functions. Documentation was changed to use these names instead of the old ones. - [CMD] pcapinfo(1) no longer need IO::Interface. - [TESTS] CPAN-RT#30903: Fix t/03-openlive.t failure on Linux. - [DOC] CPAN-RT#27369: Several documentation fixes. - [DOC] CPAN-RT#31111: Document that pcap_stats() does not work on savefiles.
13 lines
680 B
Text
13 lines
680 B
Text
$NetBSD: patch-aa,v 1.1 2008/08/24 20:07:42 he Exp $
|
|
|
|
--- t/03-openlive.t.orig 2007-12-22 20:46:39.000000000 +0100
|
|
+++ t/03-openlive.t
|
|
@@ -64,7 +64,7 @@ eval { $pcap = Net::Pcap::open_live($fak
|
|
is( $@, '', "open_live()" );
|
|
if($^O eq 'MSWin32' or $^O eq 'cygwin') {
|
|
like( $err, '/^Error opening adapter:/', " - \$err must be set: $err" );
|
|
-} elsif($^O eq 'darwin' or $^O eq 'freebsd' or $^O eq 'openbsd') {
|
|
+} elsif($^O eq 'darwin' or $^O =~ '.*bsd') {
|
|
like( $err, "/^(?:BIOCSETIF: )?$fakedev: Device not configured/", " - \$err must be set: $err" );
|
|
} else {
|
|
like( $err, '/^(?:bind|ioctl|SIOCGIFHWADDR): (?:No such device)/', " - \$err must be set: $err" );
|