summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync/rsync_3.4.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rsync/rsync_3.4.1.bb')
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.4.1.bb64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.4.1.bb b/meta/recipes-devtools/rsync/rsync_3.4.1.bb
new file mode 100644
index 0000000000..2cf87d379a
--- /dev/null
+++ b/meta/recipes-devtools/rsync/rsync_3.4.1.bb
@@ -0,0 +1,64 @@
1SUMMARY = "File synchronization tool"
2HOMEPAGE = "http://rsync.samba.org/"
3DESCRIPTION = "rsync is an open source utility that provides fast incremental file transfer."
4BUGTRACKER = "http://rsync.samba.org/bugzilla.html"
5SECTION = "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
8LICENSE = "GPL-3.0-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=24423708fe159c9d12be1ea29fcb18c7"
10
11DEPENDS = "popt"
12
13SRC_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 "
19SRC_URI[sha256sum] = "2924bcb3a1ed8b551fc101f740b9f0fe0a202b115027647cf69850d65fd88c52"
20
21# Doesn't use automake
22inherit autotools-brokensep
23
24PACKAGECONFIG ??= "acl attr \
25 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
26"
27
28PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
29PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"
30PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
31PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4"
32PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
33PACKAGECONFIG[xxhash] = "--enable-xxhash,--disable-xxhash,xxhash"
34PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
35
36# By default, if crosscompiling, rsync disables a number of
37# capabilities, hardlinking symlinks and special files (i.e. devices)
38CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes"
39
40EXTRA_OEMAKE = 'STRIP=""'
41EXTRA_OECONF = "--disable-md2man --with-nobody-group=nogroup"
42
43#| ./simd-checksum-x86_64.cpp: In function 'uint32_t get_checksum1_cpp(char*, int32_t)':
44#| ./simd-checksum-x86_64.cpp:89:52: error: multiversioning needs 'ifunc' which is not supported on this target
45#| 89 | __attribute__ ((target("default"))) MVSTATIC int32 get_checksum1_avx2_64(schar* buf, int32 len, int32 i, uint32* ps1, uint32* ps2) { return i; }
46#| | ^~~~~~~~~~~~~~~~~~~~~
47#| ./simd-checksum-x86_64.cpp:480:1: error: use of multiversioned function without a default
48#| 480 | }
49#| | ^
50#| If you can't fix the issue, re-run ./configure with --disable-roll-simd.
51EXTRA_OECONF:append:libc-musl = " --disable-roll-simd"
52
53# rsync uses configure.sh instead of configure, so delete that file
54# to avoid confusion as we will generate configure.
55do_configure:prepend () {
56 rm -f ${S}/configure.sh
57}
58
59do_install:append() {
60 install -d ${D}${sysconfdir}
61 install -m 0644 ${UNPACKDIR}/rsyncd.conf ${D}${sysconfdir}
62}
63
64BBCLASSEXTEND = "native nativesdk"