Created attachment 240615 [details] switch to www/tomcat101 dependency Currently devel/opengrok with TOMCAT10 option depends on deprecated www/tomcat10: ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: EOLd, potential security issues (https://tomcat.apache.org/tomcat-10.0-eol.html), use www/tomcat101 instead. It is scheduled to be removed on or after 2023-06-30. Switch to using www/tomcat101 as suggested. Not updating PORTREVISION as current setup should still work, but new installs should pull new dependency.
Created attachment 240635 [details] update to 1.7.42 and switch to www/tomcat101 Apparently simply switching to tomcat 10.1.x isn't enough as it broke the /api requests, and that was fixed in opengrok 1.7.40. Updated patch to update opengrok to 1.7.42 (latest in 1.7 branch at the moment) and switch to www/tomcat101.
Looks good to me.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea1f6587bdd9449a4698f2c01f53f6607e22d568 commit ea1f6587bdd9449a4698f2c01f53f6607e22d568 Author: Yuri <yuri@aetern.org> AuthorDate: 2023-03-08 23:55:54 +0000 Commit: Don Lewis <truckman@FreeBSD.org> CommitDate: 2023-03-09 00:03:06 +0000 devel/opengrok: update to 1.7.42, with tomcat101 www/tomcat10 is deprecated, so switch to www/tomcat101. This changes the /api requests, which requires opengrok 1.7.40. Upgrade to the latest 1.7.x version of opengrok, which is currently 1.7.42. PR: 269991 devel/opengrok/Makefile | 9 +++---- devel/opengrok/distinfo | 6 ++--- devel/opengrok/pkg-plist | 62 ++++++++++++++++++++++++------------------------ 3 files changed, 39 insertions(+), 38 deletions(-)