The LibreSSL port was upgraded today from 2.7.4 to 2.8.2 The opendkim build started failing with: libtool: link: cc -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -fstack-protector -D_THREAD_SAFE -pthread -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -o .libs/opendkim-testkey opendkim_testkey-config.o opendkim_testkey-opendkim-crypto.o opendkim_testkey-opendkim-db.o opendkim_testkey-opendkim-dns.o opendkim_testkey-opendkim-lua.o opendkim_testkey-opendkim-testkey.o opendkim_testkey-util.o -L/usr/local/lib ../libopendkim/.libs/libopendkim.so -lunbound -lssl -lcrypto -pthread -Wl,-rpath -Wl,/usr/local/lib opendkim_testkey-opendkim-crypto.o: In function `dkimf_crypto_free_id': opendkim-crypto.c:(.text+0x133): undefined reference to `OPENSSL_thread_stop' opendkim_testkey-opendkim-crypto.o: In function `dkimf_crypto_free': opendkim-crypto.c:(.text+0x393): undefined reference to `OPENSSL_thread_stop' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [opendkim-testkey] Error code 1 The only port options enabled are: FILTER=on JANSSON=on UNBOUND=on
Created attachment 198410 [details] fix build with libressl Fix building with libressl (this was broken when applying fixes to build with OpenSSL 1.1.x)
It works great for me. Still awaiting approval though.
(In reply to Daniel Austin from comment #1) I can confirm it worked on my systems as well.
A commit references this bug: Author: swills Date: Sat Oct 27 02:05:02 UTC 2018 New revision: 483096 URL: https://svnweb.freebsd.org/changeset/ports/483096 Log: mail/opendkim: Fix build with LibreSSL 2.8.2 PR: 232481 Submitted by: Daniel Austin <freebsd-ports@dan.me.uk> (maintainer) Reported by: Simeon Simeonov <blackmore@pichove.org> Changes: head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c
Committed, thanks!