Subject: | Improved OpenSSL detection on Win32/strawberry perl |
Hi,
could you please consider the enclosed patch for
inc/Module/Install/PRIVATE/Net/SSLeay.pm that improves autodetection of
openssl installation on Win32?
This patch is focused on Win32/strawberry as we are about to add openssl
support to the next (October2009) strawberry release (openssl will be
installed directly with strawberry).
The patch is purely about openssl detection - the module itself works
nice even now.
Thanks.
--
kmx
Subject: | netssleay.diff |
--- perl-modules\Net-SSLeay-1.35/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2008-07-25 00:09:34.000000000 +0200
+++ perl-modules-patched\Net-SSLeay-1.35/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2009-08-31 15:53:05.992040800 +0200
@@ -135,6 +135,8 @@
'/apps/openssl/std/bin/openssl' => '/apps/openssl/std',
'/usr/sfw/bin/openssl' => '/usr/sfw', # Open Solaris
'C:\OpenSSL\bin\openssl.exe' => 'C:\OpenSSL',
+ $Config{prefix}.'\bin\openssl.exe' => $Config{prefix}, # strawberry perl
+ $Config{prefix}.'\..\c\bin\openssl.exe' => $Config{prefix}.'\..\c', # strawberry perl
);
while (my ($k, $v) = each %guesses) {