opt/vsftpd/Pkgfile

26 lines
730 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
2008-07-11 09:29:19 +02:00
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
2010-04-16 09:20:52 +02:00
# Depends on: openssl libcap tcp_wrappers
2006-02-23 16:26:10 +01:00
name=vsftpd
2010-08-29 11:21:28 +02:00
version=2.3.2
2009-02-20 15:10:37 +01:00
release=1
2006-02-23 16:26:10 +01:00
source=(ftp://vsftpd.beasts.org/users/cevans/$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
}