Hello all,
I'm trying to update a really old port mail/james to 3.4.0 PR 243859. It's built with Java 8 which runs OK on Java 11 with some caveat. It uses log4j (v1) that's EOL in 2015. I'd want to replace with log4j2 jars. I've tested it works with Java 11 because log4j is really broken in Java 9+ and there's a matter of security risk in using EOL software. I can use the patch files to replace the log4j configurations file but I'm at a loss on removing the old jars and put int the new ones. I remember seeing "remove" command in the Makefile for one of the ports. The process I was thinking of is this:
1) Extract
2) Patch (log4j configurations)
3) Remove the old jars.
4) Get the new jars
5) Package
I'm stuck on how to proceed at 3 & 4. I'm thinking that I could tell the port to download the needed jars from the maven repo.
Thanks,
Tommy
I'm trying to update a really old port mail/james to 3.4.0 PR 243859. It's built with Java 8 which runs OK on Java 11 with some caveat. It uses log4j (v1) that's EOL in 2015. I'd want to replace with log4j2 jars. I've tested it works with Java 11 because log4j is really broken in Java 9+ and there's a matter of security risk in using EOL software. I can use the patch files to replace the log4j configurations file but I'm at a loss on removing the old jars and put int the new ones. I remember seeing "remove" command in the Makefile for one of the ports. The process I was thinking of is this:
1) Extract
2) Patch (log4j configurations)
3) Remove the old jars.
4) Get the new jars
5) Package
I'm stuck on how to proceed at 3 & 4. I'm thinking that I could tell the port to download the needed jars from the maven repo.
Thanks,
Tommy