Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libclsync/
Date: Fri, 30 Sep 2016 14:02:11
Message-Id: 1475244122.19acf569b924e255ca66a6485d0d60982fadd941.bircoph@gentoo
1 commit: 19acf569b924e255ca66a6485d0d60982fadd941
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 14:00:00 2016 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 14:02:02 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19acf569
7
8 dev-libs/libclsync: remove dependency on app-admin/clsync
9
10 It is rare, but still valid use case to use libclsync when clsync
11 is not installed on the host (or lacks socket control support):
12 socket can be passed from another host/container via shared file
13 system, or can be converted to udp using socat.
14
15 Package-Manager: portage-2.3.1
16 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
17
18 dev-libs/libclsync/libclsync-0.4.2.ebuild | 9 ++++++---
19 1 file changed, 6 insertions(+), 3 deletions(-)
20
21 diff --git a/dev-libs/libclsync/libclsync-0.4.2.ebuild b/dev-libs/libclsync/libclsync-0.4.2.ebuild
22 index 094b8d9..2184de4 100644
23 --- a/dev-libs/libclsync/libclsync-0.4.2.ebuild
24 +++ b/dev-libs/libclsync/libclsync-0.4.2.ebuild
25 @@ -24,9 +24,7 @@ REQUIRED_USE="
26 "
27
28 DEPEND="virtual/pkgconfig"
29 -RDEPEND="
30 - =app-admin/clsync-0.4*[control-socket]
31 - =app-doc/clsync-docs-0.4*"
32 +RDEPEND="=app-doc/clsync-docs-0.4*"
33
34 src_prepare() {
35 eapply_user
36 @@ -70,3 +68,8 @@ src_install() {
37 # docs go into clsync-docs
38 rm -rf "${ED}/usr/share/doc" || die
39 }
40 +
41 +pkg_postinst() {
42 + einfo "clsync instances you are going to use _must_ be compiled"
43 + einfo "with control-socket support"
44 +}