commit:     9a3eee37b86b6d3ddaa5681d432eb5d6b1652675
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sun Nov  7 16:20:59 2021 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sun Nov  7 16:20:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=9a3eee37

Update nexus-oss-bin

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 dev-java/nexus-oss-bin/Manifest                      | 12 ++++++------
 ...bin-3.19.1.ebuild => nexus-oss-bin-3.34.1.ebuild} | 20 +++++++++++---------
 ...bin-3.21.0.ebuild => nexus-oss-bin-3.35.0.ebuild} | 20 +++++++++++---------
 ...bin-3.23.0.ebuild => nexus-oss-bin-3.36.0.ebuild} | 20 +++++++++++---------
 4 files changed, 39 insertions(+), 33 deletions(-)

diff --git a/dev-java/nexus-oss-bin/Manifest b/dev-java/nexus-oss-bin/Manifest
index 8a1d8cc..d265e86 100644
--- a/dev-java/nexus-oss-bin/Manifest
+++ b/dev-java/nexus-oss-bin/Manifest
@@ -1,9 +1,9 @@
 AUX nexus-oss-bin_run_as_user.patch 248 BLAKE2B 
665accd3fbbcac5ffae37c50d03df0d59d445e8cd1ab6753f6e4d497d35d349c05e42e65fd3d7e516d151ef26c140fe712bb8645970b093ac2b43d898aa1304a
 SHA512 
bbc15de98c51e4d6ba43a916bd18d23837bf40ac509222a9e5b539b5ef1ee7f735913130671b8f21d9c003cf7f20d9fdaf1744df6e0c80fb15dced4726c91ab1
 AUX nexus-oss.service 329 BLAKE2B 
68098e91b78caabeafbf7a2ea4b4e604ff4ac00ab9757d65f2a414feffb50ea67c00480c6e8118c28bbb4fdb53a2c1869b94ed1954d4bc06f0e8e6b6c1caacbe
 SHA512 
7a6b3c67bf54e1ae79a3af3587b0de214aa6bb5fdf0ed8a428c0e2ba51028e7ace11a0dcbe865d296a9696b88257f29aef60405ecaa85c916b8889fe41d88b27
-DIST nexus-3.19.1-01-unix.tar.gz 135426386 BLAKE2B 
59ce578864349072551e690322fb43e29d71a0aa79d2a2b6159ae3c1259302821336b550a606a17cff66103e70af13fdba2a12692b0032ae259fb3a932a5a7b5
 SHA512 
6c5c7d4ccbe9fd3e63b67a0909d062b015f32cfb74c677030edc75cc4fd2d3d9e0fda911e1cc3f1c9e30e120e1048dd20ac1a8741595b8adac667e2dc9b2c2b7
-DIST nexus-3.21.0-05-unix.tar.gz 140732808 BLAKE2B 
e8638cc48cd07e31750e9abb182f3176c2a57c1735d2ac29d0383e13d0f5daa048a83e45ce2d965abd43b05c2bd7e6c6e769e6e12648aa0ea37494268388042c
 SHA512 
95b34c28f9810d8677b8501d1841d3fa172dda615fb1b81148c6f5c5dde4dbeceab5d6eb7c2ba30b590a9e39497182f85df5f95adca927cd4ea71bf51461c8f1
-DIST nexus-3.23.0-03-unix.tar.gz 153445934 BLAKE2B 
e736b3c78da329b34a0f8024d1c0412fd0f9f0a510e72e0cb94e09608828fb210e24d800a1921b3549e1cefbdd864fc77f9a3f92a2bf4d55ac48911bb4175385
 SHA512 
af1d3c5a7b864d4697ba198f2b4c504527d26aab018c918650c2a79e00c02b8059d2ce70e3e36b9af30c4d7e8515e42c7af3a679600688206919ab297efe7c78
-EBUILD nexus-oss-bin-3.19.1.ebuild 2388 BLAKE2B 
18f514c08b2eca96ef0088488be0d030e18dd72a16af8636d37cced6e96f6f09168eb4fafcf7fc52a03bcef4663e8696dcca060570b2ac8a11152c33b3ee1899
 SHA512 
