Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/omnisync/, net-misc/omnisync/files/
Date: Thu, 30 Jan 2020 21:14:10
Message-Id: 1580418835.b3ab8333bb15209a7bd4f3b0fbcd2453ddad279a.grknight@gentoo
1 commit: b3ab8333bb15209a7bd4f3b0fbcd2453ddad279a
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 30 20:14:49 2020 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 30 21:13:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3ab8333
7
8 net-misc/omnisync: Drop old
9
10 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
11
12 net-misc/omnisync/Manifest | 2 -
13 net-misc/omnisync/files/omnisync-1.0-help.patch | 16 -------
14 net-misc/omnisync/files/omnisync-1.0-maxshm.patch | 18 --------
15 .../omnisync/files/omnisync-1.0-openssl11.patch | 24 -----------
16 .../omnisync/files/omnisync-1.0-statfile.patch | 18 --------
17 net-misc/omnisync/omnisync-1.0-r1.ebuild | 49 ----------------------
18 net-misc/omnisync/omnisync-1.0.ebuild | 40 ------------------
19 net-misc/omnisync/omnisync-1.0_p20180614.ebuild | 35 ----------------
20 8 files changed, 202 deletions(-)
21
22 diff --git a/net-misc/omnisync/Manifest b/net-misc/omnisync/Manifest
23 index 12cf08cb129..ecacc7030f6 100644
24 --- a/net-misc/omnisync/Manifest
25 +++ b/net-misc/omnisync/Manifest
26 @@ -1,3 +1 @@
27 -DIST omnisync-1.0.tgz 27725 BLAKE2B 00e546e3a04c8483f4a3995207fe6715e25526ca639f517220725c31d50d1c01fe0d15927e11e84143f3b2c8aa80ede1317c818945f0249147548bb03d27f744 SHA512 742ffc0a85bd923b99ae7e4f50a6aaa29107eaa987039e902797c78a9673e914e1fa61b2484c6777f62b0caf8b3110a071fd103c8b18456083883df534a1ef4d
28 -DIST omnisync-1.0_p20180614.tar.bz2 26335 BLAKE2B fbb6e4d39f16e307b5355c1e25c656bfdd3b280888468e64bed692c52af28b35d813e3e5a19c6dd4c13bfa8c64b62f01826bdb8a4a40f358cc665e5050ccfbf1 SHA512 fd21907574abe9801999efa8dae6e19e80198536cd79a1261cd2c006b7beaa3637f5b9da578659baa9e14eca1756fa41551458f14bad44f9636d76634031f262
29 DIST omnisync-1.0_p20200130.tar.bz2 26360 BLAKE2B 4b999caf66f63f02241781234c88f8de54b727c9ce116afe77f6cc84e75146b0a748c8ecfe236009ad3704ead46d787cf3c06b556b2ffbecbed37c39322dcdf7 SHA512 b9f66755e990f1ffe2f2524f122581ff397f299f26b4e7d1301e649a1430b2ea814b39b4370621f1281c0b0fdab7aa026d1f827aeb7cfa4993286ad86484a4e8
30
31 diff --git a/net-misc/omnisync/files/omnisync-1.0-help.patch b/net-misc/omnisync/files/omnisync-1.0-help.patch
32 deleted file mode 100644
33 index 47ff5201c03..00000000000
34 --- a/net-misc/omnisync/files/omnisync-1.0-help.patch
35 +++ /dev/null
36 @@ -1,16 +0,0 @@
37 -main: fix help missing newline
38 -
39 -Signed-off-by: Robin H. Johnson <robbat2@g.o>
40 -
41 -diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c
42 ---- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800
43 -+++ omnisync-1.0/main.c 2018-06-01 14:31:25.720686155 -0700
44 -@@ -139,7 +139,7 @@
45 - printf("-c x community (snmp only)\n");
46 - printf("-h x host to connect to\n");
47 - printf("-u x ntpd shared memory unit\n");
48 -- printf("-z x do an initial step, to speed up syncing, parameter is number of samples");
49 -+ printf("-z x do an initial step, to speed up syncing, parameter is number of samples\n");
50 - printf("-S x write measurements to file x\n");
51 - printf("-n do NOT submit to NTPd/set clock, query only (use in combination with -v and -f)\n");
52 - printf("-f do not fork\n");
53
54 diff --git a/net-misc/omnisync/files/omnisync-1.0-maxshm.patch b/net-misc/omnisync/files/omnisync-1.0-maxshm.patch
55 deleted file mode 100644
56 index 678c6e0072d..00000000000
57 --- a/net-misc/omnisync/files/omnisync-1.0-maxshm.patch
58 +++ /dev/null
59 @@ -1,18 +0,0 @@
60 -main: raise SHM unit limit
61 -
62 -Signed-off-by: Robin H. Johnson <robbat2@g.o>
63 -
64 -diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c
65 ---- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800
66 -+++ omnisync-1.0/main.c 2018-06-01 14:32:34.630066839 -0700
67 -@@ -346,8 +346,8 @@
68 - unit_nr = atoi(optarg);
69 - if (unit_nr < 0)
70 - error_exit("-u requires a positive value\n");
71 -- if (unit_nr > 3)
72 -- error_exit("NTPd normally supports only 4 shared memory devices, still continuing though\n");
73 -+ if (unit_nr > 254)
74 -+ error_exit("NTPd normally supports only 254 shared memory devices\n");
75 - break;
76 -
77 - case 'v':
78
79 diff --git a/net-misc/omnisync/files/omnisync-1.0-openssl11.patch b/net-misc/omnisync/files/omnisync-1.0-openssl11.patch
80 deleted file mode 100644
81 index 8c0d9c24333..00000000000
82 --- a/net-misc/omnisync/files/omnisync-1.0-openssl11.patch
83 +++ /dev/null
84 @@ -1,24 +0,0 @@
85 -diff -aurN a/mssl.c b/mssl.c
86 ---- a/mssl.c 2009-01-02 04:03:20.000000000 -0500
87 -+++ b/mssl.c 2018-06-01 20:59:26.447052020 -0400
88 -@@ -136,14 +136,20 @@
89 - if (!bio_err)
90 - {
91 - SSL_library_init();
92 -+#if OPENSSL_API_COMPAT < 0x10100000L
93 - SSL_load_error_strings();
94 -+#endif
95 -
96 - /* error write context */
97 - bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
98 - }
99 -
100 - /* create context */
101 -+#if OPENSSL_API_COMPAT < 0x10100000L
102 - meth = SSLv23_method();
103 -+#else
104 -+ meth = TLS_method();
105 -+#endif
106 -
107 - return SSL_CTX_new(meth);
108 - }
109
110 diff --git a/net-misc/omnisync/files/omnisync-1.0-statfile.patch b/net-misc/omnisync/files/omnisync-1.0-statfile.patch
111 deleted file mode 100644
112 index 972316a33bd..00000000000
113 --- a/net-misc/omnisync/files/omnisync-1.0-statfile.patch
114 +++ /dev/null
115 @@ -1,18 +0,0 @@
116 -main: wire up stats_file variable
117 -
118 -Signed-off-by: Robin H. Johnson <robbat2@g.o>
119 -
120 -diff -Nuar --exclude '*~' omnisync-1.0.orig/main.c omnisync-1.0/main.c
121 ---- omnisync-1.0.orig/main.c 2009-01-02 01:03:20.000000000 -0800
122 -+++ omnisync-1.0/main.c 2018-06-01 14:39:22.115229735 -0700
123 -@@ -358,6 +358,10 @@
124 - version();
125 - return 0;
126 -
127 -+ case 'S':
128 -+ stats_file = optarg;
129 -+ break;
130 -+
131 - default:
132 - help();
133 - return 1;
134
135 diff --git a/net-misc/omnisync/omnisync-1.0-r1.ebuild b/net-misc/omnisync/omnisync-1.0-r1.ebuild
136 deleted file mode 100644
137 index d82752e6f70..00000000000
138 --- a/net-misc/omnisync/omnisync-1.0-r1.ebuild
139 +++ /dev/null
140 @@ -1,49 +0,0 @@
141 -# Copyright 1999-2018 Gentoo Foundation
142 -# Distributed under the terms of the GNU General Public License v2
143 -
144 -EAPI=6
145 -
146 -inherit toolchain-funcs
147 -
148 -DESCRIPTION="A driver for NTPd for people who are firewall-challenged"
149 -HOMEPAGE="https://www.vanheusden.com/time/omnisync"
150 -LICENSE="GPL-2"
151 -SRC_URI="https://www.vanheusden.com/time/${PN}/${P}.tgz"
152 -
153 -SLOT="0"
154 -KEYWORDS="~amd64 ~x86"
155 -IUSE="debug"
156 -
157 -RDEPEND="dev-libs/openssl:0= net-analyzer/net-snmp:="
158 -DEPEND="${RDEPEND}"
159 -DOCS=( readme.txt Changes )
160 -PATCHES=(
161 - "${FILESDIR}"/omnisync-1.0-help.patch
162 - "${FILESDIR}"/omnisync-1.0-maxshm.patch
163 - "${FILESDIR}"/omnisync-1.0-statfile.patch
164 - "${FILESDIR}"/omnisync-1.0-openssl11.patch
165 -)
166 -
167 -src_prepare() {
168 - default
169 - tc-export CC
170 - sed -i \
171 - -e 's/-O2 -Wall/-Wall/' \
172 - -e 's/-lsnmp/-lnetsnmp/' \
173 - "${S%/}/Makefile" || die
174 - use debug || sed -i -e 's/$(DEBUG)//' "${S%/}/Makefile" || die
175 -}
176 -
177 -src_install() {
178 - dosbin omnisync
179 - newinitd "${FILESDIR%/}/${PN}.initd" ${PN}
180 - newconfd "${FILESDIR%/}/${PN}.confd" ${PN}
181 - einstalldocs
182 -}
183 -
184 -pkg_postinst() {
185 - local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT%/}/etc/conf.d/${PN}")
186 - if [[ -n "${isConfigured}" ]] ; then
187 - elog "Be sure to configure ${PN} in ${ROOT%/}/etc/conf.d before trying to start the service"
188 - fi
189 -}
190
191 diff --git a/net-misc/omnisync/omnisync-1.0.ebuild b/net-misc/omnisync/omnisync-1.0.ebuild
192 deleted file mode 100644
193 index 6c0ff7635dc..00000000000
194 --- a/net-misc/omnisync/omnisync-1.0.ebuild
195 +++ /dev/null
196 @@ -1,40 +0,0 @@
197 -# Copyright 1999-2018 Gentoo Foundation
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=6
201 -
202 -inherit toolchain-funcs
203 -
204 -DESCRIPTION="A driver for NTPd for people who are firewall-challenged"
205 -HOMEPAGE="https://www.vanheusden.com/time/omnisync"
206 -LICENSE="GPL-2"
207 -SRC_URI="https://www.vanheusden.com/time/${PN}/${P}.tgz"
208 -
209 -SLOT="0"
210 -KEYWORDS="~amd64 ~x86"
211 -IUSE="debug"
212 -
213 -RDEPEND="dev-libs/openssl:0= net-analyzer/net-snmp:="
214 -DEPEND="${RDEPEND}"
215 -DOCS=( readme.txt Changes )
216 -
217 -src_prepare() {
218 - default
219 - tc-export CC
220 - sed -i -e 's/-O2 -Wall/-Wall/' -e 's/-lsnmp/-lnetsnmp/' "${S%/}/Makefile" || die
221 - use debug || sed -i -e 's/$(DEBUG)//' "${S%/}/Makefile" || die
222 -}
223 -
224 -src_install() {
225 - dosbin omnisync
226 - newinitd "${FILESDIR%/}/${PN}.initd" ${PN}
227 - newconfd "${FILESDIR%/}/${PN}.confd" ${PN}
228 - einstalldocs
229 -}
230 -
231 -pkg_postinst() {
232 - local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT%/}/etc/conf.d/${PN}")
233 - if [[ -n "${isConfigured}" ]] ; then
234 - elog "Be sure to configure ${PN} in ${ROOT%/}/etc/conf.d before trying to start the service"
235 - fi
236 -}
237
238 diff --git a/net-misc/omnisync/omnisync-1.0_p20180614.ebuild b/net-misc/omnisync/omnisync-1.0_p20180614.ebuild
239 deleted file mode 100644
240 index c074a15980d..00000000000
241 --- a/net-misc/omnisync/omnisync-1.0_p20180614.ebuild
242 +++ /dev/null
243 @@ -1,35 +0,0 @@
244 -# Copyright 1999-2018 Gentoo Foundation
245 -# Distributed under the terms of the GNU General Public License v2
246 -
247 -EAPI=6
248 -
249 -inherit cmake-utils vcs-snapshot
250 -
251 -SNAPSHOT="b3a759af454552f4bbd3b1e097b41bd0d1d7fcf5"
252 -
253 -DESCRIPTION="A driver for NTPd for people who are firewall-challenged"
254 -HOMEPAGE="https://www.vanheusden.com/time/omnisync"
255 -LICENSE="GPL-2"
256 -SRC_URI="https://gitlab.com/grknight/omnisync/-/archive/${SNAPSHOT}/omnisync-${SNAPSHOT}.tar.bz2 -> ${P}.tar.bz2"
257 -
258 -SLOT="0"
259 -KEYWORDS="~amd64 ~x86"
260 -IUSE=""
261 -
262 -RDEPEND="net-libs/gnutls:= net-analyzer/net-snmp:="
263 -DEPEND="${RDEPEND}"
264 -DOCS=( readme.txt Changes )
265 -
266 -src_install() {
267 - cmake-utils_src_install
268 - newinitd "${FILESDIR%/}/${PN}.initd" ${PN}
269 - newconfd "${FILESDIR%/}/${PN}.confd" ${PN}
270 - einstalldocs
271 -}
272 -
273 -pkg_postinst() {
274 - local isConfigured=$(grep 'OMNISYNC_MODE=""' "${ROOT%/}/etc/conf.d/${PN}")
275 - if [[ -n "${isConfigured}" ]] ; then
276 - elog "Be sure to configure ${PN} in ${ROOT%/}/etc/conf.d before trying to start the service"
277 - fi
278 -}