From 549070db7c0189e718a63e973f98b53b84e126cb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 28 Jul 2013 18:13:10 -0500 Subject: [PATCH] Install tdekbdledsync SUID root on Debian and Ubuntu --- debian/lenny/tdebase/debian/rules | 1 + debian/lenny/tdebase/debian/tdebase-trinity-bin.postinst | 1 + debian/squeeze/tdebase/debian/rules | 1 + debian/squeeze/tdebase/debian/tdebase-trinity-bin.postinst | 1 + debian/wheezy/tdebase/debian/rules | 1 + debian/wheezy/tdebase/debian/tdebase-trinity-bin.postinst | 1 + ubuntu/maverick/tdebase/debian/rules | 1 + ubuntu/maverick/tdebase/debian/tdebase-trinity-bin.postinst | 1 + ubuntu/precise/tdebase/debian/rules | 1 + ubuntu/precise/tdebase/debian/tdebase-trinity-bin.postinst | 1 + ubuntu/raring/tdebase/debian/rules | 1 + ubuntu/raring/tdebase/debian/tdebase-trinity-bin.postinst | 1 + 12 files changed, 12 insertions(+) diff --git a/debian/lenny/tdebase/debian/rules b/debian/lenny/tdebase/debian/rules index 7d6a29fc1..7dd3a42ce 100755 --- a/debian/lenny/tdebase/debian/rules +++ b/debian/lenny/tdebase/debian/rules @@ -247,6 +247,7 @@ binary-install/tdebase-trinity-bin:: install -p -D -m644 debian/80ubuntu-xmodmap debian/tdebase-trinity-bin/etc/X11/Xsession.d/80ubuntu-trinity-xmodmap mkdir -p debian/tdebase-trinity-bin/opt/trinity/share/autostart/ chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/kcheckpass + chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync binary-install/ksmserver-trinity:: install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop diff --git a/debian/lenny/tdebase/debian/tdebase-trinity-bin.postinst b/debian/lenny/tdebase/debian/tdebase-trinity-bin.postinst index 8e0bf94c8..e23d07de2 100644 --- a/debian/lenny/tdebase/debian/tdebase-trinity-bin.postinst +++ b/debian/lenny/tdebase/debian/tdebase-trinity-bin.postinst @@ -12,6 +12,7 @@ fi case "$1" in configure) chmod +s /opt/trinity/bin/kcheckpass || true + chmod +s /opt/trinity/bin/tdekbdledsync || true ;; abort-upgrade) ;; diff --git a/debian/squeeze/tdebase/debian/rules b/debian/squeeze/tdebase/debian/rules index 7d6a29fc1..7dd3a42ce 100755 --- a/debian/squeeze/tdebase/debian/rules +++ b/debian/squeeze/tdebase/debian/rules @@ -247,6 +247,7 @@ binary-install/tdebase-trinity-bin:: install -p -D -m644 debian/80ubuntu-xmodmap debian/tdebase-trinity-bin/etc/X11/Xsession.d/80ubuntu-trinity-xmodmap mkdir -p debian/tdebase-trinity-bin/opt/trinity/share/autostart/ chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/kcheckpass + chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync binary-install/ksmserver-trinity:: install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop diff --git a/debian/squeeze/tdebase/debian/tdebase-trinity-bin.postinst b/debian/squeeze/tdebase/debian/tdebase-trinity-bin.postinst index 8e0bf94c8..e23d07de2 100644 --- a/debian/squeeze/tdebase/debian/tdebase-trinity-bin.postinst +++ b/debian/squeeze/tdebase/debian/tdebase-trinity-bin.postinst @@ -12,6 +12,7 @@ fi case "$1" in configure) chmod +s /opt/trinity/bin/kcheckpass || true + chmod +s /opt/trinity/bin/tdekbdledsync || true ;; abort-upgrade) ;; diff --git a/debian/wheezy/tdebase/debian/rules b/debian/wheezy/tdebase/debian/rules index 7d6a29fc1..7dd3a42ce 100755 --- a/debian/wheezy/tdebase/debian/rules +++ b/debian/wheezy/tdebase/debian/rules @@ -247,6 +247,7 @@ binary-install/tdebase-trinity-bin:: install -p -D -m644 debian/80ubuntu-xmodmap debian/tdebase-trinity-bin/etc/X11/Xsession.d/80ubuntu-trinity-xmodmap mkdir -p debian/tdebase-trinity-bin/opt/trinity/share/autostart/ chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/kcheckpass + chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync binary-install/ksmserver-trinity:: install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop diff --git a/debian/wheezy/tdebase/debian/tdebase-trinity-bin.postinst b/debian/wheezy/tdebase/debian/tdebase-trinity-bin.postinst index 8e0bf94c8..e23d07de2 100644 --- a/debian/wheezy/tdebase/debian/tdebase-trinity-bin.postinst +++ b/debian/wheezy/tdebase/debian/tdebase-trinity-bin.postinst @@ -12,6 +12,7 @@ fi case "$1" in configure) chmod +s /opt/trinity/bin/kcheckpass || true + chmod +s /opt/trinity/bin/tdekbdledsync || true ;; abort-upgrade) ;; diff --git a/ubuntu/maverick/tdebase/debian/rules b/ubuntu/maverick/tdebase/debian/rules index d212816b0..4d409f6b5 100755 --- a/ubuntu/maverick/tdebase/debian/rules +++ b/ubuntu/maverick/tdebase/debian/rules @@ -247,6 +247,7 @@ binary-install/tdebase-trinity-bin:: install -p -D -m644 debian/80ubuntu-xmodmap debian/tdebase-trinity-bin/etc/X11/Xsession.d/80ubuntu-trinity-xmodmap mkdir -p debian/tdebase-trinity-bin/opt/trinity/share/autostart/ chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/kcheckpass + chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync binary-install/ksmserver-trinity:: install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop diff --git a/ubuntu/maverick/tdebase/debian/tdebase-trinity-bin.postinst b/ubuntu/maverick/tdebase/debian/tdebase-trinity-bin.postinst index 8e0bf94c8..e23d07de2 100644 --- a/ubuntu/maverick/tdebase/debian/tdebase-trinity-bin.postinst +++ b/ubuntu/maverick/tdebase/debian/tdebase-trinity-bin.postinst @@ -12,6 +12,7 @@ fi case "$1" in configure) chmod +s /opt/trinity/bin/kcheckpass || true + chmod +s /opt/trinity/bin/tdekbdledsync || true ;; abort-upgrade) ;; diff --git a/ubuntu/precise/tdebase/debian/rules b/ubuntu/precise/tdebase/debian/rules index d212816b0..4d409f6b5 100755 --- a/ubuntu/precise/tdebase/debian/rules +++ b/ubuntu/precise/tdebase/debian/rules @@ -247,6 +247,7 @@ binary-install/tdebase-trinity-bin:: install -p -D -m644 debian/80ubuntu-xmodmap debian/tdebase-trinity-bin/etc/X11/Xsession.d/80ubuntu-trinity-xmodmap mkdir -p debian/tdebase-trinity-bin/opt/trinity/share/autostart/ chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/kcheckpass + chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync binary-install/ksmserver-trinity:: install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop diff --git a/ubuntu/precise/tdebase/debian/tdebase-trinity-bin.postinst b/ubuntu/precise/tdebase/debian/tdebase-trinity-bin.postinst index 8e0bf94c8..e23d07de2 100644 --- a/ubuntu/precise/tdebase/debian/tdebase-trinity-bin.postinst +++ b/ubuntu/precise/tdebase/debian/tdebase-trinity-bin.postinst @@ -12,6 +12,7 @@ fi case "$1" in configure) chmod +s /opt/trinity/bin/kcheckpass || true + chmod +s /opt/trinity/bin/tdekbdledsync || true ;; abort-upgrade) ;; diff --git a/ubuntu/raring/tdebase/debian/rules b/ubuntu/raring/tdebase/debian/rules index d212816b0..4d409f6b5 100755 --- a/ubuntu/raring/tdebase/debian/rules +++ b/ubuntu/raring/tdebase/debian/rules @@ -247,6 +247,7 @@ binary-install/tdebase-trinity-bin:: install -p -D -m644 debian/80ubuntu-xmodmap debian/tdebase-trinity-bin/etc/X11/Xsession.d/80ubuntu-trinity-xmodmap mkdir -p debian/tdebase-trinity-bin/opt/trinity/share/autostart/ chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/kcheckpass + chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync binary-install/ksmserver-trinity:: install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop diff --git a/ubuntu/raring/tdebase/debian/tdebase-trinity-bin.postinst b/ubuntu/raring/tdebase/debian/tdebase-trinity-bin.postinst index 8e0bf94c8..e23d07de2 100644 --- a/ubuntu/raring/tdebase/debian/tdebase-trinity-bin.postinst +++ b/ubuntu/raring/tdebase/debian/tdebase-trinity-bin.postinst @@ -12,6 +12,7 @@ fi case "$1" in configure) chmod +s /opt/trinity/bin/kcheckpass || true + chmod +s /opt/trinity/bin/tdekbdledsync || true ;; abort-upgrade) ;;