aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Artem Panfilov <apanfilov@spectracom.com>2018-08-01 16:21:14 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-05 14:40:28 +0200
commit85dd98c31e93114995b36ccd398493cd5375ab94 (patch)
treedbafae2be5d22bd1991b081ea635c27d0e4405e2 /package
parentc8955bbe7c84bb2324a7a7aba64e876610b1eca5 (diff)
downloadbuildroot-85dd98c31e93114995b36ccd398493cd5375ab94.tar.gz
buildroot-85dd98c31e93114995b36ccd398493cd5375ab94.tar.bz2
package/pure-ftpd: add optional support for linux-pam
Signed-off-by: Artem Panfilov <apanfilov@spectracom.com> [Thomas: add explicit --without-pam when linux-pam is not enabled.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package')
-rw-r--r--package/pure-ftpd/pure-ftpd.mk7
1 files changed, 7 insertions, 0 deletions
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))