opt/vsftpd/Pkgfile

26 lines
699 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Probably the most secure and fastest FTP server
# URL: http://vsftpd.beasts.org
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2015-06-27 17:40:35 +02:00
# Depends on: openssl libcap
2006-02-23 16:26:10 +01:00
name=vsftpd
version=3.0.3
2009-02-20 15:10:37 +01:00
release=1
source=(https://security.appspot.com/downloads/$name-$version.tar.gz \
$name-config.patch vsftpd)
2006-02-23 16:26:10 +01: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 16:26:10 +01:00
make
make DESTDIR=$PKG install
2006-07-04 09:12:31 +02:00
install -d $PKG/{etc/{rc.d,ssl/{certs,keys}},var/log}
2006-02-23 16:26:10 +01:00
install -m 755 $SRC/vsftpd $PKG/etc/rc.d
2006-07-04 09:12:31 +02: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 16:26:10 +01:00
touch $PKG/var/log/vsftpd.log
}