1 |
commit: 6f00392fa62e299259ba2b88e92ce42e49bcfaa6 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 15 21:41:10 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 15 21:41:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f00392f |
7 |
|
8 |
sys-cluster/csync2: Revbump for upstream source change and dependencies |
9 |
|
10 |
Non-maintainer commit |
11 |
|
12 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=666070 |
13 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=673078 |
14 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
15 |
|
16 |
sys-cluster/csync2/Manifest | 1 + |
17 |
.../{csync2-2.0-r1.ebuild => csync2-2.0-r2.ebuild} | 20 ++++++++++++++------ |
18 |
2 files changed, 15 insertions(+), 6 deletions(-) |
19 |
|
20 |
diff --git a/sys-cluster/csync2/Manifest b/sys-cluster/csync2/Manifest |
21 |
index 41f1ba82409..84048b643a7 100644 |
22 |
--- a/sys-cluster/csync2/Manifest |
23 |
+++ b/sys-cluster/csync2/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
+DIST csync2-2.0-github.tar.gz 108299 BLAKE2B ec06cf1284adfe63abd6c329deb4e53474d8f97998e4e6f7f6404321a6970f783d38e9feb46c02925c947834227516d40c928a457d2b43bd2b353ab3385fd150 SHA512 7555e2d958d6213e29cfa8b3b7415eea9a9868036865c519d724ae404006d913fba4aeeb61a916d3fc95669a6ca12160d4f52dc7d15bd59403e8a7de50ee8094 |
26 |
DIST csync2-2.0.tar.gz 411013 BLAKE2B b5c3da3a46168f8b9835e349a8d56070cd0e5aef3b951ba1cfe7e958f6c830336141a2d1eca6a2485d23f745b9ae907d46282aa8cc3078a60582dac8c3f286b8 SHA512 f91fd222f67affe9634471d341b43ff67854a6ed25b620301a454e98a79a9fb80b2a66eb8713546758fd08300d52751e5ca7472c696daa20ee11779b87a830f8 |
27 |
|
28 |
diff --git a/sys-cluster/csync2/csync2-2.0-r1.ebuild b/sys-cluster/csync2/csync2-2.0-r2.ebuild |
29 |
similarity index 89% |
30 |
rename from sys-cluster/csync2/csync2-2.0-r1.ebuild |
31 |
rename to sys-cluster/csync2/csync2-2.0-r2.ebuild |
32 |
index 29663af4b3f..f66a66ac0db 100644 |
33 |
--- a/sys-cluster/csync2/csync2-2.0-r1.ebuild |
34 |
+++ b/sys-cluster/csync2/csync2-2.0-r2.ebuild |
35 |
@@ -1,11 +1,13 @@ |
36 |
-# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Copyright 1999-2019 Gentoo Authors |
38 |
# Distributed under the terms of the GNU General Public License v2 |
39 |
|
40 |
-EAPI=6 |
41 |
+EAPI=7 |
42 |
+ |
43 |
+inherit autotools |
44 |
|
45 |
DESCRIPTION="Cluster synchronization tool" |
46 |
-HOMEPAGE="http://oss.linbit.com/csync2/" |
47 |
-SRC_URI="http://oss.linbit.com/${PN}/${P}.tar.gz" |
48 |
+HOMEPAGE="https://github.com/LINBIT/csync2" |
49 |
+SRC_URI="https://github.com/LINBIT/${PN}/archive/${P}.tar.gz -> ${P}-github.tar.gz" |
50 |
|
51 |
LICENSE="GPL-2" |
52 |
KEYWORDS="~amd64 ~arm ~x86" |
53 |
@@ -13,7 +15,7 @@ KEYWORDS="~amd64 ~arm ~x86" |
54 |
IUSE="mysql postgres sqlite ssl xinetd" |
55 |
|
56 |
RDEPEND=">=net-libs/librsync-0.9.5 |
57 |
- mysql? ( virtual/mysql ) |
58 |
+ mysql? ( dev-db/mysql-connector-c:0= ) |
59 |
postgres? ( dev-db/postgresql:= ) |
60 |
sqlite? ( >=dev-db/sqlite-3.0 ) |
61 |
ssl? ( >=net-libs/gnutls-2.7.3 ) |
62 |
@@ -24,9 +26,15 @@ DEPEND="${RDEPEND} |
63 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
64 |
SLOT="0" |
65 |
|
66 |
+S="${WORKDIR}/${PN}-${P}" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ eautoreconf |
71 |
+} |
72 |
+ |
73 |
src_configure() { |
74 |
econf \ |
75 |
- --docdir=/usr/share/doc/${P} \ |
76 |
--localstatedir=/var \ |
77 |
--sysconfdir=/etc/csync2 \ |
78 |
$(use_enable mysql) \ |