use javax activation bundled
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a028f89c60
commit
96521445d6
1 changed files with 12 additions and 21 deletions
|
@ -1,5 +1,3 @@
|
||||||
# Maintainer: PAPPY <pappy _AT_ a s c e l i o n _DOT_ com>
|
|
||||||
|
|
||||||
_version=3.33.0
|
_version=3.33.0
|
||||||
_patch=01
|
_patch=01
|
||||||
|
|
||||||
|
@ -14,23 +12,19 @@ depends=('java-runtime')
|
||||||
replaces=('nexus3')
|
replaces=('nexus3')
|
||||||
provides=($pkgname)
|
provides=($pkgname)
|
||||||
backup=("var/lib/$pkgname/etc/nexus.properties"
|
backup=("var/lib/$pkgname/etc/nexus.properties"
|
||||||
"usr/lib/$pkgname/bin/nexus.vmoptions"
|
"usr/lib/$pkgname/bin/nexus.vmoptions"
|
||||||
)
|
)
|
||||||
#source=("https://sonatype-download.global.ssl.fastly.net/repository/repositoryManager/3/nexus-$_version-$_patch-unix.tar.gz"
|
|
||||||
noextract=('javax.activation-api-1.2.0.jar')
|
|
||||||
source=("https://download.sonatype.com/nexus/3/nexus-$_version-$_patch-unix.tar.gz"
|
source=("https://download.sonatype.com/nexus/3/nexus-$_version-$_patch-unix.tar.gz"
|
||||||
"https://repo1.maven.org/maven2/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar"
|
"$pkgname"
|
||||||
"$pkgname"
|
"$pkgname.install"
|
||||||
"$pkgname.install"
|
"$pkgname.properties"
|
||||||
"$pkgname.properties"
|
"$pkgname.service"
|
||||||
"$pkgname.service"
|
"$pkgname.sysusers"
|
||||||
"$pkgname.sysusers"
|
"$pkgname.tmpfiles"
|
||||||
"$pkgname.tmpfiles"
|
"$pkgname.vmoptions"
|
||||||
"$pkgname.vmoptions"
|
"pref_jre.cfg"
|
||||||
"pref_jre.cfg"
|
)
|
||||||
)
|
|
||||||
sha256sums=('6c960baea9a78d80b07412529f6f7b59baeff82db8cda976b141e87aa7566ee8'
|
sha256sums=('6c960baea9a78d80b07412529f6f7b59baeff82db8cda976b141e87aa7566ee8'
|
||||||
'43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393'
|
|
||||||
'3d2ebc2a796dbdc7e7e3b97e4c3272292169c898776e111f503f0517e434caff'
|
'3d2ebc2a796dbdc7e7e3b97e4c3272292169c898776e111f503f0517e434caff'
|
||||||
'f03a4a2a454ab15bbe7b6d479ec4b6a86055a4ffb77704dc44fe11a19382278b'
|
'f03a4a2a454ab15bbe7b6d479ec4b6a86055a4ffb77704dc44fe11a19382278b'
|
||||||
'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b'
|
'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b'
|
||||||
|
@ -46,15 +40,13 @@ package() {
|
||||||
install -dm755 $pkgdir/usr/lib
|
install -dm755 $pkgdir/usr/lib
|
||||||
install -dm750 $pkgdir/var/lib/$pkgname
|
install -dm750 $pkgdir/var/lib/$pkgname
|
||||||
|
|
||||||
sed -i '448iadd_class_path "$app_home/lib/boot/javax.activation-api-1.2.0.jar"' $srcdir/nexus-$_version-$_patch/bin/nexus
|
sed -i '448iadd_class_path "$app_home/lib/boot/activation-1.1.jar"' $srcdir/nexus-$_version-$_patch/bin/nexus
|
||||||
sed -i '459iadd_class_path "$app_home/lib/endorsed/org.apache.karaf.specs.locator-4.2.9.jar"' $srcdir/nexus-$_version-$_patch/bin/nexus
|
sed -i '459iadd_class_path "$app_home/lib/endorsed/org.apache.karaf.specs.locator-4.2.9.jar"' $srcdir/nexus-$_version-$_patch/bin/nexus
|
||||||
sed -i '146,166d' $srcdir/nexus-$_version-$_patch/bin/nexus
|
sed -i '146,166d' $srcdir/nexus-$_version-$_patch/bin/nexus
|
||||||
|
|
||||||
cp -a $srcdir/nexus-$_version-$_patch $pkgdir/usr/lib/$pkgname
|
cp -a $srcdir/nexus-$_version-$_patch $pkgdir/usr/lib/$pkgname
|
||||||
cp -a $srcdir/sonatype-work/nexus3/orient $pkgdir/var/lib/$pkgname
|
cp -a $srcdir/sonatype-work/nexus3/orient $pkgdir/var/lib/$pkgname
|
||||||
|
|
||||||
cp $srcdir/javax.activation-api-1.2.0.jar $pkgdir/usr/lib/$pkgname/lib/boot
|
|
||||||
|
|
||||||
pushd $pkgdir/usr/lib/$pkgname
|
pushd $pkgdir/usr/lib/$pkgname
|
||||||
rm -rf bin/nexus.rc \
|
rm -rf bin/nexus.rc \
|
||||||
bin/contrib \
|
bin/contrib \
|
||||||
|
@ -73,4 +65,3 @@ package() {
|
||||||
|
|
||||||
chmod -R o-rwx $pkgdir/var/lib/$pkgname
|
chmod -R o-rwx $pkgdir/var/lib/$pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue