# ChangeLog for net-misc/tigervnc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.42 2010/03/06 16:27:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.43 2010/03/06 16:30:01 armin76 Exp $
+
+ 06 Mar 2010; Raúl Porcel <armin76@gentoo.org> files/tigervnc.initd:
+ Provide valid shell, wrt bug #285705
*tigervnc-1.0.1_pre20100306 (06 Mar 2010)
#!/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/tigervnc/files/tigervnc.initd,v 1.2 2009/05/25 16:42:17 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/files/tigervnc.initd,v 1.3 2010/03/06 16:30:03 armin76 Exp $
depend() {
need net
checkconfig start || return 1
ebegin "Starting TigerVNC 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 $?
}
checkconfig stop || return 2
ebegin "Stopping TigerVNC 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 $?
}
# 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:
#!/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
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 $?
}
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 $?
}