Hostapd failes to compile with libressl: ../src/crypto/crypto_openssl.o: In function `dh5_init': ../src/crypto/crypto_openssl.c:(.text+0xe77): undefined reference to `DH_set0_pqg' ../src/crypto/crypto_openssl.c:(.text+0xeb4): undefined reference to `DH_get0_key' ../src/crypto/crypto_openssl.o: In function `dh5_init_fixed': ../src/crypto/crypto_openssl.c:(.text+0x1042): undefined reference to `DH_set0_pqg' ../src/crypto/crypto_openssl.c:(.text+0x1097): undefined reference to `DH_set0_key' cc: error: linker command failed with exit code 1 (use -v to see invocation)
Created attachment 181990 [details] svn-diff-net_hostapd
I take the patch from here: https://github.com/gentoo/libressl/commit/7816a1b0b4d4b91764c7020ded81ab8cde30515b
Comment on attachment 181990 [details] svn-diff-net_hostapd I don't have any easy way to test this with libressl but it looks simple and builds ok on my 10.3-RELEASE build server.
(Looks like you can't comment on a patch *and* set the maintainer flag...)
I'm having trouble setting the maintainer flag on the patch. I tried clearing my browser cache, logging out and back in, etc.
committed, thanks!
A commit references this bug: Author: ler Date: Sun May 7 22:18:43 UTC 2017 New revision: 440391 URL: https://svnweb.freebsd.org/changeset/ports/440391 Log: net/hostapd fails to compile with libressl Not bumping PORTREVISION as default options are NOT libressl PR: 218802 Submitted by: w.schwarzenfeld@utanet.at Approved by: adamw (mentor, implicit), leres@ee.lbl.gov (maintainer) Changes: head/net/hostapd/files/patch-crypto__openssl.c