Blame SPECS/polkit.spec

d559a5
# Only enable if using patches that touches configure.ac,
d559a5
# Makefile.am or other build system related files
d559a5
#
d559a5
%define enable_autoreconf 1
d559a5
d559a5
%global bundled_mozjs 1
d559a5
d559a5
%if 0%{?bundled_mozjs}
d559a5
%global mozjs_major 78
d559a5
%global mozjs_version 78.10.0
d559a5
d559a5
# Big endian platforms
d559a5
%ifarch ppc ppc64 s390 s390x
d559a5
%global big_endian 1
d559a5
%endif
d559a5
d559a5
# Make sure we don't add requires/provides for private libraries
d559a5
%global __provides_exclude_from ^%{_libdir}/polkit-1/
d559a5
%global __requires_exclude ^libmozjs-%{mozjs_major}\\.so.*
d559a5
%endif
d559a5
d559a5
Summary: An authorization framework
d559a5
Name: polkit
d559a5
Version: 0.117
d559a5
Release: 7%{?dist}
d559a5
License: LGPLv2+
d559a5
URL: http://www.freedesktop.org/wiki/Software/polkit
d559a5
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
d559a5
Source1: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz.sign
d559a5
d559a5
Patch1001: mozjs78.patch
d559a5
Patch1002: CVE-2021-3560.patch
d559a5
d559a5
%if 0%{?bundled_mozjs}
d559a5
Source2: https://ftp.mozilla.org/pub/firefox/releases/%{mozjs_version}esr/source/firefox-%{mozjs_version}esr.source.tar.xz
d559a5
d559a5
# Patches from mozjs68, rebased for mozjs78:
d559a5
Patch02: copy-headers.patch
d559a5
Patch03: tests-increase-timeout.patch
d559a5
Patch09: icu_sources_data.py-Decouple-from-Mozilla-build-system.patch
d559a5
Patch10: icu_sources_data-Write-command-output-to-our-stderr.patch
d559a5
d559a5
# Build fixes - https://hg.mozilla.org/mozilla-central/rev/ca36a6c4f8a4a0ddaa033fdbe20836d87bbfb873
d559a5
Patch12: emitter.patch
d559a5
d559a5
# Build fixes
d559a5
Patch14: init_patch.patch
d559a5
# TODO: Check with mozilla for cause of these fails and re-enable spidermonkey compile time checks if needed
d559a5
Patch15: spidermonkey_checks_disable.patch
d559a5
d559a5
# armv7 fixes
d559a5
Patch17: definitions_for_user_vfp.patch
d559a5
d559a5
# s390x/ppc64 fixes, TODO: file bug report upstream?
d559a5
Patch18: spidermonkey_style_check_disable_s390x.patch
d559a5
Patch19: 0001-Skip-failing-tests-on-ppc64-and-s390x.patch
d559a5
d559a5
# Fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1644600 ( SharedArrayRawBufferRefs is not exported )
d559a5
# https://github.com/0ad/0ad/blob/83e81362d850cc6f2b3b598255b873b6d04d5809/libraries/source/spidermonkey/FixSharedArray.diff
d559a5
Patch30: FixSharedArray.diff
d559a5
d559a5
# Avoid autoconf213 dependency, backported from upstream
d559a5
# https://bugzilla.mozilla.org/show_bug.cgi?id=1663863
d559a5
Patch31: 0002-D89554-autoconf1.diff
d559a5
Patch32: 0003-D94538-autoconf2.diff
d559a5
%endif
d559a5
d559a5
BuildRequires: make
d559a5
BuildRequires: gcc-c++
d559a5
BuildRequires: glib2-devel >= 2.30.0
d559a5
BuildRequires: expat-devel
d559a5
BuildRequires: pam-devel
d559a5
BuildRequires: gtk-doc
d559a5
BuildRequires: intltool
d559a5
BuildRequires: gobject-introspection-devel
d559a5
BuildRequires: systemd, systemd-devel
d559a5
%if 0%{?bundled_mozjs}
d559a5
BuildRequires: cargo
d559a5
BuildRequires: clang-devel
d559a5
BuildRequires: gcc
d559a5
BuildRequires: gcc-c++
d559a5
BuildRequires: m4
d559a5
BuildRequires: make
d559a5
%if !0%{?rhel}
d559a5
BuildRequires: nasm
d559a5
%endif
d559a5
BuildRequires: llvm
d559a5
BuildRequires: llvm-devel
d559a5
BuildRequires: rust
d559a5
BuildRequires: perl-devel
d559a5
BuildRequires: pkgconfig(libffi)
d559a5
BuildRequires: pkgconfig(zlib)
d559a5
BuildRequires: python3-devel
d559a5
BuildRequires: python3-setuptools
d559a5
BuildRequires: python3-six
d559a5
BuildRequires: readline-devel
d559a5
BuildRequires: zip
d559a5
%if 0%{?big_endian}
d559a5
BuildRequires: icu
d559a5
%endif
d559a5
%else
d559a5
BuildRequires: pkgconfig(mozjs-78)
d559a5
%endif
d559a5
d559a5
%if 0%{?enable_autoreconf}
d559a5
BuildRequires: autoconf
d559a5
BuildRequires: automake
d559a5
BuildRequires: libtool
d559a5
%endif
d559a5
d559a5
Requires: dbus, polkit-pkla-compat
d559a5
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
d559a5
d559a5
Requires(pre): shadow-utils
d559a5
Requires(post): systemd
d559a5
Requires(preun): systemd
d559a5
Requires(postun): systemd
d559a5
d559a5
Obsoletes: PolicyKit <= 0.10
d559a5
Provides: PolicyKit = 0.11
d559a5
d559a5
# polkit saw some API/ABI changes from 0.96 to 0.97 so require a
d559a5
# sufficiently new polkit-gnome package
d559a5
Conflicts: polkit-gnome < 0.97
d559a5
d559a5
Obsoletes: polkit-desktop-policy < 0.103
d559a5
Provides: polkit-desktop-policy = 0.103
d559a5
d559a5
Obsoletes: polkit-js-engine < 0.110-4
d559a5
Provides: polkit-js-engine = %{version}-%{release}
d559a5
d559a5
# when -libs was split out, handle multilib upgrade path -- rex
d559a5
Obsoletes: polkit < 0.113-3
d559a5
d559a5
%description
d559a5
polkit is a toolkit for defining and handling authorizations.  It is
d559a5
used for allowing unprivileged processes to speak to privileged
d559a5
processes.
d559a5
d559a5
%package devel
d559a5
Summary: Development files for polkit
d559a5
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
d559a5
Requires: %name-docs = %{version}-%{release}
d559a5
Requires: glib2-devel
d559a5
Obsoletes: PolicyKit-devel <= 0.10
d559a5
Provides: PolicyKit-devel = 0.11
d559a5
d559a5
%description devel
d559a5
Development files for polkit.
d559a5
d559a5
%package docs
d559a5
Summary: Development documentation for polkit
d559a5
Requires: %name-devel = %{version}-%{release}
d559a5
Obsoletes: PolicyKit-docs <= 0.10
d559a5
Provides: PolicyKit-docs = 0.11
d559a5
BuildArch: noarch
d559a5
d559a5
%description docs
d559a5
Development documentation for polkit.
d559a5
d559a5
%package libs
d559a5
Summary: Libraries for polkit
d559a5
%if 0%{?bundled_mozjs}
d559a5
License: MIT and (MPLv1.1 or GPLv2+ or LGPLv2+) and MPLv2.0 and MPLv1.1 and BSD and GPLv2+ and GPLv3+ and LGPLv2+ and AFL and ASL 2.0
d559a5
Provides: bundled(mozjs) = %{mozjs_version}
d559a5
%endif
d559a5
d559a5
%description libs
d559a5
Libraries files for polkit.
d559a5
d559a5
d559a5
%prep
d559a5
%setup -q
d559a5
d559a5
# Apply polkit patches
d559a5
%patch1001 -p1
d559a5
%patch1002 -p1
d559a5
d559a5
%if 0%{?bundled_mozjs}
d559a5
# Extract mozjs archive
d559a5
tar -xf %{S:2}
d559a5
d559a5
# Apply mozjs patches
d559a5
pushd firefox-%{mozjs_version}
d559a5
%patch02 -p1
d559a5
%patch03 -p1
d559a5
%patch09 -p1
d559a5
%patch10 -p1
d559a5
d559a5
%patch12 -p1
d559a5
d559a5
%patch14 -p1
d559a5
%patch15 -p1
d559a5
d559a5
%ifarch armv7hl
d559a5
# Include definitions for user vfp on armv7 as it causes the compilation to fail without them
d559a5
# https://bugzilla.mozilla.org/show_bug.cgi?id=1526653
d559a5
%patch17 -p1
d559a5
%endif
d559a5
d559a5
%ifarch s390x
d559a5
%patch18 -p1
d559a5
%endif
d559a5
d559a5
# Fixes for ppc64 and s390x, there is no need to keep it in ifarch here since mozilla tests support ifarch conditions
d559a5
%patch19 -p1
d559a5
d559a5
# Export SharedArrayRawBufferRefs
d559a5
%patch30 -p1
d559a5
d559a5
# Avoid autoconf213 dependency
d559a5
%patch31 -p1 -b .autoconf213
d559a5
%patch32 -p1 -b .autoconf213-2
d559a5
d559a5
# Remove zlib directory (to be sure using system version)
d559a5
rm -rf modules/zlib
d559a5
popd
d559a5
%endif
d559a5
d559a5
%build
d559a5
%if 0%{?bundled_mozjs}
d559a5
pushd firefox-%{mozjs_version}/js/src
d559a5
# Prefer GCC for now
d559a5
export CC=gcc
d559a5
export CXX=g++
d559a5
d559a5
# Workaround
d559a5
# error: options `-C embed-bitcode=no` and `-C lto` are incompatible
d559a5
# error: could not compile `jsrust`.
d559a5
# https://github.com/japaric/cargo-call-stack/issues/25
d559a5
export RUSTFLAGS="-C embed-bitcode"
d559a5
d559a5
# https://github.com/ptomato/mozjs/commit/36bb7982b41e0ef9a65f7174252ab996cd6777bd
d559a5
export CARGO_PROFILE_RELEASE_LTO=true
d559a5
d559a5
export LINKFLAGS="%{?__global_ldflags}"
d559a5
export PYTHON="%{__python3}"
d559a5
d559a5
%configure \
d559a5
  --without-system-icu \
