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@
This commit is contained in:
bluhm 2011-12-29 11:50:36 +00:00
parent cbb1bc554a
commit 95c152f399
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.7 2010/12/03 11:46:47 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2011/12/29 11:50:36 bluhm Exp $
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

View File

@ -0,0 +1,12 @@
$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;
}