Summary: | [MAINTAINER] [PATCH] net-mgmt/nagios-check_dhcp.pl: patch to make it work with net/p5-IO-Interface 1.09 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Lawrence Chen <beastie> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-perl (Nobody) <perl> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | mat, pi | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(perl) |
||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Bug Depends on: | 197404 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Auto-assigned to maintainer perl@FreeBSD.org Created attachment 151379 [details]
poudriere testport results on 9.3/amd64
Well, this is annoying....not sure if the patch has any validity now. Since I discovered that I had forgotten to update p5-IO-Interface in my test environment (still working out the issues from upgrading to 9.3...have other production servers still on 9.1 or 9.2 to work on.) Found it didn't work on my production servers, and now after upgrading my test jail...it is still broken with or without this patch. Makes for an issue in net/p5-IO-Interface ? Ok, the problem does lie in p5-IO-Interface 1.09. This is upstreams first conversion to use Module::Build. Previously, in Makefile.PL there was configure code to check for what options to define in compiling Interface.xs... None of that exists in the current Build.pl method. So, without -DUSE_GETIFADDRS and -DHAVE_SOCKADDR_DL_STRUCT it doesn't use the getifaddrs(3) interface and attempts to use ioctl method that results in the "Illegal Seek" error. Closing this bug as the root cause is fixed in PR 197404. |
Created attachment 151378 [details] patch file Due to net/p5-IO-Interface getting updated to 1.09, the deprecated access method used by net-mgmt/nagios-check_dhcp.pl has stopped working. Did a quick patch to switch to using preferred way to get things working again.