Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 21:31:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236741] security/luasec-51 broken with openssl from port
Message-ID:  <bug-236741-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 236741
           Summary: security/luasec-51 broken with openssl from port
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: lx@FreeBSD.org
          Reporter: dinoex@FreeBSD.org
             Flags: maintainer-feedback?(lx@FreeBSD.org)
          Assignee: lx@FreeBSD.org

FreeBSD 11.2 amd64

make.conf:
DEFAULT_VERSIONS+=3D      ssl=3Dopenssl111

openssl111-1.1.1b_1
lua51-luasec-0.7
prosody-0.11.2

:tls        error   Error creating context for c2s: LuaSec (required for
encryption) was not found
:tls        error   Error creating contexts for s2sout: LuaSec (required for
encryption) was not found
:tls        error   Error creating contexts for s2sin: LuaSec (required for
encryption) was not found

ldd /usr/local/lib/lua/5.1/ssl.so
/usr/local/lib/lua/5.1/ssl.so:
        libssl.so.8 =3D> /usr/lib/libssl.so.8 (0x801211000)
        libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x801600000)
        libc.so.7 =3D> /lib/libc.so.7 (0x800823000)

LDFLAGS are not passed to build:

[...]
cc -O2 -pipe  -I/usr/local/include -DOPENSSL_NO_SSL3 -fstack-protector
-fno-strict-aliasing  -O2 -fPIC -Wall -pedantic -I/usr/local/include/lua51
-I/usr/obj/ports/usr/ports/security/luasec-51/work/luasec-luasec-0.7/src
-DWITH_LUASOCKET -c ssl.c -o ssl.o
[...]
cc -O -fPIC -shared -L./luasocket -L/usr/lib -o ssl.so x509.o     context.o=
=20
ssl.o      config.o   ec.o -lssl -lcrypto -lluasocket
[...]

it runs with:
DEFAULT_VERSIONS+=3D      ssl=3Dopenssl

but ldd confirms it still uses base ssl.

--=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-236741-7788>