nexus-oss: update 3.27.0-03
This commit is contained in:
parent
1a488e0e73
commit
64f6de378c
1 changed files with 10 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: PAPPY <pappy _AT_ a s c e l i o n _DOT_ com>
|
||||
|
||||
_version=3.25.1
|
||||
_patch=02
|
||||
_version=3.27.0
|
||||
_patch=03
|
||||
|
||||
pkgname=nexus-oss
|
||||
pkgver=${_version}.${_patch}
|
||||
|
@ -17,7 +17,9 @@ backup=("var/lib/$pkgname/etc/nexus.properties"
|
|||
"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"
|
||||
"https://repo1.maven.org/maven2/javax/activation/javax.activation-api/1.2.0/javax.activation-api-1.2.0.jar"
|
||||
"$pkgname"
|
||||
"$pkgname.install"
|
||||
"$pkgname.properties"
|
||||
|
@ -27,7 +29,8 @@ source=("https://download.sonatype.com/nexus/3/nexus-$_version-$_patch-unix.tar.
|
|||
"$pkgname.vmoptions"
|
||||
"pref_jre.cfg"
|
||||
)
|
||||
sha256sums=('d3a49905e2bac421b7b7d6299312a9c65e194a8c17d994ee83b06c58eafe43e5'
|
||||
sha256sums=('ba90c2ea1d4f74acb89917d09744a97e97c1377301ec7aaed7f1ea75412735c0'
|
||||
'43fdef0b5b6ceb31b0424b208b930c74ab58fac2ceeb7b3f6fd3aeb8b5ca4393'
|
||||
'3d2ebc2a796dbdc7e7e3b97e4c3272292169c898776e111f503f0517e434caff'
|
||||
'f03a4a2a454ab15bbe7b6d479ec4b6a86055a4ffb77704dc44fe11a19382278b'
|
||||
'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b'
|
||||
|
@ -43,11 +46,15 @@ package() {
|
|||
install -dm755 $pkgdir/usr/lib
|
||||
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 '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
|
||||
|
||||
cp -a $srcdir/nexus-$_version-$_patch $pkgdir/usr/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
|
||||
rm -rf bin/nexus.rc \
|
||||
bin/contrib \
|
||||
|
|
Loading…
Add table
Reference in a new issue