rsync_3.1.3.bb 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. LICENSE = "GPLv3+"
  7. LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
  8. DEPENDS = "popt"
  9. SRC_URI = "https://download.samba.org/pub/${BPN}/src/${BP}.tar.gz \
  10. file://rsyncd.conf \
  11. file://makefile-no-rebuild.patch \
  12. "
  13. SRC_URI[md5sum] = "1581a588fde9d89f6bc6201e8129afaf"
  14. SRC_URI[sha256sum] = "55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0"
  15. inherit autotools
  16. PACKAGECONFIG ??= "acl attr \
  17. ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
  18. "
  19. PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl,"
  20. PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr,"
  21. PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
  22. # By default, if crosscompiling, rsync disables a number of
  23. # capabilities, hardlinking symlinks and special files (i.e. devices)
  24. CACHED_CONFIGUREVARS += "rsync_cv_can_hardlink_special=yes rsync_cv_can_hardlink_symlink=yes"
  25. EXTRA_OEMAKE = 'STRIP=""'
  26. # rsync 3.0 uses configure.sh instead of configure, and
  27. # makefile checks the existence of configure.sh
  28. do_configure_prepend () {
  29. rm -f ${S}/configure ${S}/configure.sh
  30. }
  31. do_configure_append () {
  32. cp -f ${S}/configure ${S}/configure.sh
  33. }
  34. do_install_append() {
  35. install -d ${D}${sysconfdir}
  36. install -m 0644 ${WORKDIR}/rsyncd.conf ${D}${sysconfdir}
  37. }
  38. BBCLASSEXTEND = "native"