From 8e84dbd1c5a70df1c79726d29d016c5f005316cc Mon Sep 17 00:00:00 2001 From: Stephen Walker Date: Thu, 18 Feb 2010 05:21:38 +0000 Subject: [PATCH] [packages] pure-ftpd: update to 1.0.28 SVN-Revision: 19701 --- net/pure-ftpd/Makefile | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/net/pure-ftpd/Makefile b/net/pure-ftpd/Makefile index 15ce3cf138..6ee79ef0e4 100644 --- a/net/pure-ftpd/Makefile +++ b/net/pure-ftpd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007 OpenWrt.org +# Copyright (C) 2007-2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=pure-ftpd -PKG_VERSION:=1.0.27 +PKG_VERSION:=1.0.28 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/pure-ftpd/releases -PKG_MD5SUM:=7d18544384aa1649d483ba86518ed34e +PKG_MD5SUM:=a6f63e31be494df4e3174535bf8d6be1 + +PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk @@ -43,12 +45,19 @@ CONFIGURE_ARGS += \ --with-virtualchroot \ define Package/pure-ftpd/install - $(INSTALL_DIR) $(1)/etc/config $(1)/etc/init.d $(1)/usr/sbin + $(INSTALL_DIR) $(1)/etc/config $(INSTALL_CONF) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME) + $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME) - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin - $(INSTALL_BIN) $(foreach i,ftpd pw ftpwho mrtginfo pwconvert quotacheck statsdecode uploadscript authd, \ - $(PKG_BUILD_DIR)/src/pure-$(i)) $(1)/usr/sbin + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/pure-{pw,pwconvert,statsdecode} \ + $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin/ + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/sbin/pure-{authd,ftpd,ftpwho,mrtginfo,quotacheck,uploadscript} \ + $(1)/usr/sbin/ endef $(eval $(call BuildPackage,pure-ftpd)) -- 2.30.2