Fix pinentry-curses running as root by disabling capabilities (#677670)

This commit is contained in:
Stanislav Ochotnicky 2011-02-18 11:38:51 +01:00
parent 366c23656b
commit 7bf242f871

View File

@ -17,7 +17,7 @@
Name: pinentry Name: pinentry
Version: 0.8.1 Version: 0.8.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Collection of simple PIN or passphrase entry dialogs Summary: Collection of simple PIN or passphrase entry dialogs
Group: Applications/System Group: Applications/System
@ -116,6 +116,7 @@ unset QTDIR || : ; . /etc/profile.d/qt.sh
--disable-rpath \ --disable-rpath \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-pinentry-gtk \ --disable-pinentry-gtk \
--without-libcap \
%{?_enable_pinentry_qt} %{!?_enable_pinentry_qt:--disable-pinentry-qt} \ %{?_enable_pinentry_qt} %{!?_enable_pinentry_qt:--disable-pinentry-qt} \
%{?_enable_pinentry_qt4} %{!?_enable_pinentry_qt4:--disable-pinentry-qt4} %{?_enable_pinentry_qt4} %{!?_enable_pinentry_qt4:--disable-pinentry-qt4}
@ -188,6 +189,9 @@ fi
%changelog %changelog
* Fri Feb 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-3
- Fix pinentry-curses running as root by disabling capabilities (#677670)
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild