Remove ebuild for old nexus-oss-bin.
This commit is contained in:
parent
e13dfa946a
commit
7706cb6e29
5 changed files with 0 additions and 104 deletions
|
@ -1,15 +0,0 @@
|
|||
06 Sep 2017; Manuel Friedli <manuel@fritteli.ch>
|
||||
-files/nexus-wrapper-2.11.4.patch, -nexus-oss-bin-2.11.4.ebuild:
|
||||
dev-java/nexus-oss-bin: Prune old ebuild.
|
||||
|
||||
05 Sep 2016; Manuel Friedli <manuel@fritteli.ch>
|
||||
-files/nexus-wrapper-2.11.2.patch, nexus-oss-bin-2.11.4.ebuild:
|
||||
dev-java/nexus-oss-bin: fixed nexus ebuild for EAPI="6"
|
||||
|
||||
01 Sep 2016; Manuel Friedli <manuel@fritteli.ch> -nexus-oss-bin-2.11.2.ebuild,
|
||||
-nexus-oss-bin-3.0.0.ebuild, nexus-oss-bin-2.11.4.ebuild,
|
||||
nexus-oss-bin-3.0.0-r1.ebuild:
|
||||
dev-java/nexus-oss-bin: updated to EAPI="6" and deleted old ebuilds
|
||||
|
||||
07 Jun 2016; Manuel Friedli <manuel@fritteli.ch> +ChangeLog:
|
||||
Added ChangeLog
|
|
@ -1,5 +0,0 @@
|
|||
AUX init.sh 382 SHA256 fa0d82cbbe21b8e01195423a7cbd5e450504734df3a1cee7f1b58996682479b1 SHA512 b1bfc5c638b8827fecddf29ea07fb2252ce27ba3cd25a33e060a8c9104b1c61d1c786010f7647b3c2f941a7cc86e22c7e1456925cf011d1fd080299a3fc03e13 WHIRLPOOL 1bfb5712991f5a77d18f279e135e08de54a1545ee8749d47e9f7d1f2954c79efc313efeacd4273fdee91e42cd2c7fd2fe8de36e578cc7e092e32d5e6a94ed07f
|
||||
DIST nexus-3.0.0-03-unix.tar.gz 79751162 SHA256 0666769effc200a520825cce22d59a5a296d03795f72f57d0a97fbe61836d0ca SHA512 e4f728097f0b7e1232538cca2077a20cbd3ed487d86d6360cfb947a9439c9eab82fb286acb1d167f909bb158ef5914d0752e9c26f02bcce60864b7a6cec0ebe7 WHIRLPOOL 2cddeb27ed44ffd844a2c724f2db33206a331eb7dd9ad3e3de42a23afc703bed0eb8c5b76e3363f7c71c4f5897ae49a07a9801aaf424ec44baeff5c2a1c1450c
|
||||
EBUILD nexus-oss-bin-3.0.0-r1.ebuild 1057 SHA256 5e60c9d3a3d61b9fc653b7b8869e0f8faeef55d499036ffe0334f8615fd15ec8 SHA512 23f32d69b13cec2ee0331be60d94bb4124c575b1e24c26394ddfc635c45d34ab31fee3d386c8dae9f590f7ae6195d6554c00fecb48a32f4e38cdb59b9e459167 WHIRLPOOL e2e4dc9865a58a29782c2961d98a0b9f70880b933b9459bfc603edf32de0cc8f6962f741daeea3917bca5562c15f5a1c98307ea204982999c66ecc5e4ec6c199
|
||||
MISC ChangeLog 668 SHA256 e8f658bc6f0b74e455f52cdb1508e80cfa97e617610e3177e5d026bf397a4585 SHA512 80a7ae386353f9d5a44691072c63b5fea28a50b8eac6bab4b931e3fa30ec4ccd6633283a3a88a01e82317e8918908729f1e43fe6e97ea9c64fa847a97271e6f5 WHIRLPOOL 8fb9744016c5e65e6fc5b10443e9fd8f36ae1c2e5094e1dcd6f33ab320dec857ba3a1da93267f09d69f55d455cb6c5d30f5fcb4018eace2a22cc6099973c6eb8
|
||||
MISC metadata.xml 248 SHA256 7b43be15755627edf5c12cf1b50c607d781558640bf8375d685d51d7ade99a32 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 WHIRLPOOL 993013c9878ead35469db13d3072f694a341ee654182e0c31d0678f5dd6de4bdc8d59a0b7bb6d685dc41ea6b55dac518cd8034131baea8002170c680e50304d1
|
|
@ -1,26 +0,0 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns logger
|
||||
}
|
||||
|
||||
RUN_AS=nexus
|
||||
|
||||
checkconfig() {
|
||||
return 0
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/nexus start"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/nexus stop"
|
||||
eend $?
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>manuel@fritteli.ch</email>
|
||||
<name>Manuel Friedli</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Maven Repository Manager"
|
||||
HOMEPAGE="http://nexus.sonatype.org/"
|
||||
LICENSE="GPL-3"
|
||||
MAJOR_VERSION="3"
|
||||
SUB_VERSION="-03"
|
||||
SRC_URI="http://download.sonatype.com/nexus/${MAJOR_VERSION}/nexus-${PV}${SUB_VERSION}-unix.tar.gz"
|
||||
RESTRICT="mirror"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.8"
|
||||
|
||||
INSTALL_DIR="/opt/nexus"
|
||||
|
||||
WEBAPP_DIR="${INSTALL_DIR}/nexus-oss-webapp"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup nexus
|
||||
enewuser nexus -1 /bin/bash /opt/nexus "nexus"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto ${WEBAPP_DIR}
|
||||
doins -r nexus-${PV}${SUB_VERSION}/*
|
||||
doins -r nexus-${PV}${SUB_VERSION}/.install4j
|
||||
|
||||
newinitd "${FILESDIR}/init.sh" nexus
|
||||
|
||||
fowners -R nexus:nexus ${INSTALL_DIR}
|
||||
fperms 755 "${WEBAPP_DIR}/bin/nexus"
|
||||
|
||||
# protect config files on upgrade
|
||||
echo "CONFIG_PROTECT=\"${WEBAPP_DIR}/bin ${WEBAPP_DIR}/etc\"" > "${T}/25nexus" || die
|
||||
doenvd "${T}/25nexus"
|
||||
}
|
Loading…
Reference in a new issue