394348e367b5a5cff568070264eb63c6dbc5fac21523889516be9fb0004ec2f60c7de3379d1234fa8503d336df23eb9f9eaa7a1629b999c18e251c5c85107f31
-EBUILD nexus-oss-bin-3.21.0.ebuild 2388 BLAKE2B 
be6f1bedec5a5f6af772be27825497be6abe890eb8a8b685a7376f2ea3a99dd97d5ffac2da38dc8b592ecfa1d9423327534a2390ac0fc09b990835ee57e2e855
 SHA512 
39572390fc90dba5c2c5d6c7114d7046cda5dd3f75e32cdc3ff8f322f171bbc2a28d4b744b6a4c90c8bacc671864caecf9952d05bb47ef95e888b438969fb3a7
-EBUILD nexus-oss-bin-3.23.0.ebuild 2388 BLAKE2B 
953d48984df68ee96b21b27f2d20b96421c33559a2d9988ced612144e4f5cffbb61772f9bbb53a03a44a0ebe14f552a6b615668bf936673d97dd4099729b0b17
 SHA512 
dfb57693ee2b16ef31e715b6edba220bb3872759fe993086de747125bad7fc311e6a522fdbd3a5c98d81cf18ef0897fd9e4d6b5b1a7f1e9b0b54ce807dba1d4a
+DIST nexus-3.34.1-01-unix.tar.gz 203956314 BLAKE2B 
7fbc68b1167dd2ee62e3eb38f5d5af62f8df681dcc0f0e0a0ccc147d0c478590482f085374dcefa194e46c0fa67eb6fe97495001b0a4b5da099fc81af7110797
 SHA512 
5cd5c3f99190255b67173f30797262e501ec2c2d5342bfbf25c87cf20bca73865975fb8bcdf507b9ae9ae75efc0fd9ef90778bbfd471f1e7a78e3ccb03107e02
+DIST nexus-3.35.0-02-unix.tar.gz 204754249 BLAKE2B 
9a358726dee75ccbd59b52f76ee86320fe129788b58bce7af1666fdfc7eb217ed881fc394a3869ccc5d194c8d90f343540797a1589d1c0f9e555983b63d302c8
 SHA512 
731a91d48a2aa06e154030dc717ff37fd144f4d06a5bed3bebcd3f9147f1aa901f41b57de50fbb1cb097994e1adc9ea96463ec5a1371265fa8d30c0d074c2211
+DIST nexus-3.36.0-01-unix.tar.gz 204710060 BLAKE2B 
d0bd0b82d33482cf6252216e945e3da4e030e19f4807f5c0fbb2c024235a5703a2b5bcb971a48e392cb19b1f83cee807b45199575638a3baf060ba2a44c989a4
 SHA512 
7c1af04370a654d8536f236642ec749955e7993ba0fcd7dce8dc8764e29d9992bc57ce1da6bb7ebc7917efb4eeb4aa4db9e7c2e0a8518cb85d345087131778cd
+EBUILD nexus-oss-bin-3.34.1.ebuild 2390 BLAKE2B 
d7b190898454c1348a690a4b1d44c089a87f1234cbfb4f748e143609ffa5f59102dfa98b546018b17086ed085ae1abcd78d6ce11a5f7e033a2f2ce39623a1a57
 SHA512 
744969c9a1aa0467a75f96b06e05d20fcff330d75d01451cdd8351260d1b2306ee91dcb6793a9c542c6c30ad085f3c2bf9bea2a5242cc962392108e9aafc2e1c
+EBUILD nexus-oss-bin-3.35.0.ebuild 2390 BLAKE2B 
7542d780796c46591e47969fcbfab46d64ff72e642b313fba928bcdcd1634eeb7b0852bd08c1c0e41b3d8bcfc2d91492c25d040647c89c426d3ef362157d4dce
 SHA512 
dd8cf1b4be6a27367d782c47f317e4b80e0729d06c04a7416d91f71edc5d3135c1fb6cc2b1cbbaa563c67405349a9b2f3f26e5b17560e3fff08d624f0b430742
+EBUILD nexus-oss-bin-3.36.0.ebuild 2390 BLAKE2B 
d7b190898454c1348a690a4b1d44c089a87f1234cbfb4f748e143609ffa5f59102dfa98b546018b17086ed085ae1abcd78d6ce11a5f7e033a2f2ce39623a1a57
 SHA512 
