summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-03-06 16:30:55 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-03-06 16:30:55 +0000
commit8451ab4a1dbe69c5c2d80859ccb6d5c8affadffd (patch)
treebfc4265d8587dc673cb7e6eec2f13926c5720ffc /net-misc/tightvnc
parentProvide valid shell, wrt bug #285705 (diff)
downloadgentoo-2-8451ab4a1dbe69c5c2d80859ccb6d5c8affadffd.tar.gz
gentoo-2-8451ab4a1dbe69c5c2d80859ccb6d5c8affadffd.tar.bz2
gentoo-2-8451ab4a1dbe69c5c2d80859ccb6d5c8affadffd.zip
Provide valid shell, wrt bug #285705
(Portage version: 2.1.7.17/cvs/Linux ia64)
Diffstat (limited to 'net-misc/tightvnc')
-rw-r--r--net-misc/tightvnc/ChangeLog7
-rw-r--r--net-misc/tightvnc/files/tightvnc.initd6
2 files changed, 8 insertions, 5 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog
index 645ed92751d3..52cb71c39da5 100644
--- a/net-misc/tightvnc/ChangeLog
+++ b/net-misc/tightvnc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/tightvnc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.144 2009/11/04 19:12:32 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.145 2010/03/06 16:30:54 armin76 Exp $
+
+ 06 Mar 2010; Raúl Porcel <armin76@gentoo.org> files/tightvnc.initd:
+ Provide valid shell, wrt bug #285705
04 Nov 2009; Raúl Porcel <armin76@gentoo.org> +files/1.3.10-sparc.patch,
tightvnc-1.3.10-r1.ebuild:
diff --git a/net-misc/tightvnc/files/tightvnc.initd b/net-misc/tightvnc/files/tightvnc.initd
index b028f5b3cdef..95e60ef2963d 100644
--- a/net-misc/tightvnc/files/tightvnc.initd
+++ b/net-misc/tightvnc/files/tightvnc.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/files/tightvnc.initd,v 1.2 2008/07/14 17:38:03 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/files/tightvnc.initd,v 1.3 2010/03/06 16:30:55 armin76 Exp $
depend() {
need net
@@ -37,7 +37,7 @@ start() {
checkconfig start || return 1
ebegin "Starting TightVNC server"
for user in $DISPLAYS; do
- su ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null
+ su -s /bin/sh ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null
done
eend $?
}
@@ -46,7 +46,7 @@ stop() {
checkconfig stop || return 2
ebegin "Stopping TightVNC server"
for user in $DISPLAYS; do
- su ${user%%:*} -c "vncserver -kill :${user##*:}" &>/dev/null
+ su -s /bin/sh ${user%%:*} -c "vncserver -kill :${user##*:}" &>/dev/null
done
eend $?
}