Am 07.02.21 um 08:39 schrieb Tim Mooney via oi-dev:
In regard to: Re: [oi-dev] OpenSSL update process, Aurélien Larcher said...:

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

I've just updated my build box again and something is still not correct
for me.

$ pfexec pkg verify -v openssl-11
PACKAGE STATUS
pkg://openindiana.org/library/security/openssl-11 OK

$ pkg info library/security/openssl-11
             Name: library/security/openssl-11
          Summary: OpenSSL - a Toolkit for Transport Layer (TLS v1+) protocols
                   and general purpose cryptographic library
         Category: System/Security
            State: Installed
        Publisher: openindiana.org
          Version: 1.1.1.9
           Branch: 2020.0.1.0
   Packaging Date: February  6, 2021 at 03:06:14 AM
Last Install Time: February  6, 2021 at 10:56:16 PM
             Size: 10.75 MB
             FMRI: pkg://openindiana.org/library/security/[email protected]:20210206T030614Z
       Source URL: http://www.openssl.org/source/openssl-1.1.1i.tar.gz
      Project URL: http://www.openssl.org/

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

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

$ pkg contents openssl-11 | egrep 'include' | egrep -v '\.h$'
usr/include/openssl

I'm not sure why I'm not getting /usr/include/openssl, but it's not
present.

I've been considering that it may be a good idea to rebuild my build box
anyway, I might try that in the next couple days.  I was part way through
building perl 5.30.1 and updating the perl modules when the pandemic
lockdown started, so my build box is in a bit of a weird state for perl.
I don't see how that would be causing problems for openssl, but a fresh
build box wouldn't hurt.

Tim

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev
Hi,

I am not sure what is wrong on your machine, but here works everything as expected:

╭─andreas@skoll ~
╰─➤  gls -dl /usr/include/openssl
lrwxrwxrwx 1 root root 30 Feb  7 11:21 /usr/include/openssl -> ../openssl/1.0/include/openssl
╭─andreas@skoll ~
╰─➤  pfexec pkg set-mediator -V 1.1 openssl
            Packages to change:   1
           Mediators to change:   1
       Create boot environment:  No
Create backup boot environment: Yes
PHASE                                          ITEMS
Updating modified actions                      20/20
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Updating package cache                           2/2
╭─andreas@skoll ~
╰─➤  gls -dl /usr/include/openssl
lrwxrwxrwx 1 root root 30 Feb  7 11:26 /usr/include/openssl -> ../openssl/1.1/include/openssl

Regards,
Andreas

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to