Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jun 2022 15:12:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264520] databases/db18: DEFAULT_VERSIONS=ssl settings are not reflected
Message-ID:  <bug-264520-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264520

            Bug ID: 264520
           Summary: databases/db18: DEFAULT_VERSIONS=3Dssl settings are not
                    reflected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yasu@freebsd.org
          Reporter: t.masub@gmail.com
             Flags: maintainer-feedback?(yasu@freebsd.org)
          Assignee: yasu@freebsd.org

Created attachment 234525
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234525&action=
=3Dedit
[PATCH] Reflect the value of the DEFAULT_VERSIONS=3Dssl parameter

Even if DEFAULT_VERSIONS=3Dssl is set to openssl (Use security/openssl),
the OpenSSL libraries included in the base system are always used.

# ldd /usr/local/lib/libdb-18.1.so | grep -E 'ssl|crypto'
        libssl.so.111 =3D> /usr/lib/libssl.so.111 (0x8006ad000)
        libcrypto.so.111 =3D> /lib/libcrypto.so.111 (0x800fdc000)

Attach a patch to fix this.
This patch was build tested in Poudriere.

  - FreeBSD 12.3-RELEASE-p5 (amd64) / (1) ssl=3Dopenssl (2) ssl=3Dbase
  - FreeBSD 13.1-RELEASE-p0 (amd64) / (1) ssl=3Dopenssl (2) ssl=3Dbase

Background
----------
I'm using www/apache24, and after switching Berkeley DB
from databases/db5 to databases/db18, mod_ssl now gives me
an OpenSSL version warning.

ex.
[Thu Apr 07 11:08:14.144782 2022] [ssl:warn] [pid 966:tid 34375102464] AH01=
882:
Init: this version of mod_ssl was compiled against a newer library (OpenSSL
1.1.1n  15 Mar 2022, version currently loaded is OpenSSL 1.1.1l-freebsd  24=
 Aug
2021) - may result in undefined or erroneous behavior

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264520-7788>