summaryrefslogtreecommitdiffstats
path: root/development/nexus/nexus.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/nexus/nexus.SlackBuild')
-rw-r--r--development/nexus/nexus.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/development/nexus/nexus.SlackBuild b/development/nexus/nexus.SlackBuild
index cf8f6cd732..3b3546863b 100644
--- a/development/nexus/nexus.SlackBuild
+++ b/development/nexus/nexus.SlackBuild
@@ -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" \