Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 122265
Status: open
Priority: 0/
Queue: Net-SSLeay

People
Owner: Nobody in particular
Requestors: torsten.seemann [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: Shaun Jackman <sjackman [...] gmail.com>
Subject: Patch to allow building Net:SSLeay on Linuxbrew (currently only supports MacOS brew)
Date: Wed, 28 Jun 2017 17:56:09 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Torsten Seemann <torsten.seemann [...] gmail.com>
Download (untitled) / with headers
text/plain 1.9k
Hello, I have discovered a bug when building Net::SSLeay under Linuxbrew (a linuxbrew version of MacOS Homebrew). The problem applies to all 'non-standard' openssl installations, but here I provide a fix to work with the default Linuxbrew installation prefix: File: *Net-SSLeay-1.81/inc/Module/Install/PRIVATE/Net/SSLeay.pm* my @guesses = ( * '/home/linuxbrew/.linuxbrew/opt/openssl/bin/openssl' => '/home/linuxbrew/.linuxbrew/opt/openssl', # LinuxBrew openssl* '/usr/local/opt/openssl/bin/openssl' => '/usr/local/opt/openssl', # OSX homebrew openssl '/usr/local/bin/openssl' => '/usr/local', # OSX homebrew openssl '/opt/local/bin/openssl' => '/opt/local', # Macports openssl '/usr/bin/openssl' => '/usr', '/usr/sbin/openssl' => '/usr', '/opt/ssl/bin/openssl' => '/opt/ssl', '/opt/ssl/sbin/openssl' => '/opt/ssl', '/usr/local/ssl/bin/openssl' => '/usr/local/ssl', '/usr/local/openssl/bin/openssl' => '/usr/local/openssl', '/apps/openssl/std/bin/openssl' => '/apps/openssl/std', '/usr/sfw/bin/openssl' => '/usr/sfw', # Open Solaris 'C:\OpenSSL\bin\openssl.exe' => 'C:\OpenSSL', 'C:\OpenSSL-Win32\bin\openssl.exe' => 'C:\OpenSSL-Win32', $Config{prefix} . '\bin\openssl.exe' => $Config{prefix}, # strawberry perl $Config{prefix} . '\..\c\bin\openssl.exe' => $Config{prefix} . '\..\c', # strawberry perl '/sslexe/openssl.exe' => '/sslroot', # VMS, openssl.org '/ssl$exe/openssl.exe' => '/ssl$root', # VMS, HP install ); It might also be useful to ALSO include a line like this for user-based installations (non-root) * $ENV{HOME}.'/.linuxbrew/opt/openssl/bin/openssl' => $ENV{HOME}.'/.linuxbrew/opt/openssl', # LinuxBrew (user) openssl* Thank you for considering this patch. --Torsten Seemann
Subject: Re: [rt.cpan.org #122265] Patch to allow building Net:SSLeay on Linuxbrew (currently only supports MacOS brew)
Date: Wed, 28 Jun 2017 18:05:20 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Download (untitled) / with headers
text/plain 2.7k
Thanks, your fix wil be included in the next release. Cheers. On Wednesday, 28 June 2017 3:56:49 AM AEST you wrote: Show quoted text
> Wed Jun 28 03:56:47 2017: Request 122265 was acted upon. > Transaction: Ticket created by torsten.seemann@gmail.com > Queue: Net-SSLeay > Subject: Patch to allow building Net:SSLeay on Linuxbrew (currently > only supports MacOS brew) Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: torsten.seemann@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122265 > > > > Hello, > > I have discovered a bug when building Net::SSLeay under Linuxbrew (a > linuxbrew version of MacOS Homebrew). The problem applies to all > 'non-standard' openssl installations, but here I provide a fix to work with > the default Linuxbrew installation prefix: > > File: *Net-SSLeay-1.81/inc/Module/Install/PRIVATE/Net/SSLeay.pm* > > my @guesses = ( > * '/home/linuxbrew/.linuxbrew/opt/openssl/bin/openssl' => > '/home/linuxbrew/.linuxbrew/opt/openssl', # LinuxBrew openssl* > '/usr/local/opt/openssl/bin/openssl' => '/usr/local/opt/openssl', # > OSX homebrew openssl > '/usr/local/bin/openssl' => '/usr/local', # OSX homebrew > openssl > '/opt/local/bin/openssl' => '/opt/local', # Macports openssl > '/usr/bin/openssl' => '/usr', > '/usr/sbin/openssl' => '/usr', > '/opt/ssl/bin/openssl' => '/opt/ssl', > '/opt/ssl/sbin/openssl' => '/opt/ssl', > '/usr/local/ssl/bin/openssl' => '/usr/local/ssl', > '/usr/local/openssl/bin/openssl' => '/usr/local/openssl', > '/apps/openssl/std/bin/openssl' => '/apps/openssl/std', > '/usr/sfw/bin/openssl' => '/usr/sfw', # Open Solaris > 'C:\OpenSSL\bin\openssl.exe' => 'C:\OpenSSL', > 'C:\OpenSSL-Win32\bin\openssl.exe' => 'C:\OpenSSL-Win32', > $Config{prefix} . '\bin\openssl.exe' => $Config{prefix}, > # strawberry perl > $Config{prefix} . '\..\c\bin\openssl.exe' => $Config{prefix} . > '\..\c', # strawberry perl > '/sslexe/openssl.exe' => '/sslroot', # VMS, openssl.org > '/ssl$exe/openssl.exe' => '/ssl$root', # VMS, HP install > ); > > It might also be useful to ALSO include a line like this for user-based > installations (non-root) > > * $ENV{HOME}.'/.linuxbrew/opt/openssl/bin/openssl' => > $ENV{HOME}.'/.linuxbrew/opt/openssl', # LinuxBrew (user) openssl* > > Thank you for considering this patch. > > > --Torsten Seemann
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474
Subject: Re: [rt.cpan.org #122265] Patch to allow building Net:SSLeay on Linuxbrew (currently only supports MacOS brew)
Date: Thu, 29 Jun 2017 13:46:12 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Torsten Seemann <torsten.seemann [...] gmail.com>
Thanks Mike! Appreciate it. --Torst On 28 June 2017 at 18:29, Mike McCauley via RT <bug-Net-SSLeay@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=122265 > > > Thanks, > your fix wil be included in the next release. > > Cheers. > > On Wednesday, 28 June 2017 3:56:49 AM AEST you wrote:
> > Wed Jun 28 03:56:47 2017: Request 122265 was acted upon. > > Transaction: Ticket created by torsten.seemann@gmail.com > > Queue: Net-SSLeay > > Subject: Patch to allow building Net:SSLeay on Linuxbrew (currently > > only supports MacOS brew) Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: torsten.seemann@gmail.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122265 > > > > > > > Hello, > > > > I have discovered a bug when building Net::SSLeay under Linuxbrew (a > > linuxbrew version of MacOS Homebrew). The problem applies to all > > 'non-standard' openssl installations, but here I provide a fix to work
> with
> > the default Linuxbrew installation prefix: > > > > File: *Net-SSLeay-1.81/inc/Module/Install/PRIVATE/Net/SSLeay.pm* > > > > my @guesses = ( > > * '/home/linuxbrew/.linuxbrew/opt/openssl/bin/openssl' => > > '/home/linuxbrew/.linuxbrew/opt/openssl', # LinuxBrew openssl* > > '/usr/local/opt/openssl/bin/openssl' =>
> '/usr/local/opt/openssl', #
> > OSX homebrew openssl > > '/usr/local/bin/openssl' => '/usr/local', # OSX homebrew > > openssl > > '/opt/local/bin/openssl' => '/opt/local', # Macports
> openssl
> > '/usr/bin/openssl' => '/usr', > > '/usr/sbin/openssl' => '/usr', > > '/opt/ssl/bin/openssl' => '/opt/ssl', > > '/opt/ssl/sbin/openssl' => '/opt/ssl', > > '/usr/local/ssl/bin/openssl' => '/usr/local/ssl', > > '/usr/local/openssl/bin/openssl' => '/usr/local/openssl', > > '/apps/openssl/std/bin/openssl' => '/apps/openssl/std', > > '/usr/sfw/bin/openssl' => '/usr/sfw', # Open Solaris > > 'C:\OpenSSL\bin\openssl.exe' => 'C:\OpenSSL', > > 'C:\OpenSSL-Win32\bin\openssl.exe' => 'C:\OpenSSL-Win32', > > $Config{prefix} . '\bin\openssl.exe' => $Config{prefix}, > > # strawberry perl > > $Config{prefix} . '\..\c\bin\openssl.exe' => $Config{prefix} . > > '\..\c', # strawberry perl > > '/sslexe/openssl.exe' => '/sslroot', # VMS,
> openssl.org
> > '/ssl$exe/openssl.exe' => '/ssl$root', # VMS, HP
> install
> > ); > > > > It might also be useful to ALSO include a line like this for user-based > > installations (non-root) > > > > * $ENV{HOME}.'/.linuxbrew/opt/openssl/bin/openssl' => > > $ENV{HOME}.'/.linuxbrew/opt/openssl', # LinuxBrew (user) openssl* > > > > Thank you for considering this patch. > > > > > > --Torsten Seemann
> > > -- > Mike McCauley VK4AMM mikem@airspayce.com > Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia > http://www.airspayce.com > Phone +61 7 5598-7474 > >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.