1 |
commit: 4c0bc0bdd0b8b5b4e1de382d524b1eaefcff7939 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 28 18:59:16 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 28 18:59:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0bc0bd |
7 |
|
8 |
app-misc/mosquitto: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-misc/mosquitto/Manifest | 2 - |
13 |
app-misc/mosquitto/mosquitto-1.5.8.ebuild | 101 --------------------------- |
14 |
app-misc/mosquitto/mosquitto-1.6.2.ebuild | 110 ------------------------------ |
15 |
3 files changed, 213 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/mosquitto/Manifest b/app-misc/mosquitto/Manifest |
18 |
index 1dd940be2af..84e48c74f07 100644 |
19 |
--- a/app-misc/mosquitto/Manifest |
20 |
+++ b/app-misc/mosquitto/Manifest |
21 |
@@ -1,4 +1,2 @@ |
22 |
DIST mosquitto-1.5.6.tar.gz 439402 BLAKE2B 7d887d7d2e02d9891613d441c76705c40744cd8c7acae330648e5a00560b4ba1fbc28b92ac84bf85d423c84de875c5309f364d04fca72516ab2276fe42512b0c SHA512 99bd935f93ae25f0c7992870780cce4748b35ffd58fd0d39e20ee69f34c28d3eac289cf0c7dec078dbdced3bda12da4569d4b5e84ebdaa5514640f331ca3238b |
23 |
-DIST mosquitto-1.5.8.tar.gz 442834 BLAKE2B be5a7c2e7d28da0101fdfac9e5b0d7499abb71b464df3da11637c141947c75631e9c8952b219d20d598a156d0f8d5e86151c65ee4b55443dcef9c30eff49e3b3 SHA512 5cf2ae59077878be2784cc83fefe00fa3ff904646711545be519fc48557319c56dc7c15682fffc0dc42c530cdf59f550f25da9eec50a1a7deb222aa11bb669d3 |
24 |
-DIST mosquitto-1.6.2.tar.gz 576747 BLAKE2B c0815f1f0a964ee5cc26fc9a1d3c222b5261e29e1520f2b3ddacbe61e1af44c47040db1d9b71721f6ef9b42f378d1974d994065a8558a1f3f759dc5ca81db1a7 SHA512 d1c13df4409eb20ccc00a67b07a4af5c5ce668a403a4605e2bae4f5869b256ebe5d9a001d009cb0e34bc7b3cfee96779fc81099b170ff03af3ca43f05567912b |
25 |
DIST mosquitto-1.6.7.tar.gz 591062 BLAKE2B a215e311197fd84f1fa1ff0b681c8d1157db1a3e538a5a16afa1f11d17a08a720d44ae16b306cb08d6b585c8c4d4b2e38df972ceebc4634c727f4c8e0994c170 SHA512 0a75cf192483053ce78c6d9e3be158bdf66366d7731a68cf29e24731f6936027af1d86045c2b973f642e42e58efa033dbfd17842e3e95550bac4c1f44ab346e9 |
26 |
|
27 |
diff --git a/app-misc/mosquitto/mosquitto-1.5.8.ebuild b/app-misc/mosquitto/mosquitto-1.5.8.ebuild |
28 |
deleted file mode 100644 |
29 |
index 739d887f2e6..00000000000 |
30 |
--- a/app-misc/mosquitto/mosquitto-1.5.8.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,101 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
- |
39 |
-inherit python-any-r1 systemd toolchain-funcs user |
40 |
- |
41 |
-DESCRIPTION="An Open Source MQTT v3 Broker" |
42 |
-HOMEPAGE="https://mosquitto.org/" |
43 |
-SRC_URI="https://mosquitto.org/files/source/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="EPL-1.0" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~arm ~x86" |
48 |
-IUSE="bridge examples +persistence +srv ssl tcpd test websockets" |
49 |
- |
50 |
-REQUIRED_USE="test? ( bridge )" |
51 |
- |
52 |
-RDEPEND="srv? ( net-dns/c-ares ) |
53 |
- ssl? ( dev-libs/openssl:0= ) |
54 |
- tcpd? ( sys-apps/tcp-wrappers )" |
55 |
- |
56 |
-DEPEND="${PYTHON_DEPS} |
57 |
- ${RDEPEND} |
58 |
- websockets? ( net-libs/libwebsockets )" |
59 |
- |
60 |
-_emake() { |
61 |
- LIBDIR=$(get_libdir) |
62 |
- emake \ |
63 |
- CC="$(tc-getCC)" \ |
64 |
- LIB_SUFFIX="${LIBDIR:3}" \ |
65 |
- WITH_BRIDGE="$(usex bridge)" \ |
66 |
- WITH_PERSISTENCE="$(usex persistence)" \ |
67 |
- WITH_SRV="$(usex srv)" \ |
68 |
- WITH_TLS="$(usex ssl)" \ |
69 |
- WITH_WEBSOCKETS="$(usex websockets)" \ |
70 |
- WITH_WRAP="$(usex tcpd)" \ |
71 |
- "$@" |
72 |
-} |
73 |
- |
74 |
-pkg_setup() { |
75 |
- enewgroup mosquitto |
76 |
- enewuser mosquitto -1 -1 -1 mosquitto |
77 |
-} |
78 |
- |
79 |
-src_prepare() { |
80 |
- default |
81 |
- if use persistence; then |
82 |
- sed -i -e "/^#autosave_interval/s|^#||" \ |
83 |
- -e "s|^#persistence false$|persistence true|" \ |
84 |
- -e "/^#persistence_file/s|^#||" \ |
85 |
- -e "s|#persistence_location|persistence_location /var/lib/mosquitto/|" \ |
86 |
- mosquitto.conf || die |
87 |
- fi |
88 |
- |
89 |
- # Remove prestripping |
90 |
- sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\ |
91 |
- client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die |
92 |
- |
93 |
- python_setup |
94 |
- rm test/{broker,lib}/ptest.py || die |
95 |
- python_fix_shebang test |
96 |
-} |
97 |
- |
98 |
-src_compile() { |
99 |
- _emake |
100 |
-} |
101 |
- |
102 |
-src_test() { |
103 |
- _emake test |
104 |
-} |
105 |
- |
106 |
-src_install() { |
107 |
- _emake DESTDIR="${D}" prefix=/usr install |
108 |
- keepdir /var/lib/mosquitto |
109 |
- fowners mosquitto:mosquitto /var/lib/mosquitto |
110 |
- dodoc readme.md CONTRIBUTING.md ChangeLog.txt |
111 |
- doinitd "${FILESDIR}"/mosquitto |
112 |
- insinto /etc/mosquitto |
113 |
- doins mosquitto.conf |
114 |
- systemd_dounit "${FILESDIR}/mosquitto.service" |
115 |
- |
116 |
- if use examples; then |
117 |
- docompress -x "/usr/share/doc/${PF}/examples" |
118 |
- dodoc -r examples |
119 |
- fi |
120 |
-} |
121 |
- |
122 |
-pkg_postinst() { |
123 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
124 |
- elog "The Python module has been moved out of mosquitto." |
125 |
- elog "See https://mosquitto.org/documentation/python/" |
126 |
- else |
127 |
- elog "To start the mosquitto daemon at boot, add it to the default runlevel with:" |
128 |
- elog "" |
129 |
- elog " rc-update add mosquitto default" |
130 |
- elog "or" |
131 |
- elog " systemctl enable mosquitto" |
132 |
- fi |
133 |
-} |
134 |
|
135 |
diff --git a/app-misc/mosquitto/mosquitto-1.6.2.ebuild b/app-misc/mosquitto/mosquitto-1.6.2.ebuild |
136 |
deleted file mode 100644 |
137 |
index 0eb52c398c3..00000000000 |
138 |
--- a/app-misc/mosquitto/mosquitto-1.6.2.ebuild |
139 |
+++ /dev/null |
140 |
@@ -1,110 +0,0 @@ |
141 |
-# Copyright 1999-2019 Gentoo Authors |
142 |
-# Distributed under the terms of the GNU General Public License v2 |
143 |
- |
144 |
-EAPI=7 |
145 |
-PYTHON_COMPAT=( python3_7 ) |
146 |
- |
147 |
-inherit python-any-r1 systemd toolchain-funcs user |
148 |
- |
149 |
-DESCRIPTION="An Open Source MQTT v3 Broker" |
150 |
-HOMEPAGE="https://mosquitto.org/" |
151 |
-SRC_URI="https://mosquitto.org/files/source/${P}.tar.gz" |
152 |
- |
153 |
-LICENSE="EPL-1.0" |
154 |
-SLOT="0" |
155 |
-KEYWORDS="~amd64 ~arm ~x86" |
156 |
-IUSE="bridge examples +persistence +srv ssl tcpd test websockets" |
157 |
- |
158 |
-REQUIRED_USE="test? ( bridge )" |
159 |
- |
160 |
-RDEPEND="srv? ( net-dns/c-ares:= ) |
161 |
- ssl? ( dev-libs/openssl:0= ) |
162 |
- tcpd? ( sys-apps/tcp-wrappers )" |
163 |
- |
164 |
-DEPEND="${PYTHON_DEPS} |
165 |
- ${RDEPEND} |
166 |
- test? ( dev-util/cunit ) |
167 |
- websockets? ( net-libs/libwebsockets )" |
168 |
- |
169 |
-_emake() { |
170 |
- local LIBDIR=$(get_libdir) |
171 |
- emake \ |
172 |
- CC="$(tc-getCC)" \ |
173 |
- CLIENT_LDFLAGS="${LDFLAGS}" \ |
174 |
- LIB_SUFFIX="${LIBDIR:3}" \ |
175 |
- WITH_BRIDGE="$(usex bridge)" \ |
176 |
- WITH_PERSISTENCE="$(usex persistence)" \ |
177 |
- WITH_SRV="$(usex srv)" \ |
178 |
- WITH_TLS="$(usex ssl)" \ |
179 |
- WITH_WEBSOCKETS="$(usex websockets)" \ |
180 |
- WITH_WRAP="$(usex tcpd)" \ |
181 |
- "$@" |
182 |
-} |
183 |
- |
184 |
-pkg_setup() { |
185 |
- enewgroup mosquitto |
186 |
- enewuser mosquitto -1 -1 -1 mosquitto |
187 |
-} |
188 |
- |
189 |
-src_prepare() { |
190 |
- default |
191 |
- if use persistence; then |
192 |
- sed -i -e "/^#autosave_interval/s|^#||" \ |
193 |
- -e "s|^#persistence false$|persistence true|" \ |
194 |
- -e "/^#persistence_file/s|^#||" \ |
195 |
- -e "s|#persistence_location|persistence_location /var/lib/mosquitto/|" \ |
196 |
- mosquitto.conf || die |
197 |
- fi |
198 |
- |
199 |
- # Remove prestripping |
200 |
- sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\ |
201 |
- client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die |
202 |
- |
203 |
- # Remove failing tests |
204 |
- sed -i -e '/02-subpub-qos1-bad-pubcomp.py/d' \ |
205 |
- -e '/02-subpub-qos1-bad-pubrec.py/d' \ |
206 |
- -e '/02-subpub-qos2-bad-puback-1.py/d' \ |
207 |
- -e '/02-subpub-qos2-bad-puback-2.py/d' \ |
208 |
- -e '/02-subpub-qos2-bad-pubcomp.py/d' \ |
209 |
- -e '/11-message-expiry.py/d' test/broker/Makefile || die |
210 |
- |
211 |
- python_setup |
212 |
- python_fix_shebang test |
213 |
-} |
214 |
- |
215 |
-src_compile() { |
216 |
- _emake |
217 |
-} |
218 |
- |
219 |
-src_test() { |
220 |
- _emake test |
221 |
-} |
222 |
- |
223 |
-src_install() { |
224 |
- _emake DESTDIR="${D}" prefix=/usr install |
225 |
- keepdir /var/lib/mosquitto |
226 |
- fowners mosquitto:mosquitto /var/lib/mosquitto |
227 |
- dodoc readme.md CONTRIBUTING.md ChangeLog.txt |
228 |
- doinitd "${FILESDIR}"/mosquitto |
229 |
- insinto /etc/mosquitto |
230 |
- doins mosquitto.conf |
231 |
- systemd_dounit "${FILESDIR}/mosquitto.service" |
232 |
- |
233 |
- if use examples; then |
234 |
- docompress -x "/usr/share/doc/${PF}/examples" |
235 |
- dodoc -r examples |
236 |
- fi |
237 |
-} |
238 |
- |
239 |
-pkg_postinst() { |
240 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
241 |
- elog "The Python module has been moved out of mosquitto." |
242 |
- elog "See https://mosquitto.org/documentation/python/" |
243 |
- else |
244 |
- elog "To start the mosquitto daemon at boot, add it to the default runlevel with:" |
245 |
- elog "" |
246 |
- elog " rc-update add mosquitto default" |
247 |
- elog "or" |
248 |
- elog " systemctl enable mosquitto" |
249 |
- fi |
250 |
-} |