From c1c60b5723a1f1f4f93f2c57ff923da864e23967 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Tue, 21 Feb 2023 15:53:29 +0100 Subject: [PATCH] Fix xvfb-run script with --listen-tcp Resolves: rhbz#2172116 --- xorg-x11-server.spec | 6 +++++- xvfb-run.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index 88ce121..f7892c4 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -42,7 +42,7 @@ Summary: X.Org X11 X server Name: xorg-x11-server Version: 1.20.11 -Release: 16%{?gitdate:.%{gitdate}}%{?dist} +Release: 17%{?gitdate:.%{gitdate}}%{?dist} URL: http://www.x.org License: MIT @@ -563,6 +563,10 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete %changelog +* Tue Feb 21 2023 Olivier Fourdan - 1.20.11-17 +- Fix xvfb-run script with --listen-tcp + Resolves: rhbz#2172116 + * Wed Feb 08 2023 Peter Hutterer - 1.20.11-16 - CVE-2023-0494 (#2166973) diff --git a/xvfb-run.sh b/xvfb-run.sh index 9d088c1..5d4447b 100644 --- a/xvfb-run.sh +++ b/xvfb-run.sh @@ -120,7 +120,7 @@ while :; do -f|--auth-file) AUTHFILE="$2"; shift ;; -h|--help) SHOWHELP="yes" ;; -n|--server-num) SERVERNUM="$2"; shift ;; - -l|--listen-tcp) LISTENTCP="" ;; + -l|--listen-tcp) LISTENTCP="-listen tcp" ;; -p|--xauth-protocol) XAUTHPROTO="$2"; shift ;; -s|--server-args) XVFBARGS="$2"; shift ;; -w|--wait) STARTWAIT="$2"; shift ;;