2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/pure-ftpd/releases/snapshots/
16 PKG_MD5SUM:=68308d7143aea092356f910859785e4a
18 include $(INCLUDE_DIR)/package.mk
20 define Package/pure-ftpd
25 TITLE:=Secure FTP made easy!
26 URL:=http://www.pureftpd.org/project/pure-ftpd
29 define Package/pure-ftpd/description
30 Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant
31 FTP server. It doesn't provide useless bells and whistles, but focuses on
32 efficiency and ease of use.
33 It provides simple answers to common needs, plus unique useful features for
34 personal users as well as hosting providers.
39 --with-virtualchroot \
41 define Package/pure-ftpd/install
42 $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin
43 $(INSTALL_DATA) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
44 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin
46 $(INSTALL_BIN) $(foreach i,ftpd pw ftpwho mrtginfo pwconvert quotacheck statsdecode uploadscript authd, \
47 $(PKG_BUILD_DIR)/src/pure-$(i)) $(1)/usr/sbin
50 $(eval $(call BuildPackage,pure-ftpd))