summaryrefslogtreecommitdiffstats
path: root/rules/pureftpd.in
blob: aba67a03c45f49e65938fc9c112f41ee3e1a29e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
## SECTION=networking
menuconfig PUREFTPD
	tristate
	prompt "pureftpd                      "
	select LIBC_CRYPT
	help
	  Pure-FTPd is a fast, production-quality, standards-conformant
	  FTP server based upon Troll-FTPd. Features include chrooted
	  home directories, virtual domains, built-in 'ls', anti-warez
	  system, configurable ports for passive downloads, FXP protocol,
	  bandwidth throttling, ratios, fortune files, Apache-like log
	  files, fast standalone mode, atomic uploads, text / HTML /
	  XML real-time status report, virtual users, virtual quotas,
 	  privilege separation, SSL/TLS and more.

if PUREFTPD

config PUREFTPD_UPLOADSCRIPT
	bool
	prompt "support upload scripts"
	help
	  Allow running an external script after an upload

comment "build options   ---"

config PUREFTPD_VIRTUALHOSTS
	bool
	prompt "virtual hosts"
	help
	  Handle virtual servers on different IP addresses

config PUREFTPD_DIRALIASES
	bool
	prompt "directory aliases"
	help
	  Enable directory aliases

config PUREFTPD_MINIMAL
	bool
	prompt "minimal ftpd"
	default y
	help
	  To efficiently use features of modern FTP clients, Pure-FTPd implements
	  the basics of the FTP protocol, with many extensions (SITE IDLE,
	  SITE CHMOD, MLSD, ...) . Using this switch, these extensions won't be
	  compiled in. Also, there will be no standalone server, no lookup for
	  user/group names, no humor and no ASCII support. But the executable
	  file size will be smaller than in a default installation. Regular
	  expressions are still working.

# FIXME: Check if this is true: pure-ftpd cannot be started standalone when a minimal
# server was built. Seems not yet. If yes, disable standalone script, when a minimal
# server was built!

config PUREFTPD_SHRINK_MORE
	bool
	depends on PUREFTPD_MINIMAL
	prompt "shrink more"
	help
	  If you still want to reduce the size, use also this switch and don't
	  include the globbing code. It reduces the memory footprint but regular
	  expressions won't work any more (things like 'ls *.rpm').
	  But note: Globbing is a nice feature and for Windows clients most of
	  time required!

config PUREFTPD_STARTSCRIPT
	bool
	default y
	prompt "install /etc/init.d/pureftpd"

endif