Upgrade portmap to 6.0 (#2317)
[openwrt/svn-archive/archive.git] / net / vsftpd / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=vsftpd
12 PKG_VERSION:=2.0.5
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/
17 PKG_MD5SUM:=146062e8b2f93af43ff6c2c770feea94
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/vsftpd
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=A fast and secure FTP server
25 URL:=http://vsftpd.beasts.org/
26 endef
27
28 define Package/vsftpd/conffiles
29 /etc/vsftpd.conf
30 endef
31
32 define Package/vsftpd/install
33 $(INSTALL_DIR) $(1)/usr/sbin
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/vsftpd $(1)/usr/sbin/
35 $(INSTALL_DIR) $(1)/etc
36 $(INSTALL_CONF) ./files/vsftpd.conf $(1)/etc/vsftpd.conf
37 $(INSTALL_DIR) $(1)/etc/init.d
38 $(INSTALL_BIN) ./files/vsftpd.init $(1)/etc/init.d/vsftpd
39 endef
40
41 $(eval $(call BuildPackage,vsftpd))