package/proftpd: add mod_sftp_sql
authorJared Bents <jared.bents@rockwellcollins.com>
Fri, 28 Feb 2020 19:47:17 +0000 (13:47 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 25 Apr 2020 20:34:43 +0000 (22:34 +0200)
update to add mod_sftp_sql for proftpd as a build option
http://www.proftpd.org/docs/contrib/mod_sftp_sql.html

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 4a544f0c509650402a2d194fc6b3226ef8feb7d1..4898f49dd24bce710e8532aed3985761763a72a9 100644 (file)
@@ -47,6 +47,13 @@ config BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE
 
 endif
 
+config BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL
+       bool "mod_sftp_sql support"
+       select BR2_PACKAGE_PROFTPD_MOD_SQL
+       select BR2_PACKAGE_PROFTPD_MOD_SFTP
+       help
+         Compile ProFTPD with mod_sftp_sql support
+
 config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB
        bool "mod_quotatab support"
        help
index 946a37d69e20469ddc168237c55dd917cce08d85..e126d0e0a4dc8684381a7cea4b5245e109a43b09 100644 (file)
@@ -60,6 +60,10 @@ PROFTPD_MODULES += mod_sql_sqlite
 PROFTPD_DEPENDENCIES += sqlite
 endif
 
+ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL),y)
+PROFTPD_MODULES += mod_sftp_sql
+endif
+
 ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y)
 PROFTPD_MODULES += mod_quotatab
 endif