Summary
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.
Versions
v9999 :: 0 :: gentoo
- Modified
- License
- GPL-3+
- USE flags
- apidoc caps cgroups clsync cluster control-socket debug doc examples extra-debug extra-hardened gio hardened highload-locks inotify mhash namespaces seccomp socket-library static-libs
v0.4.5 :: 0 :: gentoo
- Modified
- License
- GPL-3+
- Keywords
- amd64 x86
- USE flags
- apidoc caps cgroups clsync cluster control-socket debug doc examples extra-debug extra-hardened gio hardened highload-locks inotify mhash namespaces seccomp socket-library static-libs
USE flags
General
- apidoc
- Provide doxygen generated API docs.
- caps
- Use Linux capabilities library to control privilege
- cgroups
- Use cgroups to limit /dev access.
- 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.
- 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
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- 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
Dependencies
app-crypt / mhash : Library providing a uniform interface to a large number of hash algorithms
dev-libs / glib : The GLib library of C routines
dev-libs / libcgroup : Tools and libraries to configure and manage kernel control groups
Runtime Dependencies
app-crypt / mhash : Library providing a uniform interface to a large number of hash algorithms
dev-libs / glib : The GLib library of C routines
dev-libs / libcgroup : Tools and libraries to configure and manage kernel control groups
Bugs
- 892900
- app-admin/clsync-0.4.5 redefines _FORTIFY_SOURCE
- 928944
- app-admin/clsync-0.4.5 - configure: error: in /.../clsync-0.4.5:
- 943773
- app-admin/clsync-0.4.5 fails to compile: main.c:443:23: error: assignment to __sighandler_t {aka void ()(int)} from incompatible pointer type void ()(void) [-Wincompatible-pointer-types]
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
Move {app-doc → app-text}/doxygen
Per the category metadata, app-doc/ is reserved for documentation *files* and not software. Move it to app-text/ where it seems a better fit. Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
app-admin/clsync: [QA] Remove invalid USE=lto
USE=lto in this package only appends -flto flag. This is not a valid use of the USE flag, as lto in Gentoo is enabled via setting flags manually. Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
app-admin/clsync: fix double KEYWORDS
Double KEYWORDS lines break tools like ekeyword and Nattka. As per PMS, blank/empty KEYWORDS is implied by not defining the variable. See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
app-admin/clsync: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Agostino Sarubbo · gentoo
app-admin/clsync: amd64 stable wrt bug #757618
Package-Manager: Portage-3.0.9, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Thomas Deutschmann · gentoo
app-admin/clsync: x86 stable (bug #757618)
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Savchenko · gentoo
app-admin/clsync: version bump
- Update to 0.4.5 - Enable LTO support - Merge back dev-libs/libclsync and app-doc/clsync-docs into app-admin/clsync Bug: https://bugs.gentoo.org/749978 Bug: https://bugs.gentoo.org/750356 Closes: https://bugs.gentoo.org/717340 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Andrew Savchenko · gentoo
app-admin/clsync: update live ebuild to reflect upstream changes
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Savchenko · gentoo
app-admin/clsync: remove old
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Agostino Sarubbo · gentoo
app-admin/clsync: x86 stable wrt bug #726482
Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org> - Agostino Sarubbo · gentoo
app-admin/clsync: amd64 stable wrt bug #726482
Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Savchenko · gentoo
app-admin/clsync: check for inotify support in kernel
However unlikely it is still possible that user has kernel without inotify support, so check for INOTIFY_USER if inotify is requested (which is default behaviour). Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Andrew Savchenko · gentoo
app-admin/clsync: add live ebuild
- Add live ebuild to facilitate development and testing - Merge all clsync components (libclsync, clsync-docs) back to the main package. Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Savchenko · gentoo
app-admin/clsync: add missed sys-libs/libcap dep
No revbump here since in case of user system affected by this bug, the build will fail. Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Savchenko · gentoo
app-admin/clsync: version bump
Closes: https://bugs.gentoo.org/717340 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - David Seifert · gentoo
*/*: [QA] Remove redundant --docdir/--htmldir
Closes: https://github.com/gentoo/gentoo/pull/14742 Signed-off-by: David Seifert <soap@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - David Seifert · gentoo
app-admin/clsync: Fix double EPREFIX
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Mikle Kolyada · gentoo
app-admin/clsync: Drop old
Package-Manager: Portage-2.3.40, Repoman-2.3.9 - Mikle Kolyada · gentoo
app-admin/clsync: mark stable
Package-Manager: Portage-2.3.40, Repoman-2.3.9 - Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - Andrew Savchenko · gentoo
app-admin/clsync: version bump
Bump to 0.4.2, update ebuild to EAPI 6. Package-Manager: portage-2.3.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Andrew Savchenko · gentoo
app-admin/clsync: fix CDEPEND -> RDEPEND typo
Fixes bug 580798. Package-Manager: portage-2.2.28 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> - Justin Lecher · gentoo
Use https by default
Convert all URLs for sites supporting encrypted connections from http to https Signed-off-by: Justin Lecher <jlec@gentoo.org> - Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed