modemmanager: depend on ppp explicitly
authorAleksander Morgado <redacted>
Thu, 19 Dec 2019 08:41:40 +0000 (09:41 +0100)
committerAleksander Morgado <redacted>
Thu, 19 Dec 2019 08:41:45 +0000 (09:41 +0100)
The ModemManager protocol handler checks for the pppd daemon during
the initialization, and if it doesn't exist, the protocol handler is
not even loaded by netifd.

This is because the IP method to use on the connection of a given
modem is not known until ModemManager reports via its interfaces how
the modem should be connected (either using PPP, with DHCP, or with
explicit IP settings).

Fixes https://github.com/openwrt/packages/issues/10802

Signed-off-by: Aleksander Morgado <redacted>
net/modemmanager/Makefile

index 99db4849b524d348d274502b6543614a5046b33c..7e3a5a08884c47fafedb1b0106f06a013bbd435c 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=modemmanager
 PKG_VERSION:=1.12.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=ModemManager-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.freedesktop.org/software/ModemManager
@@ -42,6 +42,7 @@ define Package/modemmanager
        $(INTL_DEPENDS) \
        +glib2 \
        +dbus \
+       +ppp \
        +MODEMMANAGER_WITH_MBIM:libmbim \
        +MODEMMANAGER_WITH_QMI:libqmi
 endef
git clone https://git.99rst.org/PROJECT