Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 74493
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: willem [...] cpan.org
Requestors: shmuel+bitcard.org [...] patriot.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.67
Fixed in: (no value)



Subject: Support for OS/2 configuration file
The naming of configuration files differs between OS/2 and Unix-like systems. In OS/2 the TCP/IP configuration is in $ENV{'ETC'}.'/resolv' rather than resolv.conf; the format is compatible.
Hello Shmuel, If you have a patch fixing the issue, we will be happy yo accept when we are able to review it properly. I do not have access to an OS/2 machine however. And it does not seem available as a public AMI on amazon either (which I use for windows sometimes). Are you able and willing to fix the issue? -- Willem
Subject: Re: [rt.cpan.org #74493] Support for OS/2 configuration file
Date: Mon, 30 Jan 2012 10:35:00 -0500
To: "Willem Toorop via RT" <bug-Net-DNS [...] rt.cpan.org>
From: Shmuel (Seymour J.) Metz <shmuel+gen [...] patriot.net>
In <rt-3.8.HEAD-17369-1327928471-1854.74493-6-0@rt.cpan.org>, on 01/30/2012 at 08:01 AM, "Willem Toorop via RT" <bug-Net-DNS@rt.cpan.org> said: Show quoted text
>Are you able and willing to fix the issue?
Yes. -- Shmuel (Seymour J.) Metz, SysProg and JOAT Atid/2 <http://patriot.net/~shmuel> We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003)
Subject: Re: [rt.cpan.org #74493] Support for OS/2 configuration file
Date: Mon, 30 Jan 2012 12:26:50 -0500
To: "Willem Toorop via RT" <bug-Net-DNS [...] rt.cpan.org>
From: Shmuel (Seymour J.) Metz <shmuel+gen [...] patriot.net>
In <rt-3.8.HEAD-17369-1327928471-1854.74493-6-0@rt.cpan.org>, on 01/30/2012 at 08:01 AM, "Willem Toorop via RT" <bug-Net-DNS@rt.cpan.org> said: Show quoted text
>If you have a patch fixing the issue, we will be happy yo accept when >we are able to review it properly.
I put it after my sig delimitor to prevent wrapping. Did you need any diff option other than -b? Thanks. -- [h:\]Q:\moztools\diff.exe -b H:\vendors\cpan\Net-DNS-0.67\lib\Net\DNS\Resolver\UNIX.pm Q:\PROGRAMS\PERL\lib\site_perl\5.10.0\os2\Net\DNS\resolver\UNIX.pm 14c14 < my $resolv_conf = '/etc/resolv.conf'; --- Show quoted text
> my $resolv_conf = $^='os2' ? $ENV{'ETC'}.'/resolv' : '/etc/resolv.conf';
On Mon Jan 30 12:25:39 2012, shmuel+gen@patriot.net wrote: Show quoted text
> I put it after my sig delimitor to prevent wrapping. Did you need any > diff option other than -b? Thanks.
No, this will do. But did you not mean: my $resolv_conf = $^O eq 'os2' ? $ENV{'ETC'}.'/resolv' : '/etc/resolv.conf'; ? It is so trivial I'm confident enough to put it in non-tested. Though I would welcome suggestions on how to try it out (perhaps in a virtual environment).
Subject: Re: [rt.cpan.org #74493] Support for OS/2 configuration file
Date: Mon, 30 Jan 2012 20:16:43 -0500
To: "Willem Toorop via RT" <bug-Net-DNS [...] rt.cpan.org>
From: Shmuel (Seymour J.) Metz <shmuel+gen [...] patriot.net>
In <rt-3.8.HEAD-17365-1327954969-1099.74493-6-0@rt.cpan.org>, on 01/30/2012 at 03:22 PM, "Willem Toorop via RT" <bug-Net-DNS@rt.cpan.org> said: Show quoted text
>No, this will do. But did you not mean:
Show quoted text
>my $resolv_conf = $^O eq 'os2' ? $ENV{'ETC'}.'/resolv' : >'/etc/resolv.conf';
Yes. -- Shmuel (Seymour J.) Metz, SysProg and JOAT Atid/2 <http://patriot.net/~shmuel> We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003)