2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Probably the most secure and fastest FTP server
|
|
|
|
|
# URL: http://vsftpd.beasts.org
|
|
|
|
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
|
|
name=vsftpd
|
2008-02-15 13:48:33 +01:00
|
|
|
|
version=2.0.6
|
|
|
|
|
release=1
|
2006-02-23 15:26:10 +00:00
|
|
|
|
source=(ftp://vsftpd.beasts.org/users/cevans/$name-$version.tar.gz \
|
2008-02-15 13:48:33 +01:00
|
|
|
|
$name-config.patch $name-syscall.patch vsftpd)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build () {
|
|
|
|
|
cd $name-$version
|
2008-02-15 13:48:33 +01:00
|
|
|
|
|
|
|
|
|
patch -p1 -i $SRC/$name-syscall.patch
|
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
|
|
|
|
|
}
|