1 |
commit: 8524eff5dcce396a217456dd2cd18b182484de66 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 1 19:58:22 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 1 19:59:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8524eff5 |
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 | 1 - |
13 |
app-misc/mosquitto/mosquitto-1.5.6.ebuild | 106 ------------------------------ |
14 |
2 files changed, 107 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/mosquitto/Manifest b/app-misc/mosquitto/Manifest |
17 |
index 84e48c74f07..ae2670ea268 100644 |
18 |
--- a/app-misc/mosquitto/Manifest |
19 |
+++ b/app-misc/mosquitto/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST mosquitto-1.5.6.tar.gz 439402 BLAKE2B 7d887d7d2e02d9891613d441c76705c40744cd8c7acae330648e5a00560b4ba1fbc28b92ac84bf85d423c84de875c5309f364d04fca72516ab2276fe42512b0c SHA512 99bd935f93ae25f0c7992870780cce4748b35ffd58fd0d39e20ee69f34c28d3eac289cf0c7dec078dbdced3bda12da4569d4b5e84ebdaa5514640f331ca3238b |
22 |
DIST mosquitto-1.6.7.tar.gz 591062 BLAKE2B a215e311197fd84f1fa1ff0b681c8d1157db1a3e538a5a16afa1f11d17a08a720d44ae16b306cb08d6b585c8c4d4b2e38df972ceebc4634c727f4c8e0994c170 SHA512 0a75cf192483053ce78c6d9e3be158bdf66366d7731a68cf29e24731f6936027af1d86045c2b973f642e42e58efa033dbfd17842e3e95550bac4c1f44ab346e9 |
23 |
|
24 |
diff --git a/app-misc/mosquitto/mosquitto-1.5.6.ebuild b/app-misc/mosquitto/mosquitto-1.5.6.ebuild |
25 |
deleted file mode 100644 |
26 |
index 6f319fe32b3..00000000000 |
27 |
--- a/app-misc/mosquitto/mosquitto-1.5.6.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,106 +0,0 @@ |
30 |
-# Copyright 1999-2019 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-PYTHON_COMPAT=( python2_7 ) |
35 |
- |
36 |
-inherit systemd user toolchain-funcs python-any-r1 |
37 |
- |
38 |
-DESCRIPTION="An Open Source MQTT v3 Broker" |
39 |
-HOMEPAGE="https://mosquitto.org/" |
40 |
-SRC_URI="https://mosquitto.org/files/source/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="EPL-1.0" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 arm x86" |
45 |
-IUSE="bridge examples libressl +persistence +srv ssl tcpd test websockets" |
46 |
- |
47 |
-REQUIRED_USE=" |
48 |
- test? ( bridge ) |
49 |
-" |
50 |
- |
51 |
-RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) |
52 |
- srv? ( net-dns/c-ares ) |
53 |
- ssl? ( |
54 |
- !libressl? ( dev-libs/openssl:0= ) |
55 |
- libressl? ( dev-libs/libressl:0= ) |
56 |
- )" |
57 |
-DEPEND="${RDEPEND} |
58 |
- ${PYTHON_DEPS} |
59 |
- websockets? ( net-libs/libwebsockets )" |
60 |
- |
61 |
-_emake() { |
62 |
- LIBDIR=$(get_libdir) |
63 |
- emake \ |
64 |
- CC="$(tc-getCC)" \ |
65 |
- LIB_SUFFIX="${LIBDIR:3}" \ |
66 |
- WITH_BRIDGE="$(usex bridge)" \ |
67 |
- WITH_PERSISTENCE="$(usex persistence)" \ |
68 |
- WITH_SRV="$(usex srv)" \ |
69 |
- WITH_TLS="$(usex ssl)" \ |
70 |
- WITH_WEBSOCKETS="$(usex websockets)" \ |
71 |
- WITH_WRAP="$(usex tcpd)" \ |
72 |
- "$@" |
73 |
-} |
74 |
- |
75 |
-pkg_setup() { |
76 |
- enewgroup mosquitto |
77 |
- enewuser mosquitto -1 -1 -1 mosquitto |
78 |
-} |
79 |
- |
80 |
-src_prepare() { |
81 |
- default |
82 |
- if use persistence; then |
83 |
- sed -i -e "/^#autosave_interval/s|^#||" \ |
84 |
- -e "s|^#persistence false$|persistence true|" \ |
85 |
- -e "/^#persistence_file/s|^#||" \ |
86 |
- -e "s|#persistence_location|persistence_location /var/lib/mosquitto/|" \ |
87 |
- mosquitto.conf || die |
88 |
- fi |
89 |
- |
90 |
- # Remove prestripping |
91 |
- sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\ |
92 |
- client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die |
93 |
- |
94 |
- python_setup |
95 |
- rm test/{broker,lib}/ptest.py || die |
96 |
- python_fix_shebang test |
97 |
-} |
98 |
- |
99 |
-src_compile() { |
100 |
- _emake |
101 |
-} |
102 |
- |
103 |
-src_test() { |
104 |
- _emake test |
105 |
-} |
106 |
- |
107 |
-src_install() { |
108 |
- _emake DESTDIR="${D}" prefix=/usr install |
109 |
- keepdir /var/lib/mosquitto |
110 |
- fowners mosquitto:mosquitto /var/lib/mosquitto |
111 |
- dodoc readme.md CONTRIBUTING.md ChangeLog.txt |
112 |
- doinitd "${FILESDIR}"/mosquitto |
113 |
- insinto /etc/mosquitto |
114 |
- doins mosquitto.conf |
115 |
- systemd_dounit "${FILESDIR}/mosquitto.service" |
116 |
- |
117 |
- if use examples; then |
118 |
- docompress -x "/usr/share/doc/${PF}/examples" |
119 |
- docinto "/usr/share/doc/${PF}" |
120 |
- doins -r examples |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
126 |
- elog "The Python module has been moved out of mosquitto." |
127 |
- elog "See https://mosquitto.org/documentation/python/" |
128 |
- else |
129 |
- elog "To start the mosquitto daemon at boot, add it to the default runlevel with:" |
130 |
- elog "" |
131 |
- elog " rc-update add mosquitto default" |
132 |
- elog " or" |
133 |
- elog " systemctl enable mosquitto" |
134 |
- fi |
135 |
-} |