summaryrefslogtreecommitdiff
path: root/package/proftpd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 18:10:19 +0100
commit46b2bb3001ce838ba2483a08418587d8a027f3a9 (patch)
treeb2b618839b5afcc859fcb90556e6f199d9a9a10c /package/proftpd/Makefile
parent88d3e6d6c572143bd95a589a44e30bfefd616b88 (diff)
parent902ee7e7b23751ca7a8264d36a837aa4aae12032 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/proftpd/Makefile')
-rw-r--r--package/proftpd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/proftpd/Makefile b/package/proftpd/Makefile
index 6cfa849ac..fbae31c18 100644
--- a/package/proftpd/Makefile
+++ b/package/proftpd/Makefile
@@ -13,6 +13,9 @@ PKG_URL:= http://www.proftpd.org/
PKG_SITES:= ftp://ftp.proftpd.org/distrib/source/
PKG_NOPARALLEL:= 1
+PKG_FLAVOURS_PROFTPD:= WITH_FTPUSERS
+PKGFD_WITH_FTPUSERS:= install /etc/ftpusers along with proftpd
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PROFTPD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -29,5 +32,8 @@ post-install:
$(IDIR_PROFTPD)/usr/bin/
$(INSTALL_BIN) $(WRKINST)/usr/sbin/{ftpshut,proftpd} \
$(IDIR_PROFTPD)/usr/sbin/
+ifeq (${ADK_PACKAGE_PROFTPD_WITH_FTPUSERS},y)
+ ${INSTALL_DATA} ./files/ftpusers ${IDIR_PROFTPD}/etc/
+endif
include ${TOPDIR}/mk/pkg-bottom.mk