diff --git a/UPDATING b/UPDATING --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,14 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20251016: + AFFECTS: users of devel/nexus2-oss + AUTHOR: michaelo@FreeBSD.org + + With the upgrade to javaservicewrapper-3.6.3 Nexus won't start unless you + remove all properties ending with '.stripquotes' in your + %%ETCDIR%%/wrapper.conf. + 20251016: AFFECTS: users of sysutils/javaservicewrapper AUTHOR: michaelo@FreeBSD.org diff --git a/devel/nexus2-oss/Makefile b/devel/nexus2-oss/Makefile --- a/devel/nexus2-oss/Makefile +++ b/devel/nexus2-oss/Makefile @@ -1,5 +1,6 @@ PORTNAME= nexus2 PORTVERSION= 2.15.1 +PORTREVISION= 1 DISTVERSIONSUFFIX= 02 CATEGORIES= devel www java MASTER_SITES= https://download.sonatype.com/nexus/oss/ diff --git a/devel/nexus2-oss/files/patch-conf_wrapper.conf b/devel/nexus2-oss/files/patch-conf_wrapper.conf --- a/devel/nexus2-oss/files/patch-conf_wrapper.conf +++ b/devel/nexus2-oss/files/patch-conf_wrapper.conf @@ -1,6 +1,6 @@ --- conf/wrapper.conf 2022-03-23 19:24:46.000000000 +0100 +++ conf/wrapper.conf 2022-04-06 21:10:27.448234000 +0200 -@@ -8,38 +8,34 @@ +@@ -8,38 +8,33 @@ # keywords. # Set the JSW working directory (used as base for resolving relative paths) @@ -40,7 +40,6 @@ -#wrapper.java.additional.9=-XX:+HeapDumpOnOutOfMemoryError +wrapper.java.additional.3=-Djava.util.prefs.userRoot=%%WORKDIR%% +wrapper.java.additional.4=-Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl" -+wrapper.java.additional.4.stripquotes=TRUE +wrapper.java.additional.5=-Djdk.tls.ephemeralDHKeySize=2048 -wrapper.app.parameter.1=./conf/jetty.xml diff --git a/devel/nexus2-oss/files/pkg-message.in b/devel/nexus2-oss/files/pkg-message.in --- a/devel/nexus2-oss/files/pkg-message.in +++ b/devel/nexus2-oss/files/pkg-message.in @@ -32,6 +32,15 @@ https://help.sonatype.com/repomanager2 EOM }, +{ + type: upgrade + maximum_version: "2.15.1_1" + message: <