diff --git a/nexus-oss/.SRCINFO b/nexus-oss/.SRCINFO index 6dcbcb1..8e06a69 100644 --- a/nexus-oss/.SRCINFO +++ b/nexus-oss/.SRCINFO @@ -1,11 +1,11 @@ pkgbase = nexus-oss pkgdesc = Nexus 3 Repository OSS pkgver = 3.61.0.02 - pkgrel = 1 + pkgrel = 2 url = http://nexus.sonatype.org arch = any license = custom:nexus-oss - depends = java-runtime=17 + depends = java-runtime=21 provides = nexus3 replaces = nexus3 backup = var/lib/nexus-oss/etc/nexus.properties @@ -25,6 +25,6 @@ pkgbase = nexus-oss sha256sums = 29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6 sha256sums = 939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c sha256sums = 176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4 - sha256sums = b57a14b2462899a8b5c03e1b721e6fcae594934dcf0c4be842692b276d6700ae + sha256sums = 08a372b6601a4a3bce832f5d73f9d35e5b700984b9947b34bb679c39902e8804 pkgname = nexus-oss diff --git a/nexus-oss/PKGBUILD b/nexus-oss/PKGBUILD index acee3fa..5c0ed90 100644 --- a/nexus-oss/PKGBUILD +++ b/nexus-oss/PKGBUILD @@ -3,12 +3,12 @@ _patch=02 pkgname=nexus-oss pkgver=${_version}.${_patch} -pkgrel=1 +pkgrel=2 pkgdesc='Nexus 3 Repository OSS' arch=('any') url='http://nexus.sonatype.org' license=("custom:$pkgname") -depends=('java-runtime=17') +depends=('java-runtime=21') replaces=('nexus3') provides=('nexus3') backup=("var/lib/$pkgname/etc/nexus.properties" @@ -30,9 +30,16 @@ sha256sums=('885e0ec08a7e22db9fc5fc926fb7b7594439070826b22f555bc21a669a7bbcbf' '29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6' '939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c' '176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4' - 'b57a14b2462899a8b5c03e1b721e6fcae594934dcf0c4be842692b276d6700ae') + '08a372b6601a4a3bce832f5d73f9d35e5b700984b9947b34bb679c39902e8804') prepare() { + sed -i '/eecap-16/i eecap-21 = osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \\\ + osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0", \\\ + osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \\\ + osgi.ee; osgi.ee="JavaSE/compact1"; version:List="1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0", \\\ + osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0", \\\ + osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0"' $srcdir/nexus-$_version-$_patch/etc/karaf/config.properties + sed -i '/eecap-16/i eecap-17 = osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \\\ osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0", \\\ osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \\\ @@ -40,6 +47,8 @@ prepare() { osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0", \\\ osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0,11.0,13.0,14.0,15.0,16.0,17.0"' $srcdir/nexus-$_version-$_patch/etc/karaf/config.properties + sed -i '/jre-19 = ${jre-18}/a jre-20 = ${jre-19}\njre-21 = ${jre-20}' $srcdir/nexus-$_version-$_patch/etc/karaf/jre.properties + } package() { diff --git a/nexus-oss/pref_jre.cfg b/nexus-oss/pref_jre.cfg index 17cbddf..f38b6d6 100644 --- a/nexus-oss/pref_jre.cfg +++ b/nexus-oss/pref_jre.cfg @@ -1 +1 @@ -/usr/lib/jvm/java-17-openjdk +/usr/lib/jvm/java-21-openjdk