1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/ftp/vsftpd/pkg-plist
Dirk Meyer 4cc160ab2d - remove user ftp on deinstall
- remove deinstall/install scripts

- create /var/ftp in stage
PR:		185300
2013-12-31 07:41:01 +00:00

57 lines
2.5 KiB
Plaintext

libexec/vsftpd
man/man5/vsftpd.conf.5.gz
man/man8/vsftpd.8.gz
@exec if ! pw usershow ftp 2>/dev/null; then pw useradd ftp -g operator -u 14 -h - -d /var/ftp -s /nonexistent -c "Anonymous Ftp"; fi
@unexec if pw usershow ftp | grep -q 14:5; then pw userdel ftp; fi
@unexec if diff -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
@unexec rmdir /var/ftp 2>/dev/null || true
@exec if [ ! -d /var/ftp ]; then mkdir /var/ftp ; fi
@exec mkdir -p %D/share/vsftpd/empty
@dirrm share/vsftpd/empty
@dirrm share/vsftpd
%%PORTDOCS%%%%DOCSDIR%%/AUDIT
%%PORTDOCS%%%%DOCSDIR%%/BENCHMARKS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/INTERNET_SITE/README
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/INTERNET_SITE/vsftpd.conf
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/INTERNET_SITE/vsftpd.xinetd
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/INTERNET_SITE_NOINETD/README
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/PER_IP_CONFIG/README
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/PER_IP_CONFIG/hosts.allow
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/README
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/VIRTUAL_HOSTS/README
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS/README
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS/logins.txt
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS/vsftpd.conf
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS/vsftpd.pam
%%PORTDOCS%%%%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS_2/README
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.security
%%PORTDOCS%%%%DOCSDIR%%/README.ssl
%%PORTDOCS%%%%DOCSDIR%%/REFS
%%PORTDOCS%%%%DOCSDIR%%/REWARD
%%PORTDOCS%%%%DOCSDIR%%/SECURITY/DESIGN
%%PORTDOCS%%%%DOCSDIR%%/SECURITY/IMPLEMENTATION
%%PORTDOCS%%%%DOCSDIR%%/SECURITY/OVERVIEW
%%PORTDOCS%%%%DOCSDIR%%/SECURITY/TRUST
%%PORTDOCS%%%%DOCSDIR%%/SIZE
%%PORTDOCS%%%%DOCSDIR%%/SPEED
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/TUNING
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/INTERNET_SITE
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/INTERNET_SITE_NOINETD
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/PER_IP_CONFIG
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/VIRTUAL_HOSTS
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS_2
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE
%%PORTDOCS%%@dirrm %%DOCSDIR%%/SECURITY
%%PORTDOCS%%@dirrm %%DOCSDIR%%