diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-05-05 07:05:38 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-05 21:17:38 +0100 |
| commit | 2a39819c3943a0a31b7ab1559f938d7a161795d4 (patch) | |
| tree | dc5dae81481f1faf41aa388dd24c80259313ecbc /meta/recipes-devtools/rsync/rsync_3.2.4.bb | |
| parent | 1d9533d4e7c9f6cc39439a09e89e5f8a9a43e028 (diff) | |
| download | poky-2a39819c3943a0a31b7ab1559f938d7a161795d4.tar.gz | |
rsync: update 3.2.3 -> 3.2.4
Drop configure options that have been removed upstream.
License-Update: formatting
(From OE-Core rev: bc9bf4c2ea4230391fc3ee2f55d1f73e1dd39edf)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rsync/rsync_3.2.4.bb')
| -rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.2.4.bb | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.4.bb b/meta/recipes-devtools/rsync/rsync_3.2.4.bb new file mode 100644 index 0000000000..e6f917b5cd --- /dev/null +++ b/meta/recipes-devtools/rsync/rsync_3.2.4.bb | |||
| @@ -0,0 +1,70 @@ | |||
| 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 | " | ||
| 18 | |||
| 19 | SRC_URI[sha256sum] = "6f761838d08052b0b6579cf7f6737d93e47f01f4da04c5d24d3447b7f2a5fad1" | ||
| 20 | |||
| 21 | # -16548 required for v3.1.3pre1. Already in v3.1.3. | ||
| 22 | CVE_CHECK_IGNORE += " CVE-2017-16548 " | ||
| 23 | |||
| 24 | inherit autotools-brokensep | ||
| 25 | |||
| 26 | PACKAGECONFIG ??= "acl attr \ | ||
| 27 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | ||
| 28 | " | ||
| 29 | |||
| 30 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," | ||
| 31 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," | ||
| 32 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
| 33 | PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" | ||
| 34 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | ||
| 35 | PACKAGECONFIG[xxhash] = "--enable-xxhash,--disable-xxhash,xxhash" | ||
| 36 | PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd" | ||
| 37 | |||
| 38 | # By default, if crosscompiling, rsync disables a number of | ||
| 39 | # capabilities, hardlinking symlinks and special files (i.e. devices) | ||
| 40 | CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes" | ||
| 41 | |||
| 42 | EXTRA_OEMAKE = 'STRIP=""' | ||
| 43 | EXTRA_OECONF = "--disable-md2man --with-nobody-group=nogroup" | ||
| 44 | |||
| 45 | #| ./simd-checksum-x86_64.cpp: In function 'uint32_t get_checksum1_cpp(char*, int32_t)': | ||
| 46 | #| ./simd-checksum-x86_64.cpp:89:52: error: multiversioning needs 'ifunc' which is not supported on this target | ||
| 47 | #| 89 | __attribute__ ((target("default"))) MVSTATIC int32 get_checksum1_avx2_64(schar* buf, int32 len, int32 i, uint32* ps1, uint32* ps2) { return i; } | ||
| 48 | #| | ^~~~~~~~~~~~~~~~~~~~~ | ||
| 49 | #| ./simd-checksum-x86_64.cpp:480:1: error: use of multiversioned function without a default | ||
| 50 | #| 480 | } | ||
| 51 | #| | ^ | ||
| 52 | #| If you can't fix the issue, re-run ./configure with --disable-roll-simd. | ||
| 53 | EXTRA_OECONF:append:libc-musl = " --disable-roll-simd" | ||
| 54 | |||
| 55 | # rsync 3.0 uses configure.sh instead of configure, and | ||
| 56 | # makefile checks the existence of configure.sh | ||
| 57 | do_configure:prepend () { | ||
| 58 | rm -f ${S}/configure ${S}/configure.sh | ||
| 59 | } | ||
| 60 | |||
| 61 | do_configure:append () { | ||
| 62 | cp -f ${S}/configure ${S}/configure.sh | ||
| 63 | } | ||
| 64 | |||
| 65 | do_install:append() { | ||
| 66 | install -d ${D}${sysconfdir} | ||
| 67 | install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir} | ||
| 68 | } | ||
| 69 | |||
| 70 | BBCLASSEXTEND = "native nativesdk" | ||
