blob: e441a617eeb3a33fd2f724635003effc20da035e (
plain)
1 # Description: Probably the most secure and fastest FTP server
2 # URL: http://vsftpd.beasts.org
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: openssl libcap tcp_wrappers
5
6 name=vsftpd
7 version=3.0.2
8 release=1
9 source=(https://security.appspot.com/downloads/$name-$version.tar.gz \
10 $name-config.patch vsftpd)
11
12 build () {
13 cd $name-$version
14
15 patch -p1 -i $SRC/$name-config.patch
16
17 make
18 make DESTDIR=$PKG install
19
20 install -d $PKG/{etc/{rc.d,ssl/{certs,keys}},var/log}
21 install -m 755 $SRC/vsftpd $PKG/etc/rc.d
22 touch $PKG/etc/ssl/{certs/$name.crt,keys/$name.key}
23 chmod 600 $PKG/etc/ssl/{certs/$name.crt,keys/$name.key}
24 touch $PKG/var/log/vsftpd.log
25 }
|