Hi,
In order to update p5-Net-SSLey to 1.42, p5-POE-Component-SSLify
has to be fixed first. Convert the version check from /1.3/ regex
to >= 1.3 numerical comparison.
ok?
bluhm
Index: security/p5-POE-Component-SSLify/Makefile
===================================================================
RCS file:
/data/mirror/openbsd/cvs/ports/security/p5-POE-Component-SSLify/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- security/p5-POE-Component-SSLify/Makefile 3 Dec 2010 11:46:47 -0000
1.7
+++ security/p5-POE-Component-SSLify/Makefile 9 Oct 2011 19:53:27 -0000
@@ -4,7 +4,7 @@ COMMENT= make use of SSL with POE
MODULES= cpan
DISTNAME= POE-Component-SSLify-0.15
-REVISION= 0
+REVISION= 1
CATEGORIES= net security
USE_GROFF = Yes
Index:
security/p5-POE-Component-SSLify/patches/patch-lib_POE_Component_SSLify_pm
===================================================================
RCS file:
security/p5-POE-Component-SSLify/patches/patch-lib_POE_Component_SSLify_pm
diff -N
security/p5-POE-Component-SSLify/patches/patch-lib_POE_Component_SSLify_pm
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ security/p5-POE-Component-SSLify/patches/patch-lib_POE_Component_SSLify_pm
9 Oct 2011 19:54:24 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- lib/POE/Component/SSLify.pm.orig Sun Feb 8 17:31:32 2009
++++ lib/POE/Component/SSLify.pm Sun Oct 9 21:35:09 2011
+@@ -17,7 +17,7 @@ BEGIN {
+ } else {
+ # Check to make sure the versions are what we want
+ if ( ! ( defined $Net::SSLeay::VERSION and
+- $Net::SSLeay::VERSION =~ /^1\.3/ ) ) {
++ $Net::SSLeay::VERSION >= 1.3 ) ) {
+ warn 'Please upgrade Net::SSLeay to v1.30+ installed:
v' . $Net::SSLeay::VERSION;
+ }
+