Install tdekbdledsync SUID root on Debian and Ubuntu

pull/3/head
Timothy Pearson 12 years ago
parent c95456d379
commit 549070db7c

@ -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 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/ 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/kcheckpass
chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync
binary-install/ksmserver-trinity:: 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 install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop

@ -12,6 +12,7 @@ fi
case "$1" in case "$1" in
configure) configure)
chmod +s /opt/trinity/bin/kcheckpass || true chmod +s /opt/trinity/bin/kcheckpass || true
chmod +s /opt/trinity/bin/tdekbdledsync || true
;; ;;
abort-upgrade) abort-upgrade)
;; ;;

@ -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 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/ 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/kcheckpass
chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync
binary-install/ksmserver-trinity:: 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 install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop

@ -12,6 +12,7 @@ fi
case "$1" in case "$1" in
configure) configure)
chmod +s /opt/trinity/bin/kcheckpass || true chmod +s /opt/trinity/bin/kcheckpass || true
chmod +s /opt/trinity/bin/tdekbdledsync || true
;; ;;
abort-upgrade) abort-upgrade)
;; ;;

@ -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 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/ 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/kcheckpass
chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync
binary-install/ksmserver-trinity:: 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 install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop

@ -12,6 +12,7 @@ fi
case "$1" in case "$1" in
configure) configure)
chmod +s /opt/trinity/bin/kcheckpass || true chmod +s /opt/trinity/bin/kcheckpass || true
chmod +s /opt/trinity/bin/tdekbdledsync || true
;; ;;
abort-upgrade) abort-upgrade)
;; ;;

@ -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 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/ 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/kcheckpass
chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync
binary-install/ksmserver-trinity:: 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 install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop

@ -12,6 +12,7 @@ fi
case "$1" in case "$1" in
configure) configure)
chmod +s /opt/trinity/bin/kcheckpass || true chmod +s /opt/trinity/bin/kcheckpass || true
chmod +s /opt/trinity/bin/tdekbdledsync || true
;; ;;
abort-upgrade) abort-upgrade)
;; ;;

@ -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 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/ 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/kcheckpass
chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync
binary-install/ksmserver-trinity:: 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 install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop

@ -12,6 +12,7 @@ fi
case "$1" in case "$1" in
configure) configure)
chmod +s /opt/trinity/bin/kcheckpass || true chmod +s /opt/trinity/bin/kcheckpass || true
chmod +s /opt/trinity/bin/tdekbdledsync || true
;; ;;
abort-upgrade) abort-upgrade)
;; ;;

@ -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 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/ 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/kcheckpass
chmod +s debian/tdebase-trinity-bin/opt/trinity/bin/tdekbdledsync
binary-install/ksmserver-trinity:: 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 install -p -D -m644 debian/tmp/opt/trinity/share/apps/tdm/sessions/tde.desktop debian/ksmserver-trinity/usr/share/xsessions/trinity.desktop

@ -12,6 +12,7 @@ fi
case "$1" in case "$1" in
configure) configure)
chmod +s /opt/trinity/bin/kcheckpass || true chmod +s /opt/trinity/bin/kcheckpass || true
chmod +s /opt/trinity/bin/tdekbdledsync || true
;; ;;
abort-upgrade) abort-upgrade)
;; ;;

Loading…
Cancel
Save