aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rsync/rsync_3.1.1.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-12-21 21:28:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-22 10:53:57 +0000
commit7b922f9f2cdf1f3810fc257653194e177ed88c4d (patch)
tree61fa153215e7831390160ae36d99f3321487f3eb /meta/recipes-devtools/rsync/rsync_3.1.1.bb
parent079c9cee02f8e7c79c76997db55cc26d8d70ff95 (diff)
downloadopenembedded-core-contrib-7b922f9f2cdf1f3810fc257653194e177ed88c4d.tar.gz
openembedded-core-contrib-7b922f9f2cdf1f3810fc257653194e177ed88c4d.tar.bz2
openembedded-core-contrib-7b922f9f2cdf1f3810fc257653194e177ed88c4d.zip
rsync: upgrade to 3.1.1
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rsync/rsync_3.1.1.bb')
-rw-r--r--meta/recipes-devtools/rsync/rsync_3.1.1.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rsync/rsync_3.1.1.bb b/meta/recipes-devtools/rsync/rsync_3.1.1.bb
new file mode 100644
index 0000000000..5ff8ae8bb4
--- /dev/null
+++ b/meta/recipes-devtools/rsync/rsync_3.1.1.bb
@@ -0,0 +1,27 @@
+require rsync.inc
+
+
+SRC_URI += "file://acinclude.m4"
+
+SRC_URI[md5sum] = "43bd6676f0b404326eee2d63be3cdcfe"
+SRC_URI[sha256sum] = "7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621"
+
+PACKAGECONFIG ??= "acl attr"
+PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
+PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"
+
+# rsync 3.0 uses configure.sh instead of configure, and
+# makefile checks the existence of configure.sh
+do_configure_prepend () {
+ rm -f ${S}/configure ${S}/configure.sh
+ cp -f ${WORKDIR}/acinclude.m4 ${S}/
+
+ # By default, if crosscompiling, rsync disables a number of
+ # capabilities, hardlinking symlinks and special files (i.e. devices)
+ export rsync_cv_can_hardlink_special=yes
+ export rsync_cv_can_hardlink_symlink=yes
+}
+
+do_configure_append () {
+ cp -f ${S}/configure ${S}/configure.sh
+}