You can build openldap-server-2.2.14 with the following options:
WITH_BDB_VER select BerkeleyDB version (default 42) WITH_SASL with (Cyrus) SASL2 password verification WITH_PERL with Perl backend WITH_SHELL with Shell backend WITH_ODBC with SQL backend WITH_ODBC_TYPE select ODBC interface (iODBC or unixODBC) WITH_SLAPI with Netscape SLAPI plugin API WITHOUT_TCP_WRAPPERS without tcp wrapper support WITHOUT_BDB without BerkeleyDB support
Dependency warning: used OpenSSL version contains known vulnerabilities Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT *** Error code 1
Stop in /usr/ports/net/openldap22-server. 錯誤訊息 .. 告訴我們沒裝 openssl 所以要先加裝 openssl