diff options
Diffstat (limited to 'meta/recipes-devtools/rsync/rsync_3.2.2.bb')
| -rw-r--r-- | meta/recipes-devtools/rsync/rsync_3.2.2.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.2.2.bb b/meta/recipes-devtools/rsync/rsync_3.2.2.bb new file mode 100644 index 0000000000..182628f4b4 --- /dev/null +++ b/meta/recipes-devtools/rsync/rsync_3.2.2.bb | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | SUMMARY = "File synchronization tool" | ||
| 2 | HOMEPAGE = "http://rsync.samba.org/" | ||
| 3 | BUGTRACKER = "http://rsync.samba.org/bugzilla.html" | ||
| 4 | SECTION = "console/network" | ||
| 5 | # GPLv2+ (<< 3.0.0), GPLv3+ (>= 3.0.0) | ||
| 6 | # Includes opennsh and xxhash dynamic link exception | ||
| 7 | LICENSE = "GPLv3+" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=9e5a4f9b3a253d51520617aa54f8eb26" | ||
| 9 | |||
| 10 | DEPENDS = "popt" | ||
| 11 | |||
| 12 | SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \ | ||
| 13 | file://rsyncd.conf \ | ||
| 14 | file://makefile-no-rebuild.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[sha256sum] = "644bd3841779507665211fd7db8359c8a10670c57e305b4aab61b4e40037afa8" | ||
| 18 | |||
| 19 | # -16548 required for v3.1.3pre1. Already in v3.1.3. | ||
| 20 | CVE_CHECK_WHITELIST += " CVE-2017-16548 " | ||
| 21 | |||
| 22 | inherit autotools-brokensep | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= "acl attr \ | ||
| 25 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ | ||
| 26 | " | ||
| 27 | |||
| 28 | PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," | ||
| 29 | PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," | ||
| 30 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
| 31 | PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" | ||
| 32 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | ||
| 33 | PACKAGECONFIG[xxhash] = "--enable-xxhash,--disable-xxhash,xxhash" | ||
| 34 | PACKAGECONFIG[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) | ||
| 38 | CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes" | ||
| 39 | |||
| 40 | EXTRA_OEMAKE = 'STRIP=""' | ||
| 41 | EXTRA_OECONF = "--disable-simd --disable-md2man --disable-asm" | ||
| 42 | |||
| 43 | # rsync 3.0 uses configure.sh instead of configure, and | ||
| 44 | # makefile checks the existence of configure.sh | ||
| 45 | do_configure_prepend () { | ||
| 46 | rm -f ${S}/configure ${S}/configure.sh | ||
| 47 | } | ||
| 48 | |||
| 49 | do_configure_append () { | ||
| 50 | cp -f ${S}/configure ${S}/configure.sh | ||
| 51 | } | ||
| 52 | |||
| 53 | do_install_append() { | ||
| 54 | install -d ${D}${sysconfdir} | ||
| 55 | install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir} | ||
| 56 | } | ||
| 57 | |||
| 58 | BBCLASSEXTEND = "native" | ||
