Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at Fri Apr 16 00:55:04 CEST 2010. -------- --- GNOME/libgnomesu/libgnomesu.changes 2010-03-13 22:09:20.000000000 +0100 +++ /mounts/work_src_done/STABLE/libgnomesu/libgnomesu.changes 2010-04-14 18:58:45.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Apr 14 19:01:30 CEST 2010 - sbrabec@suse.cz + +- Fixed translatability (bnc#582085). +- Add libgnomesu-remove-prior-cookie.patch (bnc#477638) from SLE11 + (hpj@novell.com). + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- libgnomesu-i18n.patch libgnomesu-remove-prior-cookie.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgnomesu.spec ++++++ --- /var/tmp/diff_new_pack.klb7jm/_old 2010-04-16 00:53:47.000000000 +0200 +++ /var/tmp/diff_new_pack.klb7jm/_new 2010-04-16 00:53:47.000000000 +0200 @@ -19,8 +19,8 @@ Name: libgnomesu Version: 1.0.0 -Release: 315 -License: GPLv2+ ; LGPLv2.1+ +Release: 316 +License: LGPLv2.1+ Summary: GNOME su Library Url: http://members.chello.nl/~h.lai/libgnomesu/ Group: System/GUI/GNOME @@ -50,6 +50,10 @@ Patch11: libgnomesu-drop-libgnomeui.patch # PATCH-FIX-UPSTREAM libgnomesu-bnc440970-safe-path.patch vuntz@novell.com -- When making $PATH safer, try to keep what's relevant from $PATH Patch12: libgnomesu-bnc440970-safe-path.patch +# PATCH-FIX-OPENSUSE libgnomesu-remove-prior-cookie.patch bnc477638 hpj@novell.com -- Remove old, potentially broken xauth cookies. +Patch13: libgnomesu-remove-prior-cookie.patch +# PATCH-FIX-UPSTREAM libgnomesu-i18n.patch bnc582085 sbrabec@suse.cz -- Fix translatability +Patch14: libgnomesu-i18n.patch BuildRequires: fdupes BuildRequires: gconf2-devel BuildRequires: gtk2-devel @@ -106,6 +110,8 @@ %patch10 -p0 %patch11 -p1 %patch12 -p1 +%patch13 -p1 +%patch14 -p1 cp -a %{S:1} pam-backend/gnomesu-pam # Upstream is dead, libgnomesu.po in LCN includes strings in our patches: translation-update-upstream ++++++ libgnomesu-i18n.patch ++++++ Index: libgnomesu-1.0.0/tools/Makefile.am =================================================================== --- libgnomesu-1.0.0.orig/tools/Makefile.am +++ libgnomesu-1.0.0/tools/Makefile.am @@ -1,7 +1,7 @@ bin_PROGRAMS = gnomesu INCLUDES =\ - -DGETTEXT_PACKAGE="\"gnomesu\""\ + -DGETTEXT_PACKAGE="\"$(GETTEXT_PACKAGE)\""\ -DLOCALEDIR="\"$(datadir)/locale\""\ -DGNOMESU_VERSION="\"$(VERSION)\""\ -DGNOMESU_PREFIX="\"$(prefix)\""\ ++++++ libgnomesu-remove-prior-cookie.patch ++++++ diff --git a/su-backend/common.c b/su-backend/common.c index 004119c..31124ca 100644 --- a/su-backend/common.c +++ b/su-backend/common.c @@ -188,6 +188,8 @@ void change_identity (const struct passwd *pw) { FILE *p; + const gchar *hostname; + gchar *command; #ifdef HAVE_INITGROUPS errno = 0; @@ -199,6 +201,9 @@ change_identity (const struct passwd *pw) if (setuid (pw->pw_uid)) perror ("cannot set user id"); + command = g_strdup_printf ("xauth -q remove %s/unix:0", g_get_host_name ()); + g_spawn_command_line_sync (command, NULL, NULL, NULL, NULL); + /* Create a new .Xauthorization file */ if (!xauth_data) return; p = popen ("xauth -q nmerge - 2>/dev/null", "w"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org