package/proftpd: add mod_sql_sqlite
authorJared Bents <Jared.Bents@collins.com>
Mon, 3 Dec 2018 14:34:18 +0000 (08:34 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 9 Dec 2018 16:34:03 +0000 (17:34 +0100)
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>
package/proftpd/Config.in
package/proftpd/proftpd.mk

index 3af0092339d08edcc90c4ad7be6c84bd7baa8ac7..edec37c8dd92cee5b6d034943ceee5639469fdba 100644 (file)
@@ -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
index a228d58e0387abb13a3a4f8885fc140755d80f1e..592c069ad35bd3b129b0780686821ff9e6c5e23b 100644 (file)
@@ -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