build - Remove openssl from base (is now permanently replaced by ressl) * Remove openssl and related code that previous commits by John Marino replaced with libressl. Remove build hooks, base now only uses libressl. * Remove crypto/openssl. This has been replaced by the openssl implementation from ressl. * Remove lib/libcrypto. This has been replaced by lib/librecrypto which generates a private_crypo library only used by base. * Remove lib/libssl. This has been replaced by lib/libressl which generates a private_ssl library only used by base. * NOTE: In addition, John has been working on updating dports to ensure that only the ports-based libssl and libcrypto (both nominally implemented via ressl and not openssl), and that dports packages no longer have any chance of using the private versions of these libraries from base.
Switch base to use private LibreSSL libaries All base users of the OpenSSL libraries (libssl.so and libcrypto.so) have been modified to link against the new LibreSSL versions instead. The OpenSSL libraries are still built by default, but nothing in base will use them. However, its certain that a myriad of dports link to OpenSSL although this may change in the future. The OpenSSL library building can be suppressed by putting NO_OPENSSL in /etc/make.conf. The existing OpenSSL libraries and headers are not (yet) removed, however, even with that setting.
ncurses solidation: Remove all references to libtermcap The termlib, termcap, and tinfo libraries are all symlinked to ncurses library. There's no reason to have four aliases for the same library when none of them are exposed outside base. termlib and tinfo aren't referenced anywhere, but libtermcap is. This commit changes all the references to libtermcap to libncurses, and removes the private aliases of ncurses.
privatize libncurses (touches many, many programs) The ncurses software produces 8 libraries: normal and wide versions of ncurses, forms, menu, and panel. The dragonfly base doesn't use forms or menu at all so we can remove 4 libraries immediately and their associated man pages. The panel library is only used in one place, so technically libpanelw is no longer required, but let's keep building it anyway. While here, delete references to libcurses. It was just symlinked to ncurses, so let's take the opportunity to only reference ncurses from this point forward and not install a private version of libcurses.
move private edit library to /lib/priv While here, fix private ssh and ldns. The .so and .a versions were not installed and this probably will break future builds for anyone that's built world in the last few hours. Also, all of these private libraries also need -L flags in addition to -rpath flags.
privatize libedit (used by numerous base programs) Besides affecting far more programs than the first two conversions, this privatization requires a modification to bin/sh which is a bootstrap program. If bootstrapping, it will use libedit.* if it exists, otherwise it will use libprivate_edit.*. After "make upgrade", /usr/lib/libedit will no longer be on the system so the private version will then be used in all cases.