1 |
commit: 6bb127d246d8c6fdc7f18c7f7e908b37e10ade55 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 30 20:11:44 2020 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 30 21:13:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb127d2 |
7 |
|
8 |
net-misc/omnisync: New snapshot to fix -fno-common |
9 |
|
10 |
Closes: https://bugs.gentoo.org/707498 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
net-misc/omnisync/Manifest | 1 + |
14 |
net-misc/omnisync/omnisync-1.0_p20200130.ebuild | 35 +++++++++++++++++++++++++ |
15 |
2 files changed, 36 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/omnisync/Manifest b/net-misc/omnisync/Manifest |
18 |
index cae6a303707..12cf08cb129 100644 |
19 |
--- a/net-misc/omnisync/Manifest |
20 |
+++ b/net-misc/omnisync/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST omnisync-1.0.tgz 27725 BLAKE2B 00e546e3a04c8483f4a3995207fe6715e25526ca639f517220725c31d50d1c01fe0d15927e11e84143f3b2c8aa80ede1317c818945f0249147548bb03d27f744 SHA512 742ffc0a85bd923b99ae7e4f50a6aaa29107eaa987039e902797c78a9673e914e1fa61b2484c6777f62b0caf8b3110a071fd103c8b18456083883df534a1ef4d |
23 |
DIST omnisync-1.0_p20180614.tar.bz2 26335 BLAKE2B fbb6e4d39f16e307b5355c1e25c656bfdd3b280888468e64bed692c52af28b35d813e3e5a19c6dd4c13bfa8c64b62f01826bdb8a4a40f358cc665e5050ccfbf1 SHA512 fd21907574abe9801999efa8dae6e19e80198536cd79a1261cd2c006b7beaa3637f5b9da578659baa9e14eca1756fa41551458f14bad44f9636d76634031f262 |
24 |
+DIST omnisync-1.0_p20200130.tar.bz2 26360 BLAKE2B 4b999caf66f63f02241781234c88f8de54b727c9ce116afe77f6cc84e75146b0a748c8ecfe236009ad3704ead46d787cf3c06b556b2ffbecbed37c39322dcdf7 SHA512 b9f66755e990f1ffe2f2524f122581ff397f299f26b4e7d1301e649a1430b2ea814b39b4370621f1281c0b0fdab7aa026d1f827aeb7cfa4993286ad86484a4e8 |
25 |
|
26 |
diff --git a/net-misc/omnisync/omnisync-1.0_p20200130.ebuild b/net-misc/omnisync/omnisync-1.0_p20200130.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c0a9f2f3dae |
29 |
--- /dev/null |
30 |
+++ b/net-misc/omnisync/omnisync-1.0_p20200130.ebuild |
31 |
@@ -0,0 +1,35 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit cmake vcs-snapshot |
38 |
+ |
39 |
+SNAPSHOT="c55215330b1e8a61af6d34d57d3d8236c8cc7d5b" |
40 |
+ |
41 |
+DESCRIPTION="A driver for NTPd for people who are firewall-challenged" |
42 |
+HOMEPAGE="https://www.vanheusden.com/time/omnisync" |
43 |
+LICENSE="GPL-2" |
44 |
+SRC_URI="https://gitlab.com/grknight/omnisync/-/archive/${SNAPSHOT}/omnisync-${SNAPSHOT}.tar.bz2 -> ${P}.tar.bz2" |
45 |
+ |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="" |
49 |
+ |
50 |
+RDEPEND="net-libs/gnutls:= net-analyzer/net-snmp:=" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+DOCS=( readme.txt Changes ) |
53 |
+ |
54 |
+src_install() { |
55 |
+ cmake_src_install |
56 |
+ newinitd "${FILESDIR}/${PN}.initd" ${PN} |
57 |
+ newconfd "${FILESDIR}/${PN}.confd" ${PN} |
58 |
+ einstalldocs |
59 |
+} |
60 |
+ |
61 |
+pkg_postinst() { |
62 |
+ local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT}/etc/conf.d/${PN}") |
63 |
+ if [[ -n "${isConfigured}" ]] ; then |
64 |
+ elog "Be sure to configure ${PN} in ${ROOT}/etc/conf.d before trying to start the service" |
65 |
+ fi |
66 |
+} |