development/nexus: Updated for version 3.63.0_01.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Giorgio Peron 2023-12-27 22:30:54 +01:00 committed by Willy Sudiarto Raharjo
parent c48b6acbd4
commit 1157ce1a12
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 6 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for Sonatype Nexus Repository OSS
# Copyright 2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# Copyright 2023 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nexus
VERSION=${VERSION:-3.15.2_01}
VERSION=${VERSION:-3.63.0_01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -101,14 +101,13 @@ ln -sf ../../tmp/$PRGNAM tmp
cd $TMP
cp sonatype-work/nexus3/log/.placeholder $PKG/var/log/$PRGNAM
cp sonatype-work/nexus3/tmp/.placeholder $PKG/var/tmp/$PRGNAM
cp -r sonatype-work/nexus3/orient $PKG/var/lib/$PRGNAM
cp sonatype-work/nexus3/clean_cache $PKG/var/lib/$PRGNAM
# Fix configuration files
sed -i $PKG/usr/share/$PRGNAM/bin/$PRGNAM.rc \
-e "s:#run_as_user=\"\":run_as_user=\"nexus\":g"
sed -i $PKG/usr/share/$PRGNAM/bin/$PRGNAM \
-e "s:# INSTALL4J_JAVA_HOME_OVERRIDE=:INSTALL4J_JAVA_HOME_OVERRIDE=\"/usr/lib${LIBDIRSUFFIX}/java\":g"
-e "s:# INSTALL4J_JAVA_HOME_OVERRIDE=:INSTALL4J_JAVA_HOME_OVERRIDE=\"/usr/lib${LIBDIRSUFFIX}/zulu-openjdk8\":g"
sed -i $PKG/usr/share/$PRGNAM/bin/$PRGNAM.vmoptions \
-e "s\-XX:LogFile=../sonatype-work/nexus3/log/jvm.log\-XX:LogFile=/var/lib/nexus/log/jvm.log\g" \
-e "s:-Dkaraf.data=../sonatype-work/nexus3:-Dkaraf.data=/var/lib/nexus:g" \

View File

@ -1,8 +1,8 @@
PRGNAM="nexus"
VERSION="3.15.2_01"
VERSION="3.63.0_01"
HOMEPAGE="https://www.sonatype.com/nexus-repository-oss"
DOWNLOAD="https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.15.2-01-unix.tar.gz"
MD5SUM="cd032359593564ee75e5c78c74001c7b"
DOWNLOAD="https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-3.63.0-01-unix.tar.gz"
MD5SUM="d03a60873e4d81500607bcc829aa5d6e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8"