Settings for RFC2640

Bug #41059 reported by Adoal Xu
6
Affects Status Importance Assigned to Milestone
pure-ftpd (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Sorry for that I had just ask for RFC2640 settings without the method to use, -_-;;;

Here is my patch to /usr/sbin/pure-ftpd-wrapper
After patching it, its possible to set the values in /etc/pure-ftpd/conf/{ClientEncoding,FileSystemEncoding}

I use the term 'Encoding' rather than 'charset' from the upper stream author because I don't think she/he use this term correctly. :)

--- pure-ftpd-wrapper.orig 2006-04-24 16:45:36.000000000 +0800
+++ pure-ftpd-wrapper 2006-04-24 16:45:11.000000000 +0800
@@ -91,6 +91,8 @@
                        'UserBandwidth' => ['-T %s', \&parse_number_1_2],
                        'UserRatio' => ['-Q %d:%d', \&parse_number_2],
                        'VerboseLog' => ['-d'],
+ 'FileSystemEncoding' => ['--fscharset=%s', \&parse_string],
+ 'ClientEncoding' => ['--clientcharset=%s', \&parse_string],
                    );

 my %authconf = ('ExtAuth' => ['extauth:%s', \&parse_sockname],

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

This upload fix the issue:
 pure-ftpd (1.0.21-7ubuntu1) feisty; urgency=low
 .
   * Merge from debian unstable, remaining changes:
     - Added --with-rfc2640 to configure options.
     - Added Suggests: netkit-inetd | openbsd-inetd | xinetd to pure-ftpd.
     - Changed default answer for debconf question to standalone, not inetd.
     - Add update-inetd to pure-ftpd-common's dependencies
   * create /var/run/ directory if necessary in pure-ftpd.init.d (Closes
     Ubuntu #71401)
   * adding FileSystemEncoding and ClientEncoding options in
     debian/pure-ftpd.wrapper (Closes Ubuntu #78806 and #41059)

Changed in pure-ftpd:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.