Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2020-10-03 18:51:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgnomesu" Sat Oct 3 18:51:53 2020 rev:62 rq:838193 version:2.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes 2020-05-02 22:14:16.428150967 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new.4249/libgnomesu.changes 2020-10-03 18:51:59.693238166 +0200 @@ -1,0 +2,8 @@ +Tue Sep 22 14:52:31 UTC 2020 - Stanislav Brabec <[email protected]> + +- Update to version 2.0.5: + * Gracefully exit on SIGTERM to avoid leaving behind xauth + temporary files due to skipped pam cleanup on shutdown + (bsc#1176514). + +------------------------------------------------------------------- Old: ---- libgnomesu-2.0.4.tar.xz New: ---- libgnomesu-2.0.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgnomesu.spec ++++++ --- /var/tmp/diff_new_pack.TxBd1C/_old 2020-10-03 18:52:00.253238539 +0200 +++ /var/tmp/diff_new_pack.TxBd1C/_new 2020-10-03 18:52:00.257238542 +0200 @@ -17,7 +17,7 @@ Name: libgnomesu -Version: 2.0.4 +Version: 2.0.5 Release: 0 Summary: GNOME su Library License: LGPL-2.1-or-later ++++++ libgnomesu-2.0.4.tar.xz -> libgnomesu-2.0.5.tar.xz ++++++ ++++ 4671 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/NEWS new/libgnomesu-2.0.5/NEWS --- old/libgnomesu-2.0.4/NEWS 2020-03-20 16:29:26.000000000 +0100 +++ new/libgnomesu-2.0.5/NEWS 2020-09-22 16:41:48.000000000 +0200 @@ -1,3 +1,7 @@ +Version 2.0.5: +- Gracefully exit on SIGTERM to avoid leaving behind xauth temporary + files due to skipped pam cleanup on shutdown. + Version 2.0.4: - Support kernel keyrings by including pam_keyinit.so into PAM configuration (Felix Zhang). - Updated translations. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/ar-lib new/libgnomesu-2.0.5/ar-lib --- old/libgnomesu-2.0.4/ar-lib 2020-03-21 04:46:16.000000000 +0100 +++ new/libgnomesu-2.0.5/ar-lib 2020-09-22 16:49:34.000000000 +0200 @@ -2,9 +2,9 @@ # Wrapper for Microsoft lib.exe me=ar-lib -scriptversion=2012-03-01.08; # UTC +scriptversion=2019-07-04.01; # UTC -# Copyright (C) 2010-2018 Free Software Foundation, Inc. +# Copyright (C) 2010-2020 Free Software Foundation, Inc. # Written by Peter Rosin <[email protected]>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -65,7 +65,7 @@ mingw) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin) + cygwin | msys) file=`cygpath -m "$file" || echo "$file"` ;; wine) @@ -224,10 +224,11 @@ esac done else - $AR -NOLOGO -LIST "$archive" | sed -e 's/\\/\\\\/g' | while read member - do - $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? - done + $AR -NOLOGO -LIST "$archive" | tr -d '\r' | sed -e 's/\\/\\\\/g' \ + | while read member + do + $AR -NOLOGO -EXTRACT:"$member" "$archive" || exit $? + done fi elif test -n "$quick$replace"; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/compile new/libgnomesu-2.0.5/compile --- old/libgnomesu-2.0.4/compile 2020-03-21 04:46:16.000000000 +0100 +++ new/libgnomesu-2.0.5/compile 2020-09-22 16:49:34.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Copyright (C) 1999-2020 Free Software Foundation, Inc. # Written by Tom Tromey <[email protected]>. # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@ MINGW*) file_conv=mingw ;; - CYGWIN*) + CYGWIN* | MSYS*) file_conv=cygwin ;; *) @@ -67,7 +67,7 @@ mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; - cygwin/*) + cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/configure.ac new/libgnomesu-2.0.5/configure.ac --- old/libgnomesu-2.0.4/configure.ac 2020-03-21 04:44:18.000000000 +0100 +++ new/libgnomesu-2.0.5/configure.ac 2020-09-22 16:41:48.000000000 +0200 @@ -1,5 +1,5 @@ AC_PREQ([2.53]) -AC_INIT([libgnomesu], [2.0.4]) +AC_INIT([libgnomesu], [2.0.5]) AM_INIT_AUTOMAKE([1.11 foreign dist-xz no-dist-gzip]) AC_CONFIG_MACRO_DIR([m4]) AM_SILENT_RULES([yes]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/missing new/libgnomesu-2.0.5/missing --- old/libgnomesu-2.0.4/missing 2020-03-21 04:46:16.000000000 +0100 +++ new/libgnomesu-2.0.5/missing 2020-09-22 16:49:34.000000000 +0200 @@ -3,7 +3,7 @@ scriptversion=2018-03-07.03; # UTC -# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# Copyright (C) 1996-2020 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/pam-backend/pam.c new/libgnomesu-2.0.5/pam-backend/pam.c --- old/libgnomesu-2.0.4/pam-backend/pam.c 2019-04-02 22:41:39.000000000 +0200 +++ new/libgnomesu-2.0.5/pam-backend/pam.c 2020-09-17 16:55:42.000000000 +0200 @@ -22,6 +22,7 @@ #else /* PAM_MOD_MISC */ #include <security/pam_misc.h> #endif /* PAM_MOD_MISC */ +#include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> @@ -60,6 +61,7 @@ static gboolean interacted = FALSE; static gboolean Abort = FALSE; const gchar *new_user; +static sig_atomic_t volatile caught_sigterm = 0; static int @@ -137,6 +139,12 @@ } } +static void +handle_sigterm(int signum) +{ + caught_sigterm = (signum == SIGTERM); +} + static struct passwd * init (int argc, char **argv) @@ -374,6 +382,15 @@ fclose (inf); fclose (outf); outf = NULL; + + if (!caught_sigterm) + { + struct sigaction action; + memset(&action, 0, sizeof(struct sigaction)); + action.sa_handler = handle_sigterm; + sigaction(SIGTERM, &action, NULL); + } + for (;;) { /* Exit if child dies */ if (waitpid (pid, &status, WNOHANG) != 0) @@ -386,6 +403,10 @@ if (getppid () == 1) break; + /* Exit on shutdown to clean up */ + if (caught_sigterm) + break; + sleep (1); } break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/po/nb.po new/libgnomesu-2.0.5/po/nb.po --- old/libgnomesu-2.0.4/po/nb.po 2019-04-02 22:41:39.000000000 +0200 +++ new/libgnomesu-2.0.5/po/nb.po 2020-09-18 19:52:36.000000000 +0200 @@ -8,13 +8,16 @@ "Project-Id-Version: libgnomesu 1.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-04-27 18:44+0200\n" -"PO-Revision-Date: 2005-01-15 21:49+0100\n" -"Last-Translator: Kjartan Maraas <[email protected]>\n" -"Language-Team: Norwegian bokmaal <[email protected]>\n" -"Language: \n" +"PO-Revision-Date: 2020-09-18 20:48+0000\n" +"Last-Translator: Alexander Johansen <[email protected]>\n" +"Language-Team: Norwegian Bokmål <https://l10n.opensuse.org/projects/" +"libgnomesu/master/nb/>\n" +"Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.6.1\n" #: ../src/gnomesu-auth-dialog.c:288 msgid "C_ontinue" @@ -22,7 +25,7 @@ #: ../src/gnomesu-auth-dialog.c:368 msgid "<small><b>_Details</b></small>" -msgstr "" +msgstr "<small><b>_Detaljer</b></small>" #: ../src/gnomesu-auth-dialog.c:400 msgid "Command:" @@ -74,24 +77,22 @@ msgstr "Du har ikke rettigheter til å autentisere deg." #: ../src/services/pam.c:237 -#, fuzzy msgid "Unable to access the authentication information." -msgstr "Kan ikke initiere autentiseringssystemet PAM." +msgstr "Har ikke tilgang til autentiseringsinformasjonen." #: ../src/services/pam.c:241 -#, fuzzy msgid "You reached the limit of tries to authenticate." -msgstr "Du har ikke rettigheter til å autentisere deg." +msgstr "Du har nådd grensen av forsøk til å autentisere." #: ../src/services/pam.c:245 #, c-format msgid "User account '%s' has expired." -msgstr "" +msgstr "Bruker konto '%s' har utgått." #: ../src/services/pam.c:250 #, c-format msgid "The password of '%s' has expired. Please update the password." -msgstr "" +msgstr "Passordet til '%s' har utløpt. Vennligst oppdater passordet." #: ../src/services/pam.c:255 msgid "Unable to initialize the PAM authentication system." @@ -136,9 +137,9 @@ msgstr "BRUKERNAVN" #: ../tools/gnomesu.c:75 -#, fuzzy, c-format +#, c-format msgid "An unknown error occurred.\n" -msgstr "En ukjent feil oppsto under autentisering." +msgstr "En ukjent feil oppsto.\n" #: ../tools/gnomesu.c:80 msgid "GNOME SuperUser" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libgnomesu-2.0.4/po/tr.po new/libgnomesu-2.0.5/po/tr.po --- old/libgnomesu-2.0.4/po/tr.po 2019-04-02 22:41:39.000000000 +0200 +++ new/libgnomesu-2.0.5/po/tr.po 2020-09-12 16:37:01.000000000 +0200 @@ -8,14 +8,16 @@ "Project-Id-Version: libgnomesu\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-04-27 18:44+0200\n" -"PO-Revision-Date: 2005-02-10 21:27+0200\n" -"Last-Translator: Metin Tınay <[email protected]>\n" -"Language-Team: Turkish <[email protected]>\n" +"PO-Revision-Date: 2020-09-12 16:47+0000\n" +"Last-Translator: Muhammet Kara <[email protected]>\n" +"Language-Team: Turkish <https://l10n.opensuse.org/projects/libgnomesu/master/" +"tr/>\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.6.1\n" "X-Poedit-Language: Turkish\n" "X-Poedit-Country: TURKEY\n" @@ -25,7 +27,7 @@ #: ../src/gnomesu-auth-dialog.c:368 msgid "<small><b>_Details</b></small>" -msgstr "" +msgstr "<small><b>_Ayrıntılar</b></small>" #: ../src/gnomesu-auth-dialog.c:400 msgid "Command:" @@ -77,24 +79,24 @@ msgstr "Kimlik denetimi için yetkiniz yok." #: ../src/services/pam.c:237 -#, fuzzy msgid "Unable to access the authentication information." -msgstr "PAM kimlik denetleme sistemi başlangıç konumuna getirilemedi." +msgstr "Kimlik doğrulama bilgilerine erişilemiyor." #: ../src/services/pam.c:241 -#, fuzzy msgid "You reached the limit of tries to authenticate." -msgstr "Kimlik denetimi için yetkiniz yok." +msgstr "Kimlik doğrulama için deneme hakkınız bitti." #: ../src/services/pam.c:245 #, c-format msgid "User account '%s' has expired." -msgstr "" +msgstr "'%s' adlı kullanıcı hesabının son kullanma tarihi geçmiş." #: ../src/services/pam.c:250 #, c-format msgid "The password of '%s' has expired. Please update the password." msgstr "" +"'%s' adlı kullanıcının parolasının son kullanma tarihi geçmiş. Lütfen " +"parolayı güncelleyiniz." #: ../src/services/pam.c:255 msgid "Unable to initialize the PAM authentication system." @@ -139,9 +141,9 @@ msgstr "KULLANICI ADI" #: ../tools/gnomesu.c:75 -#, fuzzy, c-format +#, c-format msgid "An unknown error occurred.\n" -msgstr "Kimlik denetimi sırasında bilinmeyen bir hata oluştu." +msgstr "Bilinmeyen bir hata oluştu.\n" #: ../tools/gnomesu.c:80 msgid "GNOME SuperUser"
