diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2024-04-09 15:10:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-16 08:07:03 +0100 |
commit | 73d1967498fce766c6c83fb6cea315944688a83f (patch) | |
tree | 4598b532574dfc960aa54aaef5f938855eea041d /meta/recipes-devtools/rsync/rsync_3.3.0.bb | |
parent | e5ff5463a4ae9d3886d3dbb4c23afd81786842d4 (diff) | |
download | poky-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/rsync/rsync_3.3.0.bb')
-rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.3.0.bb | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.3.0.bb b/meta/recipes-devtools/rsync/rsync_3.3.0.bb new file mode 100644 index 0000000000..b42026331d --- /dev/null +++ b/meta/recipes-devtools/rsync/rsync_3.3.0.bb | |||
@@ -0,0 +1,67 @@ | |||
1 | SUMMARY = "File synchronization tool" | ||
2 | HOMEPAGE = "http://rsync.samba.org/" | ||
3 | DESCRIPTION = "rsync is an open source utility that provides fast incremental file transfer." | ||
4 | BUGTRACKER = "http://rsync.samba.org/bugzilla.html" | ||
5 | SECTION = "console/network" | ||
6 | # GPL-2.0-or-later (<< 3.0.0), GPL-3.0-or-later (>= 3.0.0) | ||
7 | # Includes opennsh and xxhash dynamic link exception | ||
8 | LICENSE = "GPL-3.0-or-later" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=24423708fe159c9d12be1ea29fcb18c7" | ||
10 | |||
11 | DEPENDS = "popt" | ||
12 | |||
13 | SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \ | ||
14 | file://rsyncd.conf \ | ||
15 | file://makefile-no-rebuild.patch \ | ||
16 | file://determism.patch \ | ||
17 | file://0001-Add-missing-prototypes-to-function-declarations.patch \ | ||
18 | " | ||
19 | SRC_URI[sha256sum] = "7399e9a6708c32d678a72a63219e96f23be0be2336e50fd1348498d07041df90" | ||
20 | |||
21 | inherit autotools-brokensep | ||
22 | |||
23 | PACKAGECONFIG ??= "acl attr \ | ||
24 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | ||
25 | " | ||
26 | |||
27 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," | ||
28 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," | ||
29 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
30 | PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" | ||
31 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | ||
32 | PACKAGECONFIG[xxhash] = "--enable-xxhash,--disable-xxhash,xxhash" | ||
33 | PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd" | ||
34 | |||
35 | # By default, if crosscompiling, rsync disables a number of | ||
36 | # capabilities, hardlinking symlinks and special files (i.e. devices) | ||
37 | CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes" | ||
38 | |||
39 | EXTRA_OEMAKE = 'STRIP=""' | ||
40 | EXTRA_OECONF = "--disable-md2man --with-nobody-group=nogroup" | ||
41 | |||
42 | #| ./simd-checksum-x86_64.cpp: In function 'uint32_t get_checksum1_cpp(char*, int32_t)': | ||
43 | #| ./simd-checksum-x86_64.cpp:89:52: error: multiversioning needs 'ifunc' which is not supported on this target | ||
44 | #| 89 | __attribute__ ((target("default"))) MVSTATIC int32 get_checksum1_avx2_64(schar* buf, int32 len, int32 i, uint32* ps1, uint32* ps2) { return i; } | ||
45 | #| | ^~~~~~~~~~~~~~~~~~~~~ | ||
46 | #| ./simd-checksum-x86_64.cpp:480:1: error: use of multiversioned function without a default | ||
47 | #| 480 | } | ||
48 | #| | ^ | ||
49 | #| If you can't fix the issue, re-run ./configure with --disable-roll-simd. | ||
50 | EXTRA_OECONF:append:libc-musl = " --disable-roll-simd" | ||
51 | |||
52 | # rsync 3.0 uses configure.sh instead of configure, and | ||
53 | # makefile checks the existence of configure.sh | ||
54 | do_configure:prepend () { | ||
55 | rm -f ${S}/configure ${S}/configure.sh | ||
56 | } | ||
57 | |||
58 | do_configure:append () { | ||
59 | cp -f ${S}/configure ${S}/configure.sh | ||
60 | } | ||
61 | |||
62 | do_install:append() { | ||
63 | install -d ${D}${sysconfdir} | ||
64 | install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir} | ||
65 | } | ||
66 | |||
67 | BBCLASSEXTEND = "native nativesdk" | ||