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.changes 2015-02-06 22:37:29.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libgnomesu.new/libgnomesu.changes 2015-09-17 09:17:44.000000000 +0200 @@ -1,0 +2,26 @@ +Thu Sep 10 17:02:27 CEST 2015 - [email protected] + +- 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 [email protected]: + 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.000000000 +0200 +++ /var/tmp/diff_new_pack.a2daqe/_new 2015-09-17 09:17:45.000000000 +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 [email protected] -- Unset DBUS_SESSION_BUS_ADDRESS environment variable. -Patch6: libgnomesu-unsetenv.patch -# PATCH-FEATURE-UPSTREAM libgnomesu-modernize.patch bnc462073 [email protected] -- 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 [email protected] -- Forward startup notification information when there's no authentication dialog -Patch8: libgnomesu-startup-notification.patch -# PATCH-FIX-UPSTREAM libgnomesu-better-pam-handling.patch bnc430883 [email protected] -- Handle PAM errors during authentication in a more extensive way, to give better feedback -Patch9: libgnomesu-better-pam-handling.patch -# PATCH-FIX-UPSTREAM libgnomesu-ia64-crash.patch bnc470618 [email protected] -Patch10: libgnomesu-ia64-crash.patch -# PATCH-FIX-UPSTREAM libgnomesu-drop-libgnomeui.patch [email protected] -- Drop libgnomeui dependency -Patch11: libgnomesu-drop-libgnomeui.patch -# PATCH-FIX-UPSTREAM libgnomesu-bnc440970-safe-path.patch [email protected] -- 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 [email protected] -- Remove old, potentially broken xauth cookies. -Patch13: libgnomesu-remove-prior-cookie.patch -# PATCH-FIX-UPSTREAM libgnomesu-i18n.patch bnc582085 [email protected] -- Fix translatability -Patch14: libgnomesu-i18n.patch -# PATCH-FIX-UPSTREAM libgnomesu-no-manual-memory-cleaning.patch bnc351917 [email protected] -- Let GTK+ remove passwords from memory -Patch15: libgnomesu-no-manual-memory-cleaning.patch -# PATCH-FIX-UPSTREAM libgnomesu-use-pam_xauth.patch bnc#667577 [email protected] -- Let pam_xauth handle xauth stuff if using pam backend -Patch16: libgnomesu-use-pam_xauth.patch -# PATCH-FIX-UPSTREAM libgnomesu-reorder-pam-init.patch [email protected] -- Do commands in the same order as in coreutils/su.c in pam backend -Patch17: libgnomesu-reorder-pam-init.patch -# PATCH-FIX-UPSTREAM libgnomesu-check-setuid-retval.patch bnc#695627 CVE-2011-1946 [email protected] -- Really handle return value of setuid() -Patch18: libgnomesu-check-setuid-retval.patch -# PATCH-FIX-UPSTREAM libgnomesu-no-gconf.patch [email protected] -- Do not use gconf but gsettings to find preferred terminal (needed for GNOME 3) -Patch19: libgnomesu-no-gconf.patch -# PATCH-FIX-UPSTREAM libgnomesu-gtk3.patch [email protected] -- Port to GTK+ 3 -Patch20: libgnomesu-gtk3.patch -# PATCH-FIX-UPSTREAM libgnomesu-suid_flags.patch bnc#743139 [email protected] -- Respect SUID_CFLAGS/SUID_LDFLAGS -Patch21: libgnomesu-suid_flags.patch -# PATCH-FIX-OPENSUSE libgnomesu-set-xdg_runtime_dir.patch boo#908167 [email protected] -- Properly rest XDG_RUNTIME_DIR to the new user -Patch22: libgnomesu-set-xdg_runtime_dir.patch +# Patch: Avoid patches if possible! Update openSUSE upstream instead. BuildRequires: fdupes BuildRequires: gtk3-devel BuildRequires: intltool @@ -76,14 +33,9 @@ BuildRequires: pam-devel BuildRequires: translation-update-upstream PreReq: permissions -# Needed for patch19 Requires: gsettings-desktop-schemas -Requires: libgnomesu0 Requires: pam Recommends: %{name}-lang = %{version} -# 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 @@ -112,40 +64,15 @@ %lang_package %prep %setup -q -%patch0 -%patch1 -p1 -%patch2 -p1 -%patch4 -%patch5 -%patch6 -p1 -%patch7 -%patch8 -p1 -%patch9 -p1 -%patch10 -p0 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%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 %build -autoreconf -f -i -intltoolize -f export SUID_CFLAGS="-fPIE" export SUID_LDFLAGS="-pie" %configure\ --libexecdir=%{_libexecdir}/%{name}\ - --disable-schemas-install\ --disable-setuid-error make %{?jobs:-j%jobs} @@ -153,16 +80,11 @@ mkdir -p %{buildroot}%{_prefix}/lib/%{name} %makeinstall %{__rm} %{buildroot}%{_libdir}/*.la -# Change sr@Latn to sr@latin -mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin %find_lang libgnomesu-1.0 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 -f %{buildroot}%{_prefix}/lib/%{name}/gnomesu-backend -# No support for old GNOME -# FIXME: Transform it to .desktop file -rm -f %{buildroot}%{_datadir}/application-registry/*.applications %{buildroot}%{_datadir}/mime-info/*.* %fdupes %{buildroot} %clean @@ -187,8 +109,8 @@ %doc %{_defaultdocdir}/%{name}/ChangeLog %{_bindir}/gnomesu %dir %{_prefix}/lib/%{name} -#%attr (6755,root,root) %{_prefix}/lib/%{name}/gnomesu-backend -#%attr (6755,root,root) %{_prefix}/lib/%{name}/gnomesu-pam-backend +#%%attr (6755,root,root) %%{_prefix}/lib/%%{name}/gnomesu-backend +#%%attr (6755,root,root) %%{_prefix}/lib/%%{name}/gnomesu-pam-backend # NOTE: Original package has 6755. # We have only 4755 and for easy and secure profile. %verify (not mode) %attr (4755,root,root) %{_libexecdir}/%{name}/gnomesu-pam-backend ++++++ libgnomesu-1.0.0.tar.bz2 -> libgnomesu-2.0.0.tar.bz2 ++++++ ++++ 97841 lines of diff (skipped)
