summaryrefslogtreecommitdiffstats
path: root/vsftpd/07-utf8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vsftpd/07-utf8.patch')
-rw-r--r--vsftpd/07-utf8.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/vsftpd/07-utf8.patch b/vsftpd/07-utf8.patch
deleted file mode 100644
index cf03e08ad3..0000000000
--- a/vsftpd/07-utf8.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1Author: Chuck Short <zulcss@ubuntu.com>
2Description: Adding support for UTF8.
3
4diff -Naurp vsftpd.orig/features.c vsftpd/features.c
5--- vsftpd.orig/features.c 2008-12-04 06:00:47.000000000 +0000
6+++ vsftpd/features.c 2010-02-25 13:28:06.000000000 +0000
7@@ -21,6 +21,10 @@ handle_feat(struct vsf_session* p_sess)
8 vsf_cmdio_write_raw(p_sess, " AUTH SSL\r\n");
9 vsf_cmdio_write_raw(p_sess, " AUTH TLS\r\n");
10 }
11+ if (tunable_utf8_filesystem)
12+ {
13+ vsf_cmdio_write_raw(p_sess, " UTF8\r\n");
14+ }
15 if (tunable_port_enable)
16 {
17 vsf_cmdio_write_raw(p_sess, " EPRT\r\n");
18diff -Naurp vsftpd.orig/parseconf.c vsftpd/parseconf.c
19--- vsftpd.orig/parseconf.c 2009-08-07 18:46:40.000000000 +0000
20+++ vsftpd/parseconf.c 2010-02-25 13:28:06.000000000 +0000
21@@ -28,6 +28,7 @@ static struct parseconf_bool_setting
22 parseconf_bool_array[] =
23 {
24 { "anonymous_enable", &tunable_anonymous_enable },
25+ { "utf8_filesystem", &tunable_utf8_filesystem },
26 { "local_enable", &tunable_local_enable },
27 { "pasv_enable", &tunable_pasv_enable },
28 { "port_enable", &tunable_port_enable },
29diff -Naurp vsftpd.orig/tunables.c vsftpd/tunables.c
30--- vsftpd.orig/tunables.c 2009-07-15 20:08:27.000000000 +0000
31+++ vsftpd/tunables.c 2010-02-25 13:28:06.000000000 +0000
32@@ -10,6 +10,7 @@
33
34 int tunable_anonymous_enable;
35 int tunable_local_enable;
36+int tunable_utf8_filesystem;
37 int tunable_pasv_enable;
38 int tunable_port_enable;
39 int tunable_chroot_local_user;
40@@ -146,6 +147,7 @@ tunables_load_defaults()
41 {
42 tunable_anonymous_enable = 1;
43 tunable_local_enable = 0;
44+ tunable_utf8_filesystem = 0;
45 tunable_pasv_enable = 1;
46 tunable_port_enable = 1;
47 tunable_chroot_local_user = 0;
48diff -Naurp vsftpd.orig/tunables.h vsftpd/tunables.h
49--- vsftpd.orig/tunables.h 2009-07-07 01:37:28.000000000 +0000
50+++ vsftpd/tunables.h 2010-02-25 13:28:06.000000000 +0000
51@@ -11,6 +11,7 @@ void tunables_load_defaults();
52 /* Booleans */
53 extern int tunable_anonymous_enable; /* Allow anon logins */
54 extern int tunable_local_enable; /* Allow local logins */
55+extern int tunable_utf8_filesystem; /* Server uses UTF8 Filesystem */
56 extern int tunable_pasv_enable; /* Allow PASV */
57 extern int tunable_port_enable; /* Allow PORT */
58 extern int tunable_chroot_local_user; /* Restrict local to home dir */