Sat, 24 Mar 2012 21:40:49 +0100
Introduce many changes to the buildconf and source code including:
(01) clean up, update, and partially update default config files,
(02) seems that Melware is unable to perform release engineering so
update chan_capi to new daily snapshot to solve echo problems,
(03) correct Asterisk inadequate hard coded gmime version check,
(04) force postgresql pthreads linkage to solve build problem,
(05) remove buggy hard coded LibXML configure definitions,
(06) remove local architecture specification to allow GCC
internal logic to determine proper CPU type instead,
(07) remove vendor sound install target causing uncontrolled
downloads and non RPM managed file installation,
(08) solve long outstanding bug in tcptls causing Asterisk
to ignore any intermediate CA certificate signatures,
(09) back out Digium engineering team's bright idea of replacing the
very portable and pervasive POSIX rand(1) with ast_random(), and
then not even implementing it causing all references to fail in
platforms not providing the very new POSIX.1-2008 mkdtemp(3)
function only distributed by BSD and some Linux,
(10) withdraw advanced linker symbol manipulations from SVR5 builds
until either Binutils supports hybrid versioned and anonymous
linker scripts or GCC stops hard coding versioned linker scripts,
(11) correct missing library linkage, some tailored to a specific OS,
(12) remove outdated logic for the no longer distributed gmime-config(1),
(13) remove local gmime buildconf hacks now that Asterisk has corrected
their own build configuration to almost portably support gmime,
(14) solve build problems relating to undetected LibXML paths,
(15) correct erroneous out of tree include definitions,
(16) improve some variable and comment naming,
(17) simplify sound language path hierarchy creation,
and correct australian english installation logic.
1 ##
2 ## proftpd.conf -- ProFTPD Configuration
3 ##
5 ServerType standalone
6 DefaultServer off
7 SocketBindTight on
8 Port none
10 MaxInstances 40
11 User @l_nusr@
12 Group @l_ngrp@
13 Umask 022 022
15 UseReverseDNS off
16 MultilineRFC2228 on
17 ShowSymlinks on
18 AllowOverwrite on
19 MaxLoginAttempts 2
20 RequireValidShell yes
21 ListOptions "-l"
23 @l_pam@AuthPAM on
24 @l_pam@AuthPAMConfig proftpd
25 @l_pam@AuthPAMAuthoritative off
26 #PersistentPasswd off
28 CommandBufferSize 1023
29 TimeoutLogin 120
30 TimeoutNoTransfer 600
31 TimeoutStalled 600
32 TimeoutIdle 1200
34 LogFormat default "%h %l %u %t \"%r\" %s %b"
35 LogFormat auth "%v [%P] %h %t \"%r\" %s"
36 LogFormat write "%h %l %u %t \"%r\" %s %b"
37 SystemLog @l_prefix@/var/proftpd/proftpd.system.log
38 ScoreboardFile @l_prefix@/var/proftpd/proftpd.scoreboard
40 <Global>
41 ExtendedLog @l_prefix@/var/proftpd/proftpd.access.log WRITE,READ write
42 ExtendedLog @l_prefix@/var/proftpd/proftpd.auth.log AUTH auth
43 TransferLog @l_prefix@/var/proftpd/proftpd.xfer.log
44 IdentLookups off
45 DeferWelcome off
46 DisplayGoAway @l_prefix@/etc/proftpd/proftpd.msg.goaway
47 DisplayLogin @l_prefix@/etc/proftpd/proftpd.msg.login
48 DisplayChdir .message true
49 DisplayReadme README*
50 WTmpLog off
51 </Global>
53 <Directory /*>
54 AllowOverwrite on
55 </Directory>
57 # sample virtual Anonymous-FTP only server
58 <VirtualHost 127.0.0.1>
59 Port 21
60 PassivePorts 49152 65535
61 ServerIdent on "localhost FTP Server (ProFTPD) ready."
62 ServerAdmin root@localhost
63 MaxClients 20
65 # allow anonymous logins only
66 <Limit LOGIN>
67 DenyAll
68 </Limit>
70 # Anonymous-FTP
71 <Anonymous @l_prefix@/share/proftpd>
72 User @l_nusr@
73 Group @l_ngrp@
74 UserAlias anonymous @l_nusr@
75 UserAlias ftp @l_nusr@
76 RootLogin off
77 UseFtpUsers off
78 MaxClients 10 "Sorry, max %m users allowed -- try again later, please."
79 RequireValidShell off
80 DisplayGoAway /.msg.goaway
81 DisplayLogin /.msg.login
82 <Limit LOGIN>
83 AllowAll
84 </Limit>
85 <Limit WRITE>
86 DenyAll
87 </Limit>
88 <Limit READ DIRS>
89 IgnoreHidden on
90 </Limit>
91 # optionally allow uploads to a particular directory
92 #<Directory incoming/*>
93 # <Limit STOR>
94 # AllowAll
95 # </Limit>
96 # <Limit WRITE DIRS READ>
97 # DenyAll
98 # </Limit>
99 # <Limit CWD XCWD CDUP>
100 # AllowAll
101 # </Limit>
102 #</Directory>
103 </Anonymous>
104 </VirtualHost>