aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jared Bents <Jared.Bents@collins.com>2018-12-03 08:34:18 -0600
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-09 17:34:03 +0100
commit694846b92a607856fd3abac30c393aa84c9df589 (patch)
tree127fed8e389c239b993442e607f1c58c6968dbcf
parent68a416f9a2b55a57638af0263eaa1faec0cb15ce (diff)
downloadbuildroot-694846b92a607856fd3abac30c393aa84c9df589.tar.gz
buildroot-694846b92a607856fd3abac30c393aa84c9df589.tar.bz2
package/proftpd: add mod_sql_sqlite
Enable mod_sql_sqlite as a compile time option Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/proftpd/Config.in10
-rw-r--r--package/proftpd/proftpd.mk5
2 files changed, 15 insertions, 0 deletions
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