2 # Copyright (C) 2006 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
13 PKG_MD5SUM
:=ca8a8dbec0cd9c8ea92fc4c37ea9c410
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE_URL
:=http
://download.pureftpd.org
/pub
/pure-ftpd
/releases
/
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/pure-ftpd
29 TITLE
:=Secure FTP made easy
!
31 Pure-FTPd is a free
(BSD
), secure
, production-quality and standard-conformant FTP server.\
32 It doesn
't provide useless bells and whistles, but focuses on efficiency and ease of use.\
33 It provides simple answers to common needs, plus unique useful features for personal users\
34 as well as hosting providers.
35 URL:=http://www.pureftpd.org/project/pure-ftpd
38 define Build/Configure
39 $(call Build/Configure/Default,--with-everything)
42 define Package/pure-ftpd/install
43 $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
44 install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
45 $(CP) $(PKG_BUILD_DIR)/src/pure-{ftpd,pw,ftpwho,mrtginfo,pwconvert,quotacheck,statsdecode,uploadscript,authd} $(1)/usr/sbin/
46 $(CP) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin/
49 $(eval $(call BuildPackage,pure-ftpd))