summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-04-09 15:10:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-04-16 08:07:03 +0100
commit73d1967498fce766c6c83fb6cea315944688a83f (patch)
tree4598b532574dfc960aa54aaef5f938855eea041d /meta/recipes-devtools
parente5ff5463a4ae9d3886d3dbb4c23afd81786842d4 (diff)
downloadpoky-73d1967498fce766c6c83fb6cea315944688a83f.tar.gz
rsync: upgrade 3.2.7 -> 3.3.0
0001-Add-missing-prototypes-to-function-declarations.patch makefile-no-rebuild.patch refreshed for 3.3.0 Changelog: ========== - Fixed a bug with '--sparse --inplace' where a trailing gap in the source file would not clear out the trailing data in the destination file. - Fixed an buffer overflow in the checksum2 code if SHA1 is being used for the checksum2 algorithm. - Fixed an issue when rsync is compiled using '_FORTIFY_SOURCE' so that the extra tests don't complain about a strlcpy() limit value (which was too large, even though it wasn't possible for the larger value to cause an overflow). - Add a backtick to the list of characters that the filename quoting needs to escape using backslashes. - Fixed a string-comparison issue in the internal handling of '--progress' (a locale such as tr_TR.utf-8 needed the internal triggering of '--info' options to use upper-case flag names to ensure that they match). - Make sure that a local transfer marks the sender side as trusted. - Change the argv handling to work with a newer popt library -- one that likes to free more data than it used to. - Rsync now calls 'OpenSSL_add_all_algorithms()' when compiled against an older openssl library. - Fixed a problem in the daemon auth for older protocols (29 and before) if the openssl library is being used to compute MD4 checksums. - Fixed 'rsync -VV' on Cygwin -- it needed a flush of stdout. - Fixed an old stats bug that counted devices as symlinks. (From OE-Core rev: 2c3b75a1f3b6d3177603b8982d61c5b8ba73aef0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch13
-rw-r--r--meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch7
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.3.0.bb (renamed from meta/recipes-devtools/rsync/rsync_3.2.7.bb)2
3 files changed, 10 insertions, 12 deletions
diff --git a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
index 8895adad74..2379de84f2 100644
--- a/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
+++ b/meta/recipes-devtools/rsync/files/0001-Add-missing-prototypes-to-function-declarations.patch
@@ -1,4 +1,4 @@
1From 651425fced0691d9063fe417388ba6ca1c38c40b Mon Sep 17 00:00:00 2001 1From 2beb35c34c45320144f37b12ef4d72fb8734280e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 19:53:28 -0700 3Date: Mon, 29 Aug 2022 19:53:28 -0700
4Subject: [PATCH] Add missing prototypes to function declarations 4Subject: [PATCH] Add missing prototypes to function declarations
@@ -15,7 +15,6 @@ Fixes errors like
15 15
16Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html] 16Upstream-Status: Submitted [https://lists.samba.org/archive/rsync/2022-August/032858.html]
17Signed-off-by: Khem Raj <raj.khem@gmail.com> 17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18
19--- 18---
20 checksum.c | 2 +- 19 checksum.c | 2 +-
21 exclude.c | 2 +- 20 exclude.c | 2 +-
@@ -30,10 +29,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 10 files changed, 12 insertions(+), 13 deletions(-) 29 10 files changed, 12 insertions(+), 13 deletions(-)
31 30
32diff --git a/checksum.c b/checksum.c 31diff --git a/checksum.c b/checksum.c
33index 60de365..67a9e16 100644 32index cb21882..736818b 100644
34--- a/checksum.c 33--- a/checksum.c
35+++ b/checksum.c 34+++ b/checksum.c
36@@ -778,7 +778,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list) 35@@ -779,7 +779,7 @@ static void verify_digest(struct name_num_item *nni, BOOL check_auth_list)
37 } 36 }
38 #endif 37 #endif
39 38
@@ -43,7 +42,7 @@ index 60de365..67a9e16 100644
43 #if defined SUPPORT_XXH3 || defined USE_OPENSSL 42 #if defined SUPPORT_XXH3 || defined USE_OPENSSL
44 struct name_num_item *nni; 43 struct name_num_item *nni;
45diff --git a/exclude.c b/exclude.c 44diff --git a/exclude.c b/exclude.c
46index ffe55b1..a85ea76 100644 45index 87edbcf..ae0de2f 100644
47--- a/exclude.c 46--- a/exclude.c
48+++ b/exclude.c 47+++ b/exclude.c
49@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end) 48@@ -363,7 +363,7 @@ void implied_include_partial_string(const char *s_start, const char *s_end)
@@ -96,10 +95,10 @@ index e4ba1cc..8482b71 100644
96 int options = LOG_PID; 95 int options = LOG_PID;
97 96
98diff --git a/main.c b/main.c 97diff --git a/main.c b/main.c
99index d2a7b9b..c50af45 100644 98index 0c60b86..4bc664a 100644
100--- a/main.c 99--- a/main.c
101+++ b/main.c 100+++ b/main.c
102@@ -244,7 +244,7 @@ void read_del_stats(int f) 101@@ -246,7 +246,7 @@ void read_del_stats(int f)
103 stats.deleted_files += stats.deleted_specials = read_varint(f); 102 stats.deleted_files += stats.deleted_specials = read_varint(f);
104 } 103 }
105 104
diff --git a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
index 92ed1f4419..0c9ce8b8e3 100644
--- a/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
+++ b/meta/recipes-devtools/rsync/files/makefile-no-rebuild.patch
@@ -1,4 +1,4 @@
1From 81700d1a0e51391028c761cc8ef1cd660084d114 Mon Sep 17 00:00:00 2001 1From f446686c26c499e15ef17d495a93cfbc20e16090 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com> 2From: Ross Burton <ross.burton@intel.com>
3Date: Tue, 12 Apr 2016 15:51:54 +0100 3Date: Tue, 12 Apr 2016 15:51:54 +0100
4Subject: [PATCH] rsync: remove upstream's rebuild logic 4Subject: [PATCH] rsync: remove upstream's rebuild logic
@@ -8,16 +8,15 @@ generally overcomplicated, and we ensure that autoreconf is invoked if required.
8 8
9Upstream-Status: Inappropriate 9Upstream-Status: Inappropriate
10Signed-off-by: Ross Burton <ross.burton@intel.com> 10Signed-off-by: Ross Burton <ross.burton@intel.com>
11
12--- 11---
13 Makefile.in | 54 ----------------------------------------------------- 12 Makefile.in | 54 -----------------------------------------------------
14 1 file changed, 54 deletions(-) 13 1 file changed, 54 deletions(-)
15 14
16diff --git a/Makefile.in b/Makefile.in 15diff --git a/Makefile.in b/Makefile.in
17index 3cde955..d963a70 100644 16index a1253e5..a084935 100644
18--- a/Makefile.in 17--- a/Makefile.in
19+++ b/Makefile.in 18+++ b/Makefile.in
20@@ -190,60 +190,6 @@ gensend: gen 19@@ -192,60 +192,6 @@ gensend: gen
21 fi 20 fi
22 rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ || true 21 rsync -aic $(GENFILES) git-version.h $${SAMBA_HOST-samba.org}:/home/ftp/pub/rsync/generated-files/ || true
23 22
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.7.bb b/meta/recipes-devtools/rsync/rsync_3.3.0.bb
index 130581a785..b42026331d 100644
--- a/meta/recipes-devtools/rsync/rsync_3.2.7.bb
+++ b/meta/recipes-devtools/rsync/rsync_3.3.0.bb
@@ -16,7 +16,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
16 file://determism.patch \ 16 file://determism.patch \
17 file://0001-Add-missing-prototypes-to-function-declarations.patch \ 17 file://0001-Add-missing-prototypes-to-function-declarations.patch \
18 " 18 "
19SRC_URI[sha256sum] = "4e7d9d3f6ed10878c58c5fb724a67dacf4b6aac7340b13e488fb2dc41346f2bb" 19SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90"
20 20
21inherit autotools-brokensep 21inherit autotools-brokensep
22 22