From 7bf242f871edce2cbe4f236351aef482adbf1676 Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Fri, 18 Feb 2011 11:38:51 +0100 Subject: [PATCH] Fix pinentry-curses running as root by disabling capabilities (#677670) --- pinentry.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pinentry.spec b/pinentry.spec index 49b236a..c576072 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -17,7 +17,7 @@ Name: pinentry Version: 0.8.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Collection of simple PIN or passphrase entry dialogs Group: Applications/System @@ -116,6 +116,7 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh --disable-rpath \ --disable-dependency-tracking \ --disable-pinentry-gtk \ + --without-libcap \ %{?_enable_pinentry_qt} %{!?_enable_pinentry_qt:--disable-pinentry-qt} \ %{?_enable_pinentry_qt4} %{!?_enable_pinentry_qt4:--disable-pinentry-qt4} @@ -188,6 +189,9 @@ fi %changelog +* Fri Feb 18 2011 Stanislav Ochotnicky - 0.8.1-3 +- Fix pinentry-curses running as root by disabling capabilities (#677670) + * Wed Feb 09 2011 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild