From nobody Mon Jan 08 05:28:49 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T7jKF4LN5z56yr6 for ; Mon, 8 Jan 2024 05:28:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T7jKF2yKHz4Lqc for ; Mon, 8 Jan 2024 05:28:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704691729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F76XxqdBelp0aNAdLuN4fjEVvqTHFFp3AbN0RUainpE=; b=qqCfD0iPL85STnFOCkaCzAYfbTh5zfhMIiWSbgYikj/0GV7bZ0PregRlp9vt5ryTz2SbAd PhsnoiROqQ/H4MbaVE2Sac5wSrRbRy8H9kkWj0OgM4IJ1vhf9NncXAurAyR2ep1/xYVowk Hn3QmAqpVb1jA99yXrfzPo8jcaBLptySGZ5X+bu3L6FnRFmhGAe3odftKfhB2AtIK3i0Ty 9xc5QrJTMrmc11KrgyeZ0SMijuwdUA21zLBSjYUpKFE4gon92hJfER9yNWzhgcd3LY6gKK /FBxlDh9d8/TeOFBxQ2UXatgifHOjvnxISPlWz/4GnltApiEw64Dy4nE84XZDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704691729; a=rsa-sha256; cv=none; b=kqxbj2805TEXWwuEKePkVl1M6OE30u1I+Ch4ryxZhER6XIWpdQ6yBXvJ+earE+s9FPJdbl 7MVIEe868VgYsV2V3qGmArNNWIdfVNEkYYMffmr1fVeuVHODNjnZjS90bnT1Vm2DRPSGAk sQBr6sKHRIPA7qxghbbtPVvhjpelMvvPGBHVQvtsns84mxQRbgKGvaF05KaT4alLRXlayl VV9D7F/HdRQr2vr1GcVoyZEdg7c3ghjkiactNBCpq3Ivgr5kuC1t3dUOxx4iXukuXvWOE7 nt1z5w+Dk75KEC0sv4ZueIE7lnJEQMYwLvtcUi2+I+Z1CgFgorGHu4yKkbnZ0w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T7jKF222Tztrx for ; Mon, 8 Jan 2024 05:28:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4085Snx4079963 for ; Mon, 8 Jan 2024 05:28:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4085SnV1079962 for ports-bugs@FreeBSD.org; Mon, 8 Jan 2024 05:28:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276194] category/port x11vnc fails with -auth argument Date: Mon, 08 Jan 2024 05:28:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gdinolt@pacbell.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276194 Bug ID: 276194 Summary: category/port x11vnc fails with -auth argument Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: gdinolt@pacbell.net Attachment #247524 text/plain mime type: Created attachment 247524 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247524&action= =3Dedit Patch file to fix -auth parsing in src/ssltools.h x11vnc fails with -auth argument as follows in x11vnc.log: 06/01/2024 23:12:29 passing arg to libvncserver: -rfbauth 06/01/2024 23:12:29 passing arg to libvncserver: /usr/home/dinolt/.vnc/pass= wd 06/01/2024 23:12:29 x11vnc version: 0.9.16 lastmod: 2019-01-05 pid: 1525 [: -a: unexpected operator [: -a: unexpected operator 06/01/2024 23:12:30 -auth guess: failed for display=3D':0' This fails with both FreeBSD13.2 p8 (and previous) and FreeBSD14 Stable on AMD64. I have not tried on other hardware or versions of the OS.=20 The failure seems to be in the file src/ssltools.h in the parsing of the -a= uth arg where there is an extra space in the regular expression passed to the s= ed at line 1060. I have attached a patch file to be included in the files directory that seems to fix the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=