vsftp: use /var/ftp as data directory

This commit is contained in:
Juergen Daubert 2006-03-30 17:05:09 +00:00
parent 0ef2acd5d0
commit 279c4baa28
2 changed files with 3 additions and 4 deletions

View File

@ -5,8 +5,6 @@ drwxr-xr-x root/root etc/ssl/
drwxr-xr-x root/root etc/ssl/certs/
-rw------- root/root etc/ssl/certs/vsftpd.pem (EMPTY)
-rw------- root/root etc/vsftpd.conf
drwxr-xr-x root/root home/
drwxr-xr-x root/root home/ftp/
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man5/
@ -16,5 +14,6 @@ drwxr-xr-x root/root usr/man/man8/
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/vsftpd
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/ftp/
drwxr-xr-x root/root var/log/
-rw-r--r-- root/root var/log/vsftpd.log (EMPTY)

View File

@ -5,7 +5,7 @@
name=vsftpd
version=2.0.4
release=1
release=2
source=(ftp://vsftpd.beasts.org/users/cevans/$name-$version.tar.gz \
$name-$version.patch vsftpd)
@ -15,7 +15,7 @@ build () {
make
make DESTDIR=$PKG install
install -d $PKG/{etc/{rc.d,ssl/certs},home/ftp,var/log}
install -d $PKG/{etc/{rc.d,ssl/certs},var/ftp,var/log}
install -m 755 $SRC/vsftpd $PKG/etc/rc.d
touch $PKG/etc/ssl/certs/$name.pem
chmod 600 $PKG/etc/ssl/certs/$name.pem