From: Jared Bents Date: Mon, 3 Dec 2018 14:34:18 +0000 (-0600) Subject: package/proftpd: add mod_sql_sqlite X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=694846b92a607856fd3abac30c393aa84c9df589;p=buildroot.git package/proftpd: add mod_sql_sqlite Enable mod_sql_sqlite as a compile time option Signed-off-by: Jared Bents Signed-off-by: Thomas Petazzoni --- diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in index 3af0092339..edec37c8dd 100644 --- a/package/proftpd/Config.in +++ b/package/proftpd/Config.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 diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk index a228d58e03..592c069ad3 100644 --- a/package/proftpd/proftpd.mk +++ b/package/proftpd/proftpd.mk @@ -47,6 +47,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