update p5-Net-DHCP to 0.900

This commit is contained in:
bluhm
2026-05-27 21:01:46 +00:00
parent 6b0482b222
commit ae06501899
11 changed files with 60 additions and 66 deletions
+5 -3
View File
@@ -1,7 +1,8 @@
COMMENT = object methods to create a DHCP packet
DISTNAME = Net-DHCP-0.7
PKGNAME = p5-Net-DHCP-0.700
DISTNAME = Net-DHCP-0.9
PKGNAME = p5-Net-DHCP-0.900
CPAN_AUTHOR = DJZORT
CATEGORIES = net
@@ -14,6 +15,7 @@ PERMIT_PACKAGE = Yes
MODULES = cpan
BUILD_DEPENDS = devel/p5-Module-Build>=0.28
RUN_DEPENDS = devel/p5-Ref-Util
TEST_DEPENDS = devel/p5-Test-Requires \
devel/p5-Test-Warn \
net/p5-Net-Frame-Dump \
@@ -23,6 +25,6 @@ CONFIGURE_STYLE = modbuild
PKG_ARCH = *
MODCPAN_EXAMPLES = Yes
MODCPAN_EXAMPLES = Yes
.include <bsd.port.mk>
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (Net-DHCP-0.7.tar.gz) = UyI0eteIQT1459QhGkFL/vP782hvMY2R5aI4gXZaxHQ=
SIZE (Net-DHCP-0.7.tar.gz) = 52938
SHA256 (Net-DHCP-0.9.tar.gz) = dlfk21sGEcE8GjoIdiLpP/s2XOMeexw0MqG1dXnh0xY=
SIZE (Net-DHCP-0.9.tar.gz) = 88472
@@ -3,18 +3,12 @@ Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/102-discover-offer-request-ack.t
--- t/102-discover-offer-request-ack.t.orig
+++ t/102-discover-offer-request-ack.t
@@ -6,11 +6,11 @@ use FindBin;
use strict;
@@ -5,6 +5,8 @@ use Test::More tests => 6;
use Test::Warn qw( warning_like );
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+use Net::Frame::Dump::Offline;
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants', ':htype_codes', ':dhcp_message',':dhcp_hashes' ); }
-
-use Net::Frame::Simple;
-use Net::Frame::Dump::Offline;
my @data;
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes', ':htype_codes', ':dhcp_message',':dhcp_hashes' ); }
+4 -10
View File
@@ -3,18 +3,12 @@ Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/103-real-nak.t
--- t/103-real-nak.t.orig
+++ t/103-real-nak.t
@@ -6,11 +6,11 @@ use FindBin;
use strict;
@@ -5,6 +5,8 @@ use Test::More tests => 21;
use Test::Warn qw( warning_like );
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+use Net::Frame::Dump::Offline;
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants'); }
-
-use Net::Frame::Simple;
-use Net::Frame::Dump::Offline;
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
my %values = (
htype => 0,
@@ -3,18 +3,12 @@ Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/104-offer-o90-o120.t
--- t/104-offer-o90-o120.t.orig
+++ t/104-offer-o90-o120.t
@@ -6,11 +6,11 @@ use FindBin;
use strict;
@@ -4,6 +4,8 @@ use warnings;
use Test::More tests => 3;
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+use Net::Frame::Dump::Offline;
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants'); }
-
-use Net::Frame::Simple;
-use Net::Frame::Dump::Offline;
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
my %values = (
htype => 1,
@@ -3,18 +3,12 @@ Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/105-discover-offer-o122-o82.t
--- t/105-discover-offer-o122-o82.t.orig
+++ t/105-discover-offer-o122-o82.t
@@ -6,11 +6,11 @@ use FindBin;
use strict;
@@ -4,6 +4,8 @@ use warnings;
use Test::More tests => 4;
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+use Net::Frame::Dump::Offline;
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants'); }
-
-use Net::Frame::Simple;
-use Net::Frame::Dump::Offline;
my @data;
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
@@ -3,18 +3,12 @@ Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/106-discover-offer-o60-o43-o82.t
--- t/106-discover-offer-o60-o43-o82.t.orig
+++ t/106-discover-offer-o60-o43-o82.t
@@ -6,11 +6,11 @@ use FindBin;
use strict;
@@ -4,6 +4,8 @@ use warnings;
use Test::More tests => 4;
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+use Net::Frame::Dump::Offline;
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants'); }
-
-use Net::Frame::Simple;
-use Net::Frame::Dump::Offline;
my @data;
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
@@ -3,18 +3,12 @@ Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/107-query-active-qry-unass-qry-unk.t
--- t/107-query-active-qry-unass-qry-unk.t.orig
+++ t/107-query-active-qry-unass-qry-unk.t
@@ -6,11 +6,11 @@ use FindBin;
use strict;
@@ -5,6 +5,8 @@ use Test::More tests => 8;
use Test::Warn qw( warning_like );
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+use Net::Frame::Dump::Offline;
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants'); }
-
-use Net::Frame::Simple;
-use Net::Frame::Dump::Offline;
my @data;
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
@@ -0,0 +1,14 @@
Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/108-discover-offer-o12-o55-o61.t
--- t/108-discover-offer-o12-o55-o61.t.orig
+++ t/108-discover-offer-o12-o55-o61.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More tests => 6;
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
@@ -0,0 +1,14 @@
Net::Frame::Simple has a long dependency chain, avoid porting, skip tests
Index: t/109-dhcpfo-inform-release-o77.t
--- t/109-dhcpfo-inform-release-o77.t.orig
+++ t/109-dhcpfo-inform-release-o77.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More tests => 6;
use FindBin ();
+use Test::Requires qw(Net::Frame::Simple);
+
BEGIN { use_ok('Net::DHCP::Packet'); }
BEGIN { use_ok('Net::DHCP::Constants', ':bootp_codes'); }
+1 -1
View File
@@ -18,7 +18,7 @@ share/examples/p5-Net-DHCP/dhcp_sniffer.pl
share/examples/p5-Net-DHCP/dhcpd.pl
share/examples/p5-Net-DHCP/dhcpd_test.pl
share/examples/p5-Net-DHCP/dumpianatoxml.pl
share/examples/p5-Net-DHCP/l2tp-dhcp-inform
share/examples/p5-Net-DHCP/l2tp-dhcp-inform.pl
share/examples/p5-Net-DHCP/lease_query.pl
share/examples/p5-Net-DHCP/list_dho.pl
share/examples/p5-Net-DHCP/send_packet.pl