1 |
commit: 5bd1ef55eda0b6899a8bef56f6d6e8c65dc00699 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 15:48:37 2020 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 15:52:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd1ef55 |
7 |
|
8 |
dev-libs/libclsync: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libclsync/Manifest | 1 + |
14 |
dev-libs/libclsync/libclsync-0.4.4.ebuild | 73 +++++++++++++++++++++++++++++++ |
15 |
dev-libs/libclsync/metadata.xml | 2 +- |
16 |
3 files changed, 75 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-libs/libclsync/Manifest b/dev-libs/libclsync/Manifest |
19 |
index 908a4bd9d9e..bc0327932be 100644 |
20 |
--- a/dev-libs/libclsync/Manifest |
21 |
+++ b/dev-libs/libclsync/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST clsync-0.4.2.tar.gz 256042 BLAKE2B 28474fc66341b93705a502fcff390e3affcd89a9e1eb272dce9b28be709562e09c03e9c300cfeb5371e2e618a2239468a58c46212a39d751fbbfddeaab12bcf6 SHA512 d14a2efc4bf58d9d5c7a3fe5634cacdd182cd7cd814b0e9ebd99024a7282b056d1f7ceeec6903666391c3572d599a18e205af818b098ed7768d5c0e0f4cd1200 |
24 |
+DIST clsync-0.4.4.tar.gz 268276 BLAKE2B 0027760cfdee5c4410c4cea45aae2def6498d812d2f50038993c39a33c6029722ec2dd2cfff20815a3ffd8834eb8c439059e5f1d2cc3d2cf98ecb22ed22f2322 SHA512 cdafbf43fdeafe9cb53c08e0514ef356fb5b4bbd8da2226263180e7441d222c76e6c73f847f484b3688a8672e4a85df0346c0236d8d0ed4506d209189af02dcd |
25 |
|
26 |
diff --git a/dev-libs/libclsync/libclsync-0.4.4.ebuild b/dev-libs/libclsync/libclsync-0.4.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d3507cdd0db |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libclsync/libclsync-0.4.4.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+MY_PN=${PN#lib} |
38 |
+MY_P="${MY_PN}-${PV}" |
39 |
+ |
40 |
+inherit autotools |
41 |
+ |
42 |
+DESCRIPTION="Control and monitoring library for clsync" |
43 |
+HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/clsync/clsync" |
44 |
+SRC_URI="https://github.com/clsync/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
45 |
+LICENSE="GPL-3+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="debug extra-debug extra-hardened hardened static-libs" |
49 |
+S="${WORKDIR}/${MY_P}" |
50 |
+ |
51 |
+REQUIRED_USE=" |
52 |
+ extra-debug? ( debug ) |
53 |
+ extra-hardened? ( hardened ) |
54 |
+" |
55 |
+ |
56 |
+BDEPEND="virtual/pkgconfig" |
57 |
+RDEPEND="=app-doc/clsync-docs-0.4*" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ eapply_user |
61 |
+ eautoreconf |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ local harden_level=0 |
66 |
+ use hardened && harden_level=1 |
67 |
+ use extra-hardened && harden_level=2 |
68 |
+ |
69 |
+ local debug_level=0 |
70 |
+ use debug && debug_level=1 |
71 |
+ use extra-debug && debug_level=2 |
72 |
+ |
73 |
+ econf \ |
74 |
+ --enable-socket-library \ |
75 |
+ --disable-clsync \ |
76 |
+ --enable-debug=${debug_level} \ |
77 |
+ --enable-paranoid=${harden_level} \ |
78 |
+ --without-bsm \ |
79 |
+ --without-kqueue \ |
80 |
+ --disable-capabilities \ |
81 |
+ --disable-cluster \ |
82 |
+ --enable-socket \ |
83 |
+ --disable-highload-locks \ |
84 |
+ --disable-unshare \ |
85 |
+ --disable-seccomp \ |
86 |
+ --without-libcgroup \ |
87 |
+ --without-gio \ |
88 |
+ --with-inotify=native \ |
89 |
+ --without-mhash |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ emake DESTDIR="${D}" install |
94 |
+ find "${ED}" -name "*.la" -delete |
95 |
+ use static-libs || find "${ED}" -name "*.a" -delete || die "failed to remove static libs" |
96 |
+ |
97 |
+ # docs go into clsync-docs |
98 |
+ rm -rf "${ED}/usr/share/doc" || die |
99 |
+} |
100 |
+ |
101 |
+pkg_postinst() { |
102 |
+ einfo "clsync instances you are going to use _must_ be compiled" |
103 |
+ einfo "with control-socket support" |
104 |
+} |
105 |
|
106 |
diff --git a/dev-libs/libclsync/metadata.xml b/dev-libs/libclsync/metadata.xml |
107 |
index 8c5ebe0c8bb..4b856378c56 100644 |
108 |
--- a/dev-libs/libclsync/metadata.xml |
109 |
+++ b/dev-libs/libclsync/metadata.xml |
110 |
@@ -14,6 +14,6 @@ |
111 |
<flag name="extra-hardened">Enable extra security checks. This may hurt performance.</flag> |
112 |
</use> |
113 |
<upstream> |
114 |
- <remote-id type="github">xaionaro/clsync</remote-id> |
115 |
+ <remote-id type="github">clsync/clsync</remote-id> |
116 |
</upstream> |
117 |
</pkgmetadata> |