New upstream release 2.2.2

This commit is contained in:
Jakub Filak 2014-07-08 13:33:44 +02:00
commit 0911f226a4
5 changed files with 22 additions and 85 deletions

1
.gitignore vendored
View file

@ -36,3 +36,4 @@ abrt-1.1.13.tar.gz
/abrt-2.1.12.tar.gz
/abrt-2.2.0.tar.gz
/abrt-2.2.1.tar.gz
/abrt-2.2.2.tar.gz

View file

@ -1,44 +0,0 @@
From e98c8766655216db3d9a08b1fa52ba7decf57c46 Mon Sep 17 00:00:00 2001
From: Stef Walter <stefw@redhat.com>
Date: Mon, 5 May 2014 08:41:00 +0200
Subject: [PATCH 2/2] dbus: Fix desktop centric polkit policy file
In order to allow use of ABRT's DBus API on servers, the polkit
policy should allow admin usage even when not logged in an active
seat (ie: monitor and keyboard). Otherwise use from ssh logins and
Cockpit is prevented.
---
src/dbus/abrt_polkit.policy | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/dbus/abrt_polkit.policy b/src/dbus/abrt_polkit.policy
index 06008b4..a3425d9 100644
--- a/src/dbus/abrt_polkit.policy
+++ b/src/dbus/abrt_polkit.policy
@@ -19,9 +19,9 @@ Copyright (c) 2012 ABRT Team <crash-catcher@fedorahosted.com>
<description>Get problems from all users</description>
<message>Reading others problems requires authentication</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_active>auth_admin_keep</allow_active>
- <allow_inactive>no</allow_inactive>
+ <allow_inactive>auth_admin</allow_inactive>
</defaults>
</action>
@@ -30,9 +30,9 @@ Copyright (c) 2012 ABRT Team <crash-catcher@fedorahosted.com>
<description>Set value of configuration properties</description>
<message>Update configuration values reuquires authentication</message>
<defaults>
- <allow_any>no</allow_any>
+ <allow_any>auth_admin</allow_any>
<allow_active>auth_admin_keep</allow_active>
- <allow_inactive>no</allow_inactive>
+ <allow_inactive>auth_admin</allow_inactive>
</defaults>
</action>
--
1.9.0

View file

@ -1,32 +0,0 @@
From 050ebb0786dc2ea24ffbb560b16bc2cbc7ccfedc Mon Sep 17 00:00:00 2001
From: Stef Walter <stefw@redhat.com>
Date: Tue, 6 May 2014 14:12:22 +0200
Subject: [PATCH 3/3] dbus: Fix invalid dbus policy file
The use of at_console is a bit of a relic from times before polkit.
But more importantly I've removed a section that has no effect, and
opens up the dbus policy for an invalid name: org.freedesktop.org
---
src/dbus/dbus-abrt.conf | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/dbus/dbus-abrt.conf b/src/dbus/dbus-abrt.conf
index 159d5ef..3bac353 100644
--- a/src/dbus/dbus-abrt.conf
+++ b/src/dbus/dbus-abrt.conf
@@ -16,11 +16,6 @@
<allow send_interface="com.redhat.problems.configuration"/>
</policy>
- <policy at_console="true">
- <allow send_destination="org.freedesktop.org"/>
- <allow send_destination="com.redhat.problems.configuration"/>
- </policy>
-
<!-- Allow anyone to invoke methods on abrt server -->
<policy context="default">
<allow send_destination="org.freedesktop.problems"/>
--
1.9.0

View file

@ -34,21 +34,18 @@
%define docdirversion -%{version}
%endif
%define libreport_ver 2.2.2
%define satyr_ver 0.13
%define libreport_ver 2.2.3
%define satyr_ver 0.14
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.2.1
Release: 2%{?dist}
Version: 2.2.2
Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/
Source: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz
Patch2: 0002-dbus-Fix-desktop-centric-polkit-policy-file.patch
Patch3: 0003-dbus-Fix-invalid-dbus-policy-file.patch
# '%%autosetup -S git' -> git
BuildRequires: git
@ -431,7 +428,12 @@ autoreconf --force --install
intltoolize --force --copy --automake
%build
CFLAGS="%{optflags} -Werror" %configure --enable-doxygen-docs --disable-silent-rules
CFLAGS="%{optflags} -Werror" %configure --enable-doxygen-docs \
%ifnarch arm armhfp armv7hl armv7l aarch64
--enable-native-unwinder \
%endif
--disable-silent-rules
make %{?_smp_mflags}
%install
@ -924,6 +926,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
%changelog
* Mon Jul 14 2014 Jakub Filak <jfilak@redhat.com> 2.2.2-1
- switch from gdb to native unwinder (elfutils)
- applet: chown each notified problem before reporting it
- koops: don't analyze MCEs like standard oopses
- koops: don't drop not-reportable oopses by default
- abrt_event: fix post-create reporter-uploader examples
- local duplicates must have matching executables
- configui: do not use deprecated gtk3 API
- gdb: disable auto-loaded files
* Tue May 06 2014 Jakub Filak <jfilak@redhat.com> 2.2.1-2
- dbus: Fix desktop centric polkit policy file
- dbus: Fix invalid dbus policy file

View file

@ -1 +1 @@
799e55397e1f72dde9486395abe17605 abrt-2.2.1.tar.gz
5133980911a7d841d073c61a75a490a1 abrt-2.2.2.tar.gz