Tuesday, June 01, 2021

Re: postgrey: missing dependency?

Friendly ping:

Not that this is urgent, but this patch hasn't made it into the ports tree yet AFAICT.

Could someone with CVS write permission please ok and commit (or NAK) Giovanni's patch?

Thx.
--
Mike Fischer

> Am 15.05.2021 um 16:13 schrieb Mike Fischer <fischer+obsd@lavielle.com>:
>
> Hi Giovanni!
>
> Thanks, looks good to me (keeping in mind that I am no expert in doing ports).
>
> BTW: It was interesting that while the message stated "FATAL", postgrey seemed to be working none the less. The server in question does not actually use IPv6, only IPv4. So the IPv6 library/module/package should not actually be needed in my case. My expectation would be that FATAL errors would lead to an imminent abort of the process. But this is probably something for upstream to consider.
> --
> Mike Fischer
>
>> Am 15.05.2021 um 11:53 schrieb Giovanni Bechis <giovanni@paclan.it>:
>>
>> On Fri, May 07, 2021 at 12:38:25AM +0200, Mike Fischer wrote:
>>> Hi!
>>>
>>> In /var/log/maillog I saw this:
>>> May 6 20:07:21 to postgrey[41981]: FATAL: Can't locate IO/Socket/INET6.pm in @INC (you may need to install the IO::Socket::INET6 module) (@INC contains: /usr/local/libdata/perl5/site_perl/amd64-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/amd64-openbsd /usr/libdata/perl5) at /usr/local/libdata/perl5/site_perl/Net/Server/Proto.pm line 118.
>>>
>>> Environment:
>>> ============
>>> OpenBSD 6.9-stable GENERIC.MP#473 amd64
>>>
>>> postgrey-1.37p1
>>>
>>> Details:
>>> ========
>>> I first noticed this today after upgrading a server to OpenBSD 6.9 but the issue might have existed before that. Though I checked on an 6.8 installation and it does not seem to throw this error when (re)starting postgrey. But that might be because that machine has imapsync-1.945 installed which lists p5-IO-Socket-INET6 as a dependency.
>>>
>> This diff fixes the issue.
>> netserver(1) is broken as well if you try to run it as "netserver port 8080/IPv6".
>>
>> ok ?
>>
>> Cheers
>> Giovanni
>>
>> Index: Makefile
>> ===================================================================
>> RCS file: /cvs/ports/devel/p5-Net-Server/Makefile,v
>> retrieving revision 1.24
>> diff -u -p -r1.24 Makefile
>> --- Makefile 3 Jul 2020 21:45:03 -0000 1.24
>> +++ Makefile 15 May 2021 09:51:49 -0000
>> @@ -6,12 +6,13 @@ MODULES = cpan
>> PKG_ARCH = *
>> DISTNAME = Net-Server-2.009
>> CATEGORIES = devel net
>> -REVISION = 0
>> +REVISION = 1
>>
>> # perl
>> PERMIT_PACKAGE = Yes
>>
>> MODCPAN_EXAMPLES = Yes
>> +RUN_DEPENDS = net/p5-IO-Socket-INET6
>> TEST_DEPENDS = devel/p5-IO-Multiplex
>>
>> .include <bsd.port.mk>

No comments:

Post a Comment