Ticket #174 (reopened task)

Opened 3 months ago

Last modified 1 month ago

Need Package In Trunk: Text::DHCPLeases

Reported by: kindlund Assigned to: xkovah
Priority: normal Milestone: 1.2
Component: Installation Version: none
Severity: none Keywords: package, dhcp, leases, #173, cpan, parser
Cc:

Description

Hi Xeno,

I'm about to fix ticket #173, but I need you to add the following package to the trunk cpan directory and to the Manager package:

Text::DHCPLeases

Latest version is:

http://search.cpan.org/~cvicente/Text-DHCPLeases-v0.5/

Unfortunately, the DHCP lease parser appears to only support DHCP leases from ISC DHCP v3 and higher. This is a little bit of a problem, since the VMware Server package appears to only provide ISC DHCP v2+. After doing some comparisons, it looks like the parser only fails when parsing the uid segment. As such, I've provided the following patch file that fixes source code and unit tests.

When you extract the Text::DHCPLeases library to update, just apply the patch using this command in the base directory:

patch -p0 < dhcpleases_object.patch

I'll update the Notes section of the UserGuide shortly.

Thanks,

— Darien

Attachments

dhcpleases_object.patch (453 bytes) - added by kindlund on 07/01/08 16:48:03.
Patch for Text::DHCPLeases package.

Change History

07/01/08 16:48:03 changed by kindlund

  • attachment dhcpleases_object.patch added.

Patch for Text::DHCPLeases package.

07/08/08 09:53:30 changed by xkovah

  • status changed from new to closed.
  • resolution set to fixed.

I applied the patch to .6 which is the newest.

08/28/08 16:20:36 changed by kindlund

  • status changed from closed to reopened.
  • resolution deleted.

Hi Xeno,

After installing the Bundle::HoneyClient::Manager to a fresh system, I found that the following archive remained un-patched:

cpan/sources/authors/id/C/CV/CVICENTE/Text-DHCPLeases-v0.6.tar.gz

Inside this archive, I'm thinking the following file still needs to be patched:

Text-DHCPLeases-v0.6/lib/Text/DHCPLeases/Object.pm

If this patch gets applied after the archive gets automatically extracted by CPAN, please let me know, as that didn't appear to happen when I tried to install it via the bundle.

— Darien


Add/Change #174 (Need Package In Trunk: Text::DHCPLeases)




Change Properties
Action