git: 3f8e2df713ba - main - net/x11vnc: bugfix for -auth argument
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 09:56:55 UTC
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f8e2df713baa079cddbfc5f73dc782fe0aa1859 commit 3f8e2df713baa079cddbfc5f73dc782fe0aa1859 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2024-01-08 09:56:38 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2024-01-08 09:56:38 +0000 net/x11vnc: bugfix for -auth argument PR: 276194 --- net/x11vnc/Makefile | 2 +- net/x11vnc/files/patch-ssltools.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile index 5b290dc69d39..3f32bcbbe925 100644 --- a/net/x11vnc/Makefile +++ b/net/x11vnc/Makefile @@ -1,6 +1,6 @@ PORTNAME= x11vnc PORTVERSION= 0.9.16 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net MAINTAINER= dinoex@FreeBSD.org diff --git a/net/x11vnc/files/patch-ssltools.h b/net/x11vnc/files/patch-ssltools.h new file mode 100644 index 000000000000..e01cd2738f9e --- /dev/null +++ b/net/x11vnc/files/patch-ssltools.h @@ -0,0 +1,11 @@ +--- src/ssltools.h.orig 2019-01-05 13:22:11 UTC ++++ src/ssltools.h +@@ -1057,7 +1057,7 @@ char find_display[] = + "#\n" + "if [ \"X$FD_XDM\" != \"X\" ]; then\n" + " list=\"\"\n" +-" for pair in `echo \"$psout\" | grep '/X.* :[0-9][0-9]* .*-auth' | egrep -v 'startx|xinit' | sed -e 's,^.*/X.* \\(:[0-9][0-9]*\\) .* -auth \\([^ ][^ ]*\\).*$,\\1\\,\\2,' | sort -u`\n" ++" for pair in `echo \"$psout\" | grep '/X.* :[0-9][0-9]* .*-auth' | egrep -v 'startx|xinit' | sed -e 's,^.*/X.* \\(:[0-9][0-9]*\\).*-auth \\([^ ][^ ]*\\).*$,\\1\\,\\2,' | sort -u`\n" + " do\n" + " da=`echo \"$pair\" | awk -F, '{print $1}'`\n" + " xa=`echo \"$pair\" | awk -F, '{print $2}'`\n"