diff --git a/dev-java/nexus-oss-bin/Manifest b/dev-java/nexus-oss-bin/Manifest index 12b1efc..d4ffb41 100644 --- a/dev-java/nexus-oss-bin/Manifest +++ b/dev-java/nexus-oss-bin/Manifest @@ -1,4 +1,6 @@ AUX init.sh 381 SHA256 7adb00b5de411223dcdaf017005e7103d8716e885a008f19aa8d56db2afa47de SHA512 b458fda89207b327f34c3e14f0c51ab86e7aa271867ec9a6c72634e1b8d81aebafba8ac6279f359fc9ba520920bee64fb439588b3f771d647ee8f3fde0ea742d WHIRLPOOL ac4d4fc6facc926f697706beb7b95d9c3bceb35a2e2d04eb656a73b2ed397c4dac521b3566307189655d6afcaa1ea116fbb8ff645a32cad484bf3ed0380b2dc8 AUX nexus-wrapper.patch 1193 SHA256 0ae0408df651d2bbf55a00f871e6640caa7161adf0936bfe32fa24e9b1658fff SHA512 2e54a97b288db451953d2bef2fe7bef1c1aad5f344acaad2e84d4e1c466dd7d169c84a9be7eefdbf974d20b903b598290bc6a189dcc199c6ebc31c917767af2e WHIRLPOOL c3288dc11f31dfca4c43aa6ecc6e4a2ea9c0bb181380ef373d1370b3d588614d5a33ef7db6b9523c6993424882266f4a57c19cac2e5314a82cb30e1267c5ed7a DIST nexus-2.10.0-02-bundle.tar.gz 50071813 SHA256 730442be2ca4918b44a69b98bb62abfcbf8ce8f997385349510dd807c1bf88d6 SHA512 22a75a71d279b34ad2c43c4360a5fcf6218494ab3772e7419a6817e86ee8682843402a727c720d410e79e0015dddd63a38049afddeb20dfb8a7860fa3bf057e2 WHIRLPOOL d025400ff050744a4632c6f30a7708ae912506dc9e924adccf73ce1ababeaf99c701b57ea9594370a71dbf41d8cc91917cbcbb3dada360f1eb990796923b8ea2 +DIST nexus-2.11.0-bundle.tar.gz 71803785 SHA256 c55cee79c527d6275c2f00576ca152c823ac7de4311c9257851d3dbe21f6329c SHA512 016b99cbe529a713f29492255b1c11fb8c71055bf19d3612a035f62c230705e8f5a724801af86790e06a8ef62f093ed9a8d49fc2a3430a2f5b996d73d8520701 WHIRLPOOL 31dd1a3fe49e29e036736e3b83aba7a26aece555ba7407877f20947134d01dc2f5906a47b0da3fa4547962cbc9506d8a2984fc6aa8a0ea0e456bc147427d47b0 EBUILD nexus-oss-bin-2.10.0.ebuild 1201 SHA256 ee108bc437b213f0ecaabc2050c4d9b91c4802e4908412e48207027bf32a3f3f SHA512 9d02d6a7380e2d2538c3e98c9b8f96cc201f6ba9ffb32ee9578b77296fba6aa3cf976eab75c551a2bec1be0b952d6362cd6f35a6d8155dba747028dcb0d6ce02 WHIRLPOOL 06454c109335aaa8c219775ee8d690ab2a39454919c9a973449acd78740b4e432023c6cb3b5914ab2e94b12417a86aa07327765530d9609dc57fb995be6e9bdd +EBUILD nexus-oss-bin-2.11.0.ebuild 1127 SHA256 29c36fe05df453b9c27e56e405f7677d4a4d980201e7e08de6a6e27384b70350 SHA512 7950dac62c06c716307787b5a1c2c7605fad3f31552e9707fd120c2c615f2ca40c388caec2fb929693f9ad9224990af45622c1bf1a9bed7dbcce68c2712ff76d WHIRLPOOL 6417a76b019cd42a9879f71087e80967dd5c466a4f8aff178a7ce581e90937bff958a6215c334839f1400431f84f784d3d8378120947b87b62b6310786ace05b diff --git a/dev-java/nexus-oss-bin/nexus-oss-bin-2.11.0.ebuild b/dev-java/nexus-oss-bin/nexus-oss-bin-2.11.0.ebuild new file mode 100644 index 0000000..df7f685 --- /dev/null +++ b/dev-java/nexus-oss-bin/nexus-oss-bin-2.11.0.ebuild @@ -0,0 +1,51 @@ +EAPI="5" + +inherit eutils user + +DESCRIPTION="Maven Repository Manager" +HOMEPAGE="http://nexus.sonatype.org/" +LICENSE="GPL-3" +SUB_VERSION="" +SRC_URI="http://download.sonatype.com/nexus/oss/nexus-${PV}${SUB_VERSION}-bundle.tar.gz" +RESTRICT="mirror" +KEYWORDS="~x86 ~amd64" +SLOT="0" +IUSE="" + +S="${WORKDIR}" + +RDEPEND=">=virtual/jdk-1.6" + +INSTALL_DIR="/opt/nexus" + +WEBAPP_DIR="${INSTALL_DIR}/nexus-oss-webapp" + +pkg_setup() { + #enewgroup [gid] + enewgroup nexus + #enewuser [uid] [shell] [homedir] [groups] [params] + enewuser nexus -1 /bin/bash /opt/nexus "nexus" +} + +src_unpack() { + unpack ${A} + cd "${S}" + +# epatch "${FILESDIR}/nexus-wrapper.patch" +} + +src_prepare() { + epatch "${FILESDIR}/nexus-wrapper.patch" +} + +src_install() { + insinto ${WEBAPP_DIR} + doins -r nexus-${PV}${SUB_VERSION}/* + + newinitd "${FILESDIR}/init.sh" nexus + + fowners -R nexus:nexus ${INSTALL_DIR} + fperms 755 "${INSTALL_DIR}/nexus-oss-webapp/bin/jsw/linux-x86-64/wrapper" + fperms 755 "${INSTALL_DIR}/nexus-oss-webapp/bin/jsw/linux-x86-32/wrapper" + fperms 755 "${INSTALL_DIR}/nexus-oss-webapp/bin/nexus" +}