From dc4f97dc049a43fbc52c7900de7b55f62aaa8e79 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Sun, 18 Sep 2011 17:26:11 -0500
Subject: Fix kdmtsak suid installation under Debian and Ubuntu

---
 debian/lenny/kdebase/debian/rules    | 4 +++-
 debian/squeeze/kdebase/debian/rules  | 4 +++-
 ubuntu/maverick/kdebase/debian/rules | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/debian/lenny/kdebase/debian/rules b/debian/lenny/kdebase/debian/rules
index ac42efaf8..9c11fa838 100755
--- a/debian/lenny/kdebase/debian/rules
+++ b/debian/lenny/kdebase/debian/rules
@@ -27,7 +27,9 @@ DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -
 # never build in parallel, regardless of DEB_BUILD_OPTIONS.
 DEB_BUILD_PARALLEL = true
 
-DEB_FIXPERMS_EXCLUDE := usr/bin/kdesud
+DEB_FIXPERMS_EXCLUDE := \
+	opt/trinity/bin/kdesud    \
+	opt/trinity/bin/kdmtsak
 
 DEB_DH_STRIP_ARGS  := --dbg-package=kdebase-trinity-dbg
 
diff --git a/debian/squeeze/kdebase/debian/rules b/debian/squeeze/kdebase/debian/rules
index ac42efaf8..9c11fa838 100755
--- a/debian/squeeze/kdebase/debian/rules
+++ b/debian/squeeze/kdebase/debian/rules
@@ -27,7 +27,9 @@ DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -
 # never build in parallel, regardless of DEB_BUILD_OPTIONS.
 DEB_BUILD_PARALLEL = true
 
-DEB_FIXPERMS_EXCLUDE := usr/bin/kdesud
+DEB_FIXPERMS_EXCLUDE := \
+	opt/trinity/bin/kdesud    \
+	opt/trinity/bin/kdmtsak
 
 DEB_DH_STRIP_ARGS  := --dbg-package=kdebase-trinity-dbg
 
diff --git a/ubuntu/maverick/kdebase/debian/rules b/ubuntu/maverick/kdebase/debian/rules
index 7ae20af33..1140cd013 100755
--- a/ubuntu/maverick/kdebase/debian/rules
+++ b/ubuntu/maverick/kdebase/debian/rules
@@ -27,7 +27,9 @@ DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -
 # never build in parallel, regardless of DEB_BUILD_OPTIONS.
 DEB_BUILD_PARALLEL = true
 
-DEB_FIXPERMS_EXCLUDE := usr/bin/kdesud
+DEB_FIXPERMS_EXCLUDE := \
+	opt/trinity/bin/kdesud    \
+	opt/trinity/bin/kdmtsak
 
 DEB_DH_STRIP_ARGS  := --dbg-package=kdebase-trinity-dbg
 
-- 
cgit v1.2.3

