libressl: Local modifications after the upgrade (refs #3333) libressl: - Adjust Makefiles to include a number of source files that have been either added or moved around. - Bump shlib. -
libressl: Local modifications after the upgrade (refs #3333) libressl: - Adjust Makefiles to include a number of source files that have been either added or moved around. - Bump shlib. - Forcibly compile in engines by removing OPENSSL_NO_ENGINE which no longer seems to be valid to have a full build. We wanted to avoid doing hacks to bypass the OPENSSL_NO_ENGINE requirement. As far as we know the engine code is disabled anyways. librecrypto: - Adjust Makefiles to include a number of source files that have been either added or moved around. - Bump shlib. ldns: - Remove HAVE_EVP_DSS1 from config.h to avoid using removed LibreSSL API functions. crytpsetup: - Adjustments to use the new API. dc: - Adjustments to use the new API. nc: - Add more source files to the Makefile from libtls, which are now required.Testing-and-fixes: @dillon, @tuxillo, @aly
show more ...
Upgrade libressl. 2/2Update README.{DELETED,DRAGONFLY} and adapt Makefiles.
<sys/cdefs.h>: Add __{BEGIN,END}_HIDDEN_DECLS definitions and use them.Remove local empty definitions of these macros in some Makefiles.Thanks to zrj for testing with a full bulk build.Taken-fr
<sys/cdefs.h>: Add __{BEGIN,END}_HIDDEN_DECLS definitions and use them.Remove local empty definitions of these macros in some Makefiles.Thanks to zrj for testing with a full bulk build.Taken-from: OpenBSD
Upgrade libressl. 2/2Update README.{DELETED,DRAGONFLY} and adapt Makefiles to vendor changes.
Update LibreSSL makefiles.Version 2.9.1, add local CRYPTO_free.c CRYPTO_malloc.c to avoid extra deps.
Normalize libcrypto and libssl DPADD variable names and adjust Makefiles.
LIBPRIV: Add common PRIVATELIB_LDFLAGS definitions.Simply being able to change it in two places is easier than everywhere.Also add PRIVATELIB_BLDFLAGS that is intended for bootsrapping only.While
LIBPRIV: Add common PRIVATELIB_LDFLAGS definitions.Simply being able to change it in two places is easier than everywhere.Also add PRIVATELIB_BLDFLAGS that is intended for bootsrapping only.While there, perform some cleanup for dup entries.
LIBPRIV: Introduce PRIVATELIB knob (just like INTERNALLIB).Collect common private libraries path handling bits into share/mk/bsd.lib.mk.It is cleaner this way, prevents issues like manual paths an
LIBPRIV: Introduce PRIVATELIB knob (just like INTERNALLIB).Collect common private libraries path handling bits into share/mk/bsd.lib.mk.It is cleaner this way, prevents issues like manual paths and/or ignoring stale.depend for /usr/obj/usr/src/world_x86_64/usr/lib/priv/priv/libprivate_ncurses.a
build - Rewire secure, remove conflicts from libmd, libcrypt* Remove /usr/src/secure, folding all of its subsystems into /usr/src. There's no point having a /usr/src/secure any more, the syste
build - Rewire secure, remove conflicts from libmd, libcrypt* Remove /usr/src/secure, folding all of its subsystems into /usr/src. There's no point having a /usr/src/secure any more, the system won't run without the secure stuff, the idea that some foreign actor could segregate it in order to legally download code without crypto is absurd on the modern internet, and the U.S. government stopped caring decades ago.* Remove conflicts from libmd and libcrypt. Essentially this removes the SHA*_*() and MD5_*() APIs from libmd because these APIs already exist in lib[re]ssl. The older SHA*() and MD5*() APIs are partially retained for legacy base code, but will be removed in a later stage (moved to direct-linking the needed support source). Conflicting routines in libcrypt have been renamed and internalized to be libcrypt-only.* Major rewiring of the Makefile's to support the changes.