tn3399_openwrt/package
Matthias Schiffer dd9da51462
openssl: enable OPENSSL_WITH_DEPRECATED when OpenSSL is built as a build dep
Some package (e.g. libunbound) depend on OPENSSL_WITH_DEPRECATED. In some
situations it may happen that libunbound and openssl are only pulled in as
build dependencies, but are not enabled in .config.

In such cases, the defaults of symbols like OPENSSL_WITH_DEPRECATED are
ignored (as the whole symbol depends on PACKAGE_libopenssl), and config
symbol dependencies of libunbound aren't effective either (as libunbound
is not actually enabled).

This commit works around the issue by introducing a hidden negated symbol
OPENSSL_NO_DEPRECATED, which is always disabled when PACKAGE_libopenssl is
disabled, and ensures that OpenSSL is built with deprecated APIs in this
case. A user can still manage to break the build by explicitly enabling
libopenssl and disabling OPENSSL_WITH_DEPRECATED; the interaction between
build dependencies and config symbols will require further discussion.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-10-30 20:38:34 +01:00
..
base-files base-files: make it possible to specify switch led mode 2018-09-29 17:23:11 +02:00
boot grub2: fix regression caused by binutils-2.31.1 2018-10-25 16:51:42 +02:00
devel strace: add option to enable libdw stack tracing 2018-10-02 19:57:33 +03:00
firmware linux-firmware: intel: Add iwl 9000 and 9260 firmware 2018-10-20 16:24:29 +02:00
kernel mt76: update to the latest version 2018-10-27 17:54:37 +02:00
libs openssl: enable OPENSSL_WITH_DEPRECATED when OpenSSL is built as a build dep 2018-10-30 20:38:34 +01:00
network dnsmasq: tighten config file permissions 2018-10-30 09:25:32 +00:00
system fstools: update to git HEAD 2018-10-21 20:48:36 +02:00
utils package/: fix $(PROJECT_GIT) usage 2018-10-11 08:42:52 +02:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00