4e36e8f208
hiawatha needs mbedtls3 since bump to version 11.1 in commit
24e4c888c3
:
/home/giuliobenetti/autobuild/run/instance-3/output-1/build/hiawatha-11.1/src/wigwam.c:39:10: fatal error: mbedtls/psa_util.h: No such file or directory
39 | #include "mbedtls/psa_util.h"
| ^~~~~~~~~~~~~~~~~~~~
As mbedtls 3.x is not backward compatible with mbedtls 2.x, disable
system mbedtls to let hiawatha uses its own copy (which will be
installed in $(TARGET_DIR)/usr/lib/hiawatha)
Fixes:
- http://autobuild.buildroot.org/results/064af90aa95c28781d96d7eca0f14841fce0687a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
40 lines
1006 B
Makefile
40 lines
1006 B
Makefile
################################################################################
|
|
#
|
|
# hiawatha
|
|
#
|
|
################################################################################
|
|
|
|
HIAWATHA_VERSION = 11.1
|
|
HIAWATHA_SITE = https://www.hiawatha-webserver.org/files
|
|
HIAWATHA_DEPENDENCIES = zlib
|
|
HIAWATHA_LICENSE = GPL-2.0
|
|
HIAWATHA_LICENSE_FILES = LICENSE
|
|
HIAWATHA_CPE_ID_VENDOR = hiawatha-webserver
|
|
|
|
HIAWATHA_CONF_OPTS = \
|
|
-DENABLE_TOOLKIT=OFF \
|
|
-DCONFIG_DIR=/etc/hiawatha \
|
|
-DLOG_DIR=/var/log \
|
|
-DPID_DIR=/var/run \
|
|
-DWEBROOT_DIR=/var/www/hiawatha \
|
|
-DWORK_DIR=/var/lib/hiawatha
|
|
|
|
ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y)
|
|
# Disable system mbedtls as hiawatha needs mbedtls 3.x
|
|
HIAWATHA_CONF_OPTS += \
|
|
-DENABLE_TLS=ON \
|
|
-DINSTALL_MBEDTLS_HEADERS=OFF \
|
|
-DUSE_SYSTEM_MBEDTLS=OFF
|
|
else
|
|
HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBXSLT),y)
|
|
HIAWATHA_CONF_OPTS += -DENABLE_XSLT=ON
|
|
HIAWATHA_DEPENDENCIES += libxslt
|
|
else
|
|
HIAWATHA_CONF_OPTS += -DENABLE_XSLT=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|