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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
menuconfig PUREFTPD
tristate
prompt "pureftpd "
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
default n
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!
comment "runtime options ---"
config PUREFTPD_ETC_CONFIG
bool
prompt "default config"
default n
help
This installs a user defined configuration for pure-ftp. PTXdist
uses files projectroot/etc/pure-ftpd.defaults in your local project
choice
prompt "Kind of startup"
default PUREFTPD_STARTUP_TYPE_STANDALONE
config PUREFTPD_INETD_SERVER
bool
prompt "inetd driven"
help
pureftp server will be started on demand from inetd. This installs
a startup configuration for pureftp from inetd. It adds to the
/etc/inetd.conf a line like this:
ftp stream tcp nowait root /usr/bin/pureftp ftpd
Note: You must enable one of the two possible inet daemons:
There is one embedded in busybox and one in packet inetutils.
config ROOTFS_ETC_INITD_PUREFTPD
bool
prompt "standalone"
help
This installs pureftp startup script /etc/init.d/pure-ftpd.
With this script the pure-ftp server will be started at system
startup and waits for connections
endchoice
config PUREFTPD_INETD_STRING
string
depends on PUREFTPD_INETD_SERVER
prompt "inetd service entry"
default "ftp stream tcp nowait root /usr/bin/pure-ftp ftpd"
help
This string is added to inetd's configuration /etc/inetd.conf.
choice
prompt "Kind of startup script"
default ROOTFS_ETC_INITD_PUREFTPD_DEFAULT
depends on ROOTFS_ETC_INITD_PUREFTPD
config ROOTFS_ETC_INITD_PUREFTPD_DEFAULT
bool
prompt "Use generic"
help
Installs a generic /etc/init.d/pure-ftpd startup script.
See <ptxdist-install>/generic/etc/init.d/pure-ftpd
config ROOTFS_ETC_INITD_PUREFTPD_USER
bool
prompt "User defined"
help
This uses a user defined pure-ftpd startup script. PTXdist
uses files projectroot/etc/init.d/pure-ftpd in your local
project
endchoice
endif
|