opt/vsftpd/Pkgfile

25 lines
787 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
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
# Depends on: openssl
name=vsftpd
2006-07-04 09:12:31 +02:00
version=2.0.5
2006-11-26 18:12:18 +01:00
release=2
2006-02-23 16:26:10 +01:00
source=(ftp://vsftpd.beasts.org/users/cevans/$name-$version.tar.gz \
2006-11-26 18:12:18 +01:00
$name-config.patch $name-$version-syscall.patch vsftpd)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2006-11-26 18:12:18 +01:00
patch -p1 -i $SRC/$name-$version-syscall.patch
patch -p1 -i $SRC/$name-config.patch
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
}