On Tue, Apr 08, 2014 at 07:26:06PM +0200, Didier Wiroth wrote: > F.ex. I use dovecot: > # ldd `which dovecot` > /usr/local/sbin/dovecot: > Start End Type Open Ref GrpRef Name > 000004f81c500000 000004f81c913000 exe 1 0 0 /usr/local/sbin/dovecot > 000004fa2152c000 000004fa219f4000 rlib 0 1 0 > /usr/local/lib/dovecot/libdovecot.so.2.0 > 000004fa1d890000 000004fa1dd7d000 rlib 0 1 0 /usr/lib/libc.so.74.0 > 000004fa275a7000 000004fa27aa4000 rlib 0 1 0 > /usr/local/lib/libiconv.so.6.0 > 000004fa2bb00000 000004fa2bb00000 rtld 0 1 0 /usr/libexec/ld.so > > The following library is not listed: /usr/lib/libssl.so.20.0 > So I guess ssl was statically compiled in the dovecot package/port, as > dovecot supports ssl and I currently use it.
Dovecot is composed of several programs. The program which uses SSL is the imap-login program: $ ldd /usr/local/libexec/dovecot/imap-login /usr/local/libexec/dovecot/imap-login: Start End Type Open Ref GrpRef Name 000002f7ecf00000 000002f7ed307000 exe 1 0 0 /usr/local/libexec/dovecot/imap-login 000002f9f4a02000 000002f9f4e1d000 rlib 0 1 0 /usr/local/lib/dovecot/libdovecot-login.so.2.0 000002f9ee22b000 000002f9ee6fc000 rlib 0 2 0 /usr/local/lib/dovecot/libdovecot.so.2.0 000002f9f5789000 000002f9f5c72000 rlib 0 1 0 /usr/lib/libc.so.73.1 000002f9f6bae000 000002f9f700c000 rlib 0 1 0 /usr/lib/libssl.so.20.0 000002f9f8e8b000 000002f9f9445000 rlib 0 1 0 /usr/lib/libcrypto.so.23.0 000002f9ed100000 000002f9ed5fe000 rlib 0 1 0 /usr/local/lib/libiconv.so.6.0 000002f9f2500000 000002f9f2500000 rtld 0 1 0 /usr/libexec/ld.so > Do I need to recompile/rebuild the port with the patched libssl library? No. You only need to restart your dovecot server after the upgrade.