Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 23:57:46 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jadawin@FreeBSD.org
Subject:   ports/169451: [PATCH] security/p5-IO-Socket-SSL: update to 1.76
Message-ID:  <3WMBjQ1MHpz9V0@sunpoet.net>
Resent-Message-ID: <201206261600.q5QG0MPu010052@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169451
>Category:       ports
>Synopsis:       [PATCH] security/p5-IO-Socket-SSL: update to 1.76
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 26 16:00:22 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jun 23 18:28:28 CST 2012
>Description:
- Update to 1.76
- Convert NOPORTEXAMPLES to new options framework
- 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/
Submitted by:	sunpoet (myself)

Approved by:	

Port maintainer (jadawin@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:

--- p5-IO-Socket-SSL-1.76.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/p5-IO-Socket-SSL/Makefile,v
retrieving revision 1.72
diff -u -u -r1.72 Makefile
--- Makefile	10 Jun 2012 18:42:14 -0000	1.72
+++ Makefile	26 Jun 2012 15:56:43 -0000
@@ -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 @@
 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
+
+post-install:
+.if ${PORT_OPTIONS:MEXAMPLES}
+	${MKDIR} ${EXAMPLESDIR}/
+	${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}/
 .endif
 
-regression-test:
-	@(cd ${WRKSRC} && ${PERL} ${CONFIGURE_SCRIPT} && ${MAKE} test)
+regression-test: build
+	cd ${WRKSRC}/ && ${MAKE} test
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/p5-IO-Socket-SSL/distinfo,v
retrieving revision 1.60
diff -u -u -r1.60 distinfo
--- distinfo	14 May 2012 13:31:55 -0000	1.60
+++ distinfo	26 Jun 2012 15:56:43 -0000
@@ -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
--- p5-IO-Socket-SSL-1.76.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3WMBjQ1MHpz9V0>