r16085 - in /desktop/unstable/system-tools-backends/debian: changelog control control.in patches/03_default_permissions.patch patches/60_fix-permissions-of-pid-file.patch system-tools-backends.install

joss at users.alioth.debian.org joss at users.alioth.debian.org
Wed May 28 12:41:49 UTC 2008


Author: joss
Date: Wed May 28 12:41:49 2008
New Revision: 16085

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16085
Log:
* New upstream release.
* 60_fix-permissions-of-pid-file.patch: fixed to apply again.
* system-tools-backends.install: updated to match a directory change.
* 03_default_permissions.patch: fix the default permissions so that 
  not all users are allowed to talk to the backends.
* Conflict with liboobs-1-3.

Added:
    desktop/unstable/system-tools-backends/debian/patches/03_default_permissions.patch
Modified:
    desktop/unstable/system-tools-backends/debian/changelog
    desktop/unstable/system-tools-backends/debian/control
    desktop/unstable/system-tools-backends/debian/control.in
    desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch
    desktop/unstable/system-tools-backends/debian/system-tools-backends.install

Modified: desktop/unstable/system-tools-backends/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/changelog?rev=16085&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/changelog (original)
+++ desktop/unstable/system-tools-backends/debian/changelog Wed May 28 12:41:49 2008
@@ -1,9 +1,18 @@
-system-tools-backends (2.4.2-2) UNRELEASED; urgency=low
+system-tools-backends (2.6.0-1) unstable; urgency=low
 
+  [ Loic Minier ]
   * New patch, 60_fix-permissions-of-pid-file, fixes permissions of .pid file;
     thanks Mike Bird; GNOME #533624; closes: #447361.
 
- -- Loic Minier <lool at dooz.org>  Sat, 17 May 2008 22:46:22 +0200
+  [ Josselin Mouette ]
+  * New upstream release.
+  * 60_fix-permissions-of-pid-file.patch: fixed to apply again.
+  * system-tools-backends.install: updated to match a directory change.
+  * 03_default_permissions.patch: fix the default permissions so that 
+    not all users are allowed to talk to the backends.
+  * Conflict with liboobs-1-3.
+
+ -- Josselin Mouette <joss at debian.org>  Wed, 28 May 2008 12:59:59 +0200
 
 system-tools-backends (2.4.2-1) unstable; urgency=low
 

Modified: desktop/unstable/system-tools-backends/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/control?rev=16085&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/control (original)
+++ desktop/unstable/system-tools-backends/debian/control Wed May 28 12:41:49 2008
@@ -21,7 +21,7 @@
          libnet-dbus-perl,
          adduser
 Replaces: gnome-system-tools (<< 1.1)
-Conflicts: gnome-system-tools (<< 2.18)
+Conflicts: gnome-system-tools (<< 2.18), liboobs-1-3
 Description: System Tools to manage computer configuration -- scripts
  The System Tools Backends are a set of cross-platform scripts
  for Linux and other Unix systems. The backends provide a standard

Modified: desktop/unstable/system-tools-backends/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/control.in?rev=16085&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/control.in (original)
+++ desktop/unstable/system-tools-backends/debian/control.in Wed May 28 12:41:49 2008
@@ -21,7 +21,7 @@
          libnet-dbus-perl,
          adduser
 Replaces: gnome-system-tools (<< 1.1)
-Conflicts: gnome-system-tools (<< 2.18)
+Conflicts: gnome-system-tools (<< 2.18), liboobs-1-3
 Description: System Tools to manage computer configuration -- scripts
  The System Tools Backends are a set of cross-platform scripts
  for Linux and other Unix systems. The backends provide a standard

Added: desktop/unstable/system-tools-backends/debian/patches/03_default_permissions.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/patches/03_default_permissions.patch?rev=16085&op=file
==============================================================================
--- desktop/unstable/system-tools-backends/debian/patches/03_default_permissions.patch (added)
+++ desktop/unstable/system-tools-backends/debian/patches/03_default_permissions.patch Wed May 28 12:41:49 2008
@@ -1,0 +1,24 @@
+--- system-tools-backends.conf.orig	2008-05-28 13:20:52.246850438 +0200
++++ system-tools-backends.conf	2008-05-28 13:24:07.867969323 +0200
+@@ -25,9 +25,7 @@
+     <!-- configuration modules can't be accessed directly... -->
+     <deny send_interface="org.freedesktop.SystemToolsBackends"/>
+     <deny send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
+-
+-    <!-- ...so petitions go through the dispatcher instead -->
+-    <allow send_destination="org.freedesktop.SystemToolsBackends"/>
++    <deny send_destination="org.freedesktop.SystemToolsBackends"/>
+   </policy>
+ 
+   <policy user="0">
+@@ -51,5 +49,10 @@
+          so any message to them has to go through the dispatcher -->
+     <allow send_interface="org.freedesktop.SystemToolsBackends"/>
+     <allow send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
++    <allow send_destination="org.freedesktop.SystemToolsBackends"/>
++  </policy>
++  <policy group="stb-admin">
++    <!-- be able to speak to the dispatcher -->
++    <allow send_destination="org.freedesktop.SystemToolsBackends"/>
+   </policy>
+ </busconfig>

Modified: desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch?rev=16085&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch (original)
+++ desktop/unstable/system-tools-backends/debian/patches/60_fix-permissions-of-pid-file.patch Wed May 28 12:41:49 2008
@@ -1,13 +1,11 @@
-Fixes permissions of .pid file; GNOME #533624; Debian #447361.
-
---- system-tools-backends-2.4.2/dispatcher/dispatcher.c	2008-01-15 01:11:09.000000000 +0100
-+++ system-tools-backends-2.4.2.new/dispatcher/dispatcher.c	2008-05-17 22:45:55.000000000 +0200
-@@ -212,7 +212,7 @@
+--- dispatcher/main.c.orig	2008-05-28 12:55:44.774846523 +0200
++++ dispatcher/main.c	2008-05-28 12:56:18.211757081 +0200
+@@ -47,7 +47,7 @@
  
-       setsid ();
+   setsid ();
  
--      if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY)) != -1)
-+      if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY, 00644)) != -1)
- 	{
- 	  str = g_strdup_printf ("%d", getpid ());
- 	  write (pidfile_fd, str, strlen (str));
+-  if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY)) != -1)
++  if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid", O_CREAT | O_WRONLY, 00644)) != -1)
+     {
+       str = g_strdup_printf ("%d", getpid ());
+       write (pidfile_fd, str, strlen (str));

Modified: desktop/unstable/system-tools-backends/debian/system-tools-backends.install
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/system-tools-backends/debian/system-tools-backends.install?rev=16085&op=diff
==============================================================================
--- desktop/unstable/system-tools-backends/debian/system-tools-backends.install (original)
+++ desktop/unstable/system-tools-backends/debian/system-tools-backends.install Wed May 28 12:41:49 2008
@@ -1,4 +1,4 @@
 debian/tmp/usr/bin/system-tools-backends
 debian/tmp/usr/share/system-tools-backends-2.0
-debian/tmp/usr/share/dbus-1/services
+debian/tmp/usr/share/dbus-1/system-services
 debian/tmp/etc/dbus-1/system.d




More information about the pkg-gnome-commits mailing list