X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Fvsftpd%2FMakefile;h=c249c2f9daf4ca55f3e290cfd055997679749061;hb=a725f32861412424ae12c1c1a8ad8910c6287153;hp=391d4873ac395510a0bc70e4b0f06208a1ed58f7;hpb=1c15dd2a9de01d2147fcecaa724700acdf6af1a1;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/vsftpd/Makefile b/net/vsftpd/Makefile index 391d4873ac..c249c2f9da 100644 --- a/net/vsftpd/Makefile +++ b/net/vsftpd/Makefile @@ -1,58 +1,49 @@ -# -# Copyright (C) 2006 OpenWrt.org +# +# Copyright (C) 2006-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk PKG_NAME:=vsftpd -PKG_VERSION:=2.0.5 +PKG_VERSION:=2.3.2 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/ -PKG_MD5SUM:=146062e8b2f93af43ff6c2c770feea94 -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install +PKG_MD5SUM:=bad7b117d737a738738836041edc00db include $(INCLUDE_DIR)/package.mk define Package/vsftpd + SUBMENU:=FTP SECTION:=net CATEGORY:=Network TITLE:=A fast and secure FTP server URL:=http://vsftpd.beasts.org/ + MAINTAINER:=Cezary Jackiewicz endef define Package/vsftpd/conffiles /etc/vsftpd.conf endef -define Build/Configure -endef - define Build/Compile - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ + CC="$(TARGET_CC)" \ CFLAGS="$(TARGET_CFLAGS)" \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - vsftpd install + vsftpd endef define Package/vsftpd/install $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/vsftpd $(1)/usr/sbin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/etc - $(INSTALL_DATA) ./files/vsftpd.conf $(1)/etc/vsftpd.conf + $(INSTALL_CONF) ./files/$(PKG_NAME).conf $(1)/etc/$(PKG_NAME).conf $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/vsftpd.init $(1)/etc/init.d/vsftpd + $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME) endef $(eval $(call BuildPackage,vsftpd))