2008-04-13 09:45:50 +00:00
|
|
|
#
|
2009-04-25 21:03:43 +00:00
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2006-07-24 18:45:15 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=vsftpd
|
2009-08-21 08:11:35 +00:00
|
|
|
PKG_VERSION:=2.2.0
|
2009-05-30 15:10:15 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-07-24 18:45:15 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/
|
2009-08-21 08:11:35 +00:00
|
|
|
PKG_MD5SUM:=e4eb190af270ae65d57a84274a38ec31
|
2006-07-24 18:45:15 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/vsftpd
|
2007-09-25 18:22:38 +00:00
|
|
|
SUBMENU:=FTP
|
2006-07-24 18:45:15 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=A fast and secure FTP server
|
|
|
|
URL:=http://vsftpd.beasts.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/vsftpd/conffiles
|
|
|
|
/etc/vsftpd.conf
|
|
|
|
endef
|
|
|
|
|
2009-04-25 21:03:43 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
CC="$(TARGET_CC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
vsftpd
|
|
|
|
endef
|
|
|
|
|
2006-07-24 18:45:15 +00:00
|
|
|
define Package/vsftpd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2008-04-13 09:45:50 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
2008-04-13 09:45:50 +00:00
|
|
|
$(INSTALL_CONF) ./files/$(PKG_NAME).conf $(1)/etc/$(PKG_NAME).conf
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
2008-04-13 09:45:50 +00:00
|
|
|
$(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
|
2006-07-24 18:45:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,vsftpd))
|