]> Frank Brehm's Git Trees - config/bruni/etc.git/commitdiff
committing changes in /etc after emerge run
authorfrank <frank@bruni.home.brehm-online.com>
Mon, 16 Jan 2012 06:46:24 +0000 (07:46 +0100)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Mon, 16 Jan 2012 06:46:24 +0000 (07:46 +0100)
Package changes:
+net-misc/networkmanager-0.8.4.0-r2

.etckeeper
NetworkManager/dispatcher.d/.keep_net-misc_networkmanager-0 [new file with mode: 0644]
NetworkManager/nm-system-settings.conf [new file with mode: 0644]
NetworkManager/system-connections/.keep_net-misc_networkmanager-0 [new file with mode: 0644]
dbus-1/system.d/NetworkManager.conf [new file with mode: 0644]
dbus-1/system.d/nm-avahi-autoipd.conf [new file with mode: 0644]
dbus-1/system.d/nm-dhcp-client.conf [new file with mode: 0644]
dbus-1/system.d/nm-dispatcher.conf [new file with mode: 0644]
init.d/NetworkManager [new file with mode: 0755]

index 727145597263e6b902c9c16a2aa232cff41c5674..7083d10b18fae4225036b64b206951db00544756 100755 (executable)
@@ -26,6 +26,12 @@ maybe chmod 0644 './ConsoleKit/run-session.d/.keep_sys-auth_consolekit-0'
 maybe chmod 0755 './ConsoleKit/seats.d'
 maybe chmod 0644 './ConsoleKit/seats.d/00-primary.seat'
 maybe chmod 0644 './DIR_COLORS'
+maybe chmod 0755 './NetworkManager'
+maybe chmod 0755 './NetworkManager/dispatcher.d'
+maybe chmod 0644 './NetworkManager/dispatcher.d/.keep_net-misc_networkmanager-0'
+maybe chmod 0644 './NetworkManager/nm-system-settings.conf'
+maybe chmod 0755 './NetworkManager/system-connections'
+maybe chmod 0644 './NetworkManager/system-connections/.keep_net-misc_networkmanager-0'
 maybe chmod 0755 './X11'
 maybe chmod 0755 './X11/mwm'
 maybe chmod 0644 './X11/mwm/system.mwmrc'
@@ -144,8 +150,12 @@ maybe chmod 0644 './dbus-1/system.conf'
 maybe chmod 0755 './dbus-1/system.d'
 maybe chmod 0644 './dbus-1/system.d/.keep_sys-apps_dbus-0'
 maybe chmod 0644 './dbus-1/system.d/ConsoleKit.conf'
+maybe chmod 0644 './dbus-1/system.d/NetworkManager.conf'
 maybe chmod 0644 './dbus-1/system.d/bluetooth.conf'
 maybe chmod 0444 './dbus-1/system.d/cups.conf'
+maybe chmod 0644 './dbus-1/system.d/nm-avahi-autoipd.conf'
+maybe chmod 0644 './dbus-1/system.d/nm-dhcp-client.conf'
+maybe chmod 0644 './dbus-1/system.d/nm-dispatcher.conf'
 maybe chmod 0644 './dbus-1/system.d/org.freedesktop.ModemManager.conf'
 maybe chmod 0644 './dbus-1/system.d/org.freedesktop.PolicyKit1.conf'
 maybe chmod 0644 './dbus-1/system.d/org.gnome.GConf.Defaults.conf'
@@ -331,6 +341,7 @@ maybe chmod 0644 './gtk-3.0/settings.ini'
 maybe chmod 0644 './host.conf'
 maybe chmod 0644 './hosts'
 maybe chmod 0755 './init.d'
+maybe chmod 0755 './init.d/NetworkManager'
 maybe chmod 0755 './init.d/aiccu'
 maybe chmod 0755 './init.d/bluetooth'
 maybe chmod 0755 './init.d/bootmisc'
