diff options
Diffstat (limited to 'net-misc/tigervnc')
-rw-r--r-- | net-misc/tigervnc/Manifest | 2 | ||||
-rw-r--r-- | net-misc/tigervnc/files/tigervnc-1.13.1.confd | 13 | ||||
-rw-r--r-- | net-misc/tigervnc/files/tigervnc-1.13.1.initd | 88 |
3 files changed, 0 insertions, 103 deletions
diff --git a/net-misc/tigervnc/Manifest b/net-misc/tigervnc/Manifest index d1e447bebd82..53f8ad16409f 100644 --- a/net-misc/tigervnc/Manifest +++ b/net-misc/tigervnc/Manifest @@ -1,7 +1,5 @@ AUX tigervnc-1.11.0-install-java-viewer.patch 788 BLAKE2B b3da744d21030bf988dc21bca66a17811b1180ad89fcbc6e3ca8b70b8803c284456cc14393dddf5f2f395d9044d90e8ac8ee50d155be7779b08c14d7bbcb270b SHA512 5f9650a6f8589ab952506cbf6a67f603fc720a70dd76a505da69812c039fb9a0a4137c9667ce11e253a35bade056a18d2fa584ac23cda8111ff1fe17e90f025a AUX tigervnc-1.12.80-disable-server-and-pam.patch 1394 BLAKE2B fcda4d2199dce67a189e3b3aba7e88e41d2325e79147de7a5e0a414aff2583ac0bda1de7e372b907527177612eaeb2462294dbf578f5342701e9d274f09e4f78 SHA512 ec1fa15f70ff508636c02cf3b945b7e372fb391c674e47c6c0cbfc871400a3fc6f0847dae62cf7eb5d56afae121b9aec8d19359319ca0e7e04df03b3bec3cc5e -AUX tigervnc-1.13.1.confd 518 BLAKE2B ee5e354a36638850595cda0c4d083c6837609201cca520175f78b03aa8cce18c6b89f534cdaf6c409ecd5aacf0c0115a52ebd458cc4aaa4aa0ba19942e2352cf SHA512 57db5b7ba590a48fc7e91da13cbe2ff0bf6e96088d522d214f6dc5266ea9dc214c561c9705380477f25d65eede870ef3b054fa77fabac78cd5ac449204e07b59 -AUX tigervnc-1.13.1.initd 2635 BLAKE2B 4600e73a22cb774030bcb0f750a50b134f06183a30008781e78c5e64034ab4ae8e5598e8e65f01c2bee96276ded4ec583df73f5eee0bc1ff1e8c2524af9ea6fd SHA512 acdbd97e3f559474c0c5b9211a8a3885f70d7d59a89c236d01b50490c6c2a70c4b7f9c2346f161640b09123cadb8803f0cbe9ddaa0efd046bcdd00033f133673 AUX tigervnc-1.14.0-typo-VncAuth.patch 763 BLAKE2B 6e0f209159aac2f6ed78784606b7d3fd4a3bb618321249eb75452441f8781571e08da8a83fb657559e75e81f0ebf5d55affb5f965c0523adf5cdf349aa2cfcd3 SHA512 8c4c80b735060a15e25eec17ec155e321f1b6fa3bf5367838cbaababc3850a0894ae89fb53821b8efced801cc97295b8602b19d9a99e72767e00b402288d990a AUX tigervnc-1.14.0-xsession-path.patch 1008 BLAKE2B f73bbab10b21a8b27b5b1773e43b254ca5e5017efd84aba8916ad6b5549c2cffabcbac7c14c0b1d8dbb2fb280299d580ceab45399b593abc8f520d692988024b SHA512 cc3ead0af6c618b00914a131723fcf401f913a10e3398e92702387e805dc94f7878558deff4ee12d58e8f2608a7d268ba937a8fcc34ed303b9e3328e77b98bf6 AUX tigervnc-1.14.0.confd 530 BLAKE2B 1152c237744ee69ab317a8d979a8282abb259cb359500b251c31faf6a683ec11c31ef283749e420f5fce54a9f5bec7e97df4ccfdae41871173d30458c8669137 SHA512 75dbae29d2bab1e1b56f9d2d73bb674cbd968a9919e085bc1d356726caed91b469474753176d657c0b5ef2afe6fdf691b661d2224062b22bc39a9752951ac6d4 diff --git a/net-misc/tigervnc/files/tigervnc-1.13.1.confd b/net-misc/tigervnc/files/tigervnc-1.13.1.confd deleted file mode 100644 index bb6dae7df032..000000000000 --- a/net-misc/tigervnc/files/tigervnc-1.13.1.confd +++ /dev/null @@ -1,13 +0,0 @@ -# Config file for /etc/init.d/tigervnc - -# Add the user(s) Xvnc(1) should be run for to /etc/tigervnc/vncserver.users -# DISPLAYS is no loger used. - -# Optionally override the default Xsession file -# TIGERVNC_XSESSION_FILE="/usr/share/sddm/scripts/Xsession" -# TIGERVNC_XSESSION_FILE="/etc/gdm/Xsession" -# TIGERVNC_XSESSION_FILE="/etc/lightdm/Xsession" -# TIGERVNC_XSESSION_FILE="/usr/share/slim/Xsession" - -# vncsession no longer supports VNC_OPTS -# Use /etc/tigervnc/vncserver-config-defaults or $HOME/.vnc/config instead diff --git a/net-misc/tigervnc/files/tigervnc-1.13.1.initd b/net-misc/tigervnc/files/tigervnc-1.13.1.initd deleted file mode 100644 index f7e72fa84c07..000000000000 --- a/net-misc/tigervnc/files/tigervnc-1.13.1.initd +++ /dev/null @@ -1,88 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License, v2 or later - -# shellcheck shell=sh - -# Create symlinks for all displays. -# For example for display :1, run `ln -s tigervnc /etc/init.d/tigervnc.1` -# Then `rc-update add tigervnc.1 default` -# For compatibility, /etc/init.d/tigervnc will start all displays. - -DISPLAYS=${SVCNAME#*.} -if [ "$DISPLAYS" = "tigervnc" ]; then - should_warn=1 - DISPLAYS=$(grep -v "^#" /etc/tigervnc/vncserver.users | sed -e 's/=.*//' -e 's/^://') -fi - -depend() { - need net -} - -checkconfig() { - if [ -n "${DISPLAYS}" ]; then - if [ "$1" = "start" ]; then - for display in $DISPLAYS; do - user="$(grep "^:${display}" /etc/tigervnc/vncserver.users)" - user=${user#*=} - # bug #690046 - if [ -z "${user}" ]; then - eerror "User is not defined for display :${display} in /etc/tigervnc/vncserver.users" - return 1 - elif ! runuser -l "${user}" -c "[ -f ~/.vnc/passwd ]"; then - eerror "There are no passwords defined for user ${user}." - return 1 - elif [ -e "/tmp/.X11-unix/X${display}" ]; then - eerror "Display :${display} appears to be already in use because of /tmp/.X11-unix/X${display}" - eerror "Remove this file if there is no X server for :${display}" - return 1 - elif [ -e "/tmp/.X${display}-lock" ]; then - eerror "Display :${display} appears to be already in use because of /tmp/.X${display}-lock" - eerror "Remove this file if there is no X server for :${display}" - return 1 - fi - FREEDISPLAYS="${FREEDISPLAYS} ${display}" - done - fi - return 0 - else - eerror 'There are no displays configured in /etc/tigervnc/vncserver.users' - return 1 - fi -} - -checkwarn() { - if [ "${should_warn}" = "1" ]; then - ewarn 'Running /etc/init.d/tigervnc in compatibility mode' - ewarn 'Please migrate to one service per display as detailed here:' - ewarn 'https://wiki.gentoo.org/wiki/TigerVNC#Migrating_from_1.13.1-r2_or_lower:' - fi -} - -start() { - checkwarn - FREEDISPLAYS="" - checkconfig start || return 1 - for display in $FREEDISPLAYS; do - [ -n "${TIGERVNC_XSESSION_FILE}" ] && export TIGERVNC_XSESSION_FILE - ebegin "Starting TigerVNC server :${display}" - start-stop-daemon --start --pidfile=/run/vncsession-":${display}".pid /usr/libexec/vncsession-start -- ":${display}" - eend $? - done -} - -stop() { - checkconfig stop || return 2 - for display in $DISPLAYS; do - ebegin "Stopping TigerVNC server :${display}" - start-stop-daemon --stop --pidfile=/run/vncsession-":${display}".pid - eend $? - done - # Do not fail if a server is missing - /bin/true -} - -restart() { - svc_stop - svc_start -} |