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
30 TITLE
:=Secure FTP made easy
!
32 Pure-FTPd is a free
(BSD
), secure
, production-quality and standard-conformant FTP server.\
33 It doesn
't provide useless bells and whistles, but focuses on efficiency and ease of use.\
34 It provides simple answers to common needs, plus unique useful features for personal users\
35 as well as hosting providers.
36 URL:=http://www.pureftpd.org/project/pure-ftpd
39 define Build/Configure
40 $(call Build/Configure/Default,--with-everything)
43 define Package/pure-ftpd/install
44 $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
45 install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
46 $(CP) $(PKG_BUILD_DIR)/src/pure-{ftpd,pw,ftpwho,mrtginfo,pwconvert,quotacheck,statsdecode,uploadscript,authd} $(1)/usr/sbin/
47 $(CP) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin/
50 $(eval $(call BuildPackage,pure-ftpd))