744969c9a1aa0467a75f96b06e05d20fcff330d75d01451cdd8351260d1b2306ee91dcb6793a9c542c6c30ad085f3c2bf9bea2a5242cc962392108e9aafc2e1c
 MISC metadata.xml 1392 BLAKE2B 
deda1cf98f75673bfede9344e3344a522e3bdd974fb19dc62a8185a39b51a80c28ebf6a47d75e5a091563fdc6e412f9b3dfeff67f8f842833bf30625c4415a34
 SHA512 
86204a863173c7d491cdf361f78be360bd8c192ebfdb51d1205439742967b62c196bbe99c20580e05fa2414786787ecdd896ee304ac29c17e28d0d85b3966523

diff --git a/dev-java/nexus-oss-bin/nexus-oss-bin-3.19.1.ebuild 
b/dev-java/nexus-oss-bin/nexus-oss-bin-3.34.1.ebuild
similarity index 87%
rename from dev-java/nexus-oss-bin/nexus-oss-bin-3.19.1.ebuild
rename to dev-java/nexus-oss-bin/nexus-oss-bin-3.34.1.ebuild
index bcdca6e..5f09ecd 100644
--- a/dev-java/nexus-oss-bin/nexus-oss-bin-3.19.1.ebuild
+++ b/dev-java/nexus-oss-bin/nexus-oss-bin-3.34.1.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=7
+EAPI=8
 
-inherit eutils user systemd
+inherit systemd
 
 DESCRIPTION="Maven Repository Manager"
 HOMEPAGE="http://nexus.sonatype.org/";
 LICENSE="GPL-3"
 MY_PN="nexus"
-MY_PV="${PV}-01-unix"
+MY_RC="01"
+MY_PV="${PV}-${MY_RC}-unix"
 #echo "Debug: custom package version: ${MY_PV}"
 MY_P="${MY_PN}-${MY_PV}"
-MY_MV="3"
+MY_MV=$(ver_cut 1)
 
 SRC_URI="http://download.sonatype.com/${MY_PN}/${MY_MV}/${MY_P}.tar.gz";
 RESTRICT="mirror"
@@ -23,7 +24,8 @@ IUSE=""
 S="${WORKDIR}"
 #echo "Debug: working directory: ${WORKDIR}"
 RDEPEND=">=virtual/jdk-1.8"
