diff options
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 5f2860e846..b69de1d1c3 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 @@ | |||
1 | vsftpd: change default value of secure_chroot_dir | 1 | From ce2be5d4967445828d5ae9d9462cfaa78ae03c73 Mon Sep 17 00:00:00 2001 |
2 | From: Ming Liu <ming.liu@windriver.com> | ||
3 | Date: Wed, 18 Sep 2013 09:44:20 +0800 | ||
4 | Subject: [PATCH] vsftpd: change default value of secure_chroot_dir | ||
2 | 5 | ||
3 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
4 | 7 | ||
5 | Change secure_chroot_dir pointing to a volatile directory. | 8 | Change secure_chroot_dir pointing to a volatile directory. |
6 | 9 | ||
7 | Signed-off-by: Ming Liu <ming.liu@windriver.com> | 10 | Signed-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 | ||
14 | diff -urpN a/INSTALL b/INSTALL | 18 | diff --git a/INSTALL b/INSTALL |
15 | --- a/INSTALL 2013-09-13 10:23:57.504972397 +0800 | 19 | index 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"). |
32 | diff -urpN a/tunables.c b/tunables.c | 37 | diff --git a/tunables.c b/tunables.c |
33 | --- a/tunables.c 2013-09-13 10:26:29.554972817 +0800 | 38 | index 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); |
44 | diff -urpN a/vsftpd.conf.5 b/vsftpd.conf.5 | 50 | diff --git a/vsftpd.conf.5 b/vsftpd.conf.5 |
45 | --- a/vsftpd.conf.5 2013-09-13 10:09:33.774972462 +0800 | 51 | index 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 c3919e1174..d81c94a4aa 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 @@ | |||
1 | From e55135c2a4ea7eae3cb1f4dccf69ca477ea095bf Mon Sep 17 00:00:00 2001 | 1 | From c5caf52b9ed79da8916ef5722efe6df61a856e2f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 28 Mar 2017 20:09:12 -0700 | 3 | Date: Tue, 28 Mar 2017 20:09:12 -0700 |
4 | Subject: [PATCH] sysdeputil.c: Fix with musl which does not have utmpx | 4 | Subject: [PATCH] sysdeputil.c: Fix with musl which does not have utmpx |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-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 | -- | ||
27 | 2.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 7accbbc241..c6c0f80a19 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 @@ | |||
1 | From 37cc924363515c8c309944c455bcbba7ddcc8eda Mon Sep 17 00:00:00 2001 | 1 | From 9c4826c19f04da533886209361a2caddf582d65c Mon Sep 17 00:00:00 2001 |
2 | From: Mingli Yu <Mingli.Yu@windriver.com> | 2 | From: Mingli Yu <Mingli.Yu@windriver.com> |
3 | Date: Tue, 6 Sep 2016 17:17:44 +0800 | 3 | Date: Tue, 6 Sep 2016 17:17:44 +0800 |
4 | Subject: [PATCH] vsftpd: allow sysinfo() in the seccomp sandbox | 4 | Subject: [PATCH] vsftpd: allow sysinfo() in the seccomp sandbox |
@@ -24,6 +24,7 @@ ftp> mget small* | |||
24 | OOPS: priv_sock_get_cmd | 24 | OOPS: priv_sock_get_cmd |
25 | 25 | ||
26 | Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> | 26 | Signed-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 | -- | ||
44 | 2.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 1980d09fd4..5ad5c14e7a 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 @@ | |||
1 | Use DESTDIR within install to allow installing under a prefix | 1 | From bab3f62f1fd5b7c2ab197f4311ad191bf18816b9 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Mon, 20 Feb 2012 13:51:49 +0000 | ||
4 | Subject: [PATCH] Use DESTDIR within install to allow installing under a prefix | ||
2 | 5 | ||
3 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
4 | 7 | ||
5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
6 | 9 | ||
10 | --- | ||
11 | Makefile | 26 +++++++++++++------------- | ||
12 | 1 file changed, 13 insertions(+), 13 deletions(-) | ||
13 | |||
7 | diff --git a/Makefile b/Makefile | 14 | diff --git a/Makefile b/Makefile |
15 | index 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 9a10f722f4..d2e58a3254 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 @@ | |||
1 | Hardcode LIBS instead of using a script to determine available libs | 1 | From 328799d0cd5c523ad7a814fefec16d8a84aa8010 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Tue, 16 Apr 2013 10:53:55 +0000 | ||
4 | Subject: [PATCH] Hardcode LIBS instead of using a script to determine | ||
5 | available libs | ||
2 | 6 | ||
3 | We want to avoid this dynamic detection so we have a deterministic | 7 | We want to avoid this dynamic detection so we have a deterministic |
4 | build. | 8 | build. |
@@ -7,15 +11,20 @@ Upstream-Status: Inappropriate [config] | |||
7 | 11 | ||
8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 12 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
9 | 13 | ||
14 | --- | ||
15 | Makefile | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
10 | diff --git a/Makefile b/Makefile | 18 | diff --git a/Makefile b/Makefile |
19 | index 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 fd3160037f..e596073887 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 @@ | |||
1 | Disable stripping at link time | 1 | From 261874ea47973ea156141185082252fc92081906 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
3 | Date: Tue, 16 Apr 2013 10:53:55 +0000 | ||
4 | Subject: [PATCH] Disable stripping at link time | ||
2 | 5 | ||
3 | Upstream-Status: Inappropriate [config] | 6 | Upstream-Status: Inappropriate [config] |
4 | 7 | ||
5 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
6 | 9 | ||
10 | --- | ||
11 | Makefile | 1 - | ||
12 | 1 file changed, 1 deletion(-) | ||
13 | |||
7 | diff --git a/Makefile b/Makefile | 14 | diff --git a/Makefile b/Makefile |
15 | index 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 fdcf3a02b6..a4387c132b 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 @@ | |||
1 | Disable PAM | 1 | From 71628ddc91b6efb9b922a3fcf8cc18522f5387be Mon Sep 17 00:00:00 2001 |
2 | From: "Roy.Li" <rongqing.li@windriver.com> | ||
3 | Date: Mon, 20 Feb 2012 13:51:49 +0000 | ||
4 | Subject: [PATCH] Disable PAM | ||
2 | 5 | ||
3 | Upstream-Status: Inappropriate [config] | 6 | Upstream-Status: Inappropriate [config] |
4 | 7 | ||
5 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | 8 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> |
6 | diff -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 | |||
14 | diff --git a/builddefs.h b/builddefs.h | ||
15 | index 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 32f7e82183..590eb58579 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 @@ | |||
1 | Fix the CVE-2015-1419 | 1 | From b756444854c5ab3b1284fd7113043fe8860e99ec Mon Sep 17 00:00:00 2001 |
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Fri, 24 Apr 2015 09:36:48 +0800 | ||
4 | Subject: [PATCH] Fix the CVE-2015-1419 | ||
2 | 5 | ||
3 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
4 | 7 | ||
@@ -9,10 +12,17 @@ ftp://195.220.108.108/linux/fedora/linux/development/rawhide/source/SRPMS/v/vsft | |||
9 | 12 | ||
10 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | 13 | Signed-off-by: Roy Li <rongqing.li@windriver.com> |
11 | 14 | ||
12 | diff -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 | |||
21 | diff --git a/ls.c b/ls.c | ||
22 | index 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; |
49 | diff -up vsftpd-2.1.0/str.c.filter vsftpd-2.1.0/str.c | 59 | diff --git a/str.c b/str.c |
50 | --- vsftpd-2.1.0/str.c.filter 2008-12-17 06:54:16.000000000 +0100 | 60 | index 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 | +} |
67 | diff -up vsftpd-2.1.0/str.h.filter vsftpd-2.1.0/str.h | 78 | diff --git a/str.h b/str.h |
68 | --- vsftpd-2.1.0/str.h.filter 2008-12-17 06:53:23.000000000 +0100 | 79 | index 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 69745b3a10..c558aee0aa 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 @@ | |||
1 | Enable tcp_wrapper. | 1 | From c026b0c0de4eebb189bc77b2d4c3b9528454ac04 Mon Sep 17 00:00:00 2001 |
2 | From: "Roy.Li" <rongqing.li@windriver.com> | ||
3 | Date: Fri, 19 Jul 2013 10:19:25 +0800 | ||
4 | Subject: [PATCH] Enable tcp_wrapper. | ||
2 | 5 | ||
3 | Upstream-Status: Inappropriate [configuration] | 6 | Upstream-Status: Inappropriate [configuration] |
4 | 7 | ||
5 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | 8 | Signed-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 | ||
10 | diff --git a/builddefs.h b/builddefs.h | 14 | diff --git a/builddefs.h b/builddefs.h |
11 | index e908352..0106d1a 100644 | 15 | index 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 | -- | ||
24 | 1.7.1 | ||
25 | |||