mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e736dd9db4
- style (spaces -> ^I) - clean up post-patch target - make sure /var/ftp exists PR: 32929, 32939 Submitted by: Matthias Andree <matthias.andree@web.de>, Miguel Mendez <flynn@energyhq.homeip.net> Approved by: nbm (approval to update the port while he is away)
10 lines
394 B
Plaintext
10 lines
394 B
Plaintext
libexec/vsftpd
|
|
@exec mkdir -p %D/share/vsftpd/empty
|
|
@unexec if ! `grep -q %D/etc/vsftpd.conf %D/etc/vsftpd.conf.dist`; then rm %D/etc/vsftpd.conf; fi
|
|
etc/vsftpd.conf.dist
|
|
@exec if [ ! -f %B/vsftpd.conf ]; then cp %B/vsftpd.conf.dist %B/vsftpd.conf; fi
|
|
@exec if [ ! -d /var/ftp ]; then mkdir /var/ftp ; fi
|
|
@unexec rmdir /var/ftp 2>/dev/null || true
|
|
@dirrm share/vsftpd/empty
|
|
@dirrm share/vsftpd
|