It is rare, but still valid use case to use libclsync when clsync
is not installed on the host (or lacks socket control support):
socket can be passed from another host/container via shared file
system, or can be converted to udp using socat.
Package-Manager: portage-2.3.1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
"
DEPEND="virtual/pkgconfig"
-RDEPEND="
- =app-admin/clsync-0.4*[control-socket]
- =app-doc/clsync-docs-0.4*"
+RDEPEND="=app-doc/clsync-docs-0.4*"
src_prepare() {
eapply_user
# docs go into clsync-docs
rm -rf "${ED}/usr/share/doc" || die
}
+
+pkg_postinst() {
+ einfo "clsync instances you are going to use _must_ be compiled"
+ einfo "with control-socket support"
+}