# ChangeLog for app-admin/system-tools-backends
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/ChangeLog,v 1.54 2010/05/22 15:55:32 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/ChangeLog,v 1.55 2010/05/31 21:10:54 eva Exp $
+
+ 31 May 2010; Gilles Dartiguelongue <eva@gentoo.org>
+ -files/system-tools-backends-2.6.0-1ubuntu1.1.patch,
+ -files/system-tools-backends-2.6.0-automagic-polkit.patch,
+ -files/system-tools-backends-2.6.0-cleanup-pid-file.patch,
+ -files/system-tools-backends-2.6.0-cve-2008-4311.patch,
+ -files/system-tools-backends-2.6.0-default-permissions.patch,
+ -files/system-tools-backends-2.6.0-handle-services.patch,
+ -files/system-tools-backends-2.6.0-services.patch,
+ -files/system-tools-backends-2.6.0-users.patch,
+ -system-tools-backends-2.6.1-r1.ebuild,
+ -files/system-tools-backends-2.6.1-gettext.patch:
+ Clean up old revisions.
22 May 2010; Raúl Porcel <armin76@gentoo.org>
system-tools-backends-2.8.3.ebuild:
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX stb.rc 533 RMD160 07c9e72ca74cd23662d922c19930010e755a4f53 SHA1 b6c8d98a835441114aa7683f7ff6f2cf6ceed928 SHA256 c143b324a20ff027f57ac91f3c78651ea52db6e07ae79139a2694adcc11ccde4
-AUX system-tools-backends-2.6.0-1ubuntu1.1.patch 532 RMD160 84f38fc3bcf9607a7e9da1cf0be13751298ded58 SHA1 36d7fd35c85a314f9dcb7dd0af66c09af044a28d SHA256 1891979d10de735a83f952c720f5210df92508b065ea3191b648e29200725ae2
-AUX system-tools-backends-2.6.0-automagic-polkit.patch 1073 RMD160 aa1dd5b1a9efed90b97681941b634ee777c8d55d SHA1 20b0cfdfb6c929ec5447e9f0d34ca9cfbb986c6d SHA256 78f425a95c2b7417056d89c45077bdc55e18953745b0e623e1192fbc9ed398cd
-AUX system-tools-backends-2.6.0-cleanup-pid-file.patch 878 RMD160 0d1fd02ae354e2231b9e0e8dd0d6b8da8d5008ee SHA1 752c9dd81c06a702cb44cf6b4c86fa4da6170574 SHA256 2479eba543e04e4ebe947a9ec90a39eeaa6f9ea79b835cfa19cfbeee5f08469a
-AUX system-tools-backends-2.6.0-cve-2008-4311.patch 2312 RMD160 803d47f9663a8aab67d125e36b2303490ae0d267 SHA1 8b82b7387e903b83b32c9b99a4d7b76bf83a2a26 SHA256 53467a7fb56f64ba7041e396546a4081c5d8988b0b6fa9d506d5c06e1613eec7
-AUX system-tools-backends-2.6.0-default-permissions.patch 1096 RMD160 3bfa06ee67a0fe65f613ba58744595c010951b3e SHA1 3908bed8b88d10ee84593648d2aa07f60f9dd8c6 SHA256 9ff58feb24a237e0d489e99a96114e6bb13871c87469e1bb379b8269ed7055d5
-AUX system-tools-backends-2.6.0-handle-services.patch 381 RMD160 15bcda6d8d6e8526c27cca6d1ae49c8f53132f4d SHA1 0550cdcd8a75ec491bbcacecedc9bb0d62afa5cc SHA256 116fd930d126e5837e21aea4a6242586b56f42ce11d8eb6c65cb2bbfe00ba930
-AUX system-tools-backends-2.6.0-services.patch 474 RMD160 ebfda51db2af08189f186a4e59a32d49d26ef559 SHA1 96f8bc96e0ae35a7384bb5d6eb21b4bc1ebcd63f SHA256 57faa684686cff11b41cc64da02613dbb9d4ab6541881e6639bfee1806b75a69
-AUX system-tools-backends-2.6.0-users.patch 615 RMD160 80fa489017b7c13b3e8f45ffc511ebcc826c01b0 SHA1 f522de3ab109e9e04b9ef12a0b15fa0be829e284 SHA256 2442a171debd600c949ed5d95660bf4d3045617e035b857b4c7665f0cd792cca
-AUX system-tools-backends-2.6.1-gettext.patch 816 RMD160 155c62dbb403851870947708fd0d408dac99f04c SHA1 5c993fffb12d5a0ed493f474fce409b3cbd87bd9 SHA256 8a129b76f2e2275c25695b3c38594c970206cef03dd1cb44c947014b194af81d
AUX system-tools-backends-2.8.2-1ubuntu1.1.patch 945 RMD160 21cee9b97de5ede2b4c6b842ffaef584ca7e1e06 SHA1 971d55c88ce787163e6edf40e08cf54764d79885 SHA256 79a927db65f3e44f733fa920d45b520f3ec4c921d67920e3dddfc1439ca54d4c
AUX system-tools-backends-2.8.2-automagic-polkit.patch 1480 RMD160 be387df681b1b7b1d9cae5d053539c2110386fc1 SHA1 011334c7751090e0142199c63430d7600a7b9ccd SHA256 0a943f544a783738f82cdbbd230171efa9ce975db3f680f13060245d812a2e8e
AUX system-tools-backends-2.8.2-cve-2008-4311.patch 1984 RMD160 7dec8a9df599b3e57ec1c57165ce8f54ebc548f0 SHA1 0ab99b264eccc73ae0a95bb05d5e66673c5497e6 SHA256 d7ef2a15e67cd9887ad41b75f5c545f63bf5a7cd8ef8ff1bab623182039dcd4b
AUX system-tools-backends-2.8.2-default-permissions.patch 945 RMD160 d34076b1a568effefbb29d81c1b2df2a4c303085 SHA1 22102df758ac1cc804fcc209184b0a836f0eb3fd SHA256 f2752d877938d70805d31adf113c05ce45b62255cd195c4c74abe93695ec08c6
-DIST system-tools-backends-2.6.1.tar.bz2 441586 RMD160 7fb3a97ef291f80b330ad5c7146d0cd32a264a74 SHA1 fa49c81963ab8c522dfefb9a8c2ffda61380a01b SHA256 7f56dd08cf5425218b697d5db82e6ce03aff4f7b57f58d3053f0a7af632b3747
DIST system-tools-backends-2.8.3.tar.bz2 459208 RMD160 bb4eff2449b19b96e3c7142cf61a6c708a4dab26 SHA1 483d7452df6e7a89b9dff9627fc31fd3ecb8faf4 SHA256 67629bb6502a4c5b8b639867deb40ecabd5676a4655c264c1f0dbeb97de5c98c
-EBUILD system-tools-backends-2.6.1-r1.ebuild 2453 RMD160 1f4ab795b587c9e6d67cbd9c500948366090d602 SHA1 817bc15a6f35fbbe235f07efecca42ebafb147a2 SHA256 f50cbc07c6834bdb641ed0400bce07aa67f259406679c1af63121825a90389c7
EBUILD system-tools-backends-2.8.3.ebuild 1940 RMD160 96603c673aa633043279d3d6cac0ea84a1b0f708 SHA1 150bf9fa55a1e3086527b4140b789a448d166d84 SHA256 94f03699e8a01223a22ab6abeba951bf5e127433c32b57099a80f95c5ca62660
-MISC ChangeLog 9362 RMD160 5b4ee4d854e41ab77315b7ab3b59e13575d64e0f SHA1 47400c63dce135ad248efb122f14c29bd4cf69ed SHA256 dc7acee2086e3a311c377f71fbd38f204e1e3f27e19869c5751e7f40a1b2f851
+MISC ChangeLog 9995 RMD160 74cd2a21829805d557a20f895b5f85616ca2df5f SHA1 1c95c5b67bc20bbf5d3ff1b1a73ec71e6823bfcb SHA256 303817e02c95a2ba7d68d0403923ba986bc29e65f70f272987a4bfda0c99c9fa
MISC metadata.xml 559 RMD160 143a946df38c5d0095722d5cddbcb11f68063c0b SHA1 886deef54679de98d9b5eb47e30b9252c654b6f3 SHA256 470dd48b7988000b39056ccfc6382a25bd18d39d2fcca4acf400631be13be462
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iEYEARECAAYFAkwEQgUACgkQ1fmVwcYIWAYiogCfWg4KZ33lnDuTM+C4XenrxYkq
+vt0AniAuPSbvvZI90Gau8qoWuwKV14mj
+=XA7A
+-----END PGP SIGNATURE-----
+++ /dev/null
- * Tell liboobs to use md5 if pam the pam config specifies sha* as well
- as if it specifies md5. If we don't do this then the switch to sha512
- means that adding a users with system-tools-backends gives them a 3DES
- password. (LP: #287134)
-
- -- James Westby <james.westby@canonical.com> Tue, 28 Oct 2008 21:06:26 +0000
---- a/Users/Users.pm
-+++ b/Users/Users.pm
-@@ -293,6 +293,7 @@
- foreach $i (@line)
- {
- $use_md5 = 1 if ($i eq "md5");
-+ $use_md5 = 1 if ($i =~ /^sha\d+/);
- }
- }
- }
+++ /dev/null
---- configure.in.old 2008-10-13 22:48:51.000000000 +0200
-+++ configure.in 2008-10-13 22:53:59.000000000 +0200
-@@ -1,4 +1,4 @@
--AC_PREREQ(2.52)
-+AC_PREREQ(2.60)
- dnl ==============================================================
- dnl Process this file with autoconf to produce a configure script.
- dnl ==============================================================
-@@ -122,10 +122,19 @@
- AC_SUBST(DISPATCHER_CFLAGS)
-
- dnl check for PolicyKit
--PKG_CHECK_MODULES(POLKIT, polkit-dbus >= $POLICYKIT_REQUIRED, have_polkit=yes, have_polkit=no)
-
--if test "$have_polkit" = "yes"; then
-- AC_DEFINE(HAVE_POLKIT, [1], [whether PolicyKit was found])
-+have_polkit=no
-+AC_ARG_ENABLE(polkit,
-+ AS_HELP_STRING([--enable-polkit],[Enable policykit support]))
-+
-+if test "x$enable_polkit" = "xyes"; then
-+ PKG_CHECK_MODULES(POLKIT, polkit-dbus >= $POLICYKIT_REQUIRED, have_polkit=yes)
-+
-+ if test "$have_polkit" = "yes"; then
-+ AC_DEFINE(HAVE_POLKIT, [1], [whether PolicyKit was found])
-+ else
-+ AC_MSG_ERROR([policykit support requested but not found])
-+ fi
- fi
-
- AC_SUBST(POLKIT_LIBS)
+++ /dev/null
-#
-# Ubuntu: https://bugs.launchpad.net/ubuntu/+source/system-tools-backends/+bug/298777
-# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=18625
-# Description: Patch to make S-T-B delete it's PID file when terminated
-#
-Index: system-tools-backends-2.6.0/dispatcher/main.c
-===================================================================
---- system-tools-backends-2.6.0.orig/dispatcher/main.c 2008-11-16 17:25:20.000000000 +0000
-+++ system-tools-backends-2.6.0/dispatcher/main.c 2008-11-16 17:25:30.000000000 +0000
-@@ -59,6 +59,12 @@
- close (dev_null_fd);
- }
-
-+static void
-+remove_pidfile (void)
-+{
-+ unlink (LOCALSTATEDIR "/run/system-tools-backends.pid");
-+}
-+
- void
- signal_received (gint signal)
- {
-@@ -67,6 +73,7 @@
- case SIGTERM:
- case SIGABRT:
- g_object_unref (dispatcher);
-+ remove_pidfile ();
- exit (0);
- break;
- default:
+++ /dev/null
-commit fd648907e46017d46c367f59c62d0b0395830903
-Author: Simon McVittie <http://smcv.pseudorandom.co.uk/>
-Date: 2009-01-04 19:35:51 +0000
-
- Allow root to send messages to all the system tools backends, so they work even when CVE-2008-4311 has been fixed.
-
- Also disallow normal user access by destination, not by interface (fd.o #18961).
-
-diff --git a/system-tools-backends.conf b/system-tools-backends.conf
-index 00d6d58..537ef73 100644
---- a/system-tools-backends.conf
-+++ b/system-tools-backends.conf
-@@ -23,8 +23,8 @@
- -->
-
- <!-- configuration modules can't be accessed directly... -->
-- <deny send_interface="org.freedesktop.SystemToolsBackends"/>
-- <deny send_interface="org.freedesktop.SystemToolsBackends.Platform"/>
-+ <deny send_destination="org.freedesktop.SystemToolsBackends"/>
-+ <deny send_destination="org.freedesktop.SystemToolsBackends.Platform"/>
- <deny send_destination="org.freedesktop.SystemToolsBackends"/>
- </policy>
-
-@@ -47,9 +47,18 @@
-
- <!-- be able to speak to configuration modules,
- 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"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.Platform"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.GroupsConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.HostsConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.IfacesConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.NFSConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.NTPConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.ServicesConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.SMBConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.TimeConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.UserConfig"/>
-+ <allow send_destination="org.freedesktop.SystemToolsBackends.UsersConfig"/>
- </policy>
- <policy group="stb-admin">
- <!-- be able to speak to the dispatcher -->
+++ /dev/null
---- a/system-tools-backends.conf.orig 2008-05-28 13:20:52.246850438 +0200
-+++ b/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>
+++ /dev/null
-diff --git Init/Services.pm Init/Services.pm
-index c1d2620..07ed2cd 100644
---- Init/Services.pm
-+++ Init/Services.pm
-@@ -802,7 +802,7 @@ sub set_gentoo_service_status
-
- return if ($status == $old_status);
-
-- if ($action == $SERVICE_START)
-+ if ($status == $SERVICE_START)
- {
- &Utils::File::run ("rc-update add $script $rl");
- &run_gentoo_script ($script, "start");
+++ /dev/null
-diff --git Init/Services.pm Init/Services.pm
-index c1d2620..a76f5dc 100644
---- Init/Services.pm
-+++ Init/Services.pm
-@@ -659,7 +659,7 @@ sub get_gentoo_runlevels
- sub get_gentoo_services_for_runlevel
- {
- my($runlevel) = @_;
-- my($raw_output) = Utils::File::run_backtick("rc-status -nocolor $runlevel");
-+ my($raw_output) = Utils::File::run_backtick("rc-status --nocolor $runlevel");
- my(@raw_lines) = split(/\n/,$raw_output);
- my($line, $service);
- my(%services);
+++ /dev/null
-diff --git Users/Users.pm Users/Users.pm
-index 6703d0f..bd0603a 100644
---- Users/Users.pm
-+++ Users/Users.pm
-@@ -591,7 +591,8 @@ sub add_user
- if ($cmd_adduser &&
- $Utils::Backend::tool{"platform"} !~ /^slackware/ &&
- $Utils::Backend::tool{"platform"} !~ /^archlinux/ &&
-- $Utils::Backend::tool{"platform"} !~ /^redhat/)
-+ $Utils::Backend::tool{"platform"} !~ /^redhat/ &&
-+ $Utils::Backend::tool{"platform"} !~ /^gentoo/)
- {
- # use adduser if available and valid (slackware one is b0rk)
- # set empty gecos fields and password, they will be filled out later
+++ /dev/null
-From a490e24165814fb43601f1a4b4a4c21fa148a50b Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <eva@gentoo.org>
-Date: Thu, 23 Jul 2009 23:52:32 +0200
-Subject: [PATCH] Define GETTEXT_PACKAGE
-
-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=270338
----
- configure.in | 6 ++++++
- 1 files changed, 6 insertions(+), 0 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 49e537f..3f7da10 100644
---- a/configure.in
-+++ b/configure.in
-@@ -9,6 +9,12 @@ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
- AC_PROG_LIBTOOL
- IT_PROG_INTLTOOL([0.40.0])
-
-+AM_GLIB_GNU_GETTEXT
-+
-+GETTEXT_PACKAGE=system-tools-backends
-+AC_SUBST(GETTEXT_PACKAGE)
-+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
-+
- DBUS_REQUIRED=1.1.2
- DBUS_GLIB_REQUIRED=0.74
- GLIB_REQUIRED=2.4.0
---
-1.6.3.3
-
+++ /dev/null
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/system-tools-backends-2.6.1-r1.ebuild,v 1.1 2009/07/23 22:13:12 eva Exp $
-
-inherit autotools eutils gnome2
-
-DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
-HOMEPAGE="http://www.gnome.org/projects/gst/"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="policykit"
-
-RDEPEND="!<app-admin/gnome-system-tools-1.1.91
- >=sys-apps/dbus-1.1.2
- >=dev-libs/dbus-glib-0.74
- >=dev-libs/glib-2.15.2
- >=dev-perl/Net-DBus-0.33.4
- dev-lang/perl
- policykit? ( >=sys-auth/policykit-0.5 )
- userland_GNU? ( sys-apps/shadow )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.40"
-
-DOCS="AUTHORS ChangeLog NEWS README TODO"
-
-pkg_setup() {
- G2CONF="${G2CONF} $(use_enable policykit polkit)"
-
- enewgroup stb-admin || die "Failed to create stb-admin group"
-}
-
-src_unpack() {
- gnome2_src_unpack
-
- # Fix a typo in services
- epatch "${FILESDIR}/${PN}-2.6.0-services.patch"
-
- # Fix a distro detection in users to use proper variant
- # of useradd
- epatch "${FILESDIR}/${PN}-2.6.0-users.patch"
-
- # Fix automagic policykit dependency
- epatch "${FILESDIR}/${PN}-2.6.0-automagic-polkit.patch"
-
- # Fix service handling
- epatch "${FILESDIR}/${PN}-2.6.0-handle-services.patch"
-
- # Clean up pid file
- epatch "${FILESDIR}/${PN}-2.6.0-cleanup-pid-file.patch"
-
- # Change default permission, only people in stb-admin is allowed
- # to speak to the dispatcher.
- epatch "${FILESDIR}/${PN}-2.6.0-default-permissions.patch"
-
- # Apply fix from ubuntu for CVE 2008 4311
- epatch "${FILESDIR}/${PN}-2.6.0-cve-2008-4311.patch"
-
- # Apply fix from ubuntu for CVE 2008 6792, bug #270326
- epatch "${FILESDIR}/${PN}-2.6.0-1ubuntu1.1.patch"
-
- # Set GETTEXT_PACKAGE, bug #270338
- epatch "${FILESDIR}/${PN}-2.6.1-gettext.patch"
-
- intltoolize --force --copy --automake || die "intltoolize failed"
- eautoreconf
-}
-
-src_compile() {
- # Autotools insanity, localstatedir gets set to /usr/local/var by default
- gnome2_src_compile --localstatedir="${ROOT}"/var
-}
-
-src_install() {
- gnome2_src_install
- newinitd "${FILESDIR}"/stb.rc system-tools-backends
-}
-
-pkg_postinst() {
- echo
- elog "You need to add yourself to the group stb-admin and"
- elog "add system-tools-backends to the default runlevel."
- elog "You can do this as root like so:"
- elog " # rc-update add system-tools-backends default"
- echo
-}