[Bug 236741] security/luasec-51 broken with openssl from port

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 23 21:31:57 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236741

            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 at FreeBSD.org
          Reporter: dinoex at FreeBSD.org
             Flags: maintainer-feedback?(lx at FreeBSD.org)
          Assignee: lx at FreeBSD.org

FreeBSD 11.2 amd64

make.conf:
DEFAULT_VERSIONS+=      ssl=openssl111

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 => /usr/lib/libssl.so.8 (0x801211000)
        libcrypto.so.8 => /lib/libcrypto.so.8 (0x801600000)
        libc.so.7 => /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 
ssl.o      config.o   ec.o -lssl -lcrypto -lluasocket
[...]

it runs with:
DEFAULT_VERSIONS+=      ssl=openssl

but ldd confirms it still uses base ssl.

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


More information about the freebsd-ports-bugs mailing list