r64881 - in /branches/upstream/libnet-dhcp-perl/current: Changes META.yml Makefile.PL README lib/Net/DHCP/Constants.pm lib/Net/DHCP/Packet.pm
ansgar at users.alioth.debian.org
ansgar at users.alioth.debian.org
Sun Nov 14 09:32:32 UTC 2010
Author: ansgar
Date: Sun Nov 14 09:32:06 2010
New Revision: 64881
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64881
Log:
[svn-upgrade] new version libnet-dhcp-perl (0.67)
Modified:
branches/upstream/libnet-dhcp-perl/current/Changes
branches/upstream/libnet-dhcp-perl/current/META.yml
branches/upstream/libnet-dhcp-perl/current/Makefile.PL
branches/upstream/libnet-dhcp-perl/current/README
branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Constants.pm
branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Packet.pm
Modified: branches/upstream/libnet-dhcp-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dhcp-perl/current/Changes?rev=64881&op=diff
==============================================================================
--- branches/upstream/libnet-dhcp-perl/current/Changes (original)
+++ branches/upstream/libnet-dhcp-perl/current/Changes Sun Nov 14 09:32:06 2010
@@ -1,4 +1,10 @@
Revision history for Perl extension Net::DHCP.
+
+*** 0.67 Nov 13 2010
+
+Fixing a small bug in marshall (see cpanrt61693), fixed a bug in
+Constants.pm (see cpanrt32962), clarified version dependance
+closing out cpanrt19405
*** 0.66 Jul 12 2006
Modified: branches/upstream/libnet-dhcp-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dhcp-perl/current/META.yml?rev=64881&op=diff
==============================================================================
--- branches/upstream/libnet-dhcp-perl/current/META.yml (original)
+++ branches/upstream/libnet-dhcp-perl/current/META.yml Sun Nov 14 09:32:06 2010
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Net-DHCP
-version: 0.66
+version: 0.67
version_from: lib/Net/DHCP/Packet.pm
installdirs: site
requires:
Modified: branches/upstream/libnet-dhcp-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dhcp-perl/current/Makefile.PL?rev=64881&op=diff
==============================================================================
--- branches/upstream/libnet-dhcp-perl/current/Makefile.PL (original)
+++ branches/upstream/libnet-dhcp-perl/current/Makefile.PL Sun Nov 14 09:32:06 2010
@@ -9,6 +9,6 @@
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(
# ABSTRACT_FROM => 'lib/Net/DHCP.pm', # retrieve abstract from module
- AUTHOR => 'Stephan Hadinger <shadinger at cpan.org>',
+ AUTHOR => 'Dean Hamstead <djzort at cpan.org>',
) : ()),
);
Modified: branches/upstream/libnet-dhcp-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dhcp-perl/current/README?rev=64881&op=diff
==============================================================================
--- branches/upstream/libnet-dhcp-perl/current/README (original)
+++ branches/upstream/libnet-dhcp-perl/current/README Sun Nov 14 09:32:06 2010
@@ -18,7 +18,7 @@
3. PREREQUISITES
----------------
-Net::DHCP requires Perl 5.6.0 or higher.
+Net::DHCP requires Perl 5.8.0 or higher.
Net::DHCP has been tested with the following:
@@ -27,7 +27,8 @@
Windows XP with cygwin
Windows XP with ActivePerl
- Linux Redhat testing is planned soon
+ RedHat Enterprise Linux 5.5 x86_64
+ Debian Squeeze x86_64 (Perl 5.10.1)
2. INSTALLATION
---------------
@@ -58,6 +59,7 @@
Copyright (C) 2002 by Francis van Dun.
Copyright (C) 2005,2006 by Stephan Hadinger.
+Copyright (C) 2010 by Dean Hamstead.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.5 or,
Modified: branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Constants.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Constants.pm?rev=64881&op=diff
==============================================================================
--- branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Constants.pm (original)
+++ branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Constants.pm Sun Nov 14 09:32:06 2010
@@ -8,7 +8,7 @@
use strict;
our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION);
use Exporter;
-$VERSION = 0.66;
+$VERSION = 0.67;
@ISA = qw(Exporter);
@EXPORT = qw(MAGIC_COOKIE);
@@ -167,7 +167,8 @@
'DHCPINFORM' => 8,
'DHCPFORCERENEW' => 9,
- 'DHCPLEASEQUERY' => 13, # Cisco extension, draft-ietf-dhc-leasequery-08.txt
+ # 'DHCPLEASEQUERY' => 13, # Cisco extension, draft-ietf-dhc-leasequery-08.txt
+ 'DHCPLEASEQUERY' => 10, # This is now ratified in RFC4388. If you have an old crappy CMTS you can comment this line and uncomment the above line.
);
}
@@ -343,7 +344,7 @@
(07) DHCPRELEASE
(08) DHCPINFORM
(09) DHCPFORCERENEW
- (13) DHCPLEASEQUERY # draft-ietf-dhc-leasequery-08.txt
+ (10) DHCPLEASEQUERY
=item * dho_codes
Modified: branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Packet.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Packet.pm?rev=64881&op=diff
==============================================================================
--- branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Packet.pm (original)
+++ branches/upstream/libnet-dhcp-perl/current/lib/Net/DHCP/Packet.pm Sun Nov 14 09:32:06 2010
@@ -1,6 +1,6 @@
# Net::DHCP::Packet.pm
-# Original Author: F. van Dun
-# Author : S. Hadinger
+# Original Author: F. van Dun, S. Hadinger
+# Author : D. Hamstead
package Net::DHCP::Packet;
@@ -9,7 +9,7 @@
use strict;
our (@ISA, @EXPORT, @EXPORT_OK, $VERSION);
use Exporter;
-$VERSION = 0.66;
+$VERSION = 0.67;
@ISA = qw(Exporter);
@EXPORT = qw( packinet packinets unpackinet unpackinets );
@EXPORT_OK = qw( );
@@ -441,6 +441,12 @@
if (length($buf) > DHCP_MAX_MTU()) {
croak("marshall: packet too big (".length($buf)."), max MTU size is ".DHCP_MAX_MTU());
}
+
+ # if we are re-using this object, then we need to clear out these arrays
+ delete $self->{options}
+ if $self->{options};
+ delete $self->{options_order}
+ if $self->{options_order};
(
$self->{op},
@@ -1262,7 +1268,7 @@
=head1 BUGS
-Fully tested on windows platforms (2000/XP). Not yet tested on Unix platform.
+See L<https://rt.cpan.org/Dist/Display.html?Queue=Net-DHCP>
=head1 COPYRIGHT
More information about the Pkg-perl-cvs-commits
mailing list