From e87e6fd085b8a4965b9dc84635fd36e380da4dde Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 14 Apr 2022 22:37:44 +0200 Subject: [PATCH] package/pure-ftpd: doesn't build with libressl pure-ftpd doesn't build with libressl 3.4.3 which doesn't include https://github.com/libressl-portable/openbsd/commit/f5674b4e2330b382bacefd3393affc8eb2ee2ba8 resulting in the following build failure: tls.c: In function 'tls_init_options': tls.c:329:5: warning: implicit declaration of function 'SSL_CTX_set_num_tickets'; did you mean 'SSL_CTX_set_options'? [-Wimplicit-function-declaration] SSL_CTX_set_num_tickets(tls_ctx, 0); ^~~~~~~~~~~~~~~~~~~~~~~ SSL_CTX_set_options Fixes: - http://autobuild.buildroot.org/results/f5d36180949278510199aa499e253780558c6ffe Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/pure-ftpd/pure-ftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index f3cbef84b9..0354949e28 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -45,7 +45,7 @@ else PURE_FTPD_CONF_OPTS += --without-ldap endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) PURE_FTPD_CONF_OPTS += --with-tls PURE_FTPD_DEPENDENCIES += host-pkgconf openssl PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`