Update Buildroot to 2019.02.3 (#415)
* Update Buildroot to 2019-02.3 * Fix enter script * Update ova_defconfig * Fix network manager * Remove runc patches * Use same docker version * Fix build * Fix vmtools * Fix depens * Fix handling with tempfiles * Fix permission handling * Fix cp * Cleanup * Fix mounts
This commit is contained in:
@@ -31,6 +31,16 @@ config BR2_PACKAGE_PROFTPD_MOD_SQL
|
||||
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_QUOTATAB
|
||||
bool "mod_quotatab support"
|
||||
help
|
||||
@@ -65,4 +75,17 @@ config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL
|
||||
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
|
||||
|
||||
0
buildroot/package/proftpd/S50proftpd
Executable file → Normal file
0
buildroot/package/proftpd/S50proftpd
Executable file → Normal file
@@ -20,8 +20,10 @@ PROFTPD_CONF_OPTS = \
|
||||
--disable-ncurses \
|
||||
--disable-facl \
|
||||
--disable-dso \
|
||||
--enable-sendfile \
|
||||
--enable-shadow \
|
||||
--with-gnu-ld
|
||||
--with-gnu-ld \
|
||||
--without-openssl-cmdline
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y)
|
||||
PROFTPD_MODULES += mod_rewrite
|
||||
@@ -46,6 +48,11 @@ ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SQL),y)
|
||||
PROFTPD_MODULES += mod_sql
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE),y)
|
||||
PROFTPD_MODULES += mod_sql_sqlite
|
||||
PROFTPD_DEPENDENCIES += sqlite
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y)
|
||||
PROFTPD_MODULES += mod_quotatab
|
||||
endif
|
||||
@@ -121,4 +128,8 @@ define PROFTPD_INSTALL_INIT_SYSTEMD
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/proftpd.service
|
||||
endef
|
||||
|
||||
ifneq ($(BR2_PACKAGE_PROFTPD_BUFFER_SIZE),0)
|
||||
PROFTPD_CONF_OPTS += --enable-buffer-size=$(BR2_PACKAGE_PROFTPD_BUFFER_SIZE)
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user