2006-02-23 15:26:10 +00:00
|
|
|
# Description: Probably the most secure and fastest FTP server
|
|
|
|
# URL: http://vsftpd.beasts.org
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2008-10-28 13:27:53 +01:00
|
|
|
# Depends on: openssl libcap
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=vsftpd
|
2009-08-14 11:57:42 +02:00
|
|
|
version=2.2.0
|
2009-02-20 15:10:37 +01:00
|
|
|
release=1
|
2006-02-23 15:26:10 +00:00
|
|
|
source=(ftp://vsftpd.beasts.org/users/cevans/$name-$version.tar.gz \
|
2008-10-28 13:27:53 +01:00
|
|
|
$name-config.patch vsftpd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2008-02-15 13:48:33 +01:00
|
|
|
|
2006-11-26 18:12:18 +01:00
|
|
|
patch -p1 -i $SRC/$name-config.patch
|
2008-02-15 13:48:33 +01:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2006-07-04 07:12:31 +00:00
|
|
|
install -d $PKG/{etc/{rc.d,ssl/{certs,keys}},var/log}
|
2006-02-23 15:26:10 +00:00
|
|
|
install -m 755 $SRC/vsftpd $PKG/etc/rc.d
|
2006-07-04 07:12:31 +00:00
|
|
|
touch $PKG/etc/ssl/{certs/$name.crt,keys/$name.key}
|
|
|
|
chmod 600 $PKG/etc/ssl/{certs/$name.crt,keys/$name.key}
|
2006-02-23 15:26:10 +00:00
|
|
|
touch $PKG/var/log/vsftpd.log
|
|
|
|
}
|