-INSTALL_DIR="/opt/nexus-oss"
+INSTALL_DIR="/opt/nexus-oss-${MY_MV}"
+SONATYPE_DIR="/opt/sonatype-work/nexus${MY_MV}"
 
 pkg_setup() {
 #enewgroup <name> [gid]
@@ -46,11 +48,11 @@ eapply_user
 
 src_install() {
 #echo "Debug: install sonatype work dir"
-dodir ${INSTALL_DIR/nexus-oss/sonatype-work}
-insinto ${INSTALL_DIR/nexus-oss/sonatype-work}
+dodir ${SONATYPE_DIR}
+insinto ${SONATYPE_DIR}
 doins -r sonatype-work/*
 
-fowners -R nexus:nexus ${INSTALL_DIR/nexus-oss/sonatype-work}
+fowners -R nexus:nexus ${SONATYPE_DIR}
 
 #echo "Debug: INSTALL_DIR: ${INSTALL_DIR}"
 #echo "Debug: doins nexus-${MY_PV}"

diff --git a/dev-java/nexus-oss-bin/nexus-oss-bin-3.21.0.ebuild 
b/dev-java/nexus-oss-bin/nexus-oss-bin-3.35.0.ebuild
similarity index 87%
rename from dev-java/nexus-oss-bin/nexus-oss-bin-3.21.0.ebuild
rename to dev-java/nexus-oss-bin/nexus-oss-bin-3.35.0.ebuild
index d2f8bc5..faedf8b 100644
--- a/dev-java/nexus-oss-bin/nexus-oss-bin-3.21.0.ebuild
+++ b/dev-java/nexus-oss-bin/nexus-oss-bin-3.35.0.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=7
+EAPI=8
 
-inherit eutils user systemd
+inherit systemd
 
 DESCRIPTION="Maven Repository Manager"
 HOMEPAGE="http://nexus.sonatype.org/";
 LICENSE="GPL-3"
 MY_PN="nexus"
-MY_PV="${PV}-05-unix"
+MY_RC="02"
+MY_PV="${PV}-${MY_RC}-unix"
 #echo "Debug: custom package version: ${MY_PV}"
 MY_P="${MY_PN}-${MY_PV}"
-MY_MV="3"
+MY_MV=$(ver_cut 1)
 
 SRC_URI="http://download.sonatype.com/${MY_PN}/${MY_MV}/${MY_P}.tar.gz";
 RESTRICT="mirror"
@@ -23,7 +24,8 @@ IUSE=""
 S="${WORKDIR}"
 #echo "Debug: working directory: ${WORKDIR}"
 RDEPEND=">=virtual/jdk-1.8"
-INSTALL_DIR="/opt/nexus-oss"
+INSTALL_DIR="/opt/nexus-oss-${MY_MV}"
+SONATYPE_DIR="/opt/sonatype-work/nexus${MY_MV}"
 
 pkg_setup() {
 #enewgroup <name> [gid]
@@ -46,11 +48,11 @@ eapply_user
 
 src_install() {
 #echo "Debug: install sonatype work dir"
-dodir ${INSTALL_DIR/nexus-oss/sonatype-work}
-insinto ${INSTALL_DIR/nexus-oss/sonatype-work}
+dodir ${SONATYPE_DIR}
+insinto ${SONATYPE_DIR}
 doins -r sonatype-work/*
 
-fowners -R nexus:nexus ${INSTALL_DIR/nexus-oss/sonatype-work}
+fowners -R nexus:nexus ${SONATYPE_DIR}
 
 #echo "Debug: INSTALL_DIR: ${INSTALL_DIR}"
 #echo "Debug: doins nexus-${MY_PV}"

diff --git a/dev-java/nexus-oss-bin/nexus-oss-bin-3.23.0.ebuild 
b/dev-java/nexus-oss-bin/nexus-oss-bin-3.36.0.ebuild
similarity index 87%
rename from dev-java/nexus-oss-bin/nexus-oss-bin-3.23.0.ebuild
rename to dev-java/nexus-oss-bin/nexus-oss-bin-3.36.0.ebuild
index c5fc5c0..5f09ecd 100644
--- a/dev-java/nexus-oss-bin/nexus-oss-bin-3.23.0.ebuild
+++ b/dev-java/nexus-oss-bin/nexus-oss-bin-3.36.0.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2020 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=7
+EAPI=8
 
-inherit eutils user systemd
+inherit systemd
 
 DESCRIPTION="Maven Repository Manager"
 HOMEPAGE="http://nexus.sonatype.org/";
 LICENSE="GPL-3"
 MY_PN="nexus"
-MY_PV="${PV}-03-unix"
+MY_RC="01"
+MY_PV="${PV}-${MY_RC}-unix"
 #echo "Debug: custom package version: ${MY_PV}"
 MY_P="${MY_PN}-${MY_PV}"
-MY_MV="3"
+MY_MV=$(ver_cut 1)
 
 SRC_URI="http://download.sonatype.com/${MY_PN}/${MY_MV}/${MY_P}.tar.gz";
 RESTRICT="mirror"
@@ -23,7 +24,8 @@ IUSE=""
 S="${WORKDIR}"
 #echo "Debug: working directory: ${WORKDIR}"
 RDEPEND=">=virtual/jdk-1.8"
-INSTALL_DIR="/opt/nexus-oss"
+INSTALL_DIR="/opt/nexus-oss-${MY_MV}"
+SONATYPE_DIR="/opt/sonatype-work/nexus${MY_MV}"
 
 pkg_setup() {
 #enewgroup <name> [gid]
@@ -46,11 +48,11 @@ eapply_user
 
 src_install() {
 #echo "Debug: install sonatype work dir"
-dodir ${INSTALL_DIR/nexus-oss/sonatype-work}
-insinto ${INSTALL_DIR/nexus-oss/sonatype-work}
+dodir ${SONATYPE_DIR}
+insinto ${SONATYPE_DIR}
 doins -r sonatype-work/*
 
-fowners -R nexus:nexus ${INSTALL_DIR/nexus-oss/sonatype-work}
+fowners -R nexus:nexus ${SONATYPE_DIR}
 
 #echo "Debug: INSTALL_DIR: ${INSTALL_DIR}"
 #echo "Debug: doins nexus-${MY_PV}"

Reply via email to