2b9da571f3
- Added char convertion without iconv for some charsets. - Added rules for anonymous access based on user's IP address masks. - Added rules for user access only from defined IPs. - Allow or disallow delete files by anonymous. - Added chowning anonymous uploaded files by user IP. - Added new parametr double_377 (by default 1). This paramert switch off telnet specific character \377. - Changed find libs in "vsf_findlibs.sh". - Different speed for upload and download data transfer rates for anonymous and local users. WWW: http://vsftpd.devnet.ru/eng/ PR: ports/132556 Submitted by: Maxim Ignatenko
52 lines
2.2 KiB
Text
52 lines
2.2 KiB
Text
libexec/vsftpd
|
|
@exec mkdir -p %D/share/vsftpd/empty
|
|
@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
|
|
@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
|
|
%%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%%
|