kumquat-buildroot/package/proftpd/Config.in
Fabrice Fontaine e7797603d2 package/proftpd: sftpd does not build with libressl
sftp doesn't build with libressl >= 3.5.0 resulting in the following
build failure since commit 8b216927db:

mac.c: In function 'init_mac':
mac.c:189:3: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration]
  189 |   HMAC_CTX_init(hmac_ctx);
      |   ^~~~~~~~~~~~~
      |   HMAC_CTX_new
mac.c: In function 'set_mac_key':
mac.c:435:14: error: storage size of 'ctx' isn't known
  435 |   EVP_MD_CTX ctx;
      |              ^~~

So force use of openssl for sftpd, as no feedback was received on
https://github.com/proftpd/proftpd/pull/1481

Fixes:
 - http://autobuild.buildroot.org/results/a16ccd7cc78eb63de06a6d738fccc6b947da13e7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-01-18 22:03:33 +01:00

107 lines
2.7 KiB
Plaintext

config BR2_PACKAGE_PROFTPD
bool "proftpd"
depends on BR2_USE_MMU # fork()
help
ProFTPD, a highly configurable FTP server.
http://www.proftpd.org/
if BR2_PACKAGE_PROFTPD
config BR2_PACKAGE_PROFTPD_MOD_CAP
bool "mod_cap support"
select BR2_PACKAGE_LIBCAP
help
Compile ProFTPD with mod_cap support
config BR2_PACKAGE_PROFTPD_MOD_REWRITE
bool "mod_rewrite support"
help
Compile ProFTPD with mod_rewrite support
config BR2_PACKAGE_PROFTPD_MOD_REDIS
bool "mod_redis support"
select BR2_PACKAGE_HIREDIS
help
The mod_redis module enables ProFTPD support for caching
data in Redis servers, using the hiredis client library.
config BR2_PACKAGE_PROFTPD_MOD_SFTP
bool "mod_sftp support"
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160
help
Compile ProFTPD with mod_sftp support
config BR2_PACKAGE_PROFTPD_MOD_SQL
bool "mod_sql support"
help
Compile ProFTPD with mod_sql support.
if BR2_PACKAGE_PROFTPD_MOD_SQL
config BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE
bool "mod_sql_sqlite support"
select BR2_PACKAGE_SQLITE
help
Compile ProFTPD with mod_sql_sqlite support.
endif
config BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL
bool "mod_sftp_sql support"
select BR2_PACKAGE_PROFTPD_MOD_SQL
select BR2_PACKAGE_PROFTPD_MOD_SFTP
help
Compile ProFTPD with mod_sftp_sql support
config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB
bool "mod_quotatab support"
help
Compile ProFTPD with mod_quotatab support. This module
is required in order to support quota tables:
1. mod_quotatab_file
2. mod_quotatab_ldap
3. mod_quotatab_radius
4. mod_quotatab_sql
if BR2_PACKAGE_PROFTPD_MOD_QUOTATAB
config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_FILE
bool "mod_quotatab_file table support"
help
Compile mod_quotatab with mod_quotatab_file table.
config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_LDAP
bool "mod_quotatab_ldap table support"
help
Compile mod_quotatab with mod_quotatab_ldap table.
config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_RADIUS
bool "mod_quotatab_radius table support"
help
Compile mod_quotatab with mod_quotatab_radius table.
config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL
bool "mod_quotatab_sql table support"
select BR2_PACKAGE_PROFTPD_MOD_SQL
help
Compile mod_quotatab with mod_quotatab_sql table.
endif
config BR2_PACKAGE_PROFTPD_BUFFER_SIZE
int "buffer size in bytes (0 for default)"
default "0"
help
By increasing the buffer size above the default of 1K,
proftpd reads and writes data in larger chunks, and makes
fewer expensive system calls. Use of this option to set buffer
sizes of 8K or more has been reported to drastically increase
transfer speeds (depending on network configurations).
0 uses the default size of 1024.
endif