p5-Net-HTTP only requires p5-IO-Socket-SSL for live testing, removed as
a RUN-DEPENDS, change to a TEST_DEPENDS. Recommended rather than required.

p5-LWP-Protocol-https relied on p5-Net-HTTP RUN_DEPENDS to
install p5-IO-Socket-SSL, added as a RUN_DEPENDS, was already a
BUILD_DEPENDS.

Tested on amd64. Run with for some time.


OK?
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/p5-LWP-Protocol-https/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile	23 Oct 2014 19:33:22 -0000	1.1.1.1
+++ Makefile	28 Oct 2014 09:43:30 -0000
@@ -4,6 +4,7 @@ COMMENT =	adds support for https to p5-l
 
 DISTNAME =	LWP-Protocol-https-6.06
 CATEGORIES =	www net security
+REVISION =	0
 
 MAINTAINER =	Nigel Taylor <[email protected]>
 
@@ -13,13 +14,10 @@ PERMIT_PACKAGE_CDROM =	Yes
 MODULES =	cpan
 
 RUN_DEPENDS =	net/p5-Net-HTTP>=6 \
+		security/p5-IO-Socket-SSL>=1.54 \
 		security/p5-Mozilla-CA-Fake>=20110101 \
 		www/p5-libwww>=6.06
 
-# p5-Net-HTTP requires either p5-IO-Socket-SSL
-# or p5-Crypt-SSLeay ensure p5-IO-Socket-SSL
-# is present
-BUILD_DEPENDS =	security/p5-IO-Socket-SSL>=1.54 \
-		${RUN_DEPENDS}
+BUILD_DEPENDS =	${RUN_DEPENDS}
 
 .include <bsd.port.mk>
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/p5-Net-HTTP/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile	23 Oct 2014 19:21:09 -0000	1.1.1.1
+++ Makefile	14 Dec 2014 17:36:49 -0000
@@ -4,6 +4,7 @@ COMMENT =	Perl HTTP connection client
 
 DISTNAME =	Net-HTTP-6.07
 CATEGORIES =	net
+REVISION =	0
 
 MAINTAINER =	Nigel Taylor <[email protected]>
 
@@ -12,13 +13,11 @@ PERMIT_PACKAGE_CDROM =	 Yes
 
 MODULES =	cpan
 
-# security/p5-Crypt-SSLeay cannot verify hostnames.
-# IO-Socket-SSL should be used in most cases.
-RUN_DEPENDS=	security/p5-IO-Socket-SSL \
-		www/p5-URI
+RUN_DEPENDS=	www/p5-URI
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
 .ifdef LIVE_TEST
+TEST_DEPENDS =	security/p5-IO-Socket-SSL>=1.38
 CONFIGURE_ARGS +=--live-tests
 .endif
 

Reply via email to