This commit is contained in:
parent
c1d63e5642
commit
064a35949d
@ -1,11 +1,11 @@
|
|||||||
pkgbase = nexus-oss
|
pkgbase = nexus-oss
|
||||||
pkgdesc = Nexus 3 Repository OSS
|
pkgdesc = Nexus 3 Repository OSS
|
||||||
pkgver = 3.58.1.02
|
pkgver = 3.58.1.02
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://nexus.sonatype.org
|
url = http://nexus.sonatype.org
|
||||||
arch = any
|
arch = any
|
||||||
license = custom:nexus-oss
|
license = custom:nexus-oss
|
||||||
depends = java-runtime=11
|
depends = java-runtime=17
|
||||||
provides = nexus3
|
provides = nexus3
|
||||||
replaces = nexus3
|
replaces = nexus3
|
||||||
backup = var/lib/nexus-oss/etc/nexus.properties
|
backup = var/lib/nexus-oss/etc/nexus.properties
|
||||||
@ -19,12 +19,12 @@ pkgbase = nexus-oss
|
|||||||
source = nexus-oss.vmoptions
|
source = nexus-oss.vmoptions
|
||||||
source = pref_jre.cfg
|
source = pref_jre.cfg
|
||||||
sha256sums = 0a59c68b8575986dead842dd1f373b09e7fdeac549635f1bc6ac54cbe13e1391
|
sha256sums = 0a59c68b8575986dead842dd1f373b09e7fdeac549635f1bc6ac54cbe13e1391
|
||||||
sha256sums = b33fbb8769ac73fe339ea2875a240f308fbd584519f533fba25cf6136eac2dd0
|
sha256sums = 637527929c84904d1689c86e047925375b63f41021a6225c24555499d919ca76
|
||||||
sha256sums = dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b
|
sha256sums = dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b
|
||||||
sha256sums = f74f500f93767afae47fffe3d2300628435cb2469a89e53c58f62fa60c730e8e
|
sha256sums = f74f500f93767afae47fffe3d2300628435cb2469a89e53c58f62fa60c730e8e
|
||||||
sha256sums = 29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6
|
sha256sums = 29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6
|
||||||
sha256sums = 939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c
|
sha256sums = 939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c
|
||||||
sha256sums = 176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4
|
sha256sums = 176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4
|
||||||
sha256sums = d713e29b72522fe4395b6959d27e2a98a24961393e08df7a6b022b1fd77c650d
|
sha256sums = b57a14b2462899a8b5c03e1b721e6fcae594934dcf0c4be842692b276d6700ae
|
||||||
|
|
||||||
pkgname = nexus-oss
|
pkgname = nexus-oss
|
||||||
|
@ -3,12 +3,12 @@ _patch=02
|
|||||||
|
|
||||||
pkgname=nexus-oss
|
pkgname=nexus-oss
|
||||||
pkgver=${_version}.${_patch}
|
pkgver=${_version}.${_patch}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Nexus 3 Repository OSS'
|
pkgdesc='Nexus 3 Repository OSS'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='http://nexus.sonatype.org'
|
url='http://nexus.sonatype.org'
|
||||||
license=("custom:$pkgname")
|
license=("custom:$pkgname")
|
||||||
depends=('java-runtime=11')
|
depends=('java-runtime=17')
|
||||||
replaces=('nexus3')
|
replaces=('nexus3')
|
||||||
provides=('nexus3')
|
provides=('nexus3')
|
||||||
backup=("var/lib/$pkgname/etc/nexus.properties"
|
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"
|
"pref_jre.cfg"
|
||||||
)
|
)
|
||||||
sha256sums=('0a59c68b8575986dead842dd1f373b09e7fdeac549635f1bc6ac54cbe13e1391'
|
sha256sums=('0a59c68b8575986dead842dd1f373b09e7fdeac549635f1bc6ac54cbe13e1391'
|
||||||
'b33fbb8769ac73fe339ea2875a240f308fbd584519f533fba25cf6136eac2dd0'
|
'637527929c84904d1689c86e047925375b63f41021a6225c24555499d919ca76'
|
||||||
'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b'
|
'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b'
|
||||||
'f74f500f93767afae47fffe3d2300628435cb2469a89e53c58f62fa60c730e8e'
|
'f74f500f93767afae47fffe3d2300628435cb2469a89e53c58f62fa60c730e8e'
|
||||||
'29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6'
|
'29567e274ffacb06e03580d94685b04aeb7197cd84a14108a347ad5307931be6'
|
||||||
'939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c'
|
'939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c'
|
||||||
'176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4'
|
'176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4'
|
||||||
'd713e29b72522fe4395b6959d27e2a98a24961393e08df7a6b022b1fd77c650d')
|
'b57a14b2462899a8b5c03e1b721e6fcae594934dcf0c4be842692b276d6700ae')
|
||||||
|
prepare() {
|
||||||
|
|
||||||
|
sed -i '/eecap-16/i eecap-17 = osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \\\
|
||||||
|
osgi.ee; osgi.ee="JavaSE"; version:List<Version>="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<Version>="1.0,1.1", \\\
|
||||||
|
osgi.ee; osgi.ee="JavaSE/compact1"; version:List<Version>="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<Version>="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<Version>="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() {
|
package() {
|
||||||
install -dm755 $pkgdir/usr/lib
|
install -dm755 $pkgdir/usr/lib
|
||||||
|
@ -4,5 +4,6 @@ java=$(</usr/lib/nexus-oss/.install4j/pref_jre.cfg)
|
|||||||
java_opts=$(</usr/lib/nexus-oss/bin/nexus.vmoptions)
|
java_opts=$(</usr/lib/nexus-oss/bin/nexus.vmoptions)
|
||||||
exec ${java}/bin/java -Dinstall4j.jvmDir=${java} -Dexe4j.moduleName=/usr/lib/nexus-oss/bin/nexus -Dinstall4j.launcherId=245 -Dinstall4j.swt=false -Di4jv=0 -Di4j.vpt=true \
|
exec ${java}/bin/java -Dinstall4j.jvmDir=${java} -Dexe4j.moduleName=/usr/lib/nexus-oss/bin/nexus -Dinstall4j.launcherId=245 -Dinstall4j.swt=false -Di4jv=0 -Di4j.vpt=true \
|
||||||
${java_opts} -classpath '/usr/lib/nexus-oss/.install4j/i4jruntime.jar:/usr/lib/nexus-oss/lib/boot/*:/usr/lib/nexus-oss/lib/endorsed/*' \
|
${java_opts} -classpath '/usr/lib/nexus-oss/.install4j/i4jruntime.jar:/usr/lib/nexus-oss/lib/boot/*:/usr/lib/nexus-oss/lib/endorsed/*' \
|
||||||
|
--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
|
||||||
com.install4j.runtime.launcher.UnixLauncher $1 9d17dc87 0 0 org.sonatype.nexus.karaf.NexusMain
|
com.install4j.runtime.launcher.UnixLauncher $1 9d17dc87 0 0 org.sonatype.nexus.karaf.NexusMain
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
/usr/lib/jvm/java-11-openjdk
|
/usr/lib/jvm/java-17-openjdk
|
||||||
|
Loading…
Reference in New Issue
Block a user