Hello community, here is the log from the commit of package polkit for openSUSE:Factory checked in at 2018-04-26 13:25:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/polkit (Old) and /work/SRC/openSUSE:Factory/.polkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "polkit" Thu Apr 26 13:25:59 2018 rev:61 rq:595145 version:0.114 Changes: -------- --- /work/SRC/openSUSE:Factory/polkit/polkit.changes 2018-03-12 12:03:08.605901306 +0100 +++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes 2018-04-26 13:26:06.922272615 +0200 @@ -1,0 +2,30 @@ +Mon Apr 9 22:38:39 UTC 2018 - bjorn....@gmail.com + +- Update to version 0.114: + + Port to mozjs 52, the latest version of the firefox JavaScript + engine. + + Add gettext support for policy files. + + Fixes for various memory leaks. + + Updated translations. +- Update keyring with Ray Strode <halfl...@gmail.com> public key. +- Drop with_systemd define and all conditionals and + polkit-no-systemd.patch and ConsoleKit BuildRequires, we only + support systemd now. +- Drop upstream fixed polkit-itstools.patch. +- Rebase pkexec.patch with quilt. +- Add gcc-c++ and pkgconfig(mozjs-52) BuildRequires: New + dependencies. +- Drop conditional pkgconfig(mozjs-17.0) and pkgconfig(mozjs185): + no longer supported. +- Drop autoconf and automake BuildRequires: They are implicit via + libtool BuildRequires. +- Replace glib2-devel and gobject-introspection-devel with their + pkgconfig counterparts: pkgconfig(gio-unix-2.0), + pkgconfig(gmodule-2.0) and pkgconfig(gobject-introspection-1.0). +- Add polkit-jsauthority-pass-format-string.patch: jsauthority: + pass "%s" format string to remaining report function, patch from + upstream git, adding missed commit (bgo#105865). +- Drop polkit-revert-session-magic.patch: Upstream systemd bug is + since a long time fixed (gh#systemd#58) (boo#954139). + +------------------------------------------------------------------- Old: ---- polkit-0.113.tar.gz polkit-0.113.tar.gz.sign polkit-itstools.patch polkit-no-systemd.patch polkit-revert-session-magic.patch New: ---- polkit-0.114.tar.gz polkit-0.114.tar.gz.sign polkit-jsauthority-pass-format-string.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ polkit.spec ++++++ --- /var/tmp/diff_new_pack.GClI6R/_old 2018-04-26 13:26:07.682244787 +0200 +++ /var/tmp/diff_new_pack.GClI6R/_new 2018-04-26 13:26:07.686244641 +0200 @@ -16,9 +16,8 @@ # -%define with_systemd 1 Name: polkit -Version: 0.113 +Version: 0.114 Release: 0 Summary: PolicyKit Authorization Framework License: LGPL-2.1-or-later @@ -28,30 +27,30 @@ Source1: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign Source2: %{name}.keyring Source99: baselibs.conf + # PATCH-FIX-OPENSUSE polkit-no-wheel-group.patch vu...@opensuse.org -- In openSUSE, there's no special meaning for the wheel group, so we shouldn't allow it to be admin Patch0: polkit-no-wheel-group.patch -# PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 vu...@opensuse.org -- Do not reference non-existing polkit.service file for systemd (only applied if not built with systemd support) -Patch1: polkit-no-systemd.patch -# PATCH-REVERT-UPSTREAM polkit-revert-session-magic.patch various bugs meissner -- systemd session magic was not updating the user seats correctly -Patch2: polkit-revert-session-magic.patch # PATCH-FIX-OPENSUSE polkit-gettext.patch lnus...@suse.de -- allow fallback to gettext for polkit action translations -Patch3: polkit-gettext.patch -# PATCH-FEATURE-UPSTREAM polkit-itstools.patch dims...@opensuse.org -- Add gettext support for .policy files, taken from git -Patch4: polkit-itstools.patch +Patch1: polkit-gettext.patch # PATCH-FIX-UPSTREAM pkexec.patch sch...@suse.de -- pkexec: allow --version and --help even if not setuid -Patch5: pkexec.patch -# needed for patch1 -BuildRequires: autoconf -# needed for patch1 -BuildRequires: automake -BuildRequires: glib2-devel >= 2.30.0 -BuildRequires: gobject-introspection-devel >= 0.6.2 +Patch2: pkexec.patch +# PATCH-FIX-UPSTREAM polkit-jsauthority-pass-format-string.patch bgo#105865 bjorn....@gmail.com -- jsauthority: pass "%s" format string to remaining report function +Patch3: polkit-jsauthority-pass-format-string.patch + +BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: libexpat-devel -# needed for patch1, patch3 and patch4 +# needed for patch1 and 2 BuildRequires: libtool BuildRequires: pam-devel +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.30.0 +BuildRequires: pkgconfig(gmodule-2.0) >= 2.30.0 +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.6.2 +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(mozjs-52) +BuildRequires: pkgconfig(systemd) # gtk-doc drags indirectyly ruby in for one of the helpers. This in turn causes a build cycle. #!BuildIgnore: ruby Requires: dbus-1 @@ -59,22 +58,8 @@ # FIXME: use proper Requires(pre/post/preun/...) PreReq: permissions PreReq: pwdutils -%if 0%{?with_systemd} -BuildRequires: systemd-rpm-macros -BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(systemd) -%endif -%if 0%{?suse_version} >= 1310 -BuildRequires: pkgconfig(mozjs-17.0) -%else -BuildRequires: pkgconfig(mozjs185) -%endif -%if ! %{with_systemd} -Requires: ConsoleKit -%endif -%if %{with_systemd} %systemd_requires -%endif + # Upstream First - Policy: # Never add any patches to this package without the upstream commit id # in the patch. Any patches added here without a very good reason to make @@ -132,17 +117,13 @@ %prep %setup -q %patch0 -p1 -%if !(0%{?with_systemd}) %patch1 -p1 -%endif -%patch2 -p1 -R +%patch2 -p1 %patch3 -p1 -%patch4 -p1 -%patch5 -p1 %build export V=1 -# needed for patch1 +# needed for patch1 and patch2 autoreconf -fi export SUID_CFLAGS="-fPIE" export SUID_LDFLAGS="-z now -pie" @@ -153,11 +134,7 @@ --disable-static \ --enable-introspection \ --enable-examples \ -%if 0%{?with_systemd} --enable-libsystemd-login \ -%else - --disable-libsystemd-login \ -%endif --libexecdir=%{_libexecdir}/polkit-1 make %{?_smp_mflags} @@ -171,25 +148,19 @@ %pre getent group polkitd > /dev/null || groupadd -r polkitd getent passwd polkitd > /dev/null || useradd -r -g polkitd -d %{_localstatedir}/lib/polkit -s /sbin/nologin -c "User for polkitd" polkitd -%if %{with_systemd} %service_add_pre polkit.service -%endif exit 0 -%if %{with_systemd} %preun %service_del_preun polkit.service %postun %service_del_postun polkit.service -%endif %post %set_permissions %{_bindir}/pkexec %set_permissions %{_prefix}/lib/polkit-1/polkit-agent-helper-1 -%if %{with_systemd} %service_add_post polkit.service -%endif %verifyscript %verify_permissions -e %{_bindir}/pkexec @@ -238,9 +209,7 @@ %verify(not mode) %attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1 # $HOME for polkit user %dir %{_localstatedir}/lib/polkit -%if %{with_systemd} %{_unitdir}/polkit.service -%endif %files devel %{_libdir}/libpolkit-agent-1.so ++++++ pkexec.patch ++++++ --- /var/tmp/diff_new_pack.GClI6R/_old 2018-04-26 13:26:07.730243030 +0200 +++ /var/tmp/diff_new_pack.GClI6R/_new 2018-04-26 13:26:07.730243030 +0200 @@ -6,13 +6,13 @@ building packages that want to check for pkexec in an emulated environment that does not support setuid invocation (eg. QEMU linux-user). -Index: polkit-0.113/src/programs/pkexec.c +Index: polkit-0.114/src/programs/pkexec.c =================================================================== ---- polkit-0.113.orig/src/programs/pkexec.c -+++ polkit-0.113/src/programs/pkexec.c -@@ -503,27 +503,6 @@ main (int argc, char *argv[]) - opt_user = NULL; - local_agent_handle = NULL; +--- polkit-0.114.orig/src/programs/pkexec.c 2018-04-03 20:16:17.000000000 +0200 ++++ polkit-0.114/src/programs/pkexec.c 2018-04-10 02:48:03.031508016 +0200 +@@ -504,27 +504,6 @@ main (int argc, char *argv[]) + /* Disable remote file access from GIO. */ + setenv ("GIO_USE_VFS", "local", 1); - /* check for correct invocation */ - if (geteuid () != 0) @@ -38,7 +38,7 @@ /* First process options and find the command-line to invoke. Avoid using fancy library routines * that depend on environtment variables since we haven't cleared the environment just yet. */ -@@ -579,6 +558,27 @@ main (int argc, char *argv[]) +@@ -580,6 +559,27 @@ main (int argc, char *argv[]) goto out; } ++++++ polkit-0.113.tar.gz -> polkit-0.114.tar.gz ++++++ ++++ 87727 lines of diff (skipped) ++++++ polkit-jsauthority-pass-format-string.patch ++++++ >From 373705b35e7f6c7dc83de5e0a3ce11ecd15d0409 Mon Sep 17 00:00:00 2001 From: Ray Strode <rstr...@redhat.com> Date: Tue, 3 Apr 2018 15:26:37 -0400 Subject: jsauthority: pass "%s" format string to remaining report function commit 00adeee1b62 attempted to add a "%s" format string to the two JS_Report invocations that needed it, but somehow only got one them. This commit gets the other one. https://bugzilla.gnome.org/show_bug.cgi?id=105865 --- src/polkitbackend/polkitbackendjsauthority.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp index 9746c47..517f3c6 100644 --- a/src/polkitbackend/polkitbackendjsauthority.cpp +++ b/src/polkitbackend/polkitbackendjsauthority.cpp @@ -1292,7 +1292,7 @@ js_polkit_log (JSContext *cx, JS::CallArgs args = JS::CallArgsFromVp (argc, vp); s = JS_EncodeString (cx, args[0].toString ()); - JS_ReportWarningUTF8 (cx, s); + JS_ReportWarningUTF8 (cx, "%s", s); JS_free (cx, s); ret = true; -- cgit v1.1 ++++++ polkit.keyring ++++++ --- /var/tmp/diff_new_pack.GClI6R/_old 2018-04-26 13:26:08.070230581 +0200 +++ /var/tmp/diff_new_pack.GClI6R/_new 2018-04-26 13:26:08.070230581 +0200 @@ -561,3 +561,66 @@ QhjSwn7gMC27Yl+lK30= =Tq/o -----END PGP PUBLIC KEY BLOCK----- +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFnWPoIBEAC6dMJpbIoR3WWUi3tts/2x6W70yjk1wO8Q94LrHvKLfYq6hYXB +92gxp4RgiRXXoWu+Wh3teoFUUz8cGg7TdiBdJzICfaYq9pOx7W9JFH5mAV8grylD +t8u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