e87e6fd085
pure-ftpd doesn't build with libressl 3.4.3 which doesn't include
f5674b4e23
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 <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
87 lines
2.1 KiB
Makefile
87 lines
2.1 KiB
Makefile
################################################################################
|
|
#
|
|
# pure-ftpd
|
|
#
|
|
################################################################################
|
|
|
|
PURE_FTPD_VERSION = 1.0.50
|
|
PURE_FTPD_SITE = https://download.pureftpd.org/pub/pure-ftpd/releases
|
|
PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2
|
|
PURE_FTPD_LICENSE = ISC
|
|
PURE_FTPD_LICENSE_FILES = COPYING
|
|
PURE_FTPD_CPE_ID_VENDOR = pureftpd
|
|
PURE_FTPD_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
PURE_FTPD_CONF_OPTS = \
|
|
--with-altlog \
|
|
--with-puredb
|
|
|
|
ifeq ($(BR2_PACKAGE_ELFUTILS),y)
|
|
PURE_FTPD_DEPENDENCIES += elfutils
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
PURE_FTPD_CONF_OPTS += --with-capabilities
|
|
PURE_FTPD_DEPENDENCIES += libcap
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-capabilities
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
|
|
PURE_FTPD_DEPENDENCIES += libsodium
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
PURE_FTPD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
|
|
PURE_FTPD_DEPENDENCIES += mysql
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-mysql
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
|
PURE_FTPD_CONF_OPTS += --with-ldap
|
|
PURE_FTPD_DEPENDENCIES += openldap
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-ldap
|
|
endif
|
|
|
|
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`
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-tls
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
|
PURE_FTPD_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr
|
|
PURE_FTPD_DEPENDENCIES += postgresql
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-pgsql
|
|
endif
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
|
PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PURE_FTPD_FTPWHO),y)
|
|
PURE_FTPD_CONF_OPTS += --with-ftpwho
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PURE_FTPD_QUOTAS),y)
|
|
PURE_FTPD_CONF_OPTS += --with-quotas
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y)
|
|
PURE_FTPD_CONF_OPTS += --with-uploadscript
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
|
PURE_FTPD_CONF_OPTS += --with-pam
|
|
PURE_FTPD_DEPENDENCIES += linux-pam
|
|
else
|
|
PURE_FTPD_CONF_OPTS += --without-pam
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|