mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Update to 1.76
- Convert NOPORTEXAMPLES to new options framework - Use shared IDN and IPV6 option descriptions - Change IDN handler to p5-URI [1] - Update IPV6 handler to p5-IO-Socket-IP and p5-Socket - Costmetic change [1] To handle IDN, IO::Socket::SSL searches for the following modules: p5-Net-IDN-Encode, p5-Net-LibIDN and p5-URI. Since p5-URI is much more widely used by other ports, I suggest to use p5-URI as IDN handler. Changes: http://search.cpan.org/dist/IO-Socket-SSL/Changes PR: ports/169451 Submitted by: sunpoet (myself) Approved by: jadawin (maintainer, via IRC)
This commit is contained in:
parent
450f61db85
commit
15cf9c9813
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300137
2 changed files with 18 additions and 19 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= IO-Socket-SSL
|
||||
PORTVERSION= 1.74
|
||||
PORTVERSION= 1.76
|
||||
CATEGORIES= security perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= CPAN:SULLR
|
||||
|
@ -15,36 +15,35 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= jadawin@FreeBSD.org
|
||||
COMMENT= Perl5 interface to SSL sockets
|
||||
|
||||
RUN_DEPENDS= p5-Net-SSLeay>=1.21:${PORTSDIR}/security/p5-Net-SSLeay
|
||||
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
||||
BUILD_DEPENDS= p5-Net-SSLeay>=1.21:${PORTSDIR}/security/p5-Net-SSLeay
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES IDN IPV6
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
INSTALL_TARGET= pure_install
|
||||
|
||||
MAN3= IO::Socket::SSL.3
|
||||
|
||||
OPTIONS_DEFINE= IDN IPV6
|
||||
IDN_DESC= International Domain Names (IDN) support
|
||||
IPV6_DESC= IPv6 support
|
||||
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
PORTEXAMPLES= *
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MIDN}
|
||||
RUN_DEPENDS+= p5-Net-LibIDN>=0:${PORTSDIR}/dns/p5-Net-LibIDN
|
||||
RUN_DEPENDS+= p5-URI>=1.50:${PORTSDIR}/net/p5-URI
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MIPV6}
|
||||
RUN_DEPENDS+= p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
|
||||
RUN_DEPENDS+= p5-IO-Socket-IP>=0.11:${PORTSDIR}/net/p5-IO-Socket-IP \
|
||||
p5-Socket>=1.95:${PORTSDIR}/net/p5-Socket
|
||||
.endif
|
||||
|
||||
regression-test:
|
||||
@(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test)
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
${MKDIR} ${EXAMPLESDIR}/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}/
|
||||
.endif
|
||||
|
||||
regression-test: build
|
||||
cd ${WRKSRC}/ && ${MAKE} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (IO-Socket-SSL-1.74.tar.gz) = e080fae93663322a49c2cdf3eeeb5cad7bd9bf7ad9dd9f0147ddb57573fc2800
|
||||
SIZE (IO-Socket-SSL-1.74.tar.gz) = 75282
|
||||
SHA256 (IO-Socket-SSL-1.76.tar.gz) = a14d07edf8a1839481564ba9f9e9a07ecc95f51914e62a9264b4e858268d1870
|
||||
SIZE (IO-Socket-SSL-1.76.tar.gz) = 75442
|
||||
|
|
Loading…
Add table
Reference in a new issue