d559a5
  --with-system-zlib \
d559a5
  --disable-tests \
d559a5
  --disable-strip \
d559a5
  --with-intl-api \
d559a5
  --enable-readline \
d559a5
  --enable-shared-js \
d559a5
  --enable-optimize \
d559a5
  --disable-debug \
d559a5
  --enable-pie \
d559a5
  --disable-jemalloc
d559a5
d559a5
%if 0%{?big_endian}
d559a5
echo "Generate big endian version of config/external/icu/data/icud67l.dat"
d559a5
pushd ../..
d559a5
  icupkg -tb config/external/icu/data/icudt67l.dat config/external/icu/data/icudt67b.dat
d559a5
  rm -f config/external/icu/data/icudt*l.dat
d559a5
popd
d559a5
%endif
d559a5
d559a5
%make_build
d559a5
popd
d559a5
d559a5
cat > mozjs-%{mozjs_major}.pc << EOF
d559a5
Name: SpiderMonkey %{mozjs_version}
d559a5
Description: The Mozilla library for JavaScript
d559a5
Version: %{mozjs_version}
d559a5
d559a5
Libs: -L`pwd`/firefox-%{mozjs_version}/js/src/dist/bin -lmozjs-%{mozjs_major}
d559a5
Cflags: -include `pwd`/firefox-%{mozjs_version}/js/src/dist/include/js/RequiredDefines.h -I`pwd`/firefox-%{mozjs_version}/js/src/dist/include
d559a5
EOF
d559a5
%endif
d559a5
d559a5
%if 0%{?enable_autoreconf}
d559a5
autoreconf -i
d559a5
%endif
d559a5
# we can't use _hardened_build here, see
d559a5
# https://bugzilla.redhat.com/show_bug.cgi?id=962005
d559a5
export CFLAGS='-fPIC %optflags'
d559a5
export LDFLAGS='-pie -Wl,-z,now -Wl,-z,relro'
d559a5
%if 0%{?bundled_mozjs}
d559a5
export PKG_CONFIG_PATH=`pwd`
d559a5
export LD_LIBRARY_PATH=`pwd`/firefox-%{mozjs_version}/js/src/dist/bin
d559a5
export LDFLAGS="$LDFLAGS -Wl,-rpath=%{_libdir}/polkit-1"
d559a5
%endif
d559a5
%configure --enable-gtk-doc \
d559a5
        --disable-static \