diff --git a/NetworkManager/dispatcher.d/.keep_net-misc_networkmanager-0 b/NetworkManager/dispatcher.d/.keep_net-misc_networkmanager-0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/NetworkManager/nm-system-settings.conf b/NetworkManager/nm-system-settings.conf
new file mode 100644 (file)
index 0000000..4d14ee7
--- /dev/null
@@ -0,0 +1,6 @@
+[main]
+plugins=ifnet,keyfile
+
+[ifnet]
+managed=true
+auto_refresh=false
diff --git a/NetworkManager/system-connections/.keep_net-misc_networkmanager-0 b/NetworkManager/system-connections/.keep_net-misc_networkmanager-0
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/dbus-1/system.d/NetworkManager.conf b/dbus-1/system.d/NetworkManager.conf
new file mode 100644 (file)
index 0000000..1f1ed49
--- /dev/null
@@ -0,0 +1,106 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+        <policy user="root">
+                <allow own="org.freedesktop.NetworkManager"/>
+                <allow own="org.freedesktop.NetworkManagerSystemSettings"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"/>
+                <allow send_destination="org.freedesktop.NetworkManagerSystemSettings"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.PPP"/>
+        </policy>
+        <policy at_console="true">
+                <allow send_destination="org.freedesktop.NetworkManager"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.DBus.Introspectable"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.DBus.Properties"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.AccessPoint"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Connection.Active"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Device.Cdma"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Device.Wired"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Device.Gsm"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Device.Serial"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Device.Wireless"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.Device"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.DHCP4Config"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.IP4Config"/>
+
+                <allow send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager.VPN.Connection"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="SetLogging"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="Sleep"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="sleep"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="wake"/>
+        </policy>
+        <policy context="default">
+                <deny own="org.freedesktop.NetworkManager"/>
+                <deny own="org.freedesktop.NetworkManagerSystemSettings"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"/>
+                <allow send_destination="org.freedesktop.NetworkManagerSystemSettings"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="SetLogging"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="Sleep"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="sleep"/>
+
+                <deny send_destination="org.freedesktop.NetworkManager"
+                       send_interface="org.freedesktop.NetworkManager"
+                       send_member="wake"/>
+
+                <!-- The org.freedesktop.NetworkManagerSettings.Connection.Secrets
+                     interface is secured via PolicyKit.
+                  -->
+        </policy>
+
+        <limit name="max_replies_per_connection">512</limit>
+</busconfig>
+
diff --git a/dbus-1/system.d/nm-avahi-autoipd.conf b/dbus-1/system.d/nm-avahi-autoipd.conf
new file mode 100644 (file)
index 0000000..485ab42
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+        <policy user="root">
+                <allow own="org.freedesktop.nm_avahi_autoipd"/>
+        </policy>
+        <policy context="default">
+                <deny own="org.freedesktop.nm_avahi_autoipd"/>
+                <deny send_destination="org.freedesktop.nm_avahi_autoipd"/>
+        </policy>
+</busconfig>
+
diff --git a/dbus-1/system.d/nm-dhcp-client.conf b/dbus-1/system.d/nm-dhcp-client.conf
new file mode 100644 (file)
index 0000000..0aeae60
--- /dev/null
@@ -0,0 +1,13 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+        <policy user="root">
+                <allow own="org.freedesktop.nm_dhcp_client"/>
+        </policy>
+        <policy context="default">
+                <deny own="org.freedesktop.nm_dhcp_client"/>
+               <deny send_destination="org.freedesktop.nm_dhcp_client"/>
+        </policy>
+</busconfig>
+
diff --git a/dbus-1/system.d/nm-dispatcher.conf b/dbus-1/system.d/nm-dispatcher.conf
new file mode 100644 (file)
index 0000000..fd2f0e5
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+       <policy user="root">
+               <allow own="org.freedesktop.nm_dispatcher"/>
+               <allow send_destination="org.freedesktop.nm_dispatcher"/>
+    </policy>
+    <policy context="default">
+               <deny own="org.freedesktop.nm_dispatcher"/>
+               <deny send_destination="org.freedesktop.nm_dispatcher"/>
+    </policy>
+</busconfig>
+
diff --git a/init.d/NetworkManager b/init.d/NetworkManager
new file mode 100755 (executable)
index 0000000..7db410b
--- /dev/null
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright (c) 2008 Saleem Abdulrasool <compnerd@compnerd.org>
+# Distributed under the terms of the GNU General Purpose License v2
+# $Header: $
+
+depend() {
+   need dbus
+}
+
+start() {
+   ebegin "Starting NetworkManager"
+   start-stop-daemon --start --quiet --pidfile /var/run/NetworkManager.pid \
+      --exec /usr/sbin/NetworkManager -- --pid-file /var/run/NetworkManager.pid
+   eend $?
+}
+
+stop() {
+   ebegin "Stopping NetworkManager"
+   start-stop-daemon --stop --quiet --pidfile /var/run/NetworkManager.pid
+   eend $?
+}
+
+# vim: set ft=gentoo-init-d ts=3 sw=3 et: