From: Artem Panfilov Date: Wed, 1 Aug 2018 13:21:14 +0000 (+0300) Subject: package/pure-ftpd: add optional support for linux-pam X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=85dd98c31e93114995b36ccd398493cd5375ab94;p=buildroot.git 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 --- 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))