[package] update pure-ftpd to 1.0.27 (#6355)
[openwrt/svn-archive/archive.git] / net / pure-ftpd / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pure-ftpd
11 PKG_VERSION:=1.0.27
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/pure-ftpd/releases
16 PKG_MD5SUM:=7d18544384aa1649d483ba86518ed34e
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/pure-ftpd
21 SUBMENU:=FTP
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+libelf
25 TITLE:=Secure FTP made easy!
26 URL:=http://www.pureftpd.org/project/pure-ftpd
27 endef
28
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.
35 endef
36
37 define Package/pure-ftpd/conffiles
38 /etc/config/pure-ftpd
39 endef
40
41 CONFIGURE_ARGS += \
42 --with-everything \
43 --with-virtualchroot \
44
45 define Package/pure-ftpd/install
46 $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin
47 $(INSTALL_CONF) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
48 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin
50 $(INSTALL_BIN) $(foreach i,ftpd pw ftpwho mrtginfo pwconvert quotacheck statsdecode uploadscript authd, \
51 $(PKG_BUILD_DIR)/src/pure-$(i)) $(1)/usr/sbin
52 endef
53
54 $(eval $(call BuildPackage,pure-ftpd))