openbsd-ports/security/p5-POE-Component-SSLify/patches/patch-lib_POE_Component_SSLify_pm
bluhm 95c152f399 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 sthen@
2011-12-29 11:50:36 +00:00

13 lines
515 B
Plaintext

$OpenBSD: patch-lib_POE_Component_SSLify_pm,v 1.1 2011/12/29 11:50:36 bluhm Exp $
--- 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;
}