[Bug 290204] devel/slf4j: Update to 2.0.17

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Oct 2025 13:36:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290204

            Bug ID: 290204
           Summary: devel/slf4j: Update to 2.0.17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://www.slf4j.org/
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: skreuzer@FreeBSD.org
          Reporter: atanubiswas484@gmail.com
             Flags: maintainer-feedback?(skreuzer@FreeBSD.org)
          Assignee: skreuzer@FreeBSD.org
 Attachment #264535 maintainer-approval+
             Flags:
             Flags: maintainer-feedback+

Created attachment 264535
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264535&action=edit
update slf4j to 2.0.17

We are experiencing issues with our systems as slf4j has not been updated yet,
but other packages have moved on. So, here is the patch.

Not sure if its a good idea to create a separate slf4j2 port since we are
jumping to 2.x.x. But seems like its a better option to update the existing
port. So, we don't need to update the downstream databases/mysql-connector-j,
textproc/apache-xmlbeans and www/jmeter ports. Then again, since its Java, many
users still might be using 1.x.x
(Please let me know if I should submit a new slf4j2)

Here are the following changes made to the port
1. Updated the version from 1.7.36 to 2.0.17
2. Removed integration, slf4j-android, slf4j-jcl
3. Removed slf4j-log4j12 as it was only in the distfiles but not in the
JARFILES list.
4. Added slf4j-jdk-platform-logging
(Please find the already built jars here
https://repo1.maven.org/maven2/org/slf4j/)

Ran the port on both 14.2 and 14.3. 

Also, ran the downstream 3 ports, but please also run and test them for sanity.

Portlint is complaining but we should not always listen to it!

Changelog: https://github.com/qos-ch/slf4j/releases/tag/v_2.0.17

Let me know if I have missed anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.