commit libgnomesu for openSUSE:Factory
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.changes2020-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 + +- 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.0 +0100 +++ new/libgnomesu-2.0.5/NEWS 2020-09-22 16:41:48.0 +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.0 +0100 +++ new/libgnomesu-2.0.5/ar-lib 2020-09-22 16:49:34.0 +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 . # # 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/compile2020-03-21 04:46:16.0 +0100 +++ new/libgnomesu-2.0.5/compile2020-09-22 16:49:34.0 +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 . # # This program is free software; you can redistribute it and/or modify @@ -53,7 +53,7 @@
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2020-05-02 22:14:15 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new.2738 (New) Package is "libgnomesu" Sat May 2 22:14:15 2020 rev:61 rq:799477 version:2.0.4 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2020-03-30 22:51:17.927769601 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new.2738/libgnomesu.changes 2020-05-02 22:14:16.428150967 +0200 @@ -1,0 +2,5 @@ +Thu Apr 30 11:15:36 UTC 2020 - Dominique Leuenberger + +- Use %{_libexecdir} where appropriate (instead of %{_prefix}/lib). + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.16ons0/_old 2020-05-02 22:14:17.388152977 +0200 +++ /var/tmp/diff_new_pack.16ons0/_new 2020-05-02 22:14:17.388152977 +0200 @@ -85,7 +85,7 @@ mkdir -p %{buildroot}%{_docdir}/%{name} cp doc/api.html doc/libgnomesu.css %{buildroot}%{_docdir}/%{name} # We want only PAM backend. -rm -f %{buildroot}%{_prefix}/lib/%{name}/gnomesu-backend +rm -f %{buildroot}%{_libexecdir}/%{name}/gnomesu-backend %fdupes %{buildroot} %post @@ -100,7 +100,7 @@ %files %license COPYING %{_bindir}/gnomesu -%dir %{_prefix}/lib/%{name} +%dir %{_libexecdir}/%{name} #%%attr (6755,root,root) %%{_prefix}/lib/%%{name}/gnomesu-backend #%%attr (6755,root,root) %%{_prefix}/lib/%%{name}/gnomesu-pam-backend # NOTE: Original package has 6755.
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2020-03-30 22:51:11 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new.3160 (New) Package is "libgnomesu" Mon Mar 30 22:51:11 2020 rev:60 rq:789272 version:2.0.4 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2020-01-28 10:51:49.964796395 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new.3160/libgnomesu.changes 2020-03-30 22:51:17.927769601 +0200 @@ -1,0 +2,6 @@ +Sat Mar 21 05:01:08 CET 2020 - sbra...@suse.com + +- Update to version 2.0.4: + * Updated translations. + +--- Old: libgnomesu-2.0.3.tar.xz New: libgnomesu-2.0.4.tar.xz Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.hzoGcj/_old 2020-03-30 22:51:18.475769900 +0200 +++ /var/tmp/diff_new_pack.hzoGcj/_new 2020-03-30 22:51:18.475769900 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libgnomesu -Version:2.0.3 +Version:2.0.4 Release:0 Summary:GNOME su Library License:LGPL-2.1-or-later ++ libgnomesu-2.0.3.tar.xz -> libgnomesu-2.0.4.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgnomesu-2.0.3/NEWS new/libgnomesu-2.0.4/NEWS --- old/libgnomesu-2.0.3/NEWS 2019-04-02 22:46:02.0 +0200 +++ new/libgnomesu-2.0.4/NEWS 2020-03-20 16:29:26.0 +0100 @@ -1,3 +1,7 @@ +Version 2.0.4: +- Support kernel keyrings by including pam_keyinit.so into PAM configuration (Felix Zhang). +- Updated translations. + Version 2.0.3: - Make gnomesu honor /etc/default/su settings for PATH. - Updated translations. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libgnomesu-2.0.3/aclocal.m4 new/libgnomesu-2.0.4/aclocal.m4 --- old/libgnomesu-2.0.3/aclocal.m4 2019-04-02 22:50:04.0 +0200 +++ new/libgnomesu-2.0.4/aclocal.m4 2020-03-21 04:46:15.0 +0100 @@ -508,7 +508,7 @@ # nls.m4 serial 5 (gettext-0.18) -dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016 Free Software +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014, 2016, 2019 Free Software dnl Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -541,7 +541,7 @@ ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# serial 12 (pkg-config-0.29.2) +# serial 11 (pkg-config-0.29.1) dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson @@ -583,7 +583,7 @@ dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], -[m4_define([PKG_MACROS_VERSION], [0.29.2]) +[m4_define([PKG_MACROS_VERSION], [0.29.1]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ @@ -684,7 +684,7 @@ AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no -AC_MSG_CHECKING([for $2]) +AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) @@ -694,11 +694,11 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then -AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` -else +else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs @@ -715,7 +715,7 @@ _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then -AC_MSG_RESULT([no]) + AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full @@ -816,6 +816,74 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR +dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES, +dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND], +dnl
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2020-01-28 10:51:48 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new.26092 (New) Package is "libgnomesu" Tue Jan 28 10:51:48 2020 rev:59 rq:767455 version:2.0.3 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2019-08-15 12:24:22.474621545 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new.26092/libgnomesu.changes 2020-01-28 10:51:49.964796395 +0100 @@ -1,0 +2,5 @@ +Sat Jan 25 14:16:44 UTC 2020 - Dominique Leuenberger + +- No longer recommend -lang: supplements are in use + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.Z4a8sM/_old 2020-01-28 10:51:50.584797121 +0100 +++ /var/tmp/diff_new_pack.Z4a8sM/_new 2020-01-28 10:51:50.584797121 +0100 @@ -35,7 +35,6 @@ Requires: gsettings-desktop-schemas Requires: pam Requires(pre): permissions -Recommends: %{name}-lang = %{version} # Ensure that gnomesu always gets installed Supplements:packageand(xdg-utils:gnome-session)
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2019-08-15 12:24:21 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new.9556 (New) Package is "libgnomesu" Thu Aug 15 12:24:21 2019 rev:58 rq:720991 version:2.0.3 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2019-04-10 23:09:26.643854515 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new.9556/libgnomesu.changes 2019-08-15 12:24:22.474621545 +0200 @@ -1,0 +2,6 @@ +Mon Aug 5 03:42:13 UTC 2019 - Felix Zhang + +- Update gnomesu-pam.pamd: Include the pam_keyinit.so module in + /etc/pam.d/gnomesu-pam to support kernel keyrings (boo#1144048). + +--- Other differences: -- ++ gnomesu-pam.pamd ++ --- /var/tmp/diff_new_pack.St45cj/_old 2019-08-15 12:24:22.990621417 +0200 +++ /var/tmp/diff_new_pack.St45cj/_new 2019-08-15 12:24:22.990621417 +0200 @@ -5,4 +5,5 @@ account includecommon-account password includecommon-password session includecommon-session +session optional pam_keyinit.so force revoke session optional pam_xauth.so
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2019-04-10 23:09:25 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new.27019 (New) Package is "libgnomesu" Wed Apr 10 23:09:25 2019 rev:57 rq:692042 version:2.0.3 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2018-03-08 10:48:36.424544614 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new.27019/libgnomesu.changes 2019-04-10 23:09:26.643854515 +0200 @@ -1,0 +2,9 @@ +Tue Apr 2 23:05:23 CEST 2019 - sbra...@suse.com + +- Update to version 2.0.3: + * Make gnomesu honor /etc/default/su settings for PATH +(boo#1131339). + * Updated translations. +- Sync PAM configuration with su. + +--- Old: libgnomesu-2.0.2.tar.xz New: libgnomesu-2.0.3.tar.xz Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.4e1oPJ/_old 2019-04-10 23:09:27.147855088 +0200 +++ /var/tmp/diff_new_pack.4e1oPJ/_new 2019-04-10 23:09:27.147855088 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: libgnomesu -Version:2.0.2 +Version:2.0.3 Release:0 Summary:GNOME su Library License:LGPL-2.1-or-later ++ gnomesu-pam.pamd ++ --- /var/tmp/diff_new_pack.4e1oPJ/_old 2019-04-10 23:09:27.171855115 +0200 +++ /var/tmp/diff_new_pack.4e1oPJ/_new 2019-04-10 23:09:27.171855115 +0200 @@ -1,6 +1,7 @@ #%PAM-1.0 auth sufficient pam_rootok.so auth includecommon-auth +account sufficient pam_rootok.so account includecommon-account password includecommon-password session includecommon-session ++ libgnomesu-2.0.2.tar.xz -> libgnomesu-2.0.3.tar.xz ++ 6119 lines of diff (skipped)
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2018-03-08 10:48:34 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is "libgnomesu" Thu Mar 8 10:48:34 2018 rev:56 rq:582840 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2017-07-08 12:27:34.656188257 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2018-03-08 10:48:36.424544614 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:34:57 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.fqs1Ul/_old 2018-03-08 10:48:37.124519413 +0100 +++ /var/tmp/diff_new_pack.fqs1Ul/_new 2018-03-08 10:48:37.128519269 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,9 +20,9 @@ Version:2.0.2 Release:0 Summary:GNOME su Library -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: System/GUI/GNOME -Url:https://github.com/openSUSE/libgnomesu +URL:https://github.com/openSUSE/libgnomesu Source: https://github.com/openSUSE/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1:gnomesu-pam.pamd # Patch: Avoid patches if possible! Update openSUSE upstream instead. @@ -38,7 +38,6 @@ Recommends: %{name}-lang = %{version} # Ensure that gnomesu always gets installed Supplements:packageand(xdg-utils:gnome-session) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libgnomesu is a library for providing superuser privileges to GNOME @@ -100,7 +99,7 @@ %postun -n libgnomesu0 -p /sbin/ldconfig %files -%doc COPYING +%license COPYING %{_bindir}/gnomesu %dir %{_prefix}/lib/%{name} #%%attr (6755,root,root) %%{_prefix}/lib/%%{name}/gnomesu-backend
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2017-07-08 12:27:33 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is "libgnomesu" Sat Jul 8 12:27:33 2017 rev:55 rq:508500 version:2.0.2 Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2016-09-05 21:14:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2017-07-08 12:27:34.656188257 +0200 @@ -1,0 +2,13 @@ +Fri Jun 30 09:05:29 UTC 2017 - tchva...@suse.com + +- Version update to 2.0.2: + * Automate the package building in travis on github + * Fix the version stored in configure.ac + +--- +Thu Jun 22 19:52:14 UTC 2017 - mplus...@suse.com + +- Update to version 2.0.1: + * Update translations + +--- Old: libgnomesu-2.0.0.tar.bz2 New: libgnomesu-2.0.2.tar.xz Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.RSXgpM/_old 2017-07-08 12:27:35.204110969 +0200 +++ /var/tmp/diff_new_pack.RSXgpM/_new 2017-07-08 12:27:35.208110405 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: libgnomesu -Version:2.0.0 +Version:2.0.2 Release:0 Summary:GNOME su Library License:LGPL-2.1+ Group: System/GUI/GNOME Url:https://github.com/openSUSE/libgnomesu -Source: %{name}-%{version}.tar.bz2 +Source: https://github.com/openSUSE/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1:gnomesu-pam.pamd # Patch: Avoid patches if possible! Update openSUSE upstream instead. BuildRequires: fdupes @@ -32,9 +32,9 @@ BuildRequires: libtool BuildRequires: pam-devel BuildRequires: translation-update-upstream -PreReq: permissions Requires: gsettings-desktop-schemas Requires: pam +Requires(pre): permissions Recommends: %{name}-lang = %{version} # Ensure that gnomesu always gets installed Supplements:packageand(xdg-utils:gnome-session) @@ -62,34 +62,34 @@ This package contains all files needed to develop with libgnomesu. %lang_package + %prep %setup -q -cp -a %{S:1} pam-backend/gnomesu-pam +cp -a %{SOURCE1} pam-backend/gnomesu-pam # Upstream is dead, libgnomesu.po in LCN includes strings in our patches: translation-update-upstream %build export SUID_CFLAGS="-fPIE" export SUID_LDFLAGS="-pie" -%configure\ - --libexecdir=%{_libexecdir}/%{name}\ +%configure \ + --docdir=%{_docdir}/%{name} \ + --disable-silent-rules \ + --libexecdir=%{_libexecdir}/%{name} \ --disable-setuid-error -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_prefix}/lib/%{name} -%makeinstall -%{__rm} %{buildroot}%{_libdir}/*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %find_lang libgnomesu-1.0 mkdir -p %{buildroot}%{_docdir}/%{name} -cp AUTHORS README NEWS ChangeLog doc/api.html doc/libgnomesu.css %{buildroot}%{_docdir}/%{name} +cp doc/api.html doc/libgnomesu.css %{buildroot}%{_docdir}/%{name} # We want only PAM backend. rm -f %{buildroot}%{_prefix}/lib/%{name}/gnomesu-backend %fdupes %{buildroot} -%clean -rm -rf %{buildroot} - %post %set_permissions %{_libexecdir}/%{name}/gnomesu-pam-backend @@ -97,16 +97,10 @@ %verify_permissions -e %{_libexecdir}/%{name}/gnomesu-pam-backend %post -n libgnomesu0 -p /sbin/ldconfig - %postun -n libgnomesu0 -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc %dir %{_defaultdocdir}/%{name} -%doc %{_defaultdocdir}/%{name}/AUTHORS -%doc %{_defaultdocdir}/%{name}/README -%doc %{_defaultdocdir}/%{name}/NEWS -%doc %{_defaultdocdir}/%{name}/ChangeLog +%doc COPYING %{_bindir}/gnomesu %dir %{_prefix}/lib/%{name} #%%attr (6755,root,root) %%{_prefix}/lib/%%{name}/gnomesu-backend @@ -117,13 +111,12 @@ %config %{_sysconfdir}/pam.d/gnomesu-pam %files -n libgnomesu0 -%defattr (-, root, root) %{_libdir}/libgnomesu.so.* %files lang -f libgnomesu-1.0.lang %files devel -%defattr(-,root,root) +%dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/api.html %doc %{_docdir}/%{name}/libgnomesu.css %{_includedir}/libgnomesu-1.0
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2016-09-05 21:14:00 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is "libgnomesu" Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2015-09-17 09:17:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2016-09-05 21:14:02.0 +0200 @@ -1,0 +2,13 @@ +Fri Apr 15 01:56:00 UTC 2016 - mgo...@suse.com + +- Update to GNOME 3.20 Fate#318572 +- Drop libgnomesu-exit-with-parent.patch: now included in tarball. + +--- +Thu Sep 10 18:34:33 CEST 2015 - sbra...@suse.com + +- Include lost SLE11 fix from h...@novell.com: + * Add libgnomesu-exit-with-parent.patch, to make child process +exit if parent does. Part of bnc#578284. + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.RmLUQ8/_old 2016-09-05 21:14:03.0 +0200 +++ /var/tmp/diff_new_pack.RmLUQ8/_new 2016-09-05 21:14:03.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2015-09-17 09:17:43 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is "libgnomesu" Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2015-02-06 22:37:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2015-09-17 09:17:44.0 +0200 @@ -1,0 +2,26 @@ +Thu Sep 10 17:02:27 CEST 2015 - sbra...@suse.com + +- Update to version 2.0.0 maintained by openSUSE: + * Obsolete all SUSE patches +(libgnomesu-better-pam-handling.patch, +libgnomesu-bnc440970-safe-path.patch +libgnomesu-drop-libgnomeui.patch, libgnomesu-gtk3.patch +libgnomesu-check-setuid-retval.patch, +libgnomesu-ia64-crash.patch, libgnomesu-i18n.patch, +libgnomesu-libtool.patch, libgnomesu-makefile.patch, +libgnomesu-modernize.patch, libgnomesu-no-gconf.patch, +libgnomesu-no-manual-memory-cleaning.patch, +libgnomesu-remove-prior-cookie.patch, +libgnomesu-reorder-pam-init.patch, +libgnomesu-set-xdg_runtime_dir.patch, +libgnomesu-startup-notification.patch +libgnomesu-suid_flags.patch, libgnomesu-unsetenv.patch, +libgnomesu-use-pam_xauth.patch, +libgnomesu-1.0.0-spin-mainloop.patch, +libgnomesu-1.0.0-xauth-nolookup.patch, libgnomesu-64bit.patch) + * Include lost SLE11 fix from h...@novell.com: +Add patch to make child process exit if parent does. Part of +bnc#578284. + * Translation updates. + +--- Old: libgnomesu-1.0.0-spin-mainloop.patch libgnomesu-1.0.0-xauth-nolookup.patch libgnomesu-1.0.0.tar.bz2 libgnomesu-64bit.patch libgnomesu-better-pam-handling.patch libgnomesu-bnc440970-safe-path.patch libgnomesu-check-setuid-retval.patch libgnomesu-drop-libgnomeui.patch libgnomesu-gtk3.patch libgnomesu-i18n.patch libgnomesu-ia64-crash.patch libgnomesu-libtool.patch libgnomesu-makefile.patch libgnomesu-modernize.patch libgnomesu-no-gconf.patch libgnomesu-no-manual-memory-cleaning.patch libgnomesu-remove-prior-cookie.patch libgnomesu-reorder-pam-init.patch libgnomesu-set-xdg_runtime_dir.patch libgnomesu-startup-notification.patch libgnomesu-suid_flags.patch libgnomesu-unsetenv.patch libgnomesu-use-pam_xauth.patch New: libgnomesu-2.0.0.tar.bz2 Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.a2daqe/_old 2015-09-17 09:17:45.0 +0200 +++ /var/tmp/diff_new_pack.a2daqe/_new 2015-09-17 09:17:45.0 +0200 @@ -17,58 +17,15 @@ Name: libgnomesu -Version:1.0.0 +Version:2.0.0 Release:0 Summary:GNOME su Library License:LGPL-2.1+ Group: System/GUI/GNOME -Url:http://members.chello.nl/~h.lai/libgnomesu/ +Url:https://github.com/openSUSE/libgnomesu Source: %{name}-%{version}.tar.bz2 Source1:gnomesu-pam.pamd -# PATCH-FIX-UPSTREAM libgnomesu-libtool.patch -- Simple build fix -Patch0: libgnomesu-libtool.patch -# PATCH-FIX-UPSTREAM libgnomesu-1.0.0-xauth-nolookup.patch bnc119600 -- Change xauth calls to not cause dns lookups, to avoid hangs -Patch1: libgnomesu-1.0.0-xauth-nolookup.patch -# PATCH-FIX-UPSTREAM libgnomesu-1.0.0-spin-mainloop.patch bnc156445 -- Use a main loop so we can handle other events while waiting for the child. Like session exiting... -Patch2: libgnomesu-1.0.0-spin-mainloop.patch -# PATCH-FIX-UPSTREAM libgnomesu-makefile.patch -- Fix some simple Makefile command bugs -Patch4: libgnomesu-makefile.patch -# PATCH-FIX-UPSTREAM libgnomesu-64bit.patch -- Fix pkg-config file on 64bits machines -Patch5: libgnomesu-64bit.patch -# PATCH-FIX-OPENSUSE libgnomesu-unsetenv.patch bnc428963 vu...@novell.com -- Unset DBUS_SESSION_BUS_ADDRESS environment variable. -Patch6: libgnomesu-unsetenv.patch -# PATCH-FEATURE-UPSTREAM libgnomesu-modernize.patch bnc462073 abocko...@novell.com -- Make gnomesu look and act more like PolicyKit-gnome (HIG compliant, use the icon theme, etc.) -Patch7: libgnomesu-modernize.patch -# PATCH-FIX-UPSTREAM libgnomesu-startup-notification.patch bnc458651 vu...@novell.com -- Forward startup notification information when there's no authentication dialog -Patch8: libgnomesu-startup-notification.patch -# PATCH-FIX-UPSTREAM libgnomesu-better-pam-handling.patch bnc430883 vu...@novell.com -- Handle PAM errors during authentication in a more extensive way, to give better feedback -Patch9: libgnomesu-better-pam-handling.patch -# PATCH-FIX-UPSTREAM
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2015-02-06 22:37:27 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2013-09-23 15:24:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2015-02-06 22:37:29.0 +0100 @@ -1,0 +2,11 @@ +Fri Feb 6 10:43:53 UTC 2015 - dims...@opensuse.org + +- Add libgnomesu-set-xdg_runtime_dir.patch: explicitly set + XDG_RUNTIME_DIR for the new user (boo#908167). + +--- +Thu Feb 5 07:10:43 UTC 2015 - co...@suse.com + +- Use rm -f to avoid rm asking back with strict umasks. + +--- New: libgnomesu-set-xdg_runtime_dir.patch Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.gbbN4a/_old 2015-02-06 22:37:30.0 +0100 +++ /var/tmp/diff_new_pack.gbbN4a/_new 2015-02-06 22:37:30.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -67,6 +67,8 @@ Patch20:libgnomesu-gtk3.patch # PATCH-FIX-UPSTREAM libgnomesu-suid_flags.patch bnc#743139 vu...@opensuse.org -- Respect SUID_CFLAGS/SUID_LDFLAGS Patch21:libgnomesu-suid_flags.patch +# PATCH-FIX-OPENSUSE libgnomesu-set-xdg_runtime_dir.patch boo#908167 dims...@opensuse.org -- Properly rest XDG_RUNTIME_DIR to the new user +Patch22:libgnomesu-set-xdg_runtime_dir.patch BuildRequires: fdupes BuildRequires: gtk3-devel BuildRequires: intltool @@ -131,6 +133,7 @@ %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 cp -a %{S:1} pam-backend/gnomesu-pam # Upstream is dead, libgnomesu.po in LCN includes strings in our patches: translation-update-upstream @@ -156,10 +159,10 @@ mkdir -p %{buildroot}%{_docdir}/%{name} cp AUTHORS README NEWS ChangeLog doc/api.html doc/libgnomesu.css %{buildroot}%{_docdir}/%{name} # We want only PAM backend. -rm %{buildroot}%{_prefix}/lib/%{name}/gnomesu-backend +rm -f %{buildroot}%{_prefix}/lib/%{name}/gnomesu-backend # No support for old GNOME # FIXME: Transform it to .desktop file -rm %{buildroot}%{_datadir}/application-registry/*.applications %{buildroot}%{_datadir}/mime-info/*.* +rm -f %{buildroot}%{_datadir}/application-registry/*.applications %{buildroot}%{_datadir}/mime-info/*.* %fdupes %{buildroot} %clean ++ libgnomesu-set-xdg_runtime_dir.patch ++ Index: libgnomesu-1.0.0/su-backend/common.c === --- libgnomesu-1.0.0.orig/su-backend/common.c +++ libgnomesu-1.0.0/su-backend/common.c @@ -177,6 +177,9 @@ modify_environment (const struct passwd xputenv (concat (USER, =, pw-pw_name)); xputenv (concat (LOGNAME, =, pw-pw_name)); + /* set XDG_RUNTIME_DIR for the new user */ + xputenv (g_strdup_printf(XDG_RUNTIME_DIR=/run/user/%d, pw-pw_uid)); + /* Sanity-check PATH. It shouldn't contain . entries! */ path = g_getenv (PATH); if (path (strstr (path, :.:) || strncmp (path, .:, 2) == 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2013-09-23 15:24:45 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2013-04-03 13:01:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2013-09-23 15:24:46.0 +0200 @@ -1,0 +2,5 @@ +Sat Sep 21 14:51:40 UTC 2013 - dims...@opensuse.org + +- Change RPM Group of shared library package to System/Libraries. + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.1GXoVj/_old 2013-09-23 15:24:47.0 +0200 +++ /var/tmp/diff_new_pack.1GXoVj/_new 2013-09-23 15:24:47.0 +0200 @@ -92,7 +92,7 @@ %package -n libgnomesu0 Summary:GNOME su Library -Group: System/GUI/GNOME +Group: System/Libraries Requires: %{name} = %{version} %description -n libgnomesu0 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2013-04-03 13:01:21 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2012-10-03 15:09:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2013-04-03 13:01:24.0 +0200 @@ -1,0 +2,6 @@ +Thu Mar 7 23:32:34 UTC 2013 - dims...@opensuse.org + +- Enhance libgnomesu-gtk3.patch: add #undef GTK_DISABLE_DEPRECATED + in order to allow usage of deprecated symbols (e.g. GTK_TABLE). + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.qNlGOm/_old 2013-04-03 13:01:27.0 +0200 +++ /var/tmp/diff_new_pack.qNlGOm/_new 2013-04-03 13:01:27.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ libgnomesu-gtk3.patch ++ --- /var/tmp/diff_new_pack.qNlGOm/_old 2013-04-03 13:01:27.0 +0200 +++ /var/tmp/diff_new_pack.qNlGOm/_new 2013-04-03 13:01:27.0 +0200 @@ -15,7 +15,15 @@ === --- libgnomesu-1.0.0.orig/src/gnomesu-auth-dialog.c +++ libgnomesu-1.0.0/src/gnomesu-auth-dialog.c -@@ -190,7 +190,7 @@ create_stock_button (const gchar *stock, +@@ -22,6 +22,7 @@ + #ifndef _GNOMESU_AUTH_DIALOG_C_ + #define _GNOMESU_AUTH_DIALOG_C_ + ++#undef GTK_DISABLE_DEPRECATED + #include string.h + #include libintl.h + +@@ -190,7 +191,7 @@ create_stock_button (const gchar *stock, align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0); gtk_container_add (GTK_CONTAINER (button), align); @@ -24,7 +32,7 @@ gtk_container_add (GTK_CONTAINER (align), hbox); image = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_BUTTON); gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0); -@@ -273,6 +273,11 @@ gnomesu_auth_dialog_init (GnomesuAuthDia +@@ -273,6 +274,11 @@ gnomesu_auth_dialog_init (GnomesuAuthDia GtkWidget *left_action_area; GtkWidget *default_button; GtkWidget *image; @@ -36,7 +44,7 @@ priv = auth_dialog-_priv = g_new0 (GnomesuAuthDialogPrivate, 1); -@@ -287,25 +292,24 @@ gnomesu_auth_dialog_init (GnomesuAuthDia +@@ -287,25 +293,24 @@ gnomesu_auth_dialog_init (GnomesuAuthDia gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK); gtk_window_set_default (GTK_WINDOW (dialog), default_button); @@ -70,7 +78,7 @@ gtk_container_set_border_width (GTK_CONTAINER (left_action_area), 6); /* gtk_button_box_set_spacing (GTK_BUTTON_BOX (left_action_area), 12); */ gtk_box_set_spacing (GTK_BOX (left_action_area), 12); -@@ -313,19 +317,19 @@ gnomesu_auth_dialog_init (GnomesuAuthDia +@@ -313,19 +318,19 @@ gnomesu_auth_dialog_init (GnomesuAuthDia priv-left_action_area = left_action_area; gtk_box_pack_start (GTK_BOX (hbox), left_action_area, FALSE, FALSE, 0); @@ -95,7 +103,7 @@ gtk_box_pack_start (GTK_BOX (hbox), main_vbox, TRUE, TRUE, 0); /* main message */ -@@ -344,7 +348,7 @@ gnomesu_auth_dialog_init (GnomesuAuthDia +@@ -344,7 +349,7 @@ gnomesu_auth_dialog_init (GnomesuAuthDia FALSE, FALSE, 0); /* password entry */ @@ -104,7 +112,7 @@ gtk_box_pack_start (GTK_BOX (main_vbox), vbox, FALSE, FALSE, 0); GtkWidget *table_alignment; -@@ -362,10 +366,10 @@ gnomesu_auth_dialog_init (GnomesuAuthDia +@@ -362,10 +367,10 @@ gnomesu_auth_dialog_init (GnomesuAuthDia priv-details_expander = gtk_expander_new_with_mnemonic (_(smallb_Details/b/small)); gtk_expander_set_use_markup (GTK_EXPANDER (priv-details_expander), TRUE); @@ -117,7 +125,7 @@ gtk_container_add (GTK_CONTAINER (priv-details_expander), details_vbox); table_alignment = gtk_alignment_new (0.0, 0.0, 1.0, 1.0); -@@ -396,7 +400,7 @@ gnomesu_auth_dialog_init (GnomesuAuthDia +@@ -396,7 +401,7 @@ gnomesu_auth_dialog_init (GnomesuAuthDia priv-command_desc_label = add_row (table, 0, msg, FALSE, scroll); g_free (msg); @@ -126,7 +134,7 @@ gtk_widget_grab_default (default_button); /* Configure */ -@@ -548,7 +552,7 @@
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2012-10-03 15:09:43 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2012-02-28 19:24:24.0 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2012-10-03 15:09:47.0 +0200 @@ -1,0 +2,7 @@ +Thu Sep 6 12:27:29 UTC 2012 - tittiatc...@gmail.com + +- Add a Supplements for gnome-session and xdg-utils, to ensure that + gnomesu is automatically installed when the user installs GNOME. + Until now, we were relying on the patterns. + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.divbVZ/_old 2012-10-03 15:09:49.0 +0200 +++ /var/tmp/diff_new_pack.divbVZ/_new 2012-10-03 15:09:49.0 +0200 @@ -82,6 +82,8 @@ # obsolete in 9.3 Provides: xsu Obsoletes: xsu +# Ensure that gnomesu always gets installed +Supplements:packageand(xdg-utils:gnome-session) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2012-02-28 19:24:17 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2011-12-05 12:44:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2012-02-28 19:24:24.0 +0100 @@ -1,0 +2,8 @@ +Fri Feb 24 10:15:30 UTC 2012 - vu...@opensuse.org + +- Add libgnomesu-suid_flags.patch: respect SUID_CFLAGS/SUID_LDFLAGS + when building the suid binary gnomesu-pam-backend. +- Set SUID_CFLAGS to -fPIE and SUID_LDFLAGS to -pie in %build. This + fixes bnc#743139. + +--- New: libgnomesu-suid_flags.patch Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.H3ii7H/_old 2012-02-28 19:24:27.0 +0100 +++ /var/tmp/diff_new_pack.H3ii7H/_new 2012-02-28 19:24:27.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgnomesu # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,13 @@ # - Name: libgnomesu Version:1.0.0 -Release:337 -License:LGPL-2.1+ +Release:0 Summary:GNOME su Library -Url:http://members.chello.nl/~h.lai/libgnomesu/ +License:LGPL-2.1+ Group: System/GUI/GNOME +Url:http://members.chello.nl/~h.lai/libgnomesu/ Source: %{name}-%{version}.tar.bz2 Source1:gnomesu-pam.pamd # PATCH-FIX-UPSTREAM libgnomesu-libtool.patch -- Simple build fix @@ -66,11 +65,13 @@ Patch19:libgnomesu-no-gconf.patch # PATCH-FIX-UPSTREAM libgnomesu-gtk3.patch vu...@opensuse.org -- Port to GTK+ 3 Patch20:libgnomesu-gtk3.patch +# PATCH-FIX-UPSTREAM libgnomesu-suid_flags.patch bnc#743139 vu...@opensuse.org -- Respect SUID_CFLAGS/SUID_LDFLAGS +Patch21:libgnomesu-suid_flags.patch BuildRequires: fdupes BuildRequires: gtk3-devel BuildRequires: intltool -BuildRequires: pam-devel BuildRequires: libtool +BuildRequires: pam-devel BuildRequires: translation-update-upstream PreReq: permissions # Needed for patch19 @@ -88,7 +89,6 @@ applications. It supports sudo, consolehelper, PAM, and su. %package -n libgnomesu0 -License:LGPL-2.1+ Summary:GNOME su Library Group: System/GUI/GNOME Requires: %{name} = %{version} @@ -98,7 +98,6 @@ applications. It supports sudo, consolehelper, PAM, and su. %package devel -License:LGPL-2.1+ Summary:Development files for libgnomesu Group: Development/Libraries/GNOME Requires: %{name} = %{version} @@ -129,6 +128,7 @@ %patch18 -p1 %patch19 -p1 %patch20 -p1 +%patch21 -p1 cp -a %{S:1} pam-backend/gnomesu-pam # Upstream is dead, libgnomesu.po in LCN includes strings in our patches: translation-update-upstream @@ -136,6 +136,8 @@ %build autoreconf -f -i intltoolize -f +export SUID_CFLAGS=-fPIE +export SUID_LDFLAGS=-pie %configure\ --libexecdir=%{_libexecdir}/%{name}\ --disable-schemas-install\ ++ libgnomesu-suid_flags.patch ++ Index: libgnomesu-1.0.0/pam-backend/Makefile.am === --- libgnomesu-1.0.0.orig/pam-backend/Makefile.am +++ libgnomesu-1.0.0/pam-backend/Makefile.am @@ -5,7 +5,13 @@ libexec_PROGRAMS = gnomesu-pam-backend INCLUDES = $(GNOMESU_PAM_BACKEND_CFLAGS) -I$(top_srcdir)/su-backend gnomesu_pam_backend_SOURCES = pam.c +gnomesu_pam_backend_CFLAGS = \ + $(INCLUDES) \ + $(SUID_CFLAGS) \ + $(AM_CFLAGS) gnomesu_pam_backend_LDFLAGS = \ + $(SUID_LDFLAGS) \ + $(AM_LDFLAGS) \ $(GNOMESU_PAM_BACKEND_LIBS)\ $(top_builddir)/su-backend/libcommon.la \ -lpam Index: libgnomesu-1.0.0/configure.in === --- libgnomesu-1.0.0.orig/configure.in +++ libgnomesu-1.0.0/configure.in @@ -247,6 +247,11 @@ else fi AC_SUBST(PAMDIR) +AC_ARG_VAR([SUID_CFLAGS], + [CFLAGS used for binaries which are usually with the suid bit]) +AC_ARG_VAR([SUID_LDFLAGS], + [LDFLAGS used for binaries which are usually with the suid bit]) + AM_BINRELOC Index: libgnomesu-1.0.0/usr/lib/libgnomesu/gnomesu-pam-backend
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2011-12-06 18:23:53 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu, Maintainer is gnome-maintain...@suse.de Changes: Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.nbFZJ9/_old 2011-12-06 18:41:45.0 +0100 +++ /var/tmp/diff_new_pack.nbFZJ9/_new 2011-12-06 18:41:45.0 +0100 @@ -20,7 +20,7 @@ Name: libgnomesu Version:1.0.0 Release:337 -License:LGPLv2.1+ +License:LGPL-2.1+ Summary:GNOME su Library Url:http://members.chello.nl/~h.lai/libgnomesu/ Group: System/GUI/GNOME @@ -88,7 +88,7 @@ applications. It supports sudo, consolehelper, PAM, and su. %package -n libgnomesu0 -License:LGPLv2.1+ +License:LGPL-2.1+ Summary:GNOME su Library Group: System/GUI/GNOME Requires: %{name} = %{version} @@ -98,7 +98,7 @@ applications. It supports sudo, consolehelper, PAM, and su. %package devel -License:LGPLv2.1+ +License:LGPL-2.1+ Summary:Development files for libgnomesu Group: Development/Libraries/GNOME Requires: %{name} = %{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libgnomesu for openSUSE:Factory
Hello community, here is the log from the commit of package libgnomesu for openSUSE:Factory checked in at 2011-12-05 12:44:29 Comparing /work/SRC/openSUSE:Factory/libgnomesu (Old) and /work/SRC/openSUSE:Factory/.libgnomesu.new (New) Package is libgnomesu, Maintainer is gnome-maintain...@suse.de Changes: --- /work/SRC/openSUSE:Factory/libgnomesu/libgnomesu.changes2011-09-23 02:08:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2011-12-05 12:44:36.0 +0100 @@ -1,0 +2,6 @@ +Sun Nov 13 09:16:53 UTC 2011 - co...@suse.com + +- add libtool as explicit BuildRequires to avoid implicit + dependency from prjconf. + +--- Other differences: -- ++ libgnomesu.spec ++ --- /var/tmp/diff_new_pack.tsrsfS/_old 2011-12-05 12:44:38.0 +0100 +++ /var/tmp/diff_new_pack.tsrsfS/_new 2011-12-05 12:44:38.0 +0100 @@ -70,6 +70,7 @@ BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: pam-devel +BuildRequires: libtool BuildRequires: translation-update-upstream PreReq: permissions # Needed for patch19 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org