From 694846b92a607856fd3abac30c393aa84c9df589 Mon Sep 17 00:00:00 2001 From: Jared Bents Date: Mon, 3 Dec 2018 08:34:18 -0600 Subject: [PATCH] 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 --- package/proftpd/Config.in | 10 ++++++++++ package/proftpd/proftpd.mk | 5 +++++ 2 files changed, 15 insertions(+) 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 -- 2.30.2