6f5dbe0dc1
2.024 2016/02/06 - Work around issue where the connect fails on systems having only a loopback interface and where IO::Socket::IP is used as super class (default when available). Since IO::Socket::IP sets AI_ADDRCONFIG by default connect to localhost would fail on this systems. This happened at least for the tests, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813796 Workaround is to explicitely set GetAddrInfoFlags to 0 if no GetAddrInfoFlags is set but the Family/Domain is given. In this case AI_ADDRCONFIG would not be useful anyway but would cause at most harm.
31 lines
1,016 B
Makefile
31 lines
1,016 B
Makefile
# $NetBSD: Makefile,v 1.98 2016/02/07 14:16:59 wiz Exp $
|
|
|
|
DISTNAME= IO-Socket-SSL-2.024
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= security net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=IO/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/IO-Socket-SSL/
|
|
COMMENT= Perl5 SSL socket interface class
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
DEPENDS+= p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
|
|
DEPENDS+= p5-Net-LibIDN-[0-9]*:../../net/p5-Net-LibIDN
|
|
DEPENDS+= p5-Net-SSLeay>=1.59:../../security/p5-Net-SSLeay
|
|
DEPENDS+= p5-Mozilla-CA-[0-9]*:../../security/p5-Mozilla-CA
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/IO/Socket/SSL/.packlist
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "MirBSD"
|
|
SUBST_CLASSES+= openssl
|
|
SUBST_STAGE.openssl= pre-configure
|
|
SUBST_MESSAGE.openssl= Adapting minimum OpenSSL version.
|
|
SUBST_FILES.openssl= Makefile.PL
|
|
SUBST_SED.openssl= -e 's/openssl < 0x00908000/openssl < 0x00907000/'
|
|
.endif
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|