From nobody Mon Aug 28 23:28:30 2023 X-Original-To: dev-commits-ports-all@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 4RZRZQ5fGXz4s4WG; Mon, 28 Aug 2023 23:28:30 +0000 (UTC) (envelope-from git@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 4RZRZQ59rbz4bbq; Mon, 28 Aug 2023 23:28:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693265310; 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=U88X0NLauE5vuB6nwP21h+fFrxfmTHVu79U+rK+dhy4=; b=bt46sNkWt4aXC7SmN7saKZuHurIs4gkFNlPDGtc5LPD2nnoROGm4DIfqFBXoQDf+XLPeUJ YHhomK7hQ/zMfoyoNazbwGMJidQ36FHwthmatyGV4icWg72So69jUJznaPOHgBzt+Bc24b 50Y7hzQxbKdbHJVIev0pLmWdJe2rVXEQMoWThMKT7+xS3ZybzeZq/lPXaQb6NWPr5CiBBS 2+mZDr+o/WzE+Byr4qJQfiZUT7CHVoKwXFHtUut2IcCEVhDAVxHeyXHczXQx4b1tvWSyq3 fLpzm3sDj14/UU8izgEUxLM41i5MkJJ57LiX+0GFlrjGpAA95c6KdvxMXvXLXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693265310; a=rsa-sha256; cv=none; b=tlt2ojKKXtS3awNu1vkX0Q2KZsMdoDlinAAVqia9Zalv8y0eADB5cmh6jyJVUfCnB/yXNk tTSpQRypW7fH7k3261cS+rzTfaj91nSPkCIeThezFnYQ+XnjhVkJ2CIqpGeZNgZSkNLh9C uQ41nugL2bmyKswcgh8kVqQwJL7gNlo4c2F9UF9Z2FiPSC0id2UssqLaBKtYGd/j+24Ved TS6u9zULy/RPisu82P/nLc0K7FYhyjifwynBiNz45Xx//kUdPEpYhHSYT7bMYjnJtIrI6q fYWEaP8Bx5L/trR3FVOHEuQSD2w1Aqo3TUt93sA3EDu2+3uLY3mMBo+rKQOb1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693265310; 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=U88X0NLauE5vuB6nwP21h+fFrxfmTHVu79U+rK+dhy4=; b=Q+mRhTLV47RJ3KjCcWmU3fg8F5k2m1hGCOK5+q3O/iPIokI7KyPlsNUGT72wMBU7BObiOc W6LGTSgeHm6Qjl7tAkJVp1D2bhA5EoAZk27H20Wv+aqdJEpNhc0ES77EqFM8iJMxWo88py VUYoT3Q0qIBRO/GGHZJddmV+MyCqYwZjW9Y7g86oCzFLg4FP/DUHAcA1JDBeOYXlOLJtic LN8UqcGmwBJb9Z99Hc4xbM+1gaD45Fo83g614xg/FQVJztjrhFWCnedCI+HSONI7lCuwiR kwNrcGgkZk2zCm8lOHazrWtlgAU83hIuu1X67XKJa+MQ4CTZ0BARGnMLk8EdiA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4RZRZQ4DVqzCkM; Mon, 28 Aug 2023 23:28:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37SNSUmp061333; Mon, 28 Aug 2023 23:28:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37SNSU8x061330; Mon, 28 Aug 2023 23:28:30 GMT (envelope-from git) Date: Mon, 28 Aug 2023 23:28:30 GMT Message-Id: <202308282328.37SNSU8x061330@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 78d590c1287a - main - devel/RStudio: Fix crash caused by the std::bad_cast exception in RStudio-server List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 78d590c1287a4c5cdc5e51404e0702bbb6e7d2c6 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=78d590c1287a4c5cdc5e51404e0702bbb6e7d2c6 commit 78d590c1287a4c5cdc5e51404e0702bbb6e7d2c6 Author: Yuri Victorovich AuthorDate: 2023-08-28 23:25:46 +0000 Commit: Yuri Victorovich CommitDate: 2023-08-28 23:28:28 +0000 devel/RStudio: Fix crash caused by the std::bad_cast exception in RStudio-server This caused users to be unable to log in. The workround is now in place. --- devel/RStudio/Makefile | 2 +- ...patch-src_cpp_server_auth_ServerAuthHandler.cpp | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/devel/RStudio/Makefile b/devel/RStudio/Makefile index 218a96db00d2..dcc39863ecb0 100644 --- a/devel/RStudio/Makefile +++ b/devel/RStudio/Makefile @@ -4,7 +4,7 @@ PORTNAME= RStudio DISTVERSIONPREFIX= v DISTVERSION= 2022.12.0+353 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel math java MASTER_SITES= https://s3.amazonaws.com/rstudio-buildtools/dictionaries/:dictionaries \ https://s3.amazonaws.com/rstudio-buildtools/:buildtools diff --git a/devel/RStudio/files/patch-src_cpp_server_auth_ServerAuthHandler.cpp b/devel/RStudio/files/patch-src_cpp_server_auth_ServerAuthHandler.cpp new file mode 100644 index 000000000000..50698fa7bb48 --- /dev/null +++ b/devel/RStudio/files/patch-src_cpp_server_auth_ServerAuthHandler.cpp @@ -0,0 +1,26 @@ +- workaround for the std:bad_cast exception in the licensed user info retrievel code +- that isn't even used on FreeBSD +- see https://github.com/rstudio/rstudio/issues/12377 +- resolution: the offending function's body is commented out for the time being + +--- src/cpp/server/auth/ServerAuthHandler.cpp.orig 2023-08-28 18:24:18 UTC ++++ src/cpp/server/auth/ServerAuthHandler.cpp +@@ -383,6 +383,7 @@ Error getUserFromDatabase(const boost::shared_ptr