d559a5
        --enable-introspection \
d559a5
        --disable-examples \
d559a5
        --enable-libsystemd-login=yes
d559a5
make V=1
d559a5
d559a5
%install
d559a5
%if 0%{?bundled_mozjs}
d559a5
mkdir -p %{buildroot}%{_libdir}/polkit-1
d559a5
cp -p firefox-%{mozjs_version}/js/src/dist/bin/libmozjs-%{mozjs_major}.so %{buildroot}%{_libdir}/polkit-1/
d559a5
%endif
d559a5
d559a5
%make_install \
d559a5
    typelibsdir=%{_libdir}/girepository-1.0 \
d559a5
    girdir=%{_datadir}/gir-1.0
d559a5
d559a5
d559a5
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
d559a5
d559a5
%find_lang polkit-1
d559a5
d559a5
%check
d559a5
%if 0%{?bundled_mozjs}
d559a5
export LD_LIBRARY_PATH=`pwd`/firefox-%{mozjs_version}/js/src/dist/bin
d559a5
d559a5
pushd firefox-%{mozjs_version}/js/src
d559a5
# Run SpiderMonkey tests
d559a5
PYTHONPATH=tests/lib %{__python3} tests/jstests.py -d -s -t 1800 --no-progress --wpt=disabled ../../js/src/dist/bin/js
d559a5
d559a5
# Run basic JIT tests
d559a5
PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 1800 --no-progress ../../js/src/dist/bin/js basic
d559a5
popd
d559a5
%endif
d559a5
d559a5
%pre
d559a5
getent group polkitd >/dev/null || groupadd -r polkitd
d559a5
getent passwd polkitd >/dev/null || useradd -r -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd
d559a5
exit 0
d559a5
d559a5
%post
d559a5
# The implied (systemctl preset) will fail and complain, but the macro hides
d559a5
# and ignores the fact.  This is in fact what we want, polkit.service does not
d559a5
# have an [Install] section and it is always started on demand.
d559a5
%systemd_post polkit.service
d559a5
d559a5
%preun
d559a5
%systemd_preun polkit.service
d559a5
d559a5
%postun
d559a5
%systemd_postun_with_restart polkit.service
d559a5
d559a5
%files -f polkit-1.lang
d559a5
%doc COPYING NEWS README
d559a5
%{_datadir}/man/man1/*
d559a5
%{_datadir}/man/man8/*
d559a5
%{_datadir}/dbus-1/system-services/*
d559a5
%{_unitdir}/polkit.service
d559a5
%dir %{_datadir}/polkit-1/
d559a5
%dir %{_datadir}/polkit-1/actions
d559a5
%attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d
d559a5
%{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy
d559a5
%dir %{_sysconfdir}/polkit-1
d559a5
%{_sysconfdir}/polkit-1/rules.d/50-default.rules
d559a5
%attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d
d559a5
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
d559a5
%{_sysconfdir}/pam.d/polkit-1
d559a5
%{_bindir}/pkaction
d559a5
%{_bindir}/pkcheck
d559a5
%{_bindir}/pkttyagent
d559a5
%dir %{_prefix}/lib/polkit-1
d559a5
%{_prefix}/lib/polkit-1/polkitd
d559a5
d559a5
# see upstream docs for why these permissions are necessary
d559a5
%attr(4755,root,root) %{_bindir}/pkexec
d559a5
%attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1
d559a5
d559a5
%files devel
d559a5
%{_libdir}/lib*.so
d559a5
%{_libdir}/pkgconfig/*.pc
d559a5
%{_datadir}/gir-1.0/*.gir
d559a5
%{_includedir}/*
d559a5
%{_datadir}/gettext/its/polkit.its
d559a5
%{_datadir}/gettext/its/polkit.loc
d559a5
d559a5
%files docs
d559a5
%{_datadir}/gtk-doc
d559a5
d559a5
%ldconfig_scriptlets libs
d559a5
d559a5
%files libs
d559a5
%{_libdir}/lib*.so.*
d559a5
%{_libdir}/girepository-1.0/*.typelib
d559a5
%if 0%{?bundled_mozjs}
d559a5
%dir %{_libdir}/polkit-1
d559a5
%{_libdir}/polkit-1/libmozjs-%{mozjs_major}.so
d559a5
%endif
d559a5
d559a5
%changelog
d559a5
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.117-7
d559a5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
d559a5
  Related: rhbz#1991688
d559a5
d559a5
* Wed Jun 30 2021 Kalev Lember <klember@redhat.com> - 0.117-6
d559a5
- Bundle mozjs (#1958111)
d559a5
d559a5
* Mon Jun 28 2021 Jan Rybar <jrybar@redhat.com> - 0.117-5
d559a5
- CVE-2021-3560 mitigation
d559a5
- Resolves: CVE-2021-3560
d559a5
d559a5
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.117-4
d559a5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
d559a5
d559a5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.117-3
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d559a5
d559a5
* Wed Aug 12 2020 Jan Rybar <jrybar@redhat.com> - 0.117-2
d559a5
- update dependency to mozjs78
d559a5
d559a5
* Fri Jul 31 2020 Jan Rybar <jrybar@redhat.com> - 0.117-1
d559a5
- Rebased to polkit-0.117
d559a5
d559a5
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.116-9
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d559a5
d559a5
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 0.116-8
d559a5
- Use make macros
d559a5
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
d559a5
d559a5
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.116-7
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
d559a5
d559a5
* Fri Oct 25 2019 Jan Rybar <jrybar@redhat.com> - 0.116-6
d559a5
- jsauthority memleak fix
d559a5
d559a5
* Fri Sep 27 2019 Jan Rybar <jrybar@redhat.com> - 0.116-5
d559a5
- pkttyagent: unread input flushed on terminal restore
d559a5
d559a5
* Sun Sep 08 2019 Kalev Lember <klember@redhat.com> - 0.116-4
d559a5
- Rebuilt for mozjs60 s390x fixes
d559a5
d559a5
* Fri Aug 02 2019 Jan Rybar <jrybar@redhat.com> - 0.116-3
d559a5
- pkttyagent: backport patch, get SIGTTOU in background job
d559a5
d559a5
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.116-2
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d559a5
d559a5
* Thu May 02 2019 Pete Walter <pwalter@fedoraproject.org> - 0.116-1
d559a5
- Update to 0.116
d559a5
d559a5
* Thu Feb 14 2019 Jan Rybar <jrybar@redhat.com> - 0.115-11
d559a5
- pkttyagent: PolkitAgentTextListener leaves echo tty disabled if SIGINT/SIGTERM
d559a5
d559a5
* Fri Feb 08 2019 Pete Walter <pwalter@fedoraproject.org> - 0.115-10
d559a5
- Move to mozjs60
d559a5
d559a5
* Tue Feb 05 2019 Jan Rybar <jrybar@redhat.com> - 0.115-9
d559a5
- Allow uid=-1 for PolkitUnixProcess
d559a5
d559a5
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.115-8
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d559a5
d559a5
* Tue Jan 08 2019 Colin Walters <walters@verbum.org> - 0.115-7
d559a5
- Add security fix for
d559a5
  https://bugs.chromium.org/p/project-zero/issues/detail?id=1692
d559a5
d559a5
* Fri Dec 07 2018 Jan Rybar <jrybar@redhat.com> - 0.115-6
d559a5
- Fix of CVE-2018-19788, priv escalation with high UIDs
d559a5
- Resolves: rhbz#1655926
d559a5
d559a5
* Thu Sep 27 2018 Owen Taylor <otaylor@redhat.com> - 0.115-5
d559a5
- Fix installation with prefix != /usr
d559a5
d559a5
* Mon Aug 13 2018 Jan Rybar <jrybar@redhat.com> - 0.115-4
d559a5
- Leaking zombie processess started by rules
d559a5
d559a5
* Fri Jul 20 2018 Jan Rybar <jrybar@redhat.com> - 0.115-3
d559a5
- Warning raised by polkit when disconnected from ssh
d559a5
- polkitagentlistener: resource leak - pointer to 'server'
d559a5
- Error message raised on every 'systemctl start' in emergency.target
d559a5
d559a5
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.115-2
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d559a5
d559a5
* Tue Jul 10 2018 Miloslav Trmač <mitr@redhat.com> - 0.115-1
d559a5
- Update to 0.115 (CVE-2018-1116)
d559a5
d559a5
* Tue Apr 03 2018 Ray Strode <rstrode@redhat.com> - 0.114-1
d559a5
- Update to 0.114
d559a5
d559a5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-16
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d559a5
d559a5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-15
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d559a5
d559a5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-14
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d559a5
d559a5
* Thu Apr 13 2017 Richard Hughes <rhughes@redhat.com> - 0.113-13
d559a5
- Add the its files from upstream.
d559a5
d559a5
* Tue Apr 4 2017 Miloslav Trmač <mitr@redhat.com> - 0.113-12
d559a5
- Fix a memory leak in PolkitPermission.
d559a5
  Patch by Rui Matos <tiagomatos@gmail.com>
d559a5
  Resolves: #1433915
d559a5
d559a5
* Tue Apr 4 2017 Miloslav Trmač <mitr@redhat.com> - 0.113-11
d559a5
- Revert back to the state in 0.113-7, undoing the untested changes.
d559a5
d559a5
* Tue Apr  4 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.113-10
d559a5
- Move to an upstream snapshot, rebase patches
d559a5
d559a5
* Fri Mar 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.113-9
d559a5
- restore Provides: polkit-desktop-policy polkit-js-engine
d559a5
d559a5
* Thu Mar 30 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.113-8
d559a5
- Use %%license, license needs to be in -libs as it's the only guaranteed installed package
d559a5
- Move to mozjs38
d559a5
- Other upstream fixes
d559a5
- Spec cleanups
d559a5
d559a5
* Mon Feb 13 2017 Miloslav Trmač <mitr@redhat.com> - 0.113-7
d559a5
- Fix memory leaks when calling authentication agents
d559a5
  Resolves: #1380166
d559a5
d559a5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-6
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d559a5
d559a5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-5
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d559a5
d559a5
* Tue Jul 14 2015 Miloslav Trmač <mitr@redhat.com> - 0.113-4
d559a5
- Bump the Obsoletes: to < 0.113-3 to account for the non-split 0.113-2.fc21
d559a5
  Resolves: #1243004
d559a5
d559a5
* Sun Jul 12 2015 Rex Dieter <rdieter@fedoraproject.org> 0.113-3
d559a5
- Obsoletes: polkit < 0.112-8 (handle multilib upgrade path)
d559a5
d559a5
* Fri Jul 10 2015 Miloslav Trmač <mitr@redhat.com> - 0.113-2
d559a5
- Add a fully versioned dependency from polkit to polkit-libs
d559a5
  Resolves: #1241759
d559a5
- Require polkit-libs, not polkit, in polkit-devel
d559a5
d559a5
* Thu Jul 2 2015 Miloslav Trmač <mitr@redhat.com> - 0.113-1
d559a5
- Update to polkit-0.113 (CVE-2015-3218, CVE-2015-3255, CVE-2015-3256,
d559a5
  CVE-2015-4625)
d559a5
  Resolves: #910262, #1175061, #1177930, #1194391, #1228739, #1233810
d559a5
d559a5
* Fri Jun 19 2015 Miloslav Trmač <mitr@redhat.com> - 0.112-11
d559a5
- Add BuildRequires: systemd so that %%{_unitdir} is defined, to fix the build.
d559a5
d559a5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.112-10
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d559a5
d559a5
* Sun Jan 25 2015 Rex Dieter <rdieter@fedoraproject.org>  - 0.112-9
d559a5
- polkit doesn't release reference counters of GVariant data (#1180886)
d559a5
- fix ldconfig scriptlets (move to -libs subpkg)
d559a5
d559a5
* Sat Nov 08 2014 Colin Walters <walters@redhat.com> - 0.112-8
d559a5
- Split separate -libs package, so that NetworkManager can just depend on
d559a5
  that, without dragging in the daemon (as well as libmozjs17).  This
d559a5
  allows the creation of more minimal systems that want programs like NM,
d559a5
  but do not need the configurability of the daemon; it would be ok if only
d559a5
  root is authorized.
d559a5
d559a5
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.112-7
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d559a5
d559a5
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.112-6
d559a5
- Rebuilt for gobject-introspection 1.41.4
d559a5
d559a5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.112-5
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d559a5
d559a5
* Thu Jun  5 2014 Kay Sievers <kay@redhat.com> - 0.112-4
d559a5
- backport upstream D-Bus "user bus" changes
d559a5
d559a5
* Mon Feb 10 2014 Miloslav Trmač <mitr@redhat.com> - 0.112-3
d559a5
- Fix a PolkitAgentSession race condition
d559a5
  Resolves: #1063193
d559a5
d559a5
* Sat Dec  7 2013 Miloslav Trmač <mitr@redhat.com> - 0.112-2
d559a5
- Workaround pam_systemd setting broken XDG_RUNTIME_DIR
d559a5
  Resolves: #1033774
d559a5
- Always use mozjs-17.0 even if js-devel is installed
d559a5
d559a5
* Wed Sep 18 2013 Miloslav Trmač <mitr@redhat.com> - 0.112-1
d559a5
- Update to polkit-0.112
d559a5
- Resolves: #1009538, CVE-2013-4288
d559a5
d559a5
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.111-3
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d559a5
d559a5
* Wed May 29 2013 Tomas Bzatek <tbzatek@redhat.com> - 0.111-2
d559a5
- Fix a race on PolkitSubject type registration (#866718)
d559a5
d559a5
* Wed May 15 2013 Miloslav Trmač <mitr@redhat.com> - 0.111-1
d559a5
- Update to polkit-0.111
d559a5
  Resolves: #917888
d559a5
- Use SpiderMonkey from mozjs17 instead of js
d559a5
- Ship the signature in the srpm
d559a5
- Try to preserve timestamps in (make install)
d559a5
d559a5
* Fri May 10 2013 Miloslav Trmač <mitr@redhat.com> - 0.110-4
d559a5
- Shut up rpmlint about Summary:
d559a5
- Build with V=1
d559a5
- Use %%{_unitdir} instead of hard-coding the path
d559a5
- Use the new systemd macros, primarily to run (systemctl daemon-reload)
d559a5
  Resolves: #857382
d559a5
d559a5
* Fri May 10 2013 Miloslav Trmač <mitr@redhat.com> - 0.110-4
d559a5
- Make the JavaScript engine mandatory.  The polkit-js-engine package has been
d559a5
  removed, main polkit package Provides:polkit-js-engine for compatibility.
d559a5
- Add Requires: polkit-pkla-compat
d559a5
  Resolves: #908808
d559a5
d559a5
* Wed Feb 13 2013 Miloslav Trmač <mitr@redhat.com> - 0.110-3
d559a5
- Don't ship pk-example-frobnicate in the "live" configuration
d559a5
  Resolves: #878112
d559a5
d559a5
* Fri Feb  8 2013 Miloslav Trmač <mitr@redhat.com> - 0.110-2
d559a5
- Own %%{_docdir}/polkit-js-engine-*
d559a5
  Resolves: #907668
d559a5
d559a5
* Wed Jan  9 2013 David Zeuthen <davidz@redhat.com> - 0.110-1%{?dist}
d559a5
- Update to upstream release 0.110
d559a5
d559a5
* Mon Jan  7 2013 Matthias Clasen <mclasen@redhat.com> - 0.109-2%{?dist}
d559a5
- Build with pie and stuff
d559a5
d559a5
* Wed Dec 19 2012 David Zeuthen <davidz@redhat.com> 0.109-1%{?dist}
d559a5
- Update to upstream release 0.109
d559a5
- Drop upstreamed patches
d559a5
d559a5
* Thu Nov 15 2012 David Zeuthen <davidz@redhat.com> 0.108-3%{?dist}
d559a5
- Attempt to open the correct libmozjs185 library, otherwise polkit
d559a5
  authz rules will not work unless js-devel is installed (fdo #57146)
d559a5
d559a5
* Wed Nov 14 2012 David Zeuthen <davidz@redhat.com> 0.108-2%{?dist}
d559a5
- Include gmodule-2.0 to avoid build error
d559a5
d559a5
* Wed Nov 14 2012 David Zeuthen <davidz@redhat.com> 0.108-1%{?dist}
d559a5
- Update to upstream release 0.108
d559a5
- Drop upstreamed patches
d559a5
- This release dynamically loads the JavaScript interpreter and can
d559a5
  cope with it not being available. In this case, polkit authorization
d559a5
  rules are not processed and the defaults for an action - as defined
d559a5
  in its .policy file - are used for authorization decisions.
d559a5
- Add new meta-package, polkit-js-engine, that pulls in the required
d559a5
  JavaScript bits to make polkit authorization rules work. The default
d559a5
  install - not the minimal install - should include this package
d559a5
d559a5
* Wed Oct 10 2012 Adam Jackson <ajax@redhat.com> 0.107-4
d559a5
- Don't crash if initializing the server object fails
d559a5
d559a5
* Tue Sep 18 2012 David Zeuthen <davidz@redhat.com> 0.107-3%{?dist}
d559a5
- Authenticate as root if e.g. the wheel group is empty (#834494)
d559a5
d559a5
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.107-2
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d559a5
d559a5
* Wed Jul 11 2012 David Zeuthen <davidz@redhat.com> 0.107-1%{?dist}
d559a5
- Update to upstream release 0.107
d559a5
d559a5
* Fri Jun 29 2012 David Zeuthen <davidz@redhat.com> 0.106-2%{?dist}
d559a5
- Add forgotten Requires(pre): shadow-utils
d559a5
d559a5
* Thu Jun 07 2012 David Zeuthen <davidz@redhat.com> 0.106-1%{?dist}
d559a5
- Update to upstream release 0.106
d559a5
- Authorizations are no longer controlled by .pkla files - from now
d559a5
  on, use the new .rules files described in the polkit(8) man page
d559a5
d559a5
* Tue Apr 24 2012 David Zeuthen <davidz@redhat.com> 0.105-1%{?dist}
d559a5
- Update to upstream release 0.105
d559a5
- Nuke patches that are now upstream
d559a5
- Change 'PolicyKit' to 'polkit' in summary and descriptions
d559a5
d559a5
* Thu Mar 08 2012 David Zeuthen <davidz@redhat.com> 0.104-6%{?dist}
d559a5
- Don't leak file descriptors (bgo #671486)
d559a5
d559a5
* Mon Feb 13 2012 Matthias Clasen <mclasen@redhat.com> - 0.104-5%{?dist}
d559a5
- Make the -docs subpackage noarch
d559a5
d559a5
* Mon Feb 06 2012 David Zeuthen <davidz@redhat.com> 0.104-4%{?dist}
d559a5
- Set error if we cannot obtain a PolkitUnixSession for a given PID (#787222)
d559a5
d559a5
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.104-3
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d559a5
d559a5
* Tue Jan 03 2012 David Zeuthen <davidz@redhat.com> 0.104-2%{?dist}
d559a5
- Nuke the ConsoleKit run-time requirement
d559a5
d559a5
* Tue Jan 03 2012 David Zeuthen <davidz@redhat.com> 0.104-1%{?dist}
d559a5
- Update to upstream release 0.104
d559a5
- Force usage of systemd (instead of ConsoleKit) for session tracking
d559a5
d559a5
* Tue Dec 06 2011 David Zeuthen <davidz@redhat.com> 0.103-1%{?dist}
d559a5
- Update to upstream release 0.103
d559a5
- Drop upstreamed patch
d559a5
- Drop Fedora-specific policy, it is now upstream (fdo #41008)
d559a5
d559a5
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3
d559a5
- Rebuilt for glibc bug#747377
d559a5
d559a5
* Tue Oct 18 2011 David Zeuthen <davidz@redhat.com> 0.102-2%{?dist}
d559a5
- Add patch to neuter the annoying systemd behavior where stdout/stderr
d559a5
  is sent to the system logs
d559a5
d559a5
* Thu Aug 04 2011 David Zeuthen <davidz@redhat.com> 0.102-1
d559a5
- Update to 0.102 release
d559a5
d559a5
* Fri May 13 2011 Bastien Nocera <bnocera@redhat.com> 0.101-7
d559a5
- Allow setting the pretty hostname without a password for wheel,
d559a5
  change matches systemd in git
d559a5
d559a5
* Mon May  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.101-6
d559a5
- Update the action id of the datetime mechanism
d559a5
d559a5
* Tue Apr 19 2011 David Zeuthen <davidz@redhat.com> - 0.101-5
d559a5
- CVE-2011-1485 (#697951)
d559a5
d559a5
* Tue Mar 22 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.101-4
d559a5
- Also allow org.kde.kcontrol.kcmclock.save without password for wheel
d559a5
d559a5
* Thu Mar 17 2011 David Zeuthen <davidz@redhat.com> - 0.101-3
d559a5
- Fix typo in pkla file (thanks notting)
d559a5
d559a5
* Thu Mar 17 2011 David Zeuthen <davidz@redhat.com> - 0.101-2
d559a5
- Nuke desktop_admin_r and desktop_user_r groups - just use the
d559a5
  wheel group instead (#688363)
d559a5
- Update the set of configuration directives that gives users
d559a5
  in the wheel group extra privileges
d559a5
d559a5
* Thu Mar 03 2011 David Zeuthen <davidz@redhat.com> - 0.101-1
d559a5
- New upstream version
d559a5
d559a5
* Mon Feb 21 2011 David Zeuthen <davidz@redhat.com> - 0.100-1
d559a5
- New upstream version
d559a5
d559a5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-7
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d559a5
d559a5
* Fri Jan 28 2011 Matthias Clasen <mclasen@redhat.com> - 0.98-6
d559a5
- Own /usr/libexec/polkit-1
d559a5
d559a5
* Fri Nov 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-5
d559a5
- Enable introspection
d559a5
d559a5
* Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-4
d559a5
- Fix #629515 in a way that doesn't require autoreconf
d559a5
d559a5
* Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-2
d559a5
- Include polkitagentenumtypes.h (#629515)
d559a5
d559a5
* Mon Aug 23 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-1
d559a5
- Update to upstream release 0.98
d559a5
- Co-own /usr/share/gtk-doc (#604410)
d559a5
d559a5
* Wed Aug 18 2010 Matthias Clasen <mclasen@redhat.com> - 0.97-5
d559a5
- Rebuid to work around bodhi limitations
d559a5
d559a5
* Wed Aug 18 2010 Matthias Clasen <mclasen@redhat.com> - 0.97-4
d559a5
- Fix a ConsoleKit interaction bug
d559a5
d559a5
* Fri Aug 13 2010 David Zeuthen <davidz@redhat.com> - 0.97-3
d559a5
- Add a patch to make pkcheck(1) work the way libvirtd uses it (#623257)
d559a5
- Require GLib >= 2.25.12 instead of 2.25.11
d559a5
- Ensure polkit-gnome packages earlier than 0.97 are not used with
d559a5
  these packages
d559a5
d559a5
* Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-2
d559a5
- Rebuild
d559a5
d559a5
* Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-1
d559a5
- Update to 0.97. This release contains a port from EggDBus to the
d559a5
  GDBus code available in recent GLib releases.
d559a5
d559a5
* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 0.96-1
d559a5
- Update to 0.96
d559a5
- Disable introspection support for the time being
d559a5
d559a5
* Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-2
d559a5
- Rebuild
d559a5
d559a5
* Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-1
d559a5
- Update to 0.95
d559a5
- Drop upstreamed patches
d559a5
d559a5
* Tue Oct 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.95-0.git20090913.3
d559a5
- Fix a typo in pklocalauthority(8)
d559a5
d559a5
* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2
d559a5
- Refine how Obsolete: is used and also add Provides: (thanks Jesse
d559a5
  Keating and nim-nim)
d559a5
d559a5
* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.1
d559a5
- Add bugfix for polkit_unix_process_new_full() (thanks Bastien Nocera)
d559a5
- Obsolete old PolicyKit packages
d559a5
d559a5
* Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913
d559a5
- Update to git snapshot
d559a5
- Drop upstreamed patches
d559a5
- Turn on GObject introspection
d559a5
- Don't delete desktop_admin_r and desktop_user_r groups when
d559a5
  uninstalling polkit-desktop-policy
d559a5
d559a5
* Fri Sep 11 2009 David Zeuthen <davidz@redhat.com> - 0.94-4
d559a5
- Add some patches from git master
d559a5
- Sort pkaction(1) output
d559a5
- Bug 23867 – UnixProcess vs. SystemBusName aliasing
d559a5
d559a5
* Thu Aug 13 2009 David Zeuthen <davidz@redhat.com> - 0.94-3
d559a5
- Add desktop_admin_r and desktop_user_r groups along with a first cut
d559a5
  of default authorizations for users in these groups.
d559a5
d559a5
* Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-2
d559a5
- Disable GObject Introspection for now as it breaks the build
d559a5
d559a5
* Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-1
d559a5
- Update to upstream release 0.94
d559a5
d559a5
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
d559a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d559a5
d559a5
* Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-2
d559a5
- Rebuild
d559a5
d559a5
* Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-1
d559a5
- Update to 0.93
d559a5
d559a5
* Tue Jun 09 2009 David Zeuthen <davidz@redhat.com> - 0.92-3
d559a5
- Don't make docs noarch (I *heart* multilib)
d559a5
- Change license to LGPLv2+
d559a5
d559a5
* Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-2
d559a5
- Rebuild
d559a5
d559a5
* Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-1
d559a5
- Update to 0.92 release
d559a5
d559a5
* Wed May 27 2009 David Zeuthen <davidz@redhat.com> - 0.92-0.git20090527
d559a5
- Update to 0.92 snapshot
d559a5
d559a5
* Mon Feb  9 2009 David Zeuthen <davidz@redhat.com> - 0.91-1
d559a5
- Initial spec file.