diff --git a/nexus-oss/.SRCINFO b/nexus-oss/.SRCINFO index f87697d..c6730b4 100644 --- a/nexus-oss/.SRCINFO +++ b/nexus-oss/.SRCINFO @@ -1,11 +1,11 @@ pkgbase = nexus-oss pkgdesc = Nexus 3 Repository OSS pkgver = 3.58.1.02 - pkgrel = 1 + pkgrel = 2 url = http://nexus.sonatype.org arch = any license = custom:nexus-oss - depends = java-runtime=11 + depends = java-runtime=17 provides = nexus3 replaces = nexus3 backup = var/lib/nexus-oss/etc/nexus.properties @@ -19,12 +19,12 @@ pkgbase = nexus-oss source = nexus-oss.vmoptions source = pref_jre.cfg sha256sums = 0a59c68b8575986dead842dd1f373b09e7fdeac549635f1bc6ac54cbe13e1391 - sha256sums = b33fbb8769ac73fe339ea2875a240f308fbd584519f533fba25cf6136eac2dd0 + sha256sums = 637527929c84904d1689c86e047925375b63f41021a6225c24555499d919ca76 sha256sums = dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b sha256sums = f74f500f93767afae47fffe3d2300628435cb2469a89e53c58f62fa60c730e8e sha256sums = 29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6 sha256sums = 939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c sha256sums = 176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4 - sha256sums = d713e29b72522fe4395b6959d27e2a98a24961393e08df7a6b022b1fd77c650d + sha256sums = b57a14b2462899a8b5c03e1b721e6fcae594934dcf0c4be842692b276d6700ae pkgname = nexus-oss diff --git a/nexus-oss/PKGBUILD b/nexus-oss/PKGBUILD index 1e528aa..dbfb73a 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=11') +depends=('java-runtime=17') replaces=('nexus3') provides=('nexus3') backup=("var/lib/$pkgname/etc/nexus.properties" @@ -24,13 +24,23 @@ source=("https://download.sonatype.com/nexus/3/nexus-$_version-$_patch-unix.tar. "pref_jre.cfg" ) sha256sums=('0a59c68b8575986dead842dd1f373b09e7fdeac549635f1bc6ac54cbe13e1391' - 'b33fbb8769ac73fe339ea2875a240f308fbd584519f533fba25cf6136eac2dd0' + '637527929c84904d1689c86e047925375b63f41021a6225c24555499d919ca76' 'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b' 'f74f500f93767afae47fffe3d2300628435cb2469a89e53c58f62fa60c730e8e' '29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6' '939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c' '176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4' - 'd713e29b72522fe4395b6959d27e2a98a24961393e08df7a6b022b1fd77c650d') + 'b57a14b2462899a8b5c03e1b721e6fcae594934dcf0c4be842692b276d6700ae') +prepare() { + + 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", \\\ + 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", \\\ + 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 + +} package() { install -dm755 $pkgdir/usr/lib diff --git a/nexus-oss/nexus-oss b/nexus-oss/nexus-oss index 0fc80b7..781e8e8 100644 --- a/nexus-oss/nexus-oss +++ b/nexus-oss/nexus-oss @@ -4,5 +4,6 @@ java=$(