mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/proftpd: add option to enable mod_lang
ProFTPD's mod_lang module handles RFC 2640 LANG and OPTS UTF8 commands allowing localization of greetings and command responses and the use of character sets beyond 7 bit ASCII for directory and file names. Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
8feca04f04
commit
b03098645f
@@ -16,6 +16,13 @@ config BR2_PACKAGE_PROFTPD_MOD_CAP
|
||||
help
|
||||
Compile ProFTPD with mod_cap support
|
||||
|
||||
config BR2_PACKAGE_PROFTPD_MOD_LANG
|
||||
bool "mod_lang support"
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
The mod_lang module enables ProFTPD support for RFC 2640 LANG
|
||||
and OPTS UTF8 commands.
|
||||
|
||||
config BR2_PACKAGE_PROFTPD_MOD_REWRITE
|
||||
bool "mod_rewrite support"
|
||||
help
|
||||
|
||||
@@ -49,6 +49,13 @@ else
|
||||
PROFTPD_CONF_OPTS += --disable-cap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_LANG),y)
|
||||
PROFTPD_CONF_OPTS += --enable-nls
|
||||
ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
PROFTPD_DEPENDENCIES += libiconv
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y)
|
||||
PROFTPD_MODULES += mod_rewrite
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user