--- system-tools-backends-2.9.2.orig/debian/system-tools-backends.1 +++ system-tools-backends-2.9.2/debian/system-tools-backends.1 @@ -0,0 +1,34 @@ +.\" Copyright (C) 2007 Sven Arvidsson +.\" +.\" This is free software; you may redistribute it and/or modify +.\" it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2, +.\" or (at your option) any later version. +.\" +.\" This is distributed in the hope that it will be useful, but +.\" WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\"You should have received a copy of the GNU General Public License along +.\"with this program; if not, write to the Free Software Foundation, Inc., +.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.TH system-tools-backends 1 "2007\-09\-27" "GNOME" +.SH NAME +system-tools-backends \- message dispatcher for system-tools-backends +.SH SYNOPSIS +.B system-tools-backends +.SH DESCRIPTION +System Tools Backends are a set of cross-platform modules for Linux +and other Unix systems. The backends provide an common DBus interface +to all platforms to modify or read the system configuration in a +distro independent fashion. +.P +This program is a lightweight DBus message dispatcher. It does not take +any options. +.SH AUTHORS +.B system-tools-backends +is written by Carlos Garnacho Parro . +.P +This manual page was written by Sven Arvidsson , +for the Debian project (but may be used by others). --- system-tools-backends-2.9.2.orig/debian/control.in +++ system-tools-backends-2.9.2/debian/control.in @@ -0,0 +1,53 @@ +Source: system-tools-backends +Section: admin +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jose Carlos Garcia Sogo +Uploaders: @GNOME_TEAM@, Niv Sardi +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 5), + cdbs, + quilt, + gnome-pkg-tools (>= 0.10), + intltool (>= 0.40), + libnet-dbus-perl, + libdbus-1-dev (>= 1.1.2), + libdbus-glib-1-dev (>= 0.74), + libpolkit-gobject-1-dev (>= 0.94), + libglib2.0-dev (>= 2.15.2) +Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/system-tools-backends +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/unstable/system-tools-backends +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/system-tools-backends/ubuntu +Homepage: http://system-tools-backends.freedesktop.org/ + +Package: system-tools-backends +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnet-dbus-perl, + dbus (>= 1.1.2) +Replaces: gnome-system-tools (<< 1.1) +Conflicts: gnome-system-tools (<< 2.18), liboobs-1-3 +Breaks: gnome-system-tools (<< 2.28.0) +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 + XML interface for modifying the configuration regardless of the + distribution that's being used. + . + These backends are used in GNOME System Tools. + +Package: system-tools-backends-dev +Architecture: all +Section: devel +Depends: ${misc:Depends} +Replaces: gnome-system-tools (<< 1.1) +Description: System Tools to manage computer configuration -- development files + The System Tools Backends are a set of cross-platform scripts + for Linux and other Unix systems. The backends provide a standard + XML interface for modifying the configuration regardless of the + distribution that's being used. + . + These backends are used in GNOME System Tools. + . + This package contains the development files. --- system-tools-backends-2.9.2.orig/debian/rules +++ system-tools-backends-2.9.2/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk +-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk + +DEB_CONFIGURE_EXTRA_FLAGS += --datadir=/usr/share/ \ + --with-net-dbus=/usr/lib/perl5 --- system-tools-backends-2.9.2.orig/debian/system-tools-backends.manpages +++ system-tools-backends-2.9.2/debian/system-tools-backends.manpages @@ -0,0 +1 @@ +debian/system-tools-backends.1 --- system-tools-backends-2.9.2.orig/debian/copyright +++ system-tools-backends-2.9.2/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Marc Dequènes (Duck) on +Fri, 15 Apr 2005 02:54:06 +0200. + +It was downloaded from: + http://ftp.gnome.org/pub/GNOME/sources/system-tools-backends/ + +Copyright Holders: the full list is in: + /usr/share/doc/system-tools-backends/AUTHORS + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- system-tools-backends-2.9.2.orig/debian/changelog +++ system-tools-backends-2.9.2/debian/changelog @@ -0,0 +1,355 @@ +system-tools-backends (2.9.2-0ubuntu1) lucid; urgency=low + + * New upstream version + - Allow committing changes to only one service at a time + (new ServiceConfig2 object) + - Re-enable list of forbidden services: distributors should report if + they wish to hide more of them + - Support encrypted home directories on Debian/Ubuntu + - Remove unneeded dependency on Authen::PAM + * Drop 04_dont_use_authen_pam.patch - the change is in the new version + + -- Chris Coulson Sun, 14 Feb 2010 16:54:08 +0000 + +system-tools-backends (2.9.1-0ubuntu1) lucid; urgency=low + + * Sync with Debian testing + * New upstream release (LP: #506365) + - New users and groups protocol + - Fix D-Bus .service files to work with new users and groups version + - Add a new authentication interface allowing to check for PolicyKit + authorizations before committing + - Fix SelfConfig and improve security checks + * debian/watch: + - Watch 2.9.x series + * debian/control: + - Bump libpolkit-gobject-1-dev build-dep + * Drop debian/patches/08_use_md5t.patch: Obsolete with new version + * Refresh 02ubuntu_chmod_network_interfaces_when_using_key.patch + * debian/patches/04_dont_use_authen_pam.patch: + - Drop superfluous "use Authen::PAM", as it's not needed + + -- Chris Coulson Thu, 04 Feb 2010 23:46:30 +0000 + +system-tools-backends (2.8.3-1) unstable; urgency=low + + * New upstream bugfix release. + + -- Emilio Pozuelo Monfort Fri, 18 Dec 2009 15:50:16 +0100 + +system-tools-backends (2.8.2-1) unstable; urgency=low + + * New upstream release. + - debian/patches/01_debian_4.0.patch, + - debian/patches/04_correct_perl_command.patch: + + Removed, fixed upstream. + + -- Emilio Pozuelo Monfort Thu, 08 Oct 2009 11:42:26 +0200 + +system-tools-backends (2.8.1-1) unstable; urgency=low + + [ Josselin Mouette ] + * 09_check_etc_timezone.patch: patch from Ubuntu. Use /etc/timezone to + obtain time zone. Closes: #526940. + + [ Emilio Pozuelo Monfort ] + * New upstream release. + - debian/control.in: + + Break gnome-system-tools << 2.28 because of the PolicyKit 1 migration. + + Build depend on intltool. + + Build depend on libpolkit-gobject-1-dev rather than + libpolkit-dbus-dev for PolicyKit 1 support. + - debian/patches/05_cve_2008_4311.patch, + debian/patches/07_dont_symlink_localtime.patch, + debian/patches/60_fix-permissions-of-pid-file.patch: + + Removed, applied upstream. + - debian/patches/09_check_etc_timezone.patch: + + Removed, the new debian-4.0 definition that we use now has this. + - debian/patches/01_debian_4.0.patch: + + Refreshed. + - debian/system-tools-backends.install: + + system-tools-backends is now in /usr/sbin. + + Update the location of the policykit stuff. + * Use viewsvn in Vcs-Browser. + * debian/patches/04_correct_perl_command.patch, + debian/patches/08_use_md5.patch: + - Add headers. + * debian/control.in: + - Unduplicate -dev long description. + - Standards-Version is 3.8.3, no changes needed. + + -- Emilio Pozuelo Monfort Sat, 03 Oct 2009 15:29:46 +0200 + +system-tools-backends (2.6.0-6.1) unstable; urgency=high + + * Security NMU. + * Fix CVE-2008-6792 "limiting effective password length to 8 characters" + and another related bug in do_get_use_md5(). Closes: #527952. + + -- Jan Christoph Nordholz Mon, 18 May 2009 17:55:01 +0200 + +system-tools-backends (2.6.0-6) unstable; urgency=low + + * 01_debian_4.0.patch: completely remove all the brain-dead version + logic. The Debian version corresponds to the version the package is + shipped in, that’s all. + * Standards version is 3.8.1. + * Point to versioned GPL in the copyright. + + -- Josselin Mouette Tue, 14 Apr 2009 21:27:06 +0200 + +system-tools-backends (2.6.0-5) unstable; urgency=low + + [ Michael Biebl ] + * debian/control{.in} + - Add Vcs-* fields. + - Add Homepage field. + - Add dependency on dbus (>= 1.1.2) which is required for D-Bus system bus + activation (i.e. start-on-demand). + + [ Josselin Mouette ] + * Remove dependency on adduser. Closes: #519366. + * 01_debian_4.0.patch: update for the new string in + /etc/debian_version. Closes: #519773. + + Make it also understand 6.0 in preparation for squeeze. + + -- Josselin Mouette Sat, 21 Mar 2009 16:03:05 +0100 + +system-tools-backends (2.6.0-4) unstable; urgency=low + + * 05_cve_2008_4311.patch: new patch, based on the patch by Simon + McVittie for the lenny Branch. Specify permissions with + send_destination instead of send_interface. Makes backends work with + the dbus packages fixing CVE-2008-4311. Closes: #510744. + + -- Josselin Mouette Wed, 11 Mar 2009 21:42:24 +0100 + +system-tools-backends (2.6.0-3) experimental; urgency=low + + [ Loic Minier ] + * Don't rm_conffile /etc/dbus-1/event.d/70system-tools-backends during first + configuration. + + [ Josselin Mouette ] + * Build-depend on libpolkit-dbus-dev for PolicyKit support. + * Make other build-dependencies up-to-date. + * Break gnome-system-tools < 2.22.1-1. + * 03_default_permissions.patch: removed, useless with PolicyKit. + * Install the policy. + * Remove the init script, the dispatcher is correctly started on + demand in the PolicyKit-enabled code path. Closes: #423903. + * Remove the init script and symbolic links in the preinst. + * system-tools-backends.1: fix typo. Closes: #482198. + * system-tools-backends.postinst: removed, we don’t need stb-admin + anymore and we don’t need to reload dbus to make it start the + daemon. + * Don’t pass --with-stb-group to the configure flags. + + -- Josselin Mouette Sun, 04 Jan 2009 11:50:44 +0100 + +system-tools-backends (2.6.0-2) unstable; urgency=medium + + [ Emilio Pozuelo Monfort ] + * debian/patches/04_correct_perl_command.patch: + - Use the system perl, thanks to James Westby and Sebastien Bacher. + Closes: #488793. + * debian/rules: + - Cleanup + * debian/control: + - Updated Standards-Version to 3.8.0, no changes needed. + + [ Josselin Mouette ] + * Switch to quilt for patch management; build-depend on quilt. + * 07_dont_symlink_localtime.patch: patch from Ubuntu to support /etc + being on a partition separate from /usr. Thanks Steve Langasek and + James Westby. Closes: #488792. + * 01_debian_4.0.patch: also support Debian 5.0 as lenny. + * system-tools-backends.init: don't fail when STB is already running, + which can happen when dbus was upgraded in the same run and started + daemons using it. Closes: #469414. + * Urgency medium for RC bug fix. + + -- Josselin Mouette Thu, 24 Jul 2008 10:58:16 +0200 + +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. + + [ 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 Wed, 28 May 2008 12:59:59 +0200 + +system-tools-backends (2.4.2-1) unstable; urgency=low + + [ Kilian Krause ] + * Add get-orig-source target. + * Fix preinst maintainer script. Add rm_conffile function from + http://wiki.debian.org/DpkgConffileHandling. Actually this should be done + through ucf, anyway. + + [ Sven Arvidsson ] + * Add a basic man page (Closes: #433111) + + [ Loic Minier ] + * Make system-tools-backends-dev arch: all as the /usr/lib/pkgconfig file is + actually arch independent (and should be moved to /usr/share). + + [ Josselin Mouette ] + * New upstream release. Closes: #453633. + * 02ubuntu_chmod_network_interfaces_when_using_key.patch: updated from + Ubuntu. + * Define PIDDIR in the init script. Closes: #455600. + * Entirely remove the old dbus script. + * Standards version is 3.7.3. + * Don’t stop the init script in the S runlevel. + * Handle gracefully the case where the daemon fails to stop in the + preinst. + * Really remove the conffile by passing all arguments to rm_conffile. + + -- Josselin Mouette Sat, 16 Feb 2008 00:36:20 +0100 + +system-tools-backends (2.2.1-5) unstable; urgency=low + + the "Long Long due Release". + * Migrated to use regular init as hinted by slomo AGES ago + (closes: #421722). + * Add valid group. + + -- Niv Sardi Mon, 16 Jul 2007 10:37:49 +0200 + +system-tools-backends (2.2.1-4) unstable; urgency=low + + [ Niv Sardi ] + * Add dependency on adduser, used during preinst. + Thanks to Free Ekanayaka + (closes: #424002: system-tools-backends: Missing dependency: adduser) + + [ Loic Minier ] + * Fix typos in descriptions; thanks Paul Menzel; (closes: #425144). + + [ Sven Arvidsson ] + * Fix unguarded use of script in preinst (closes: #425473, #423575). + + [ Otavio Salvador ] + * Fix compilation options on rules. + + -- Otavio Salvador Fri, 29 Jun 2007 11:31:29 -0300 + +system-tools-backends (2.2.1-3) unstable; urgency=low + + [ Niv Sardi] + * Mark bugs to close. + + [ Loic Minier] + * Re-add ubuntu version specific in preinst. :) (closes: #423575). + * Wrap build-deps and deps. + * Fix bashism in maintainer script. + * Cleanups. + * Add dep on libnet-dbus-perl; thanks Vincent Danjean; + (closes: #422702, #423596, #423620). + + -- Niv Sardi Mon, 14 May 2007 14:33:36 +0200 + +system-tools-backends (2.2.1-2) unstable; urgency=low + + * Upload to Unstable, remove check-dist.mk. + * Remove ubuntu version specific in preinst. + * Create stb-admin group in postinst (thanks to giskard). + + -- Niv Sardi Sat, 5 May 2007 16:07:03 +0200 + +system-tools-backends (2.2.1-1) experimental; urgency=low + + * New upstream release + * Updated 01_debian_4.0.patch + * Updated install files + * Added build dep on libnet-dbus-perl + * Changed from arch: all to any, as we now ship elf here. (thanks to lool) + * Fixed Watch file. (thanks to lool) + * build dep on gnome-pkg-tools 0.10 to use check-dist.mk. (thanks to lool) + * New upstream release, purely bugfix release + + [ Imported from Ubuntu] + * Imported patch 02ubuntu_chmod_network_interfaces_when_using_key.patch + * Imported *.{post,pre}{inst,rm} and dbus init script. + + -- Niv Sardi Sat, 28 Apr 2007 12:54:25 +0200 + +system-tools-backends (1.4.2-3) unstable; urgency=medium + + * 01_debian_4.0.patch: support 4.0 as a Debian version, and drop + potato support (closes: #386778). + + -- Josselin Mouette Sun, 10 Sep 2006 11:21:32 +0200 + +system-tools-backends (1.4.2-2) unstable; urgency=low + + * Move debhelper, cdbs, and gnome-pkg-tools from Build-Depends-Indep to + Build-Depends. + * Bump up Standards-Version to 3.7.2. + * Bump up Debhelper compatibility level to 5. + + -- Loic Minier Sun, 13 Aug 2006 15:28:40 +0200 + +system-tools-backends (1.4.2-1) unstable; urgency=low + + * New upstream release. + + -- Jordi Mallach Wed, 11 Jan 2006 11:29:27 +0100 + +system-tools-backends (1.4.1-1) unstable; urgency=low + + * New upstream release. + * Updated debian/watch file. + + -- Ondřej Surý Fri, 30 Dec 2005 15:18:11 +0100 + +system-tools-backends (1.4.0-1) unstable; urgency=low + + * New upstream releases. + * Add CDBS' utils. [debian/rules] + * Update FSF address. [debian/copyright] + * Distinguish Copyright from License. [debian/copyright] + * Bump-up Standards-Version to 3.6.2. [debian/control, debian/control.in] + + -- Loic Minier Wed, 14 Sep 2005 21:48:13 +0200 + +system-tools-backends (1.2.0-4) unstable; urgency=low + + * Don't forget to remove build dir... + + -- Marc Dequènes (Duck) Sat, 18 Jun 2005 11:14:34 +0200 + +system-tools-backends (1.2.0-3) unstable; urgency=low + + * Fixed FTBFS because of missing builddep on 'gnome-pkg-tools' + (my bad) (Closes: #314278). + * Update POT file during build, needed for translators + (Closes: #313528). + * Now building in 'debian/build/' directory (cleaner). + * Removed unnecessary DEB_CONFIGURE_SCRIPT_ENV in 'debian/rules'. + + -- Marc Dequènes (Duck) Sat, 18 Jun 2005 11:07:09 +0200 + +system-tools-backends (1.2.0-2) unstable; urgency=low + + * Upload to unstable (GNOME Team upload). + * Corrected 'system-tools-backends-dev' Section to 'devel'. + + -- Marc Dequènes (Duck) Sat, 11 Jun 2005 00:53:59 +0200 + +system-tools-backends (1.2.0-1) experimental; urgency=low + + * Initial Release. + * Marc Dequènes (Duck) did all the work for this release. Thanks! + + -- Jose Carlos Garcia Sogo Wed, 20 Apr 2005 23:07:33 +0200 + --- system-tools-backends-2.9.2.orig/debian/system-tools-backends.preinst +++ system-tools-backends-2.9.2/debian/system-tools-backends.preinst @@ -0,0 +1,39 @@ +#!/bin/sh +set -e + +# stop backend here when upgrading from a version that didn't handle +# it correctly yet in the prerm + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} +case "$1" in + install|upgrade) + if dpkg --compare-versions "$2" lt-nl 2.2.1-5; then + test -x /etc/dbus-1/event.d/70system-tools-backends && \ + /etc/dbus-1/event.d/70system-tools-backends stop || true + rm_conffile system-tools-backends "/etc/dbus-1/event.d/70system-tools-backends" + fi + if dpkg --compare-versions "$2" lt-nl 2.6.0-3; then + rm_conffile system-tools-backends "/etc/init.d/system-tools-backends" + update-rc.d system-tools-backends remove + fi + ;; +esac + +#DEBHELPER# --- system-tools-backends-2.9.2.orig/debian/compat +++ system-tools-backends-2.9.2/debian/compat @@ -0,0 +1 @@ +5 --- system-tools-backends-2.9.2.orig/debian/system-tools-backends.install +++ system-tools-backends-2.9.2/debian/system-tools-backends.install @@ -0,0 +1,6 @@ +debian/tmp/usr/sbin/system-tools-backends +debian/tmp/usr/share/system-tools-backends-2.0 +debian/tmp/usr/share/dbus-1/system-services +debian/tmp/usr/share/polkit-1 +debian/tmp/usr/share/locale +debian/tmp/etc/dbus-1/system.d --- system-tools-backends-2.9.2.orig/debian/watch +++ system-tools-backends-2.9.2/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://ftp.gnome.org/pub/gnome/sources/system-tools-backends/([\d\.]+)[024689]/system-tools-backends-([\d\.]+)\.tar\.gz --- system-tools-backends-2.9.2.orig/debian/control +++ system-tools-backends-2.9.2/debian/control @@ -0,0 +1,58 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to debian/control.in instead. +# This file is regenerated automatically in the clean target. + +Source: system-tools-backends +Section: admin +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jose Carlos Garcia Sogo +Uploaders: Debian GNOME Maintainers , Emilio Pozuelo Monfort , Josselin Mouette , Niv Sardi +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 5), + cdbs, + quilt, + gnome-pkg-tools (>= 0.10), + intltool (>= 0.40), + libnet-dbus-perl, + libdbus-1-dev (>= 1.1.2), + libdbus-glib-1-dev (>= 0.74), + libpolkit-gobject-1-dev (>= 0.94), + libglib2.0-dev (>= 2.15.2) +Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/system-tools-backends +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/unstable/system-tools-backends +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/system-tools-backends/ubuntu +Homepage: http://system-tools-backends.freedesktop.org/ + +Package: system-tools-backends +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libnet-dbus-perl, + dbus (>= 1.1.2) +Replaces: gnome-system-tools (<< 1.1) +Conflicts: gnome-system-tools (<< 2.18), liboobs-1-3 +Breaks: gnome-system-tools (<< 2.28.0) +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 + XML interface for modifying the configuration regardless of the + distribution that's being used. + . + These backends are used in GNOME System Tools. + +Package: system-tools-backends-dev +Architecture: all +Section: devel +Depends: ${misc:Depends} +Replaces: gnome-system-tools (<< 1.1) +Description: System Tools to manage computer configuration -- development files + The System Tools Backends are a set of cross-platform scripts + for Linux and other Unix systems. The backends provide a standard + XML interface for modifying the configuration regardless of the + distribution that's being used. + . + These backends are used in GNOME System Tools. + . + This package contains the development files. --- system-tools-backends-2.9.2.orig/debian/system-tools-backends.postrm +++ system-tools-backends-2.9.2/debian/system-tools-backends.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# Do not restart dbus on upgrades, only if we remove the package. +if [ "$1" = "remove" ] ; then + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi +fi + +#DEBHELPER# --- system-tools-backends-2.9.2.orig/debian/system-tools-backends-dev.install +++ system-tools-backends-2.9.2/debian/system-tools-backends-dev.install @@ -0,0 +1 @@ +debian/tmp/usr/lib usr/ --- system-tools-backends-2.9.2.orig/debian/patches/02ubuntu_chmod_network_interfaces_when_using_key.patch +++ system-tools-backends-2.9.2/debian/patches/02ubuntu_chmod_network_interfaces_when_using_key.patch @@ -0,0 +1,30 @@ +Index: system-tools-backends-2.9.1/Network/Ifaces.pm +=================================================================== +--- system-tools-backends-2.9.1.orig/Network/Ifaces.pm 2009-09-28 10:49:10.000000000 +0100 ++++ system-tools-backends-2.9.1/Network/Ifaces.pm 2010-02-05 18:07:15.370868577 +0000 +@@ -797,6 +797,17 @@ + return (&get_debian_auto_by_stanza ($file, $iface) ne undef)? 1 : 0; + } + ++sub set_network_config_permission ++{ ++ my ($key) = @_; ++ ++ if ($key) ++ { ++ chmod 0640, "/etc/network/interfaces"; ++ &Utils::File::run ("chgrp admin /etc/network/interfaces"); ++ } ++} ++ + sub set_debian_auto + { + my ($file, $iface, $value) = @_; +@@ -3022,6 +3033,7 @@ + [ "network", \&Utils::Replace::set_sh, IFCFG, NETWORK ], + [ "gateway", \&Utils::Replace::set_sh, IFCFG, GATEWAY ], + [ "essid", \&Utils::Replace::set_sh, IFCFG, WIRELESS_ESSID ], ++ [ "key", \&set_network_config_permission, "%key%"], + [ "key", \&Utils::Replace::set_sh, IFCFG, WIRELESS_KEY ], + [ "key_type", \&set_wep_key_full, [ \&Utils::Replace::set_sh, IFCFG, WIRELESS_KEY, "%key%" ]], + [ "update_dns", \&Utils::Replace::set_sh_bool, IFCFG, PEERDNS ], --- system-tools-backends-2.9.2.orig/debian/patches/series +++ system-tools-backends-2.9.2/debian/patches/series @@ -0,0 +1 @@ +02ubuntu_chmod_network_interfaces_when_using_key.patch