Hello community, here is the log from the commit of package polkit for openSUSE:Factory checked in at 2012-11-18 09:11:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/polkit (Old) and /work/SRC/openSUSE:Factory/.polkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "polkit", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/polkit/polkit.changes 2012-11-13 10:18:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes 2012-11-18 09:11:45.000000000 +0100 @@ -1,0 +2,25 @@ +Thu Nov 15 21:31:19 UTC 2012 - dims...@opensuse.org + +- Update to version 0.108: + + PolkitAgent: Avoid crashing if initializing the server object + fails + + Fall back to authenticating as uid 0 if the list of admin + identities is empty + + Dynamically load libmozjs185.so and cope with it not being + available + + docs: mention the audience for authorization rules + + build: Fix .gir generation for parallel make +- Only conditionally Require ConsoleKit when with_systemd is 0: + systemd support obsoletes ConsoleKit. +- Add polkit-link-gmodule.patch: Link against gmodule-2.0. +- Change libpolkit0 to require polkit >= %version instead of the + exact version. This will ease upgrade problems should there ever + be a soname bump of libpolkit0. + +------------------------------------------------------------------- +Wed Nov 14 09:26:14 UTC 2012 - dims...@opensuse.org + +- Enable systemd inetegration (change with_systemd to 1): As an + agreed target for 12.3, systemd integration will be enabled. + +------------------------------------------------------------------- Old: ---- polkit-0.107.tar.gz New: ---- polkit-0.108.tar.gz polkit-link-gmodule.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ polkit.spec ++++++ --- /var/tmp/diff_new_pack.Smilww/_old 2012-11-18 09:11:47.000000000 +0100 +++ /var/tmp/diff_new_pack.Smilww/_new 2012-11-18 09:11:47.000000000 +0100 @@ -16,13 +16,16 @@ # -%define with_systemd 0 +%define with_systemd 1 +%if 0%{with_systemd} +%define systemdsystemunitdir %(pkg-config --variable systemdsystemunitdir systemd) +%endif Name: polkit Summary: PolicyKit Authorization Framework License: LGPL-2.1+ Group: System/Libraries -Version: 0.107 +Version: 0.108 Release: 0 Url: http://www.freedesktop.org/wiki/Software/PolicyKit BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,6 +37,8 @@ Patch1: polkit-suid_flags.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) Patch2: polkit-no-systemd.patch +# PATCH-FIX-UPSTREAM polkit-link-gmodule.patch dims...@opensuse.org -- Link against gmodule-2.0. Patch taken from upstream git. +Patch3: polkit-link-gmodule.patch # needed for patch1 BuildRequires: autoconf # needed for patch1 @@ -45,7 +50,7 @@ #!BuildIgnore: ruby BuildRequires: intltool BuildRequires: libexpat-devel -# needed for patch1 +# needed for patch1 and patch3 BuildRequires: libtool BuildRequires: pam-devel %if 0%{?with_systemd} @@ -53,9 +58,14 @@ %endif BuildRequires: pkgconfig(mozjs185) PreReq: permissions pwdutils +%if ! %{with_systemd} Requires: ConsoleKit +%endif Requires: dbus-1 Requires: libpolkit0 = %{version}-%{release} +%if %{with_systemd} +%systemd_requires +%endif # Upstream First - Policy: # Never add any patches to this package without the upstream commit id @@ -91,7 +101,7 @@ %package -n libpolkit0 Summary: PolicyKit Authorization Framework -- Libraries Group: System/Libraries -Requires: %{name} = %{version} +Requires: %{name} >= %{version} %description -n libpolkit0 PolicyKit is a toolkit for defining and handling authorizations. @@ -118,10 +128,11 @@ %if !(0%{?with_systemd}) %patch2 -p1 %endif +%patch3 -p1 %build export V=1 -# needed for patch1 +# needed for patch1 and patch3 autoreconf -fi export SUID_CFLAGS="-fPIE" export SUID_LDFLAGS="-z now -pie" @@ -153,11 +164,25 @@ %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 @@ -209,6 +234,9 @@ %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} +%{systemdsystemunitdir}/polkit.service +%endif %files devel %defattr(-,root,root,-) ++++++ polkit-0.107.tar.gz -> polkit-0.108.tar.gz ++++++ ++++ 16526 lines of diff (skipped) ++++++ polkit-link-gmodule.patch ++++++ >From ca1b0cd633fb14d2e152abd7b965b02ea58f66d0 Mon Sep 17 00:00:00 2001 From: David Zeuthen <zeut...@gmail.com> Date: Wed, 14 Nov 2012 19:29:16 +0000 Subject: Include gmodule-2.0 to avoid linker errors Signed-off-by: David Zeuthen <zeut...@gmail.com> --- diff --git a/configure.ac b/configure.ac index ecf56f1..fefde5d 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,7 @@ if test "x$GCC" = "xyes"; then changequote([,])dnl fi -PKG_CHECK_MODULES(GLIB, [gio-2.0 >= 2.30.0]) +PKG_CHECK_MODULES(GLIB, [gmodule-2.0 gio-2.0 >= 2.30.0]) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) -- cgit v0.9.0.2-2-gbebe -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org