summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/vsftpd
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-04-07 13:33:53 -0700
committerArmin Kuster <akuster808@gmail.com>2018-04-13 12:43:38 -0700
commit1fd6c706a47a815583bc1e14e4e7a669aa2a235c (patch)
tree69ea135f73373f36c9470f81e2afd98b256fecb4 /meta-networking/recipes-daemons/vsftpd
parenta3a88094a5c3aef30274a8ee66869ad35151e71b (diff)
downloadmeta-openembedded-1fd6c706a47a815583bc1e14e4e7a669aa2a235c.tar.gz
vsftpd: refresh patches
WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file Makefile Hunk #1 succeeded at 29 with fuzz 1 (offset 5 lines). and others Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/vsftpd')
-rw-r--r--meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch37
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch6
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-vsftpd-allow-sysinfo-in-the-seccomp-sandbox.patch6
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-destdir.patch14
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch19
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-strip.patch10
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/nopam-with-tcp_wrappers.patch17
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-2.1.0-filter.patch38
-rw-r--r--meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-tcp_wrappers-support.patch13
9 files changed, 105 insertions, 55 deletions
diff --git a/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch b/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
index 5f2860e84..b69de1d1c 100644
--- a/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
+++ b/meta-networking/recipes-daemons/vsftpd/files/change-secure_chroot_dir.patch
@@ -1,20 +1,25 @@
1vsftpd: change default value of secure_chroot_dir 1From ce2be5d4967445828d5ae9d9462cfaa78ae03c73 Mon Sep 17 00:00:00 2001
2From: Ming Liu <ming.liu@windriver.com>
3Date: Wed, 18 Sep 2013 09:44:20 +0800
4Subject: [PATCH] vsftpd: change default value of secure_chroot_dir
2 5
3Upstream-Status: Pending 6Upstream-Status: Pending
4 7
5Change secure_chroot_dir pointing to a volatile directory. 8Change secure_chroot_dir pointing to a volatile directory.
6 9
7Signed-off-by: Ming Liu <ming.liu@windriver.com> 10Signed-off-by: Ming Liu <ming.liu@windriver.com>
11
8--- 12---
9 INSTALL | 6 +++--- 13 INSTALL | 6 +++---
10 tunables.c | 2 +- 14 tunables.c | 2 +-
11 vsftpd.conf.5 | 2 +- 15 vsftpd.conf.5 | 2 +-
12 3 files changed, 5 insertions(+), 5 deletions(-) 16 3 files changed, 5 insertions(+), 5 deletions(-)
13 17
14diff -urpN a/INSTALL b/INSTALL 18diff --git a/INSTALL b/INSTALL
15--- a/INSTALL 2013-09-13 10:23:57.504972397 +0800 19index 4f811aa..427122a 100644
16+++ b/INSTALL 2013-09-13 10:25:25.664971779 +0800 20--- a/INSTALL
17@@ -27,11 +27,11 @@ user in case it does not already exist. 21+++ b/INSTALL
22@@ -27,11 +27,11 @@ user in case it does not already exist. e.g.:
18 [root@localhost root]# useradd nobody 23 [root@localhost root]# useradd nobody
19 useradd: user nobody exists 24 useradd: user nobody exists
20 25
@@ -29,9 +34,10 @@ diff -urpN a/INSTALL b/INSTALL
29 34
30 2c) For anonymous FTP, you will need the user "ftp" to exist, and have a 35 2c) For anonymous FTP, you will need the user "ftp" to exist, and have a
31 valid home directory (which is NOT owned or writable by the user "ftp"). 36 valid home directory (which is NOT owned or writable by the user "ftp").
32diff -urpN a/tunables.c b/tunables.c 37diff --git a/tunables.c b/tunables.c
33--- a/tunables.c 2013-09-13 10:26:29.554972817 +0800 38index 284a10d..8c63c3f 100644
34+++ b/tunables.c 2013-09-13 10:27:18.104972210 +0800 39--- a/tunables.c
40+++ b/tunables.c
35@@ -254,7 +254,7 @@ tunables_load_defaults() 41@@ -254,7 +254,7 @@ tunables_load_defaults()
36 /* -rw------- */ 42 /* -rw------- */
37 tunable_chown_upload_mode = 0600; 43 tunable_chown_upload_mode = 0600;
@@ -41,10 +47,11 @@ diff -urpN a/tunables.c b/tunables.c
41 install_str_setting("ftp", &tunable_ftp_username); 47 install_str_setting("ftp", &tunable_ftp_username);
42 install_str_setting("root", &tunable_chown_username); 48 install_str_setting("root", &tunable_chown_username);
43 install_str_setting("/var/log/xferlog", &tunable_xferlog_file); 49 install_str_setting("/var/log/xferlog", &tunable_xferlog_file);
44diff -urpN a/vsftpd.conf.5 b/vsftpd.conf.5 50diff --git a/vsftpd.conf.5 b/vsftpd.conf.5
45--- a/vsftpd.conf.5 2013-09-13 10:09:33.774972462 +0800 51index fcc6022..e4ffdee 100644
46+++ b/vsftpd.conf.5 2013-09-13 10:10:41.914971989 +0800 52--- a/vsftpd.conf.5
47@@ -969,7 +969,7 @@ This option should be the name of a dire 53+++ b/vsftpd.conf.5
54@@ -969,7 +969,7 @@ This option should be the name of a directory which is empty. Also, the
48 directory should not be writable by the ftp user. This directory is used 55 directory should not be writable by the ftp user. This directory is used
49 as a secure chroot() jail at times vsftpd does not require filesystem access. 56 as a secure chroot() jail at times vsftpd does not require filesystem access.
50 57
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch
index c3919e117..d81c94a4a 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-sysdeputil.c-Fix-with-musl-which-does-not-have-utmpx.patch
@@ -1,9 +1,10 @@
1From e55135c2a4ea7eae3cb1f4dccf69ca477ea095bf Mon Sep 17 00:00:00 2001 1From c5caf52b9ed79da8916ef5722efe6df61a856e2f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 28 Mar 2017 20:09:12 -0700 3Date: Tue, 28 Mar 2017 20:09:12 -0700
4Subject: [PATCH] sysdeputil.c: Fix with musl which does not have utmpx 4Subject: [PATCH] sysdeputil.c: Fix with musl which does not have utmpx
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com> 6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
7--- 8---
8 sysdeputil.c | 4 +++- 9 sysdeputil.c | 4 +++-
9 1 file changed, 3 insertions(+), 1 deletion(-) 10 1 file changed, 3 insertions(+), 1 deletion(-)
@@ -23,6 +24,3 @@ index 06f01f4..a8cff3b 100644
23 24
24 #define __USE_GNU 25 #define __USE_GNU
25 #include <utmpx.h> 26 #include <utmpx.h>
26--
272.12.1
28
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-vsftpd-allow-sysinfo-in-the-seccomp-sandbox.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-vsftpd-allow-sysinfo-in-the-seccomp-sandbox.patch
index 7accbbc24..c6c0f80a1 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-vsftpd-allow-sysinfo-in-the-seccomp-sandbox.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/0001-vsftpd-allow-sysinfo-in-the-seccomp-sandbox.patch
@@ -1,4 +1,4 @@
1From 37cc924363515c8c309944c455bcbba7ddcc8eda Mon Sep 17 00:00:00 2001 1From 9c4826c19f04da533886209361a2caddf582d65c Mon Sep 17 00:00:00 2001
2From: Mingli Yu <Mingli.Yu@windriver.com> 2From: Mingli Yu <Mingli.Yu@windriver.com>
3Date: Tue, 6 Sep 2016 17:17:44 +0800 3Date: Tue, 6 Sep 2016 17:17:44 +0800
4Subject: [PATCH] vsftpd: allow sysinfo() in the seccomp sandbox 4Subject: [PATCH] vsftpd: allow sysinfo() in the seccomp sandbox
@@ -24,6 +24,7 @@ ftp> mget small*
24OOPS: priv_sock_get_cmd 24OOPS: priv_sock_get_cmd
25 25
26Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> 26Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
27
27--- 28---
28 seccompsandbox.c | 1 + 29 seccompsandbox.c | 1 +
29 1 file changed, 1 insertion(+) 30 1 file changed, 1 insertion(+)
@@ -40,6 +41,3 @@ index 2c350a9..67d9ca5 100644
40 /* Misc */ 41 /* Misc */
41 allow_nr(__NR_umask); 42 allow_nr(__NR_umask);
42 43
43--
442.8.1
45
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-destdir.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-destdir.patch
index 1980d09fd..5ad5c14e7 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-destdir.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-destdir.patch
@@ -1,14 +1,22 @@
1Use DESTDIR within install to allow installing under a prefix 1From bab3f62f1fd5b7c2ab197f4311ad191bf18816b9 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Mon, 20 Feb 2012 13:51:49 +0000
4Subject: [PATCH] Use DESTDIR within install to allow installing under a prefix
2 5
3Upstream-Status: Pending 6Upstream-Status: Pending
4 7
5Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 8Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
6 9
10---
11 Makefile | 26 +++++++++++++-------------
12 1 file changed, 13 insertions(+), 13 deletions(-)
13
7diff --git a/Makefile b/Makefile 14diff --git a/Makefile b/Makefile
15index c63ed1b..9e4f35f 100644
8--- a/Makefile 16--- a/Makefile
9+++ b/Makefile 17+++ b/Makefile
10@@ -24,21 +24,21 @@ 18@@ -29,21 +29,21 @@ vsftpd: $(OBJS)
11 $(CC) -o vsftpd $(OBJS) $(LINK) $(LIBS) 19 $(CC) -o vsftpd $(OBJS) $(LINK) $(LDFLAGS) $(LIBS)
12 20
13 install: 21 install:
14- if [ -x /usr/local/sbin ]; then \ 22- if [ -x /usr/local/sbin ]; then \
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch
index 9a10f722f..d2e58a325 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-libs.patch
@@ -1,4 +1,8 @@
1Hardcode LIBS instead of using a script to determine available libs 1From 328799d0cd5c523ad7a814fefec16d8a84aa8010 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 16 Apr 2013 10:53:55 +0000
4Subject: [PATCH] Hardcode LIBS instead of using a script to determine
5 available libs
2 6
3We want to avoid this dynamic detection so we have a deterministic 7We want to avoid this dynamic detection so we have a deterministic
4build. 8build.
@@ -7,15 +11,20 @@ Upstream-Status: Inappropriate [config]
7 11
8Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 12Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
9 13
14---
15 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
10diff --git a/Makefile b/Makefile 18diff --git a/Makefile b/Makefile
19index 9e4f35f..3a5535d 100644
11--- a/Makefile 20--- a/Makefile
12+++ b/Makefile 21+++ b/Makefile
13@@ -5,7 +5,7 @@ 22@@ -8,7 +8,7 @@ CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \
14 #CFLAGS = -g 23 -D_FORTIFY_SOURCE=2 \
15 CFLAGS = -O2 -Wall -W -Wshadow #-pedantic -Werror -Wconversion 24 #-pedantic -Wconversion
16 25
17-LIBS = `./vsf_findlibs.sh` 26-LIBS = `./vsf_findlibs.sh`
18+LIBS = -lssl -lcrypto -lnsl -lresolv 27+LIBS = -lssl -lcrypto -lnsl -lresolv
19 LINK = -Wl,-s 28 LINK = -Wl,-s
29 LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now
20 30
21 OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-strip.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-strip.patch
index fd3160037..e59607388 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-strip.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/makefile-strip.patch
@@ -1,10 +1,18 @@
1Disable stripping at link time 1From 261874ea47973ea156141185082252fc92081906 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Tue, 16 Apr 2013 10:53:55 +0000
4Subject: [PATCH] Disable stripping at link time
2 5
3Upstream-Status: Inappropriate [config] 6Upstream-Status: Inappropriate [config]
4 7
5Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 8Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
6 9
10---
11 Makefile | 1 -
12 1 file changed, 1 deletion(-)
13
7diff --git a/Makefile b/Makefile 14diff --git a/Makefile b/Makefile
15index 3a5535d..e78019a 100644
8--- a/Makefile 16--- a/Makefile
9+++ b/Makefile 17+++ b/Makefile
10@@ -9,7 +9,6 @@ CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \ 18@@ -9,7 +9,6 @@ CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/nopam-with-tcp_wrappers.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/nopam-with-tcp_wrappers.patch
index fdcf3a02b..a4387c132 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/nopam-with-tcp_wrappers.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/nopam-with-tcp_wrappers.patch
@@ -1,11 +1,20 @@
1Disable PAM 1From 71628ddc91b6efb9b922a3fcf8cc18522f5387be Mon Sep 17 00:00:00 2001
2From: "Roy.Li" <rongqing.li@windriver.com>
3Date: Mon, 20 Feb 2012 13:51:49 +0000
4Subject: [PATCH] Disable PAM
2 5
3Upstream-Status: Inappropriate [config] 6Upstream-Status: Inappropriate [config]
4 7
5Signed-off-by: Roy.Li <rongqing.li@windriver.com> 8Signed-off-by: Roy.Li <rongqing.li@windriver.com>
6diff -ur vsftpd-2.0.1_org/builddefs.h vsftpd-2.0.1_patch/builddefs.h 9
7--- vsftpd-2.0.1_org/builddefs.h 2004-07-02 16:36:59.000000000 +0200 10---
8+++ vsftpd-2.0.1_patch/builddefs.h 2004-07-21 09:34:49.044900488 +0200 11 builddefs.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/builddefs.h b/builddefs.h
15index 0106d1a..f48a568 100644
16--- a/builddefs.h
17+++ b/builddefs.h
9@@ -2,7 +2,7 @@ 18@@ -2,7 +2,7 @@
10 #define VSF_BUILDDEFS_H 19 #define VSF_BUILDDEFS_H
11 20
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-2.1.0-filter.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-2.1.0-filter.patch
index 32f7e8218..590eb5857 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-2.1.0-filter.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-2.1.0-filter.patch
@@ -1,4 +1,7 @@
1Fix the CVE-2015-1419 1From b756444854c5ab3b1284fd7113043fe8860e99ec Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com>
3Date: Fri, 24 Apr 2015 09:36:48 +0800
4Subject: [PATCH] Fix the CVE-2015-1419
2 5
3Upstream-Status: Pending 6Upstream-Status: Pending
4 7
@@ -9,10 +12,17 @@ ftp://195.220.108.108/linux/fedora/linux/development/rawhide/source/SRPMS/v/vsft
9 12
10Signed-off-by: Roy Li <rongqing.li@windriver.com> 13Signed-off-by: Roy Li <rongqing.li@windriver.com>
11 14
12diff -up vsftpd-2.1.0/ls.c.filter vsftpd-2.1.0/ls.c 15---
13--- vsftpd-2.1.0/ls.c.filter 2008-02-02 02:30:41.000000000 +0100 16 ls.c | 26 ++++++++++++++++++++++++--
14+++ vsftpd-2.1.0/ls.c 2009-01-08 19:31:15.000000000 +0100 17 str.c | 11 +++++++++++
15@@ -239,9 +239,31 @@ vsf_filename_passes_filter(const struct 18 str.h | 1 +
19 3 files changed, 36 insertions(+), 2 deletions(-)
20
21diff --git a/ls.c b/ls.c
22index 7e1376d..e9302dd 100644
23--- a/ls.c
24+++ b/ls.c
25@@ -246,9 +246,31 @@ vsf_filename_passes_filter(const struct mystr* p_filename_str,
16 int ret = 0; 26 int ret = 0;
17 char last_token = 0; 27 char last_token = 0;
18 int must_match_at_current_pos = 1; 28 int must_match_at_current_pos = 1;
@@ -46,10 +56,11 @@ diff -up vsftpd-2.1.0/ls.c.filter vsftpd-2.1.0/ls.c
46 while (!str_isempty(&filter_remain_str) && *iters < VSFTP_MATCHITERS_MAX) 56 while (!str_isempty(&filter_remain_str) && *iters < VSFTP_MATCHITERS_MAX)
47 { 57 {
48 static struct mystr s_match_needed_str; 58 static struct mystr s_match_needed_str;
49diff -up vsftpd-2.1.0/str.c.filter vsftpd-2.1.0/str.c 59diff --git a/str.c b/str.c
50--- vsftpd-2.1.0/str.c.filter 2008-12-17 06:54:16.000000000 +0100 60index 6596204..ba4b92a 100644
51+++ vsftpd-2.1.0/str.c 2009-01-08 19:31:15.000000000 +0100 61--- a/str.c
52@@ -680,3 +680,14 @@ str_replace_unprintable(struct mystr* p_ 62+++ b/str.c
63@@ -711,3 +711,14 @@ str_replace_unprintable(struct mystr* p_str, char new_char)
53 } 64 }
54 } 65 }
55 66
@@ -64,10 +75,11 @@ diff -up vsftpd-2.1.0/str.c.filter vsftpd-2.1.0/str.c
64+ if (str_isempty(d_str)) 75+ if (str_isempty(d_str))
65+ str_copy (d_str, path); 76+ str_copy (d_str, path);
66+} 77+}
67diff -up vsftpd-2.1.0/str.h.filter vsftpd-2.1.0/str.h 78diff --git a/str.h b/str.h
68--- vsftpd-2.1.0/str.h.filter 2008-12-17 06:53:23.000000000 +0100 79index ab0a9a4..3a21b50 100644
69+++ vsftpd-2.1.0/str.h 2009-01-08 19:32:14.000000000 +0100 80--- a/str.h
70@@ -100,6 +100,7 @@ void str_replace_unprintable(struct myst 81+++ b/str.h
82@@ -100,6 +100,7 @@ void str_replace_unprintable(struct mystr* p_str, char new_char);
71 int str_atoi(const struct mystr* p_str); 83 int str_atoi(const struct mystr* p_str);
72 filesize_t str_a_to_filesize_t(const struct mystr* p_str); 84 filesize_t str_a_to_filesize_t(const struct mystr* p_str);
73 unsigned int str_octal_to_uint(const struct mystr* p_str); 85 unsigned int str_octal_to_uint(const struct mystr* p_str);
diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-tcp_wrappers-support.patch b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-tcp_wrappers-support.patch
index 69745b3a1..c558aee0a 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-tcp_wrappers-support.patch
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.3/vsftpd-tcp_wrappers-support.patch
@@ -1,11 +1,15 @@
1Enable tcp_wrapper. 1From c026b0c0de4eebb189bc77b2d4c3b9528454ac04 Mon Sep 17 00:00:00 2001
2From: "Roy.Li" <rongqing.li@windriver.com>
3Date: Fri, 19 Jul 2013 10:19:25 +0800
4Subject: [PATCH] Enable tcp_wrapper.
2 5
3Upstream-Status: Inappropriate [configuration] 6Upstream-Status: Inappropriate [configuration]
4 7
5Signed-off-by: Roy.Li <rongqing.li@windriver.com> 8Signed-off-by: Roy.Li <rongqing.li@windriver.com>
9
6--- 10---
7 builddefs.h | 2 +- 11 builddefs.h | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
9 13
10diff --git a/builddefs.h b/builddefs.h 14diff --git a/builddefs.h b/builddefs.h
11index e908352..0106d1a 100644 15index e908352..0106d1a 100644
@@ -20,6 +24,3 @@ index e908352..0106d1a 100644
20 #define VSF_BUILD_PAM 24 #define VSF_BUILD_PAM
21 #undef VSF_BUILD_SSL 25 #undef VSF_BUILD_SSL
22 26
23--
241.7.1
25