fix(nexus): adapt to 3.69.0-02
This commit is contained in:
parent
34519cca48
commit
fb32b56d89
@ -21,7 +21,6 @@ pkgbase = nexus-oss
|
||||
source = nexus-oss.vmoptions
|
||||
source = pref_jre.cfg
|
||||
source = DefaultProductLicenseManager.class
|
||||
source = https://repo1.maven.org/maven2/org/apache/aries/spifly/org.apache.aries.spifly.dynamic.framework.extension/1.3.7/org.apache.aries.spifly.dynamic.framework.extension-1.3.7.jar
|
||||
sha256sums = eec80b3ee33dde61443e54dddea258f851951c4aef81c4c6256c1205ca818162
|
||||
sha256sums = 3f34cf42929303219398c1e9f4e690579dcf0a7e176cf031e0f5173203eb802d
|
||||
sha256sums = dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b
|
||||
@ -31,6 +30,5 @@ pkgbase = nexus-oss
|
||||
sha256sums = 176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4
|
||||
sha256sums = 08a372b6601a4a3bce832f5d73f9d35e5b700984b9947b34bb679c39902e8804
|
||||
sha256sums = 4b5d4b116102cdc8b54e5921b1970195789a51750344aee4f070077d96cabd7d
|
||||
sha256sums = 944611d53f85dec763298a92fbdedba63937ec87f591d44f122d502dbe30fdeb
|
||||
|
||||
pkgname = nexus-oss
|
||||
|
@ -24,7 +24,6 @@ source=("https://download.sonatype.com/nexus/3/nexus-$_version-$_patch-unix.tar.
|
||||
"$pkgname.vmoptions"
|
||||
"pref_jre.cfg"
|
||||
"DefaultProductLicenseManager.class"
|
||||
"https://repo1.maven.org/maven2/org/apache/aries/spifly/org.apache.aries.spifly.dynamic.framework.extension/1.3.7/org.apache.aries.spifly.dynamic.framework.extension-1.3.7.jar"
|
||||
)
|
||||
noextract=('org.apache.aries.spifly.dynamic.framework.extension-1.3.7.jar')
|
||||
sha256sums=('eec80b3ee33dde61443e54dddea258f851951c4aef81c4c6256c1205ca818162'
|
||||
@ -35,39 +34,28 @@ sha256sums=('eec80b3ee33dde61443e54dddea258f851951c4aef81c4c6256c1205ca818162'
|
||||
'939994095f0c5de005a1e36a295bea791a70dadfa32af23b400cbd87be57af9c'
|
||||
'176c02ba4299ad818eed75cdaeb42a2d9ffa7332fc74ff30b7c37965e7095df4'
|
||||
'08a372b6601a4a3bce832f5d73f9d35e5b700984b9947b34bb679c39902e8804'
|
||||
'4b5d4b116102cdc8b54e5921b1970195789a51750344aee4f070077d96cabd7d'
|
||||
'944611d53f85dec763298a92fbdedba63937ec87f591d44f122d502dbe30fdeb')
|
||||
'4b5d4b116102cdc8b54e5921b1970195789a51750344aee4f070077d96cabd7d')
|
||||
prepare() {
|
||||
|
||||
sed -i '/eecap-16/i eecap-22 = osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \\\
|
||||
sed -i '/eecap-18/i eecap-22 = 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,18.0,19.0,20.0,21.0,22.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,18.0,19.0,20.0,21.0,22.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,18.0,19.0,20.0,21.0,22.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,18.0,19.0,20.0,21.0,22.0"' $srcdir/nexus-$_version-$_patch/etc/karaf/config.properties
|
||||
|
||||
sed -i '/eecap-16/i eecap-21 = osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \\\
|
||||
sed -i '/eecap-18/i eecap-21 = 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,18.0,19.0,20.0,21.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,18.0,19.0,20.0,21.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,18.0,19.0,20.0,21.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,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<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
|
||||
|
||||
sed -i '/jre-19 = ${jre-18}/a jre-20 = ${jre-19}\njre-21 = ${jre-20}\njre-22 = ${jre-21}' $srcdir/nexus-$_version-$_patch/etc/karaf/jre.properties
|
||||
|
||||
folder=org/sonatype/licensing/product/internal
|
||||
mkdir -p $folder && cp DefaultProductLicenseManager.class $folder
|
||||
zip -ur $srcdir/nexus-$_version-$_patch/system/com/sonatype/licensing/license-bundle/1.6.0/license-bundle-1.6.0.jar $folder/DefaultProductLicenseManager.class
|
||||
|
||||
rm -f $srcdir/nexus-$_version-$_patch/system/org/apache/aries/spifly/org.apache.aries.spifly.dynamic.framework.extension/1.3.6/*.jar
|
||||
cp $srcdir/org.apache.aries.spifly.dynamic.framework.extension-1.3.7.jar $srcdir/nexus-$_version-$_patch/system/org/apache/aries/spifly/org.apache.aries.spifly.dynamic.framework.extension/1.3.6/org.apache.aries.spifly.dynamic.framework.extension-1.3.6.jar
|
||||
}
|
||||
|
||||
package() {
|
||||
|
Loading…
Reference in New Issue
Block a user