Created attachment 248082 [details] 1.2.38 -> 2.0.6 git-diff Update to 2.0.6
No, this must be a separate port, not an upgrade. There is no technical benefit, but has one HUGE drawback: It does not contain the APR connector anymore and may break for people. Please explain what you expect from version 2? PS: I am a Tomcat committer
Just one less warning from the Tomcat 10.1 console complaining about older versions, ie: 31-Jan-2024 07:24:24.963 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent An older version [1.2.38] of the Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of [2.0.5]
(In reply to Jonathan Chen from comment #2) That applies to any Tomcat Native version is is too old, not just 1 or 2. Both shared libraries have distinct names and can be used side by side.
One needs to create a master port www/tomcat-native-common and www/tomcat-native and www/tomcat-native2 can point to it.
Attn: Tomcat Native 1.3.x will be resoved this month: https://lists.apache.org/thread/pxvnzoxvs0dwqvkhgnxv1w054q0tlmdp. It will supersede 1.2.x. for 9.0+ after 8.5.x has gone EOL.
(In reply to Michael Osipov from comment #5) Thank you for sharing the information about Tomcat Native 1.3.x. According to the provided URL, it appears that there is a discussion thread related to this topic on the Apache mailing list
(In reply to Michael Osipov from comment #5 Attn: Tomcat Native 1.3.x will be resoved this month: https://lists.apache.org/thread/pxvnzoxvs0dwqvkhgnxv1w054q0tlmdp https://uno-online.io. It will supersede 1.2.x. for 9.0+ after 8.5.x has gone EOL.) What are the key features or improvements in Tomcat Native 1.3.x compared to 1.2.x?
(In reply to John Roth from comment #7) Except for the few fixes I have added it sports solely a raise in build requirements which do not apply for FreeBSD because we have the lastest APR/OpenSSL/LibreSSL, see https://github.com/apache/tomcat-native/compare/1.2.x...1.3.x#diff-67251169106d0b00b8d20d0706735551e276018519b89b6cb6214f3241181ce7
I wouldn't mind creating www/tomcat-native and be the maintainer since I truly maintain it with others unless ale@ wants to take ownership.
(In reply to Michael Osipov from comment #9) You can take it, no objections.
(In reply to Alex Dupre from comment #10) Should I also take over www/tomcat-native?
(In reply to Michael Osipov from comment #11) If you like, yes, I don't actually use it anymore.
(In reply to Alex Dupre from comment #12) Will do.
Working on the port, but will need some time because I need dynamically exclude OpenSSL 1.1.1 since it is not supported anymore.
Dev branch: https://github.com/michael-o/freebsd-ports/tree/pr-276736
Jon, please test the review in your setup: https://reviews.freebsd.org/D44824
(In reply to Michael Osipov from comment #16) Works for me.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=145858d18e57843af64146a7f961e116b7266956 commit 145858d18e57843af64146a7f961e116b7266956 Author: Michael Osipov <michaelo@apache.org> AuthorDate: 2024-04-17 09:45:43 +0000 Commit: Michael Osipov <michaelo@FreeBSD.org> CommitDate: 2024-04-29 17:09:47 +0000 www/tomcat-native2: new port PR: 276736 Approved by: jrm (mentor) Tested by: jonc@chen.org.nz Differential Revision: https://reviews.freebsd.org/D44824 www/Makefile | 1 + www/tomcat-native2/Makefile (new) | 37 +++++++++++++ www/tomcat-native2/distinfo (new) | 3 ++ .../files/patch-include_ssl__private.h (new) | 12 +++++ www/tomcat-native2/files/patch-src_ssl.c (new) | 63 ++++++++++++++++++++++ .../files/patch-src_sslutils.c (new) | 14 +++++ www/tomcat-native2/pkg-descr (new) | 3 ++ 7 files changed, 133 insertions(+)
Port comitted.