Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/modemmanager/
Date: Mon, 24 Jan 2022 22:43:41
Message-Id: 1643064176.d7cef28d50273e77a12b33bf2420828d568e85ed.mattst88@gentoo
1 commit: d7cef28d50273e77a12b33bf2420828d568e85ed
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 24 21:12:12 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 22:42:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7cef28d
7
8 net-misc/modemmanager: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-misc/modemmanager/Manifest | 3 -
13 net-misc/modemmanager/modemmanager-1.16.6.ebuild | 128 ----------------------
14 net-misc/modemmanager/modemmanager-1.16.8.ebuild | 128 ----------------------
15 net-misc/modemmanager/modemmanager-1.18.0.ebuild | 129 -----------------------
16 4 files changed, 388 deletions(-)
17
18 diff --git a/net-misc/modemmanager/Manifest b/net-misc/modemmanager/Manifest
19 index 21deb16c39bf..b74c7922139e 100644
20 --- a/net-misc/modemmanager/Manifest
21 +++ b/net-misc/modemmanager/Manifest
22 @@ -1,4 +1 @@
23 -DIST ModemManager-1.16.6.tar.xz 2339528 BLAKE2B b76a8b6959d988a27d411384440b9bd1b7ac1a9d780b77319e735c4b42c55c51f51304ae936aa9b385634640bcb1a55696d4bd25ffdaf88eb73839bfefe5e091 SHA512 78a928007732baaa0eaed9d587913774d4fb79049d652474f39176190496012dc4c93fd0bd774ed6f86f845f3b9f345bcccf4c7b2438b83cf5846b2bcdcb39d5
24 -DIST ModemManager-1.16.8.tar.xz 2344748 BLAKE2B 70ed052a7cd5561518577948419b0363816805d8a1af7de2874fa3dae795e38611d34733f5ed5dcfb12270421430249ee0a49bf54e4dcb87abe4ab595bd0b4c2 SHA512 be32ef03210035a93bad5ac0e339863c247cd000276e1bfa1acf584df652a78eda74990226a00a20e957481ce92801ed365b153de8f927a983cec41d3bbe3082
25 -DIST ModemManager-1.18.0.tar.xz 2493576 BLAKE2B 36034a589fb38447c83a232b6d24ca2fceed15ebc89a41af969bdcebeb482d4baf2657d063b1011c0df252b4ba7f703284cbf111b90d565d66157006331d6e69 SHA512 6e99e5529a74e6fdf814b4fcb9c9f5cd6a0398cd75303feee62c3564f9d62f54bb5a435a9847ed085fe2031af5a8d821d43f9cabed7d3be019ae0f5c8b0e11d2
26 DIST ModemManager-1.18.4.tar.xz 2510768 BLAKE2B 726c1a7970fdd13b7a1952abceff1905ed167a5da290d7d48427f221434ad02032cc0590d5701b10d48b93d10c35daadae4b20a026da335a9cf3020f55c4c6c6 SHA512 156193f0e9709e401f3acd66f8bc3028e04de70fca760b42fd9626e616292851cdeadd18685e05f0f83066a21d5c43741e96838e4940767a93b03db9bee7c9db
27
28 diff --git a/net-misc/modemmanager/modemmanager-1.16.6.ebuild b/net-misc/modemmanager/modemmanager-1.16.6.ebuild
29 deleted file mode 100644
30 index d71786684b84..000000000000
31 --- a/net-misc/modemmanager/modemmanager-1.16.6.ebuild
32 +++ /dev/null
33 @@ -1,128 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -VALA_USE_DEPEND="vapigen"
39 -
40 -inherit gnome2 readme.gentoo-r1 systemd toolchain-funcs udev vala
41 -
42 -DESCRIPTION="Modem and mobile broadband management libraries"
43 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
44 -SRC_URI="https://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
45 -
46 -LICENSE="GPL-2+"
47 -SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N}
48 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~sparc x86"
49 -
50 -IUSE="elogind +introspection mbim policykit +qmi systemd +udev vala"
51 -REQUIRED_USE="
52 - ?? ( elogind systemd )
53 - vala? ( introspection )
54 -"
55 -
56 -DEPEND="
57 - >=dev-libs/glib-2.48.0:2
58 - udev? ( >=dev-libs/libgudev-230:= )
59 - introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
60 - mbim? ( >=net-libs/libmbim-1.24.0 )
61 - policykit? ( >=sys-auth/polkit-0.106[introspection?] )
62 - qmi? ( >=net-libs/libqmi-1.28.6:= )
63 - elogind? ( sys-auth/elogind )
64 - systemd? ( >=sys-apps/systemd-209 )
65 -"
66 -RDEPEND="${DEPEND}
67 - policykit? ( acct-group/plugdev )
68 -"
69 -BDEPEND="
70 - dev-util/gdbus-codegen
71 - dev-util/glib-utils
72 - >=dev-util/gtk-doc-am-1
73 - >=sys-devel/gettext-0.19.8
74 - virtual/pkgconfig
75 - vala? ( $(vala_depend) )
76 -"
77 -
78 -S="${WORKDIR}/ModemManager-${PV}"
79 -
80 -src_prepare() {
81 - DOC_CONTENTS="
82 - If your USB modem shows up only as a storage device when you plug it in,
83 - then you should install sys-apps/usb_modeswitch, which will automatically
84 - switch it over to USB modem mode whenever you plug it in.\n"
85 -
86 - if use policykit; then
87 - DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,
88 - add your user account to the 'plugdev' group."
89 - fi
90 -
91 - use vala && vala_src_prepare
92 - gnome2_src_prepare
93 -}
94 -
95 -src_configure() {
96 - local myconf=(
97 - --disable-Werror
98 - --disable-static
99 - --with-dist-version=${PVR}
100 - --with-udev-base-dir="$(get_udevdir)"
101 - $(use_with udev)
102 - $(use_enable introspection)
103 - $(use_with mbim)
104 - $(use_with policykit polkit)
105 - $(use_with systemd systemd-journal)
106 - $(use_with qmi)
107 - $(use_enable vala)
108 - )
109 - if use systemd || use elogind; then
110 - myconf+=(--with-systemd-suspend-resume)
111 - else
112 - myconf+=(--without-systemd-suspend-resume)
113 - fi
114 - gnome2_src_configure "${myconf[@]}"
115 -}
116 -
117 -src_install() {
118 - gnome2_src_install
119 -
120 - # Allow users in plugdev group full control over their modem
121 - if use policykit; then
122 - insinto /usr/share/polkit-1/rules.d/
123 - doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules
124 - fi
125 -
126 - readme.gentoo_create_doc
127 -
128 - newinitd "${FILESDIR}/modemmanager.initd" modemmanager
129 -}
130 -
131 -pkg_postinst() {
132 - gnome2_pkg_postinst
133 -
134 - # The polkit rules file moved to /usr/share
135 - old_rules="${EROOT}/etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
136 - if [[ -f "${old_rules}" ]]; then
137 - case "$(md5sum ${old_rules})" in
138 - c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* )
139 - # Automatically delete the old rules.d file if the user did not change it
140 - elog
141 - elog "Removing old ${old_rules} ..."
142 - rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually"
143 - ;;
144 - * )
145 - elog "The ${old_rules}"
146 - elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2"
147 - elog "If you edited ${old_rules}"
148 - elog "without changing its behavior, you may want to remove it."
149 - ;;
150 - esac
151 - fi
152 -
153 - if ! use udev; then
154 - ewarn "You have built ModemManager without udev support. You may have to teach it"
155 - ewarn "about your modem port manually."
156 - fi
157 -
158 - systemd_reenable ModemManager.service
159 -
160 - readme.gentoo_print_elog
161 -}
162
163 diff --git a/net-misc/modemmanager/modemmanager-1.16.8.ebuild b/net-misc/modemmanager/modemmanager-1.16.8.ebuild
164 deleted file mode 100644
165 index dce966984ad2..000000000000
166 --- a/net-misc/modemmanager/modemmanager-1.16.8.ebuild
167 +++ /dev/null
168 @@ -1,128 +0,0 @@
169 -# Copyright 1999-2021 Gentoo Authors
170 -# Distributed under the terms of the GNU General Public License v2
171 -
172 -EAPI=7
173 -VALA_USE_DEPEND="vapigen"
174 -
175 -inherit gnome2 readme.gentoo-r1 systemd toolchain-funcs udev vala
176 -
177 -DESCRIPTION="Modem and mobile broadband management libraries"
178 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
179 -SRC_URI="https://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
180 -
181 -LICENSE="GPL-2+"
182 -SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N}
183 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
184 -
185 -IUSE="elogind +introspection mbim policykit +qmi systemd +udev vala"
186 -REQUIRED_USE="
187 - ?? ( elogind systemd )
188 - vala? ( introspection )
189 -"
190 -
191 -DEPEND="
192 - >=dev-libs/glib-2.48.0:2
193 - udev? ( >=dev-libs/libgudev-230:= )
194 - introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
195 - mbim? ( >=net-libs/libmbim-1.24.0 )
196 - policykit? ( >=sys-auth/polkit-0.106[introspection?] )
197 - qmi? ( >=net-libs/libqmi-1.28.6:= )
198 - elogind? ( sys-auth/elogind )
199 - systemd? ( >=sys-apps/systemd-209 )
200 -"
201 -RDEPEND="${DEPEND}
202 - policykit? ( acct-group/plugdev )
203 -"
204 -BDEPEND="
205 - dev-util/gdbus-codegen
206 - dev-util/glib-utils
207 - >=dev-util/gtk-doc-am-1
208 - >=sys-devel/gettext-0.19.8
209 - virtual/pkgconfig
210 - vala? ( $(vala_depend) )
211 -"
212 -
213 -S="${WORKDIR}/ModemManager-${PV}"
214 -
215 -src_prepare() {
216 - DOC_CONTENTS="
217 - If your USB modem shows up only as a storage device when you plug it in,
218 - then you should install sys-apps/usb_modeswitch, which will automatically
219 - switch it over to USB modem mode whenever you plug it in.\n"
220 -
221 - if use policykit; then
222 - DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,
223 - add your user account to the 'plugdev' group."
224 - fi
225 -
226 - use vala && vala_src_prepare
227 - gnome2_src_prepare
228 -}
229 -
230 -src_configure() {
231 - local myconf=(
232 - --disable-Werror
233 - --disable-static
234 - --with-dist-version=${PVR}
235 - --with-udev-base-dir="$(get_udevdir)"
236 - $(use_with udev)
237 - $(use_enable introspection)
238 - $(use_with mbim)
239 - $(use_with policykit polkit)
240 - $(use_with systemd systemd-journal)
241 - $(use_with qmi)
242 - $(use_enable vala)
243 - )
244 - if use systemd || use elogind; then
245 - myconf+=(--with-systemd-suspend-resume)
246 - else
247 - myconf+=(--without-systemd-suspend-resume)
248 - fi
249 - gnome2_src_configure "${myconf[@]}"
250 -}
251 -
252 -src_install() {
253 - gnome2_src_install
254 -
255 - # Allow users in plugdev group full control over their modem
256 - if use policykit; then
257 - insinto /usr/share/polkit-1/rules.d/
258 - doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules
259 - fi
260 -
261 - readme.gentoo_create_doc
262 -
263 - newinitd "${FILESDIR}/modemmanager.initd" modemmanager
264 -}
265 -
266 -pkg_postinst() {
267 - gnome2_pkg_postinst
268 -
269 - # The polkit rules file moved to /usr/share
270 - old_rules="${EROOT}/etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
271 - if [[ -f "${old_rules}" ]]; then
272 - case "$(md5sum ${old_rules})" in
273 - c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* )
274 - # Automatically delete the old rules.d file if the user did not change it
275 - elog
276 - elog "Removing old ${old_rules} ..."
277 - rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually"
278 - ;;
279 - * )
280 - elog "The ${old_rules}"
281 - elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2"
282 - elog "If you edited ${old_rules}"
283 - elog "without changing its behavior, you may want to remove it."
284 - ;;
285 - esac
286 - fi
287 -
288 - if ! use udev; then
289 - ewarn "You have built ModemManager without udev support. You may have to teach it"
290 - ewarn "about your modem port manually."
291 - fi
292 -
293 - systemd_reenable ModemManager.service
294 -
295 - readme.gentoo_print_elog
296 -}
297
298 diff --git a/net-misc/modemmanager/modemmanager-1.18.0.ebuild b/net-misc/modemmanager/modemmanager-1.18.0.ebuild
299 deleted file mode 100644
300 index 5797f597414a..000000000000
301 --- a/net-misc/modemmanager/modemmanager-1.18.0.ebuild
302 +++ /dev/null
303 @@ -1,129 +0,0 @@
304 -# Copyright 1999-2021 Gentoo Authors
305 -# Distributed under the terms of the GNU General Public License v2
306 -
307 -EAPI=7
308 -VALA_USE_DEPEND="vapigen"
309 -
310 -inherit gnome2 readme.gentoo-r1 systemd toolchain-funcs udev vala
311 -
312 -DESCRIPTION="Modem and mobile broadband management libraries"
313 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
314 -SRC_URI="https://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
315 -
316 -LICENSE="GPL-2+"
317 -SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N}
318 -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~sparc x86"
319 -
320 -IUSE="elogind +introspection mbim policykit +qmi systemd +udev vala"
321 -REQUIRED_USE="
322 - ?? ( elogind systemd )
323 - vala? ( introspection )
324 -"
325 -
326 -DEPEND="
327 - >=dev-libs/glib-2.56.0:2
328 - udev? ( >=dev-libs/libgudev-232:= )
329 - introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
330 - mbim? ( >=net-libs/libmbim-1.26.0 )
331 - policykit? ( >=sys-auth/polkit-0.106[introspection?] )
332 - qmi? ( >=net-libs/libqmi-1.30.2:= )
333 - elogind? ( sys-auth/elogind )
334 - systemd? ( >=sys-apps/systemd-209 )
335 -"
336 -RDEPEND="${DEPEND}
337 - policykit? ( acct-group/plugdev )
338 -"
339 -BDEPEND="
340 - dev-util/gdbus-codegen
341 - dev-util/glib-utils
342 - >=dev-util/gtk-doc-am-1
343 - >=sys-devel/gettext-0.19.8
344 - virtual/pkgconfig
345 - vala? ( $(vala_depend) )
346 -"
347 -
348 -S="${WORKDIR}/ModemManager-${PV}"
349 -
350 -src_prepare() {
351 - DOC_CONTENTS="
352 - If your USB modem shows up only as a storage device when you plug it in,
353 - then you should install sys-apps/usb_modeswitch, which will automatically
354 - switch it over to USB modem mode whenever you plug it in.\n"
355 -
356 - if use policykit; then
357 - DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,
358 - add your user account to the 'plugdev' group."
359 - fi
360 -
361 - use vala && vala_src_prepare
362 - gnome2_src_prepare
363 -}
364 -
365 -src_configure() {
366 - local myconf=(
367 - --disable-Werror
368 - --disable-static
369 - --with-dist-version=${PVR}
370 - --with-udev-base-dir="$(get_udevdir)"
371 - $(use_with udev)
372 - $(use_enable introspection)
373 - $(use_with mbim)
374 - $(use_with policykit polkit)
375 - $(use_with systemd systemd-journal)
376 - $(use_with qmi)
377 - --without-qrtr # libqrtr-glib not packaged
378 - $(use_enable vala)
379 - )
380 - if use systemd || use elogind; then
381 - myconf+=(--with-systemd-suspend-resume)
382 - else
383 - myconf+=(--without-systemd-suspend-resume)
384 - fi
385 - gnome2_src_configure "${myconf[@]}"
386 -}
387 -
388 -src_install() {
389 - gnome2_src_install
390 -
391 - # Allow users in plugdev group full control over their modem
392 - if use policykit; then
393 - insinto /usr/share/polkit-1/rules.d/
394 - doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules
395 - fi
396 -
397 - readme.gentoo_create_doc
398 -
399 - newinitd "${FILESDIR}/modemmanager.initd" modemmanager
400 -}
401 -
402 -pkg_postinst() {
403 - gnome2_pkg_postinst
404 -
405 - # The polkit rules file moved to /usr/share
406 - old_rules="${EROOT}/etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
407 - if [[ -f "${old_rules}" ]]; then
408 - case "$(md5sum ${old_rules})" in
409 - c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* )
410 - # Automatically delete the old rules.d file if the user did not change it
411 - elog
412 - elog "Removing old ${old_rules} ..."
413 - rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually"
414 - ;;
415 - * )
416 - elog "The ${old_rules}"
417 - elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2"
418 - elog "If you edited ${old_rules}"
419 - elog "without changing its behavior, you may want to remove it."
420 - ;;
421 - esac
422 - fi
423 -
424 - if ! use udev; then
425 - ewarn "You have built ModemManager without udev support. You may have to teach it"
426 - ewarn "about your modem port manually."
427 - fi
428 -
429 - systemd_reenable ModemManager.service
430 -
431 - readme.gentoo_print_elog
432 -}