Apocrypha

clsync

Live sync tool based on inotify, written in GNU C

Clsync recursively watches for source directory and executes external program to sync the changes. Clsync is adapted to be used together with rsync. This utility is much more lightweight than competitors and supports such features as separate queue for big files, regex file filter, multi-threading and multicast notifing clsync instances on another nodes to prevent loop syncing. Clsync can use advanced features for isolation: capabilities, cgroups, namespaces, seccomp, code hardening.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 0.4.5 2 15 h details ›

Versions & arches

VersionOverlay amd64x86 Committed
9999 LIVE gentoo follows upstream — no keywords view · download · history ↗
0.4.5 gentoo amd64 stable x86 stable view · download · history ↗

Use flags of 0.4.5

  • apidoc Provide doxygen generated API docs.
  • +caps Use Linux capabilities library to control privilege
  • +clsync Build clsync binary. Most likely you want it. However it is possible to build only libclsync without clsync itself.
  • cluster Enable clustering support (allows master-master clsync on multiple hosts). Not fully implemented yet.
  • control-socket Enable AF_UNIX control socket support.
  • cgroups Use cgroups to limit /dev access.
  • doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
  • debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
  • examples Install examples, usually source code
  • extra-debug Enable extra debugging. This will hurt performance badly. Be ready for tons of output.
  • extra-hardened Enable extra security checks. This will hurt performance.
  • gio Enable GIO for FS monitoring (glib based alternative to inotify interface, not recommended; if both are compiled, may be selected at runtime).
  • +hardened Activate default security enhancements for toolchain (gcc, glibc, binutils)
  • +highload-locks Allows to use spinlocks for short delays instead of mutexes, but only on SMP systems.
  • +inotify Enable inotify filesystem monitoring support
  • mhash Add support for the mhash library
  • namespaces Enable namespaces isolation.
  • seccomp Enable seccomp (secure computing mode) to perform system call filtering at runtime to increase security of programs
  • socket-library Build the control and monitoring socket library: libclsync.
  • static-libs Build static versions of dynamic libraries as well

Runtime dependencies of 0.4.5

show 14 lines