Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mosquitto/
Date: Sat, 02 Sep 2017 18:04:05
Message-Id: 1504375432.3f6f600d1d7518682040ed9df870c3cc15435b74.bman@gentoo
1 commit: 3f6f600d1d7518682040ed9df870c3cc15435b74
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 2 18:03:52 2017 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 18:03:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6f600d
7
8 app-misc/mosquitto: drop vulnerable wrt bug #625290
9
10 app-misc/mosquitto/Manifest | 2 -
11 app-misc/mosquitto/mosquitto-1.4.10.ebuild | 95 -----------------------------
12 app-misc/mosquitto/mosquitto-1.4.11.ebuild | 96 ------------------------------
13 3 files changed, 193 deletions(-)
14
15 diff --git a/app-misc/mosquitto/Manifest b/app-misc/mosquitto/Manifest
16 index 13a5ecee843..d26b54e15ac 100644
17 --- a/app-misc/mosquitto/Manifest
18 +++ b/app-misc/mosquitto/Manifest
19 @@ -1,3 +1 @@
20 -DIST mosquitto-1.4.10.tar.gz 359569 SHA256 437648d68a4a781dd8d913814cd5451f59ab4a5fcf84cccaf7c36e6a07459770 SHA512 fe5d6d7196a137a496ba6881c77d852396baefb4f0b83ccd9a22175fc05b09e48a09ea249e30ec7db966e11de134ebcc4e2e9b1fd40b31dc59fb0fa2f60b75a1 WHIRLPOOL 9510060701259e78c39bf88989ce8142d11e0b53348a20c1a71ffc69b98d7c1725c9315026d392d8d86d131bc55c86492a91ddde94eca0d353f1d3ab6ef6900f
21 -DIST mosquitto-1.4.11.tar.gz 361468 SHA256 ca47533bbc1b7c5e15d6e5d96d3efc59677f2515b6692263c34b7c48f33280c5 SHA512 c05ca8679b9a6f540868f4ccf701257fcabc114d5450ac0bbbe80b91bb7cd4fc52668773e945506760c7a5bd8a494e0a56100714112e5d2713d57bfab8951587 WHIRLPOOL d4418b951ff55eaba1fc67b324f1ecdd0d55c0eea066be9793de30e8561d0fe0e36537adb688fc98764758998086eb64b827041e76160ddc858c6066f83e8f21
22 DIST mosquitto-1.4.14.tar.gz 365596 SHA256 156b1fa731d12baad4b8b22f7b6a8af50ba881fc711b81e9919ec103cf2942d1 SHA512 dc75a971354f87deeb79f32435acfae9bc561a1a24a75ee4940a35176ff91758071930d2105d8dee2a090e07527dbfaa5692bece67e03cc87e8b4b8b46f846c2 WHIRLPOOL 428494b277869d6d8d100663f1fd8f14e21028d0b2f802da634a2f033a9df4383246d6ad0802b27b41dfad7a50d3120830018dd7592888b468976798b8a2f0bf
23
24 diff --git a/app-misc/mosquitto/mosquitto-1.4.10.ebuild b/app-misc/mosquitto/mosquitto-1.4.10.ebuild
25 deleted file mode 100644
26 index e7137583c9b..00000000000
27 --- a/app-misc/mosquitto/mosquitto-1.4.10.ebuild
28 +++ /dev/null
29 @@ -1,95 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="5"
34 -PYTHON_COMPAT=( python2_7 )
35 -
36 -inherit eutils systemd user python-any-r1
37 -
38 -DESCRIPTION="An Open Source MQTT v3 Broker"
39 -HOMEPAGE="http://mosquitto.org/"
40 -SRC_URI="http://mosquitto.org/files/source/${P}.tar.gz"
41 -LICENSE="EPL-1.0"
42 -SLOT="0"
43 -KEYWORDS="amd64 arm x86"
44 -IUSE="bridge examples +persistence +srv ssl tcpd"
45 -
46 -RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
47 - ssl? ( dev-libs/openssl:0= )"
48 -DEPEND="${RDEPEND}
49 - ${PYTHON_DEPS}
50 - srv? ( net-dns/c-ares )"
51 -
52 -pkg_setup() {
53 - enewgroup mosquitto
54 - enewuser mosquitto -1 -1 -1 mosquitto
55 -}
56 -
57 -src_prepare() {
58 - epatch "${FILESDIR}/${P}-conditional-tests.patch"
59 - if use persistence; then
60 - sed -i -e "s:^#autosave_interval:autosave_interval:" \
61 - -e "s:^#persistence false$:persistence true:" \
62 - -e "s:^#persistence_file:persistence_file:" \
63 - -e "s:^#persistence_location$:persistence_location /var/lib/mosquitto/:" \
64 - mosquitto.conf || die
65 - fi
66 - python_setup
67 - python_fix_shebang test
68 -}
69 -
70 -src_configure() {
71 - LIBDIR=$(get_libdir)
72 - QA_PRESTRIPPED="/usr/sbin/mosquitto
73 - /usr/bin/mosquitto_passwd
74 - /usr/bin/mosquitto_sub
75 - /usr/bin/mosquitto_pub
76 - /usr/${LIBDIR}/libmosquittopp.so.1
77 - /usr/${LIBDIR}/libmosquitto.so.1"
78 -
79 - makeopts=(
80 - "LIB_SUFFIX=${LIBDIR:3}"
81 - "WITH_BRIDGE=$(usex bridge)"
82 - "WITH_PERSISTENCE=$(usex persistence)"
83 - "WITH_SRV=$(usex srv)"
84 - "WITH_TLS=$(usex ssl)"
85 - "WITH_WRAP=$(usex tcpd)"
86 - )
87 -}
88 -
89 -src_compile() {
90 - emake "${makeopts[@]}"
91 -}
92 -
93 -src_test() {
94 - emake "${makeopts[@]}" test
95 -}
96 -
97 -src_install() {
98 - emake "${makeopts[@]}" DESTDIR="${D}" prefix=/usr install
99 - keepdir /var/lib/mosquitto
100 - fowners mosquitto:mosquitto /var/lib/mosquitto
101 - dodoc readme.md CONTRIBUTING.md ChangeLog.txt
102 - doinitd "${FILESDIR}"/mosquitto
103 - insinto /etc/mosquitto
104 - doins mosquitto.conf
105 - systemd_dounit "${FILESDIR}/mosquitto.service"
106 -
107 - if use examples; then
108 - docompress -x "/usr/share/doc/${PF}/examples"
109 - insinto "/usr/share/doc/${PF}/examples"
110 - doins -r examples/*
111 - fi
112 -}
113 -
114 -pkg_postinst() {
115 - elog ""
116 - elog "The Python module has been moved out of mosquitto."
117 - elog "See http://mosquitto.org/documentation/python/"
118 - elog ""
119 - elog "To start the mosquitto daemon at boot, add it to the default runlevel with:"
120 - elog ""
121 - elog " rc-update add mosquitto default"
122 - elog " or"
123 - elog " systemctl enable mosquitto"
124 -}
125
126 diff --git a/app-misc/mosquitto/mosquitto-1.4.11.ebuild b/app-misc/mosquitto/mosquitto-1.4.11.ebuild
127 deleted file mode 100644
128 index 3f4677c38d1..00000000000
129 --- a/app-misc/mosquitto/mosquitto-1.4.11.ebuild
130 +++ /dev/null
131 @@ -1,96 +0,0 @@
132 -# Copyright 1999-2017 Gentoo Foundation
133 -# Distributed under the terms of the GNU General Public License v2
134 -
135 -EAPI=5
136 -PYTHON_COMPAT=( python2_7 )
137 -
138 -inherit eutils systemd user toolchain-funcs python-any-r1
139 -
140 -DESCRIPTION="An Open Source MQTT v3 Broker"
141 -HOMEPAGE="http://mosquitto.org/"
142 -SRC_URI="http://mosquitto.org/files/source/${P}.tar.gz"
143 -LICENSE="EPL-1.0"
144 -SLOT="0"
145 -KEYWORDS="~amd64 ~x86 ~arm"
146 -IUSE="bridge examples +persistence +srv ssl tcpd websockets"
147 -
148 -RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
149 - ssl? ( dev-libs/openssl:0= )"
150 -DEPEND="${RDEPEND}
151 - ${PYTHON_DEPS}
152 - srv? ( net-dns/c-ares )
153 - websockets? ( net-libs/libwebsockets )"
154 -
155 -pkg_setup() {
156 - enewgroup mosquitto
157 - enewuser mosquitto -1 -1 -1 mosquitto
158 -}
159 -
160 -src_prepare() {
161 - epatch "${FILESDIR}/${PN}-1.4.10-conditional-tests.patch"
162 - if use persistence; then
163 - sed -i -e "s:^#autosave_interval:autosave_interval:" \
164 - -e "s:^#persistence false$:persistence true:" \
165 - -e "s:^#persistence_file:persistence_file:" \
166 - -e "s:^#persistence_location$:persistence_location /var/lib/mosquitto/:" \
167 - mosquitto.conf || die
168 - fi
169 -
170 - # Remove prestripping
171 - sed -i -e 's/-s --strip-program=${CROSS_COMPILE}${STRIP}//'\
172 - client/Makefile lib/cpp/Makefile src/Makefile lib/Makefile || die
173 -
174 - python_setup
175 - python_fix_shebang test
176 -}
177 -
178 -src_configure() {
179 - LIBDIR=$(get_libdir)
180 - makeopts=(
181 - "CC=$(tc-getCC)"
182 - "LIB_SUFFIX=${LIBDIR:3}"
183 - "WITH_BRIDGE=$(usex bridge)"
184 - "WITH_PERSISTENCE=$(usex persistence)"
185 - "WITH_SRV=$(usex srv)"
186 - "WITH_TLS=$(usex ssl)"
187 - "WITH_WEBSOCKETS=$(usex websockets)"
188 - "WITH_WRAP=$(usex tcpd)"
189 - )
190 -}
191 -
192 -src_compile() {
193 - emake "${makeopts[@]}"
194 -}
195 -
196 -src_test() {
197 - emake "${makeopts[@]}" test
198 -}
199 -
200 -src_install() {
201 - emake "${makeopts[@]}" DESTDIR="${D}" prefix=/usr install
202 - keepdir /var/lib/mosquitto
203 - fowners mosquitto:mosquitto /var/lib/mosquitto
204 - dodoc readme.md CONTRIBUTING.md ChangeLog.txt
205 - doinitd "${FILESDIR}"/mosquitto
206 - insinto /etc/mosquitto
207 - doins mosquitto.conf
208 - systemd_dounit "${FILESDIR}/mosquitto.service"
209 -
210 - if use examples; then
211 - docompress -x "/usr/share/doc/${PF}/examples"
212 - insinto "/usr/share/doc/${PF}/examples"
213 - doins -r examples/*
214 - fi
215 -}
216 -
217 -pkg_postinst() {
218 - elog ""
219 - elog "The Python module has been moved out of mosquitto."
220 - elog "See http://mosquitto.org/documentation/python/"
221 - elog ""
222 - elog "To start the mosquitto daemon at boot, add it to the default runlevel with:"
223 - elog ""
224 - elog " rc-update add mosquitto default"
225 - elog " or"
226 - elog " systemctl enable mosquitto"
227 -}