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>

Attachment: signature.asc
Description: PGP signature

Reply via email to