After installing netatalk3 (netatalk3-3.1.11,1) build via poudriere with: DEFAULT_VERSIONS+= ssl=libressl I see this in the logs: afpd[61876]: uam_load(uams_dhx.so): failed to load: /usr/local/libexec/netatalk-uams//uams_dhx.so: Undefined symbol "DH_set0_pqg" afpd[61876]: uam: uams_dhx.so load failure My guess is something to do with libressl vs openssl. release notes (http://netatalk.sourceforge.net/3.1/ReleaseNotes3.1.11.html) reference this: UPD: dhx uams: OpenSSL 1.1 support, GitHub#87 https://github.com/Netatalk/Netatalk/issues/87
My guess is the fix would be changing this in etc/uams/openssl_compat.h #if OPENSSL_VERSION_NUMBER < 0x10100000L to this #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
Created attachment 182711 [details] possible fix - patch this patch seems to get it working for me, after a PORTEPOCH bump in the makefile
Fixed, thanks for reporting.
A commit references this bug: Author: marcus Date: Mon May 22 14:44:04 UTC 2017 New revision: 441463 URL: https://svnweb.freebsd.org/changeset/ports/441463 Log: * Fix build with LibreSSL [1] * Use shebang fix to fix afpstats' use of Python PR: 219366 [1] Obtained from: https://github.com/Netatalk/Netatalk/issues/91 [1] Changes: head/net/netatalk3/Makefile head/net/netatalk3/files/patch-etc_uams_openssl__compat.h