diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | nexus-oss.install | 6 | ||||
-rw-r--r-- | nexus-oss.tmpfiles | 3 | ||||
-rw-r--r-- | nexus-oss.vmoptions | 8 |
5 files changed, 21 insertions, 25 deletions
@@ -1,6 +1,6 @@ pkgbase = nexus-oss pkgdesc = Nexus 3 Repository OSS - pkgver = 3.18.1.01 + pkgver = 3.67.1.01 pkgrel = 1 url = http://nexus.sonatype.org install = nexus-oss.install @@ -11,7 +11,7 @@ pkgbase = nexus-oss replaces = nexus3 backup = var/lib/nexus-oss/etc/nexus.properties backup = usr/lib/nexus-oss/bin/nexus.vmoptions - source = https://download.sonatype.com/nexus/3/nexus-3.18.1-01-unix.tar.gz + source = https://download.sonatype.com/nexus/3/nexus-3.67.1-01-unix.tar.gz source = nexus-oss source = nexus-oss.install source = nexus-oss.properties @@ -20,15 +20,14 @@ pkgbase = nexus-oss source = nexus-oss.tmpfiles source = nexus-oss.vmoptions source = pref_jre.cfg - sha256sums = 6d3e2c32b220a7eee0e1ff81a8dd15a48e5712fc3f379b6102717ba06058707c + sha256sums = 23a4145bbe0edb1670a596c7019a74ac373ad6fd0a9c5c699c9568b62150d40b sha256sums = 3d2ebc2a796dbdc7e7e3b97e4c3272292169c898776e111f503f0517e434caff - sha256sums = 0c8003d478cf12115e236e7e25ce86cd9f1a6f9c8d1c8e41ed17156c8f6d2d08 + sha256sums = 4134913c858fffa86d8873d16ff5d92b337289ff14f2f3776a36614361b8472d sha256sums = dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b sha256sums = 3670748854d3f05623c9a8826605c3e2a97c7b3955104e74b5eed00ed17299c1 sha256sums = 77d699b5ccf6387fa2f69df2cd71cdb75b4ffbf46a10110dd6c0e2802783dbef - sha256sums = 32bfa3f82038f89d2f7140eada1faadf416ae835d5e5cb0573c528398249a63e - sha256sums = 70ea18f8567b7368c5799141e5f1cd0ca7658d6e4a4d29c52a9288446c7cf341 + sha256sums = 281193f73951d2e68c04f3686eea031be56771cbb1148e443e2a6f15a35df6c3 + sha256sums = 62da3195207e23e6945082cd7898ca1e1f22eb52d0538977ab2caf4d1186d8d8 sha256sums = 55fb2aeb4eb3f54c59963870cf43bf5a898a014826d530bf37729fc5e2bc2463 pkgname = nexus-oss - @@ -1,6 +1,6 @@ -# Maintainer: PAPPY <pappy _AT_ a s c e l i o n _DOT_ com> +# Maintainer: pappy <pa314159@users.noreply.github.com> -_version=3.18.1 +_version=3.67.1 _patch=01 pkgname=nexus-oss @@ -16,7 +16,8 @@ provides=($pkgname) backup=("var/lib/$pkgname/etc/nexus.properties" "usr/lib/$pkgname/bin/nexus.vmoptions" ) -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" "$pkgname" "$pkgname.install" "$pkgname.properties" @@ -26,14 +27,14 @@ source=("https://download.sonatype.com/nexus/3/nexus-$_version-$_patch-unix.tar. "$pkgname.vmoptions" "pref_jre.cfg" ) -sha256sums=('6d3e2c32b220a7eee0e1ff81a8dd15a48e5712fc3f379b6102717ba06058707c' +sha256sums=('23a4145bbe0edb1670a596c7019a74ac373ad6fd0a9c5c699c9568b62150d40b' '3d2ebc2a796dbdc7e7e3b97e4c3272292169c898776e111f503f0517e434caff' - '0c8003d478cf12115e236e7e25ce86cd9f1a6f9c8d1c8e41ed17156c8f6d2d08' + '4134913c858fffa86d8873d16ff5d92b337289ff14f2f3776a36614361b8472d' 'dcdef5614db12f38b3da0b9de1b52fb7fa402af6621a825981c6168a34a6ad9b' '3670748854d3f05623c9a8826605c3e2a97c7b3955104e74b5eed00ed17299c1' '77d699b5ccf6387fa2f69df2cd71cdb75b4ffbf46a10110dd6c0e2802783dbef' - '32bfa3f82038f89d2f7140eada1faadf416ae835d5e5cb0573c528398249a63e' - '70ea18f8567b7368c5799141e5f1cd0ca7658d6e4a4d29c52a9288446c7cf341' + '281193f73951d2e68c04f3686eea031be56771cbb1148e443e2a6f15a35df6c3' + '62da3195207e23e6945082cd7898ca1e1f22eb52d0538977ab2caf4d1186d8d8' '55fb2aeb4eb3f54c59963870cf43bf5a898a014826d530bf37729fc5e2bc2463') install=$pkgname.install @@ -43,7 +44,6 @@ package() { install -dm750 $pkgdir/var/lib/$pkgname cp -a $srcdir/nexus-$_version-$_patch $pkgdir/usr/lib/$pkgname - cp -a $srcdir/sonatype-work/nexus3/orient $pkgdir/var/lib/$pkgname pushd $pkgdir/usr/lib/$pkgname rm -rf bin/nexus.rc \ diff --git a/nexus-oss.install b/nexus-oss.install index e59efb1189ac..94c4e1400b47 100644 --- a/nexus-oss.install +++ b/nexus-oss.install @@ -1,10 +1,6 @@ post_install() { systemd-sysusers nexus-oss.conf - echo -n 'Changing the ownership of var/lib/nexus-oss, be patient...' - chown -R nexus:nexus var/lib/nexus-oss - chmod -R o-rwx var/lib/nexus-oss - echo ' done' systemd-tmpfiles --create nexus-oss.conf cat <<EOF @@ -32,7 +28,7 @@ post_upgrade() cat <<EOF See Release Notes at - https://help.sonatype.com/display/NXRM3/2018+Release+Notes + https://help.sonatype.com/repomanager3/product-information/release-notes/2022-release-notes EOF } diff --git a/nexus-oss.tmpfiles b/nexus-oss.tmpfiles index c76e36675e8a..aad9287a011b 100644 --- a/nexus-oss.tmpfiles +++ b/nexus-oss.tmpfiles @@ -1 +1,2 @@ -d /var/run/nexus-oss 0755 nexus nexus - +Z /var/lib/nexus-oss - nexus nexus - +d /run/nexus-oss 0750 nexus nexus - diff --git a/nexus-oss.vmoptions b/nexus-oss.vmoptions index 61314d5575f8..3b79ea9507fe 100644 --- a/nexus-oss.vmoptions +++ b/nexus-oss.vmoptions @@ -1,6 +1,6 @@ --Xms1200M --Xmx1200M --XX:MaxDirectMemorySize=2G +-Xms4G +-Xmx4G +-XX:MaxDirectMemorySize=768M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:+LogVMOutput @@ -12,5 +12,5 @@ -Dkaraf.etc=etc/karaf -Djava.util.logging.config.file=etc/karaf/java.util.logging.properties -Dkaraf.data=/var/lib/nexus-oss --Djava.io.tmpdir=/var/run/nexus-oss +-Djava.io.tmpdir=/run/nexus-oss -Dkaraf.startLocalConsole=false |