[kde-runtime] * Mon Feb 06 2012 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.8.0-2 - make DrKonqi work by default by

Kevin Kofler kkofler at fedoraproject.org
Mon Feb 6 21:25:45 UTC 2012


commit 8e9c95d3fc643c72a6696344618cca49aa5603c4
Author: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date:   Mon Feb 6 22:25:36 2012 +0100

    * Mon Feb 06 2012 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.8.0-2
    - make DrKonqi work by default by taming SELinux enough (suggested by dwalsh)

 kde-runtime.spec |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/kde-runtime.spec b/kde-runtime.spec
index a293a51..21e3358 100644
--- a/kde-runtime.spec
+++ b/kde-runtime.spec
@@ -11,7 +11,7 @@
 Name:    kde-runtime
 Summary: KDE Runtime
 Version: 4.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # http://techbase.kde.org/Policies/Licensing_Policy
 License: LGPLv2+ and GPLv2+
@@ -207,6 +207,17 @@ rm -rf %{buildroot}
 
 %post
 touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+%if 0%{?fedora} > 16
+# make DrKonqi work by default by taming SELinux enough (suggested by dwalsh)
+# if KDE_DEBUG is set, DrKonqi is disabled, so do nothing
+# if it is unset (or empty), check if deny_ptrace is already disabled
+# if not, disable it
+if [ -z "$KDE_DEBUG" ] ; then
+  if [ `getsebool deny_ptrace 2>/dev/null` == 'deny_ptrace --> on' ] ; then
+    setsebool -P deny_ptrace off &> /dev/null || :
+  fi
+fi
+%endif
 
 %posttrans
 gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
@@ -312,6 +323,9 @@ fi
 
 
 %changelog
+* Mon Feb 06 2012 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.8.0-2
+- make DrKonqi work by default by taming SELinux enough (suggested by dwalsh)
+
 * Fri Jan 20 2012 Jaroslav Reznik <jreznik at redhat.com> - 4.8.0-1
 - 4.8.0
 


More information about the scm-commits mailing list