From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/modemmanager/
Date: Sun, 18 Apr 2021 22:51:33 +0000 (UTC) [thread overview]
Message-ID: <1618786158.2ec5a65623d4d04ba1cf3f35f6dc693720f11a91.mattst88@gentoo> (raw)
commit: 2ec5a65623d4d04ba1cf3f35f6dc693720f11a91
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 22:40:16 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 22:49:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec5a656
net-misc/modemmanager: Version bump to 1.16.2
Closes: https://github.com/gentoo/gentoo/pull/18600
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
net-misc/modemmanager/Manifest | 1 +
net-misc/modemmanager/modemmanager-1.16.2.ebuild | 128 +++++++++++++++++++++++
2 files changed, 129 insertions(+)
diff --git a/net-misc/modemmanager/Manifest b/net-misc/modemmanager/Manifest
index e7c5ca7eb1b..2e5e794ac1f 100644
--- a/net-misc/modemmanager/Manifest
+++ b/net-misc/modemmanager/Manifest
@@ -1 +1,2 @@
DIST ModemManager-1.14.8.tar.xz 2255964 BLAKE2B 8f0e4e4747b3603795b533c41949ef7180922e92b7b26348145e18ffaa38f23cccbcb6662ac912216d33b4aef805c5f7ad10aef8029ffd16eb30b331fc2ca88e SHA512 2457214fecd7d4d9fef291f756ef19973b98a05d07721cd57bdaee704cd6b9e96d27f6741bd8d245a0495f1d338e65db12f19b2d9a8dd6a5cddfb050614381c6
+DIST ModemManager-1.16.2.tar.xz 2447936 BLAKE2B aafd2bde9fe72ec837a34987a698d82f4ba2aedf778c350263f8fe937ccd4b5b9b78fc66c58a39a8729c371788ab7b7782073726dc132b8f08bd2df0a9bc2da4 SHA512 c0b095972eba6e0f3a1ad22e425b412f17d8b60f0af4d423a92fdebcb6d2801f87e6af98758f8c2dc4db3586a3a15530a318805fda312443fa6abe2265ebd6b6
diff --git a/net-misc/modemmanager/modemmanager-1.16.2.ebuild b/net-misc/modemmanager/modemmanager-1.16.2.ebuild
new file mode 100644
index 00000000000..5642c599e4e
--- /dev/null
+++ b/net-misc/modemmanager/modemmanager-1.16.2.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2 readme.gentoo-r1 systemd toolchain-funcs udev vala
+
+DESCRIPTION="Modem and mobile broadband management libraries"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/ModemManager/"
+SRC_URI="https://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0/1" # subslot = dbus interface version, i.e. N in org.freedesktop.ModemManager${N}
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="elogind +introspection mbim policykit +qmi systemd +udev vala"
+REQUIRED_USE="
+ ?? ( elogind systemd )
+ vala? ( introspection )
+"
+
+DEPEND="
+ >=dev-libs/glib-2.48.0:2
+ udev? ( >=dev-libs/libgudev-230:= )
+ introspection? ( >=dev-libs/gobject-introspection-0.9.6:= )
+ mbim? ( >=net-libs/libmbim-1.24.0 )
+ policykit? ( >=sys-auth/polkit-0.106[introspection?] )
+ qmi? ( >=net-libs/libqmi-1.28.0:= )
+ elogind? ( sys-auth/elogind )
+ systemd? ( >=sys-apps/systemd-209 )
+"
+RDEPEND="${DEPEND}
+ policykit? ( acct-group/plugdev )
+"
+BDEPEND="
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ >=dev-util/gtk-doc-am-1
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+S="${WORKDIR}/ModemManager-${PV}"
+
+src_prepare() {
+ DOC_CONTENTS="
+ If your USB modem shows up only as a storage device when you plug it in,
+ then you should install sys-apps/usb_modeswitch, which will automatically
+ switch it over to USB modem mode whenever you plug it in.\n"
+
+ if use policykit; then
+ DOC_CONTENTS+="\nTo control your modem without needing to enter the root password,
+ add your user account to the 'plugdev' group."
+ fi
+
+ use vala && vala_src_prepare
+ gnome2_src_prepare
+}
+
+src_configure() {
+ local myconf=(
+ --disable-Werror
+ --disable-static
+ --with-dist-version=${PVR}
+ --with-udev-base-dir="$(get_udevdir)"
+ $(use_with udev)
+ $(use_enable introspection)
+ $(use_with mbim)
+ $(use_with policykit polkit)
+ $(use_with systemd systemd-journal)
+ $(use_with qmi)
+ $(use_enable vala)
+ )
+ if use systemd || use elogind; then
+ myconf+=(--with-systemd-suspend-resume)
+ else
+ myconf+=(--without-systemd-suspend-resume)
+ fi
+ gnome2_src_configure "${myconf[@]}"
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Allow users in plugdev group full control over their modem
+ if use policykit; then
+ insinto /usr/share/polkit-1/rules.d/
+ doins "${FILESDIR}"/01-org.freedesktop.ModemManager1.rules
+ fi
+
+ readme.gentoo_create_doc
+
+ newinitd "${FILESDIR}/modemmanager.initd" modemmanager
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ # The polkit rules file moved to /usr/share
+ old_rules="${EROOT}/etc/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules"
+ if [[ -f "${old_rules}" ]]; then
+ case "$(md5sum ${old_rules})" in
+ c5ff02532cb1da2c7545c3069e5d0992* | 5c50f0dc603c0a56e2851a5ce9389335* )
+ # Automatically delete the old rules.d file if the user did not change it
+ elog
+ elog "Removing old ${old_rules} ..."
+ rm -f "${old_rules}" || eerror "Failed, please remove ${old_rules} manually"
+ ;;
+ * )
+ elog "The ${old_rules}"
+ elog "file moved to /usr/share/polkit-1/rules.d/ in >=modemmanager-0.5.2.0-r2"
+ elog "If you edited ${old_rules}"
+ elog "without changing its behavior, you may want to remove it."
+ ;;
+ esac
+ fi
+
+ if ! use udev; then
+ ewarn "You have built ModemManager without udev support. You may have to teach it"
+ ewarn "about your modem port manually."
+ fi
+
+ systemd_reenable ModemManager.service
+
+ readme.gentoo_print_elog
+}
next reply other threads:[~2021-04-18 22:51 UTC|newest]
Thread overview: 125+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-18 22:51 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-29 18:43 [gentoo-commits] repo/gentoo:master commit in: net-misc/modemmanager/ Sam James
2024-05-28 18:19 Arthur Zamarin
2024-05-28 17:08 Sam James
2023-07-29 20:25 Mike Gilbert
2023-07-29 20:25 Mike Gilbert
2023-07-29 11:51 Pacho Ramos
2023-07-09 12:29 Matt Turner
2023-06-28 7:19 Sam James
2022-12-04 2:41 Matt Turner
2022-11-05 9:58 Arthur Zamarin
2022-11-05 9:44 Arthur Zamarin
2022-10-31 17:58 Matt Turner
2022-10-15 15:01 Sam James
2022-09-10 21:23 Matt Turner
2022-08-15 19:13 Arthur Zamarin
2022-08-15 19:12 Arthur Zamarin
2022-08-15 17:43 Arthur Zamarin
2022-07-29 2:59 Sam James
2022-06-26 16:08 Matt Turner
2022-06-26 7:59 Sam James
2022-05-31 18:24 Matt Turner
2022-05-31 9:24 Jakov Smolić
2022-05-28 5:05 Sam James
2022-05-26 9:44 Pacho Ramos
2022-05-24 11:14 WANG Xuerui
2022-04-28 18:42 Matt Turner
2022-03-18 19:24 Matt Turner
2022-03-09 15:39 Sam James
2022-03-09 12:49 Sam James
2022-03-08 12:32 Sam James
2022-02-11 20:56 Matt Turner
2022-01-24 22:43 Matt Turner
2022-01-24 14:49 Sam James
2022-01-24 14:46 Sam James
2022-01-24 3:39 Sam James
2022-01-20 10:02 Jakov Smolić
2022-01-20 9:42 Arthur Zamarin
2022-01-13 6:58 Matt Turner
2021-12-19 2:00 Matt Turner
2021-11-06 3:58 Sam James
2021-10-04 1:24 Sam James
2021-09-15 20:27 Matt Turner
2021-08-20 23:51 Sam James
2021-08-20 23:51 Sam James
2021-08-20 1:50 Sam James
2021-08-19 2:10 Sam James
2021-08-08 19:46 Marek Szuba
2021-07-26 5:59 Matt Turner
2021-07-26 5:59 Matt Turner
2021-07-24 17:08 Sam James
2021-07-24 15:22 Sam James
2021-07-11 20:48 Sam James
2021-07-11 2:31 Sam James
2021-07-10 15:40 Sam James
2021-06-06 21:49 Matt Turner
2021-05-31 2:00 Matt Turner
2021-05-29 15:27 Sam James
2021-05-28 19:20 Sam James
2021-05-28 19:11 Sam James
2021-04-27 22:17 Matt Turner
2021-04-15 15:36 Matt Turner
2021-04-15 5:25 Sam James
2021-04-15 1:33 Sam James
2021-04-15 0:13 Sam James
2021-04-14 22:07 Sam James
2021-04-14 22:07 Sam James
2021-04-14 18:51 Mikle Kolyada
2021-04-13 16:20 Matt Turner
2021-04-12 22:12 Sam James
2021-04-12 22:12 Sam James
2021-03-12 15:28 Sam James
2021-03-12 8:04 Mikle Kolyada
2021-03-11 2:35 Sam James
2021-01-08 2:34 Matt Turner
2020-12-14 16:47 Mike Gilbert
2020-04-14 17:05 Mart Raudsepp
2020-02-11 10:52 Agostino Sarubbo
2020-01-28 7:41 Agostino Sarubbo
2020-01-27 14:28 Agostino Sarubbo
2020-01-27 9:45 Mikle Kolyada
2020-01-26 22:39 Thomas Deutschmann
2019-09-13 12:58 Michał Górny
2019-07-28 17:41 Mart Raudsepp
2019-05-21 3:17 Aaron Bauman
2019-04-14 15:21 Mikle Kolyada
2019-04-07 21:34 Sergei Trofimovich
2019-04-07 21:16 Sergei Trofimovich
2019-04-05 11:26 Mart Raudsepp
2019-04-01 19:42 Pacho Ramos
2019-03-23 11:01 Mart Raudsepp
2018-12-05 14:07 Mart Raudsepp
2018-12-05 7:34 Mikle Kolyada
2018-12-05 7:07 Mikle Kolyada
2018-12-04 16:27 Mikle Kolyada
2018-12-02 14:29 Mikle Kolyada
2018-12-02 10:12 Mikle Kolyada
2018-10-07 15:45 Mart Raudsepp
2018-07-25 22:08 Mart Raudsepp
2018-05-29 12:29 Mikle Kolyada
2018-05-04 20:46 Markus Meier
2018-04-26 17:15 Thomas Deutschmann
2018-01-19 7:52 Gilles Dartiguelongue
2017-10-30 22:26 Mart Raudsepp
2017-09-03 1:46 Mike Gilbert
2017-06-26 8:37 Alexis Ballier
2017-02-24 21:29 Michael Weber
2017-02-24 14:07 Agostino Sarubbo
2017-01-26 10:56 Mart Raudsepp
2016-12-06 20:45 Markus Meier
2016-12-05 13:52 Pacho Ramos
2016-12-05 13:52 Pacho Ramos
2016-09-17 14:55 Gilles Dartiguelongue
2016-09-17 13:51 Pacho Ramos
2016-07-03 11:42 Pacho Ramos
2016-07-03 11:42 Pacho Ramos
2015-11-19 10:04 Agostino Sarubbo
2015-11-13 9:12 Agostino Sarubbo
2015-11-12 11:07 Agostino Sarubbo
2015-11-11 8:20 Agostino Sarubbo
2015-11-10 17:02 Agostino Sarubbo
2015-11-07 12:27 Pacho Ramos
2015-11-07 12:27 Pacho Ramos
2015-09-28 4:44 Jeroen Roovers
2015-09-07 21:55 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1618786158.2ec5a65623d4d04ba1cf3f35f6dc693720f11a91.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox