2 # Copyright (C) 2006-2009 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.gz
15 PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/
16 PKG_MD5SUM:=6d6bc136af14c23f8fef6f1a51f55418
18 include $(INCLUDE_DIR)/package.mk
24 TITLE:=A fast and secure FTP server
25 URL:=http://vsftpd.beasts.org/
28 define Package/vsftpd/conffiles
33 $(MAKE) -C $(PKG_BUILD_DIR) \
35 CFLAGS="$(TARGET_CFLAGS)" \
39 define Package/vsftpd/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
42 $(INSTALL_DIR) $(1)/etc
43 $(INSTALL_CONF) ./files/$(PKG_NAME).conf $(1)/etc/$(PKG_NAME).conf
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
48 $(eval $(call BuildPackage,vsftpd))