From 85dd98c31e93114995b36ccd398493cd5375ab94 Mon Sep 17 00:00:00 2001 From: Artem Panfilov Date: Wed, 1 Aug 2018 16:21:14 +0300 Subject: [PATCH] package/pure-ftpd: add optional support for linux-pam Signed-off-by: Artem Panfilov [Thomas: add explicit --without-pam when linux-pam is not enabled.] Signed-off-by: Thomas Petazzoni --- package/pure-ftpd/pure-ftpd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/pure-ftpd/pure-ftpd.mk b/package/pure-ftpd/pure-ftpd.mk index 457e67ea60..ae3ca9d1f0 100644 --- a/package/pure-ftpd/pure-ftpd.mk +++ b/package/pure-ftpd/pure-ftpd.mk @@ -57,4 +57,11 @@ ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y) PURE_FTPD_CONF_OPTS += --with-uploadscript endif +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +PURE_FTPD_CONF_OPTS += --with-pam +PURE_FTPD_DEPENDENCIES += linux-pam +else +PURE_FTPD_CONF_OPTS += --without-pam +endif + $(eval $(autotools-package)) -- 2.30.2