<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 06.02.21 um 21:56 schrieb Aurélien
      Larcher:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHMq6q0ZDMPUbVJve2rPw010gc+x8cahg63ZZ25hc6PBB3Nh7Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail_default"
            style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
          </div>
        </div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default">OpenSSL 1.1 is now merged:</div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default"><br>
        </div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default">1. The mediator is default set to 1.0
          but can be safely set to 1.1.<br>
        </div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default">2. illumos-gate is patched to accept
          library/security/openssl-11 as dependency so that it builds
          when the mediator version is 1.1.</div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default">3. oi-userland has now a switch
          USE_OPENSSL10=yes or USE_OPENSSL11=yes which should be placed
          before <a href="http://shared-macros.mk"
            moz-do-not-send="true">shared-macros.mk</a> is included.</div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default">4. If 'gmake update' is executed in a
          component depending on OpenSSL then the switch is made to
          OpenSSL 1.1 unless USE_OPENSSL10=yes is set.</div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default"><br>
        </div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default">Now the fun begins:</div>
        <div
          style="font-family:arial,helvetica,sans-serif;font-size:small"
          class="gmail_default"><br>
        </div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div dir="ltr">3. Move all the components supporting OpenSSL
              1.1 or update them.
              <div>
                <div
                  style="font-family:arial,helvetica,sans-serif;font-size:small">4.
                  Deprecate possible rotting components which cannot be
                  updated and may cause security issues.</div>
              </div>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>
            <div
              style="font-family:arial,helvetica,sans-serif;font-size:small"
              class="gmail_default">and... the more, the merrier!</div>
            <br>
          </div>
          <div><br>
          </div>
          <div>
            <div
              style="font-family:arial,helvetica,sans-serif;font-size:small"
              class="gmail_default">Cheers</div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
oi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
<a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a>
</pre>
    </blockquote>
    Hi,<br>
    <br>
    do we have a problem with missing engine files in the openssl-11
    package?<br>
    <br>
    ╰─➤  cat /usr/openssl/1.1/lib/pkgconfig/libcrypto.pc<br>
    prefix=/usr/openssl/1.1<br>
    exec_prefix=${prefix}<br>
    libdir=${exec_prefix}/lib/<br>
    includedir=${prefix}/include<br>
    enginesdir=${libdir}/engines-1.1<br>
    <br>
    Name: OpenSSL-libcrypto<br>
    Description: OpenSSL cryptography library<br>
    Version: 1.1.1i<br>
    Libs: -L${libdir} -lcrypto<br>
    Libs.private: -lsocket -lnsl -ldl -pthread<br>
    Cflags: -I${includedir}<br>
    <br>
    So, libcrypto.pc states that there shall be
    /usr/openssl/1.1/lib/engine files but there aren't any (same for
    64-bit):<br>
    <br>
    ╭─andreas@skoll /usr/openssl/1.1/lib/pkgconfig<br>
    ╰─➤  ls -l /usr/openssl/1.1/lib<br>
    total 7445<br>
    lrwxrwxrwx   1 root     root           1 Feb  6 11:17 32 -> ./<br>
    lrwxrwxrwx   1 root     root           5 Feb  6 11:17 64 ->
    amd64/<br>
    lrwxrwxrwx   1 root     root          12 Feb  6 11:17 CA.pl ->
    ../bin/CA.pl*<br>
    drwxr-xr-x   3 root     sys            7 Feb  6 11:17 amd64/<br>
    lrwxrwxrwx   1 root     root          16 Feb  6 11:17 libcrypto.so
    -> libcrypto.so.1.1*<br>
    -r-xr-xr-x   1 root     bin      2947532 Feb  6 11:17
    libcrypto.so.1.1*<br>
    lrwxrwxrwx   1 root     root          13 Feb  6 11:17 libssl.so
    -> libssl.so.1.1*<br>
    -r-xr-xr-x   1 root     bin       748144 Feb  6 11:17 libssl.so.1.1*<br>
    drwxr-xr-x   2 root     sys            5 Feb  6 11:17 pkgconfig/<br>
    <br>
    "pkg contents openssl-11" doesn't show any engine files in the
    package.<br>
    <br>
    <br>
    Maybe unrelated to this: At the moment I try to build remmina with
    openssl-1.1 but it fails to link:<br>
    <br>
    [100%] Linking C executable remmina<br>
    Undefined            first referenced<br>
     symbol                  in file<br>
    ERR_load_crypto_strings            
    CMakeFiles/remmina.dir/remmina_stats_sender.c.o<br>
    ERR_free_strings                   
    CMakeFiles/remmina.dir/remmina_stats_sender.c.o<br>
    ld: fatal: symbol referencing errors. No output written to remmina<br>
    <br>
    Regards,<br>
    Andreas<br>
    <br>
  </body>
</html>