diff options
author | 2017-08-24 23:47:33 +0100 | |
---|---|---|
committer | 2017-08-24 23:47:33 +0100 | |
commit | e9b5667429a22f5af634c4c2e8ef75a55b12c077 (patch) | |
tree | bac7f0cd74672920129d9d11f6636f948718e047 /dev-java | |
parent | update dev-util apps (diff) | |
download | ssnb-e9b5667429a22f5af634c4c2e8ef75a55b12c077.tar.gz ssnb-e9b5667429a22f5af634c4c2e8ef75a55b12c077.tar.bz2 ssnb-e9b5667429a22f5af634c4c2e8ef75a55b12c077.zip |
add nexux 3.5.1
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/nexus-oss-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-java/nexus-oss-bin/nexus-oss-bin-3.5.1.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/nexus-oss-bin/Manifest b/dev-java/nexus-oss-bin/Manifest index 346ea77..f48efba 100644 --- a/dev-java/nexus-oss-bin/Manifest +++ b/dev-java/nexus-oss-bin/Manifest @@ -1,6 +1,8 @@ AUX nexus-oss.service 293 SHA256 6bb57c9b1830320746df585f64270800f014064f56da31fd59bf63011b20be63 SHA512 f65e51d0c1cee2516ddb15c99e9c1b287276de5f965cb2abbe221f8d6d2f6ce598754c8bacb8dc116531de50429befb8e7cdff80bf96547ff453d4b91008b462 WHIRLPOOL 8163b86fad37e99f85e43fbf49a041b5a75d3e4dab3447f77b275f53db88ff9dbb8f19308a24a20b754b647e1a94ed87ae4e58bc827eb5c267852c887111ff6f DIST nexus-3.1.0-04-unix.tar.gz 98475782 SHA256 bf1cd6dcbd010b6c35f50f8923dcf58e77c2f39854ba00d0de8b37f260c6fc0a SHA512 1b948ed6b0bfebaf0c427916ca1b340acdb68c9dd4ee5ad50c83abdbfa0dad759057e23c955cc67c4e85a3740868a5534979f7beb10350b75526458a94b23a9c WHIRLPOOL ebda62ce872d47e8e0f274601aa8c0447cce2ae49e292f360304bd9c037cc113f9f2d92a9ff1b26a2ee4eeafb14fc8a96404fb5e5f94c78aeaae5449a5e20039 DIST nexus-3.4.0-02-unix.tar.gz 107635129 SHA256 714b451f88750d3995c12513e925a6d5428df4f87931ba4693669e636d9de6b7 SHA512 8e151636b0890e81402a79e39e09ed3ffa23f05f2494d978793efe7031a819b42015266430f6427b2a0a5241c85dc0d316a80149f926acb1f2bb1a55aa3f0dc0 WHIRLPOOL e64119f29695f26437d096633ab3ca417d29e2a33e12e0cffa81970462eb188c220a3f306ff55b9c8e2ec2ee8fe1be34c5f1c79a71e53bae7879bba9007bc666 +DIST nexus-3.5.1-02-unix.tar.gz 110665738 SHA256 82ad2da59bb5f4dc162192a03c9c289bffac40ecf6afe4c1f275125d28251382 SHA512 de69fbd7978218a74c2f63233d3c2f934ae9f0c62102123b0013fa54ff975e530b0122281370303f15788e0125eeaa2e4dba805552211b05f973289eb2839ee5 WHIRLPOOL 2127683b46b7faf33b93c91494565d7aa8f0ec53663562706e00a86fb78627f3e9e86b2e36d04a46fed9701a7276723033a0a8e9713f3a113c8eaaef65911db1 EBUILD nexus-oss-bin-3.1.0.ebuild 1299 SHA256 4a28409f517589dffa71433f28c16676e1e251eef0ebf95f07423074d4fc7d44 SHA512 e78a5dd68c2a3b1e247f680507f659b0de5dbb7716140c350d7e4041bbd3cca1a230946edf15ecaf78006dfcb0e9f58797e404cf93463601161f3d8bb8bee050 WHIRLPOOL d74b06723841e580cfe1f38fa1086901838ab804f01508e7a49c3d6af450a3bd7dc63d42166478766e2a8910a559d5cc9e96674f8e39327070e67fde320ff525 EBUILD nexus-oss-bin-3.4.0.ebuild 1299 SHA256 c9862ce00cba2ef14064bfa4f6ffafa7de304b89169952aa8bab78eb7fbdfe51 SHA512 4351eb05d00f60dab7cd51b02a6e21fa430b108271bc3572d73336b6f19ace1211f5cd7a2388240de752e57f5d1c6d7032aeda26d0c80bba742ed2287719c677 WHIRLPOOL 4aaa44fbc17dc4fc56dfc9848d0a3c5b62ade0267dcd785233080125a36143f89f7f903d4cd799d8c969d3c29a8bb5a2db33a2428cc7a935ac698e494cd75414 +EBUILD nexus-oss-bin-3.5.1.ebuild 1299 SHA256 c9862ce00cba2ef14064bfa4f6ffafa7de304b89169952aa8bab78eb7fbdfe51 SHA512 4351eb05d00f60dab7cd51b02a6e21fa430b108271bc3572d73336b6f19ace1211f5cd7a2388240de752e57f5d1c6d7032aeda26d0c80bba742ed2287719c677 WHIRLPOOL 4aaa44fbc17dc4fc56dfc9848d0a3c5b62ade0267dcd785233080125a36143f89f7f903d4cd799d8c969d3c29a8bb5a2db33a2428cc7a935ac698e494cd75414 MISC metadata.xml 1392 SHA256 7ca58f109b5aa04acf375690eef9f56d406d4f34620474976c244231d16c02eb SHA512 86204a863173c7d491cdf361f78be360bd8c192ebfdb51d1205439742967b62c196bbe99c20580e05fa2414786787ecdd896ee304ac29c17e28d0d85b3966523 WHIRLPOOL 6d4b4ad5291e568b792e8c0459fe123ee34e1eb1c9ebef7db13dd10cc0a9fe87d362996417b457e807037d56dc9989cfa64829358f0d4afa8ce5d22cc349c92b diff --git a/dev-java/nexus-oss-bin/nexus-oss-bin-3.5.1.ebuild b/dev-java/nexus-oss-bin/nexus-oss-bin-3.5.1.ebuild new file mode 100644 index 0000000..3b9687e --- /dev/null +++ b/dev-java/nexus-oss-bin/nexus-oss-bin-3.5.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit eutils user versionator systemd + +DESCRIPTION="Maven Repository Manager" +HOMEPAGE="http://nexus.sonatype.org/" +LICENSE="GPL-3" +MY_PN="nexus-oss-bin" +MY_PV=$(replace_version_separator 3 '-')"-02" +#echo "Debug: custom package version: ${MY_PV}" +MY_P="${MY_PN}-${MY_PV}" + +SRC_URI="http://download.sonatype.com/nexus/3/nexus-${PV}-02-unix.tar.gz" +RESTRICT="mirror" +KEYWORDS="~x86 ~amd64" +SLOT="3" +IUSE="" +S="${WORKDIR}" +#echo "Debug: working directory: ${WORKDIR}" +RDEPEND=">=virtual/jdk-1.8" +INSTALL_DIR="/opt/nexus-oss" + +pkg_setup() { +#enewgroup <name> [gid] +enewgroup nexus +#enewuser <user> [uid] [shell] [homedir] [groups] [params] +enewuser nexus -1 /bin/bash "${INSTALL_DIR}" "nexus" +} + +src_unpack() { +unpack ${A} +cd "${S}" +# epatch "${FILESDIR}/${P}.patch" +} + +src_install() { +#echo "Debug: INSTALL_DIR: ${INSTALL_DIR}" +#echo "Debug: doins nexus-${MY_PV}" +#echo "Debug: ${WORKDIR}/nexus-${MY_PV}/bin/nexus" +insinto ${INSTALL_DIR} + +dodir ${INSTALL_DIR}/run +doins -r nexus-${MY_PV}/* +newinitd "${WORKDIR}/nexus-${MY_PV}/bin/nexus" nexus +systemd_dounit "${FILESDIR}"/nexus-oss.service + +fowners -R nexus:nexus ${INSTALL_DIR} +fperms 755 "${INSTALL_DIR}/bin/nexus" + +} |