debian/0000755000000000000000000000000011716470513007173 5ustar debian/system-tools-backends.install0000644000000000000000000000023411650556231015013 0ustar usr/sbin/system-tools-backends usr/share/system-tools-backends-2.0 usr/share/dbus-1/system-services usr/share/polkit-1 usr/share/locale etc/dbus-1/system.d debian/changelog0000644000000000000000000003405611716470513011055 0ustar system-tools-backends (2.10.2-1ubuntu1) precise; urgency=low * Use maintscript support in dh_installdeb rather than writing out dpkg-maintscript-helper commands by hand. We now simply Pre-Depend on a new enough version of dpkg rather than using 'dpkg-maintscript-helper supports' guards, leading to more predictable behaviour on upgrades. -- Colin Watson Tue, 14 Feb 2012 14:35:54 +0000 system-tools-backends (2.10.2-1) unstable; urgency=low * New upstream release. * debian/watch: - Track .bz2 tarballs. * Refresh debian/patches/04_empty_ntp.patch. * Bump debhelper compatibility level to 8. - Update Build-Depends on debhelper. - Strip debian/tmp/ from .install files. * debian/control.in: - Bump Standards-Version to 3.9.2. No further changes. - Update Vcs-* URLs. -- Michael Biebl Sat, 22 Oct 2011 17:15:14 +0200 system-tools-backends (2.10.1-3) unstable; urgency=low [ Emilio Pozuelo Monfort ] * debian/patches/03_hostname.patch: - Forwarded upstream, add header. [ Josselin Mouette ] * 04_empty_ntp.patch: stolen from upstream git. Don’t create an empty ntp.conf file. Closes: #397648. [ Jérémy Bobbio ] * Properly handle the rename of /etc/dbus-1/system.d/system-tools-backends.conf to org.freedesktop.SystemToolsBackends.conf. (Closes: #553672) [ Josselin Mouette ] * Properly guard dpkg-maintscript-helper calls. -- Josselin Mouette Sun, 11 Sep 2011 10:55:32 +0200 system-tools-backends (2.10.1-2) unstable; urgency=low * 03_hostname.patch: patch by Mario Izquierdo to fix hostname detection. Closes: #607152. -- Josselin Mouette Fri, 17 Dec 2010 22:48:37 +0100 system-tools-backends (2.10.1-1) unstable; urgency=low * New upstream bugfix release. * 01_kfreebsd.diff: add kfreebsd support. Closes: #594898. -- Josselin Mouette Wed, 20 Oct 2010 00:36:37 +0200 system-tools-backends (2.10.0-2) unstable; urgency=low * Break g-s-t and liboobs < 2.30 since the protocol has changed. -- Josselin Mouette Mon, 12 Apr 2010 14:53:17 +0200 system-tools-backends (2.10.0-1) unstable; urgency=low * New upstream release. * debian/control.in: - Bump libpolkit-gobject-1-dev build-depend to 0.94. - Standards-Version is 3.8.4, no changes needed. * debian/patches/08_use_md5.patch: - Removed, dbus method no more returns whether to use md5 or not, password is now changed via PAM. * Switch to source format 3.0 (quilt). - Add debian/source/format. - Drop quilt from Build-Depends. - Remove /usr/share/cdbs/1/rules/patchsys-quilt.mk include. -- Luca Bruno Fri, 09 Apr 2010 13:18:21 +0200 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 debian/rules0000755000000000000000000000055111650555461010257 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.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 debian/watch0000644000000000000000000000020211650555527010224 0ustar version=3 http://ftp.gnome.org/pub/gnome/sources/system-tools-backends/([\d\.]+[02468])/system-tools-backends-([\d\.]+)\.tar\.bz2 debian/compat0000644000000000000000000000000211650556135010373 0ustar 8 debian/source/0000755000000000000000000000000011650557034010474 5ustar debian/source/format0000644000000000000000000000001411650555461011704 0ustar 3.0 (quilt) debian/system-tools-backends.preinst0000644000000000000000000000420711716470427015042 0ustar #!/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 if [ -f /etc/dbus-1/system.d/system-tools-backends.conf ] && \ [ -f /etc/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf ]; then # We have both old and new conffiles, which probably means that a version # between 2.6.0-6.1 and 2.10.1-2 was installed. if echo "68224c4af00f723e7e08992a91ddc9f286fc4f4c /etc/dbus-1/system.d/system-tools-backends.conf" | sha1sum --check --status -; then # Old conffile was not modified, let's just remove it rm -f /etc/dbus-1/system.d/system-tools-backends.conf else # Otherwise, rename it mv /etc/dbus-1/system.d/system-tools-backends.conf \ /etc/dbus-1/system.d/system-tools-backends.conf.dpkg-remove fi fi ;; esac #DEBHELPER# debian/system-tools-backends.postrm0000644000000000000000000000033611716470435014700 0ustar #!/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# debian/system-tools-backends-dev.install0000644000000000000000000000001011650556212015556 0ustar usr/lib debian/control0000644000000000000000000000455111716470516010606 0ustar # 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 , Michael Biebl , Niv Sardi Standards-Version: 3.9.2 Build-Depends: debhelper (>= 8.1.0~), cdbs, 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://anonscm.debian.org/svn/pkg-gnome/desktop/unstable/system-tools-backends Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/system-tools-backends Homepage: http://system-tools-backends.freedesktop.org/ Package: system-tools-backends Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, libnet-dbus-perl, dbus (>= 1.1.2) Replaces: gnome-system-tools (<< 1.1) Conflicts: liboobs-1-3 Breaks: gnome-system-tools (<< 2.30), liboobs-1-4 (<< 2.30) 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. debian/patches/0000755000000000000000000000000011650557034010623 5ustar debian/patches/02ubuntu_chmod_network_interfaces_when_using_key.patch0000644000000000000000000000201711650555460023555 0ustar --- a/Network/Ifaces.pm +++ b/Network/Ifaces.pm @@ -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 ], debian/patches/04_empty_ntp.patch0000644000000000000000000000237011650555664014177 0ustar From 3a6c2f9d5b024bab6ac9e6b6ef5e41d9197286a6 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 06 Dec 2010 13:15:23 +0000 Subject: bgo#449267 - Don't create empty NTP configuration files If /etc/ntp.conf (or the platform equivalent) doesn't exist, then merely synchronising the clock in time-admin would create it as an empty file. This caused other time syncing problems later (see e.g. https://bugs.launchpad.net/bugs/83604). --- Index: system-tools-backends-2.10.2/Time/NTP.pm =================================================================== --- system-tools-backends-2.10.2.orig/Time/NTP.pm 2010-12-06 18:32:52.000000000 +0100 +++ system-tools-backends-2.10.2/Time/NTP.pm 2011-10-22 17:05:20.493458177 +0200 @@ -80,6 +80,11 @@ # Notably, this avoids creating an empty file when simply running ntpdate. return if (!&Utils::File::exists ($file) && !@$value); + # If config file does not exist, and no server has to be written, + # don't create and empty file that will confuse package managers. + # Notably, this avoids creating an empty file when simply running ntpdate. + return if (!&Utils::File::exists ($file) && !@$value); + &Utils::Report::enter (); &Utils::Report::do_report ("replace_split", $key, $file); debian/patches/03_hostname.patch0000644000000000000000000000114711650555460013770 0ustar Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32486 Bug-Debian: http://bugs.debian.org/607152 Index: system-tools-backends-2.10.1/Network/Hosts.pm =================================================================== --- system-tools-backends-2.10.1.orig/Network/Hosts.pm 2010-12-17 22:47:08.612239499 +0100 +++ system-tools-backends-2.10.1/Network/Hosts.pm 2010-12-17 22:47:24.972237485 +0100 @@ -37,6 +37,7 @@ sub get_fqdn_dist { my %dist_map = ( + "debian" => "debian", "redhat-6.2" => "redhat-6.2", "redhat-7.0" => "redhat-6.2", "redhat-7.1" => "redhat-6.2", debian/patches/01_kfreebsd.diff0000644000000000000000000000222611650555460013545 0ustar --- system-tools-backends-2.10.0.orig/Utils/Platform.pm +++ system-tools-backends-2.10.0/Utils/Platform.pm @@ -33,6 +33,7 @@ my $PLATFORM_INFO = { "debian" => [ "Debian GNU/Linux" ], + "debian-kfreebsd" => [ "Debian GNU/kFreeBSD" ], "redhat-5.2" => [ "Red Hat Linux", "5.2", "Apollo" ], "redhat-6.0" => [ "Red Hat Linux", "6.0", "Hedwig" ], "redhat-6.1" => [ "Red Hat Linux", "6.1", "Cartman" ], @@ -143,6 +144,7 @@ "vine-3.1" => "vine-3.0", "vlos-1.2" => "gentoo", "nexenta-1.0" => "solaris-2.11", + "debian-kfreebsd" => "debian" ); return $metamap{$distro} if ($metamap{$distro}); @@ -377,10 +379,12 @@ [ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\\S+)" ], ], "FreeBSD" => [[ \&check_freebsd ]], - "SunOS" => [[ \&check_solaris ]] + "SunOS" => [[ \&check_solaris ]], + "GNU/kFreeBSD" => [[ \&check_file_exists, "/etc/debian_version", "debian" ]], ); $distro = $Utils::Backend::tool{"system"}; + $checks = $platform_checks{$distro}; foreach $check (@$checks) { debian/patches/series0000644000000000000000000000015511650555460012042 0ustar 01_kfreebsd.diff 02ubuntu_chmod_network_interfaces_when_using_key.patch 03_hostname.patch 04_empty_ntp.patch debian/system-tools-backends.10000644000000000000000000000267311650555461013522 0ustar .\" 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). debian/system-tools-backends.maintscript0000644000000000000000000000020411716470416015702 0ustar mv_conffile /etc/dbus-1/system.d/system-tools-backends.conf /etc/dbus-1/system.d/org.freedesktop.SystemToolsBackends.conf 2.6.0-6.1 debian/copyright0000644000000000000000000000210211650555461011124 0ustar 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'. debian/control.in0000644000000000000000000000402211716470506011203 0ustar 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.9.2 Build-Depends: debhelper (>= 8.1.0~), cdbs, 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://anonscm.debian.org/svn/pkg-gnome/desktop/unstable/system-tools-backends Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/system-tools-backends Homepage: http://system-tools-backends.freedesktop.org/ Package: system-tools-backends Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, libnet-dbus-perl, dbus (>= 1.1.2) Replaces: gnome-system-tools (<< 1.1) Conflicts: liboobs-1-3 Breaks: gnome-system-tools (<< 2.30), liboobs-1-4 (<< 2.30) 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. debian/system-tools-backends.manpages0000644000000000000000000000003711650555461015145 0ustar debian/system-tools-backends.1