aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jared Bents <jared.bents@rockwellcollins.com>2018-09-28 12:57:39 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-11 17:21:40 +0200
commit4aaf61c4c1e8e20b4ab810e66a27e4f22f14010b (patch)
tree7b3f159e3dfc643f3c9cfaa9ed5ed68f815ea394
parent863e0fc3bf9743a060c0965b74decef4e6290df9 (diff)
downloadbuildroot-4aaf61c4c1e8e20b4ab810e66a27e4f22f14010b.tar.gz
buildroot-4aaf61c4c1e8e20b4ab810e66a27e4f22f14010b.tar.bz2
package/proftpd: add ftpasswd
- Copies over ftpasswd if perl is enabled Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/proftpd/proftpd.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 93ee687fab..8f3ff5088e 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -93,12 +93,16 @@ define PROFTPD_INSTALL_FTPQUOTA
$(INSTALL) -D -m 0755 $(@D)/contrib/ftpquota $(TARGET_DIR)/usr/sbin/ftpquota
endef
endif
+define PROFTPD_INSTALL_FTPASSWD
+ $(INSTALL) -D -m 0755 $(@D)/contrib/ftpasswd $(TARGET_DIR)/usr/sbin/ftpasswd
+endef
endif
define PROFTPD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd
$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf
$(PROFTPD_INSTALL_FTPQUOTA)
+ $(PROFTPD_INSTALL_FTPASSWD)
endef
define PROFTPD_USERS