From 2003a003f47de7dd6cac64d5ecfbdd29fac43112 Mon Sep 17 00:00:00 2001 From: Jared Bents Date: Fri, 28 Feb 2020 13:47:17 -0600 Subject: [PATCH] package/proftpd: add mod_sftp_sql 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 Signed-off-by: Thomas Petazzoni --- package/proftpd/Config.in | 7 +++++++ package/proftpd/proftpd.mk | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/package/proftpd/Config.in b/package/proftpd/Config.in index 4a544f0c50..4898f49dd2 100644 --- a/package/proftpd/Config.in +++ b/package/proftpd/Config.in @@ -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 diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk index 946a37d69e..e126d0e0a4 100644 --- a/package/proftpd/proftpd.mk +++ b/package/proftpd/proftpd.mk @@ -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