opt/vsftpd/Pkgfile

26 lines
699 B
Plaintext

# Description: Probably the most secure and fastest FTP server
# URL: http://vsftpd.beasts.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: openssl libcap
name=vsftpd
version=3.0.3
release=1
source=(https://security.appspot.com/downloads/$name-$version.tar.gz \
$name-config.patch vsftpd)
build () {
cd $name-$version
patch -p1 -i $SRC/$name-config.patch
make
make DESTDIR=$PKG install
install -d $PKG/{etc/{rc.d,ssl/{certs,keys}},var/log}
install -m 755 $SRC/vsftpd $PKG/etc/rc.d
touch $PKG/etc/ssl/{certs/$name.crt,keys/$name.key}
chmod 600 $PKG/etc/ssl/{certs/$name.crt,keys/$name.key}
touch $PKG/var/log/vsftpd.log
}