Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next 2/3] package/perl-crypt-openssl-random: bump version to 0.15
Date: Sun, 19 Aug 2018 23:15:57 +0200	[thread overview]
Message-ID: <20180819231557.62acd467@windsurf> (raw)
In-Reply-To: <20180819181558.15338-2-bernd.kuhls@t-online.de>

Hello,

On Sun, 19 Aug 2018 20:15:57 +0200, Bernd Kuhls wrote:

> -PERL_CRYPT_OPENSSL_RANDOM_VERSION = 0.11
> +PERL_CRYPT_OPENSSL_RANDOM_VERSION = 0.15
>  PERL_CRYPT_OPENSSL_RANDOM_SOURCE = Crypt-OpenSSL-Random-$(PERL_CRYPT_OPENSSL_RANDOM_VERSION).tar.gz
>  PERL_CRYPT_OPENSSL_RANDOM_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RU/RURBAN
> -PERL_CRYPT_OPENSSL_RANDOM_DEPENDENCIES = openssl
> +PERL_CRYPT_OPENSSL_RANDOM_DEPENDENCIES = \
> +	perl-crypt-openssl-guess \
> +	openssl
>  PERL_CRYPT_OPENSSL_RANDOM_LICENSE = Artistic or GPL-1.0+
>  PERL_CRYPT_OPENSSL_RANDOM_LICENSE_FILES = LICENSE
>  
> +# Try as hard as possible to remedy to the brain-damage their build-system
> +# suffers from: don't search for openssl, they pick the host-system one.
> +PERL_CRYPT_OPENSSL_RANDOM_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr

So, there's a new dependency on a module that helps guessing the path
to OpenSSL library/headers, but you nonetheless have to force where
they are located ? Seems strange :-)

Perhaps those Perl people should learn about pkg-config rather than:

    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
    );

but oh well...

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-08-19 21:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-19 18:15 [Buildroot] [PATCH/next 1/3] package/perl-crypt-openssl-guess: new package Bernd Kuhls
2018-08-19 18:15 ` [Buildroot] [PATCH/next 2/3] package/perl-crypt-openssl-random: bump version to 0.15 Bernd Kuhls
2018-08-19 21:15   ` Thomas Petazzoni [this message]
2018-08-19 21:25     ` Thomas Petazzoni
2018-08-21 21:00       ` Bernd Kuhls
2018-08-21 21:43         ` Thomas Petazzoni
2018-08-19 18:15 ` [Buildroot] [PATCH/next 3/3] package/perl-crypt-openssl-rsa: bump version to 0.30 Bernd Kuhls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180819231557.62acd467@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox