2006-12-11 15:26:08 +00:00
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := pure-ftpd
PKG_VERSION := 1.0.21
PKG_RELEASE := 1
PKG_MD5SUM := ca8a8dbec0cd9c8ea92fc4c37ea9c410
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE_URL := http://download.pureftpd.org/pub/pure-ftpd/releases/
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_CAT := bzcat
PKG_INSTALL_DIR := $( PKG_BUILD_DIR) /ipkg-install
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / p u r e - f t p d
2007-09-25 18:22:38 +00:00
SUBMENU:= FTP
2006-12-11 15:26:08 +00:00
SECTION:= net
CATEGORY:= Network
DEPENDS:= +libelf
TITLE:= Secure FTP made easy!
URL:= http://www.pureftpd.org/project/pure-ftpd
e n d e f
2007-10-14 04:32:56 +00:00
d e f i n e P a c k a g e / p u r e - f t p d / d e s c r i p t i o n
Pure-FTPd is a free ( BSD) , secure, production-quality and standard-conformant FTP server.\ It doesn' t provide useless bells and whistles, but focuses on efficiency and ease of use.\ It provides simple answers to common needs, plus unique useful features for personal users\ as well as hosting providers.
e n d e f
2006-12-11 15:26:08 +00:00
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default,--with-everything)
e n d e f
d e f i n e P a c k a g e / p u r e - f t p d / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/init.d $( 1) /usr/sbin
install -m0755 ./files/$( PKG_NAME) .init $( 1) /etc/init.d/$( PKG_NAME)
$( CP) $( PKG_BUILD_DIR) /src/pure-{ ftpd,pw,ftpwho,mrtginfo,pwconvert,quotacheck,statsdecode,uploadscript,authd} $( 1) /usr/sbin/
$( CP) $( PKG_BUILD_DIR) /src/ptracetest $( 1) /usr/sbin/
e n d e f
$( eval $ ( call BuildPackage ,pure -ftpd ) )