Patchwork [2/2] vsftpd: add linux-pam support

login
register
mail settings
Submitter Danomi Manchego
Date Aug. 12, 2012, 5:01 p.m.
Message ID <1344790876-27962-2-git-send-email-danomimanchego123@gmail.com>
Download mbox | patch
Permalink /patch/176787/
State Accepted
Commit d7f8dda7c07dd5eaddc1f0e2fa4d7426e673f8ac
Headers show

Comments

Danomi Manchego - Aug. 12, 2012, 5:01 p.m.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/vsftpd/vsftpd.mk |    5 +++++
 1 file changed, 5 insertions(+)
Peter Korsgaard - Sept. 12, 2012, 10:22 p.m.
>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:

 Danomi> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>

Committed, thanks.

Patch

diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index ca711bb..ce042c5 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -23,6 +23,11 @@  VSFTPD_DEPENDENCIES += libcap
 VSFTPD_LIBS += -lcap
 endif
 
+ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
+VSFTPD_DEPENDENCIES += linux-pam
+VSFTPD_LIBS += -lpam
+endif
+
 define VSFTPD_BUILD_CMDS
 	$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
 		LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D)