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 --- .../networkmanager/networkmanager-dispatcher.initd | 12 ---- repo/system/networkmanager/networkmanager.conf | 2 - repo/system/networkmanager/networkmanager.initd | 17 ------ repo/system/networkmanager/networkmanager.rules | 9 --- repo/system/networkmanager/networkmanager.xibuild | 66 ---------------------- 5 files changed, 106 deletions(-) delete mode 100644 repo/system/networkmanager/networkmanager-dispatcher.initd delete mode 100644 repo/system/networkmanager/networkmanager.conf delete mode 100644 repo/system/networkmanager/networkmanager.initd delete mode 100644 repo/system/networkmanager/networkmanager.rules delete mode 100644 repo/system/networkmanager/networkmanager.xibuild (limited to 'repo/system/networkmanager') diff --git a/repo/system/networkmanager/networkmanager-dispatcher.initd b/repo/system/networkmanager/networkmanager-dispatcher.initd deleted file mode 100644 index 552cc15..0000000 --- a/repo/system/networkmanager/networkmanager-dispatcher.initd +++ /dev/null @@ -1,12 +0,0 @@ -#!/sbin/openrc-run - -supervisor=supervise-daemon -command=/usr/libexec/nm-dispatcher -command_args_foreground="--persist" - -description="Network Manager Dispatcher Daemon" - -depend() { - need dbus - before networkmanager -} diff --git a/repo/system/networkmanager/networkmanager.conf b/repo/system/networkmanager/networkmanager.conf deleted file mode 100644 index 526d2e4..0000000 --- a/repo/system/networkmanager/networkmanager.conf +++ /dev/null @@ -1,2 +0,0 @@ -[main] -dhcp=internal diff --git a/repo/system/networkmanager/networkmanager.initd b/repo/system/networkmanager/networkmanager.initd deleted file mode 100644 index 4ca6a0d..0000000 --- a/repo/system/networkmanager/networkmanager.initd +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/openrc-run -# Copyright (c) 2008 Saleem Abdulrasool -# Distributed under the terms of the GNU General Purpose License v2 -# $Header: $ - -supervisor=supervise-daemon -command=/usr/sbin/NetworkManager -command_args_foreground="-n" - -description="Network Manager Daemon" - -depend() { - need dbus - provide net -} - -# vim: set ft=gentoo-init-d ts=3 sw=3 et: diff --git a/repo/system/networkmanager/networkmanager.rules b/repo/system/networkmanager/networkmanager.rules deleted file mode 100644 index 66d21d6..0000000 --- a/repo/system/networkmanager/networkmanager.rules +++ /dev/null @@ -1,9 +0,0 @@ -// Let users in plugdev group modify NetworkManager -polkit.addRule(function(action, subject) { - if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" && - subject.isInGroup("plugdev") && subject.active) { - return "yes"; - } -}); - - diff --git a/repo/system/networkmanager/networkmanager.xibuild b/repo/system/networkmanager/networkmanager.xibuild deleted file mode 100644 index b1ef2da..0000000 --- a/repo/system/networkmanager/networkmanager.xibuild +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/sh - -MAKEDEPS="grep meson ninja python intltool glib" -DEPS="libndp curl wpa_supplicant newt nss polkit libpsl dbus gobject-introspection dhcp eudev intltool modemmanager nspr mobile-broadband-provider-info python-gobject" - -PKG_VER=1.39.2 -SOURCE=https://download.gnome.org/sources/NetworkManager/${PKG_VER%.*}/NetworkManager-$PKG_VER.tar.xz - -ADDITIONAL=" -networkmanager.conf -networkmanager-dispatcher.initd -networkmanager.initd -networkmanager.rules -" - -DESC="Network connection manager and user applications" - -prepare () { - ggrep -rl '^#!.*python$' | xargs sed -i '1s/python/&3/' - dbus-uuidgen --ensure -} - -build () { - mkdir build && - cd build && - meson \ - --prefix=/usr \ - -Dsystemdsystemunitdir=no \ - -Dudev_dir=/lib/udev \ - -Dmodify_system=true \ - -Dselinux=false \ - -Dsystemd_journal=false \ - -Dlibaudit=no \ - -Diwd=true \ - -Dppp=false \ - -Dconfig_plugins_default=ifupdown \ - -Difupdown=true \ - -Ddhcpcd=true \ - -Dconfig_dhcp_default=internal \ - -Dvapi=true \ - -Dtests="no" \ - -Dpolkit=true \ - -Dsession_tracking=no \ - -Dqt=false \ - -Dovs=false \ - -Dofono=true \ - -Dcrypto=nss \ - -Ddbus_conf_dir=/usr/share/dbus-1/system.d \ - -Ddocs=false \ - .. - ninja -} - -package () { - DESTDIR=$PKG_DEST ninja install && - mv $PKG_DEST/usr/share/doc/NetworkManager \ - $PKG_DEST/usr/share/doc/NetworkManager-$PKG_VER - - install -m644 -D networkmanager.rules \ - "$PKG_DEST/usr/share/polkit-1/rules.d/01-org.freedesktop.NetworkManager.settings.modify.system.rules" - - cd .. - install -m755 -D networkmanager.initd $PKG_DEST/etc/init.d/networkmanager - install -m755 -D networkmanager-dispatcher.initd $PKG_DEST/etc/init.d/networkmanager-dispatcher - install -m755 -D networkmanager.conf $PKG_DEST/etc/NetworkManager/NetworkManager.conf -} -- cgit v1.2.1