In regard to: Re: [oi-dev] OpenSSL update process, Aurélien Larcher said...:

On Sun, Feb 7, 2021 at 12:33 AM Tim Mooney via oi-dev <
oi-dev@openindiana.org> wrote:

In regard to: Re: [oi-dev] OpenSSL update process, Aurélien Larcher
said...:

OpenSSL 1.1 is now merged:

1. The mediator is default set to 1.0 but can be safely set to 1.1.

Is changing the mediator supposed to make /usr/include/openssl/<whatever>
available, or is that supposed to be done by shared-macros.mk after
setting USE_OPENSSL11=yes, or do we now need to specify
-I$(OPENSSL_PREFIX)/include in the component Makefile?

I've changed the mediator and done a git pull to get the latest
oi-userland bits.  'gmake update' now works in e.g.
components/perl/net-ssleay/ but the build step doesn't know where to look
for the headers.


If /usr/include/openssl does not point anywhere probably the mediator is
not set to a right version or openssl-11 is not installed:

narval> pkg mediator openssl
MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
openssl             local     1.1     local      openssl

narval> ls -lha /usr/include/openssl
lrwxrwxrwx 1 root staff 30 Feb  5 22:54 /usr/include/openssl ->
../openssl/1.1/include/openssl

But you should not need to change the mediator to build the package unless
the component's own build system is buggy.

openssl-11 is installed and I went ahead and changed the mediator before
even attempting the build, since I didn't know it wasn't strictly
required.

$ pkg mediator openssl
MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
openssl             local     1.1     local      system

$ pkg list | egrep openssl
library/python/pyopenssl (openindiana.org)        16.2.0-2020.0.1.4          i--
library/python/pyopenssl-27 (openindiana.org)     16.2.0-2020.0.1.4          i--
library/python/pyopenssl-35 (openindiana.org)     16.2.0-2020.0.1.4          i--
library/security/openssl (openindiana.org)        1.0.2.21-2020.0.1.3        i--
library/security/openssl-11 (openindiana.org)     1.1.1.9-2020.0.1.0         i--

$ ls -lha /usr/include/openssl
/usr/include/openssl: No such file or directory

In any case openssl-11 should install automatically at your next update
since I pushed a new wget package depending on it.

I'll pkg update again and see if the situation improves.


Tim
--
Tim Mooney                                             tim.moo...@ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology    /                701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to