From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/system/modemmanager/modemmanager.initd | 11 - repo/system/modemmanager/modemmanager.rules | 296 -------------------------- repo/system/modemmanager/modemmanager.xibuild | 50 ----- 3 files changed, 357 deletions(-) delete mode 100644 repo/system/modemmanager/modemmanager.initd delete mode 100644 repo/system/modemmanager/modemmanager.rules delete mode 100644 repo/system/modemmanager/modemmanager.xibuild (limited to 'repo/system/modemmanager') diff --git a/repo/system/modemmanager/modemmanager.initd b/repo/system/modemmanager/modemmanager.initd deleted file mode 100644 index 29310b3..0000000 --- a/repo/system/modemmanager/modemmanager.initd +++ /dev/null @@ -1,11 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon -command=/usr/sbin/ModemManager -command_args="${modemmanager_opts}" - -description="ModemManager Daemon" - -depend() { - need dbus -} diff --git a/repo/system/modemmanager/modemmanager.rules b/repo/system/modemmanager/modemmanager.rules deleted file mode 100644 index 1eb7b19..0000000 --- a/repo/system/modemmanager/modemmanager.rules +++ /dev/null @@ -1,296 +0,0 @@ - - - -modemmanager.rules « modemmanager « community - aports - Alpine packages build scripts - - - - - - - - - -
- - - - -
-aboutsummaryrefslogtreecommitdiffstats
- - - -
-
-
blob: 4c56fb7f9ef117068e03d8e6c01d2f51dad066bd (plain) (blame) - - -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-
// Let users in plugdev group modify ModemManager
-polkit.addRule(function(action, subject) {
-    if ((action.id == "org.freedesktop.ModemManager1.Device.Control" ||
-	action.id == "org.freedesktop.ModemManager1.Contacts" ||
-	action.id == "org.freedesktop.ModemManager1.Messaging" ||
-	action.id == "org.freedesktop.ModemManager1.Location") &&
-        subject.isInGroup("plugdev") && subject.active) {
-        return "yes";
-    }
-});
-
-// Let geoclue modify ModemManager for location gathering
-polkit.addRule(function(action, subject) {
-    if ((action.id == "org.freedesktop.ModemManager1.Device.Control" ||
-	action.id == "org.freedesktop.ModemManager1.Location") &&
-        subject.isInGroup("geoclue")) {
-        return "yes";
-    }
-});
-
-
- -
- - diff --git a/repo/system/modemmanager/modemmanager.xibuild b/repo/system/modemmanager/modemmanager.xibuild deleted file mode 100644 index b2d5c5d..0000000 --- a/repo/system/modemmanager/modemmanager.xibuild +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -MAKEDEPS="gobject-introspection gtk-doc vala libgudev polkit libmbim libqmi linux-headers" -DEPS="dbus musl glib polkit" - -PKG_VER=1.18.6 -SOURCE=https://www.freedesktop.org/software/ModemManager/ModemManager-$PKG_VER.tar.xz - -ADDITIONAL=" -modemmanager.initd -modemmanager.rules -" - -DESC="ModemManager library" - -build () { - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - --with-polkit=permissive \ - --enable-plugin-qcom-soc \ - --enable-gtk-doc \ - --disable-static \ - --enable-vala=yes \ - --with-systemd-suspend-resume=yes - make - - - -} - -package () { - make DESTDIR="$PKG_DEST" install - rm -rf "$PKG_DEST"/usr/share/dbus-1/system-services #systemd-service - mkdir -p "$PKG_DEST/usr/share/polkit-1/rules.d" - install -m644 -D "modemmanager.rules" \ - "$PKG_DEST/usr/share/polkit-1/rules.d/01-org.freedesktop.ModemManager.rules" - install -m755 -D "modemmanager.initd" \ - "$PKG_DEST/etc/init.d/modemmanager" - mkdir -p "$PKG_DEST/usr/share/doc/modemmanager" - cat > $PKG_DEST/usr/share/doc/modemmanager/README <