diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2017-12-23 13:10:30 +0000 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2017-12-23 13:10:30 +0000 |
commit | 8e12316e5b3185a7c7fb5c63eee1d4732216329f (patch) | |
tree | 31598e6eb5594b6c653be049f91ffba6b227e145 /dev-java | |
parent | update libguestfs (diff) | |
download | ssnb-8e12316e5b3185a7c7fb5c63eee1d4732216329f.tar.gz ssnb-8e12316e5b3185a7c7fb5c63eee1d4732216329f.tar.bz2 ssnb-8e12316e5b3185a7c7fb5c63eee1d4732216329f.zip |
nexus update
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.7.0.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/nexus-oss-bin/Manifest b/dev-java/nexus-oss-bin/Manifest index fea9473..d762a8a 100644 --- a/dev-java/nexus-oss-bin/Manifest +++ b/dev-java/nexus-oss-bin/Manifest @@ -3,8 +3,10 @@ DIST nexus-3.1.0-04-unix.tar.gz 98475782 SHA256 bf1cd6dcbd010b6c35f50f8923dcf58e 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 DIST nexus-3.6.0-02-unix.tar.gz 110775716 SHA256 40b95b097b43cc8941a9700d24baf25ef94867286e43eaffa37cf188726bb2a7 SHA512 128ad295b43f22aeda0c32bdf5911ca510271bcef180dcd84af438565599085369d8dff644064adaea09d257f6bcb658d16e520667cdc111497e687e59d57a03 WHIRLPOOL 7c996be6106983414e35f020915515ec9012b5b1063a96b7240ce6533f8d4a0527ab2ceba9a8f470f4762b0f8140f79eff3ce22aa9b7b402e35285a3c2ea4564 +DIST nexus-3.7.0-04-unix.tar.gz 112670551 SHA256 542912830cb804bc2cad1dc247d28440ecd14edd36684bf8bd55d6999b5e083f SHA512 78bca14e145e5c7878c755d74343496d78061ea4d53d75be75f3ba524df2796d7b323d94135ea4442ae297b12cd18f5096467cc765c0209a3ccd4652eabf478a WHIRLPOOL 63ccc00550b6dd576204898e5955e094f7a71138c68e09873bec21268a42cd75bc48750e53ac4cdee2c9b93912f501313009e4168257fb6182a0494d7f5cd9f9 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 EBUILD nexus-oss-bin-3.6.0.ebuild 1547 SHA256 2462de97dfdcb887fc563a7d100dacf2c41d5e832838208411629962e6600990 SHA512 29c5ccc45a5e4616f2248b32663ffcf19e7c587863b116854926aeda524fd6c1dc7e1609a275f4680e4f8c4f9a3cb19568f0ed891ecf0b4c915aa1afbbe34fa2 WHIRLPOOL faaa7f433dff7396c233328c84dd14aee8b56342510052d03908ea6fafbb4330422c42d1d3a0df725a61066ada264f72d0f42a819d20319f45a7e6d3424bed9a +EBUILD nexus-oss-bin-3.7.0.ebuild 1813 SHA256 10c1e20062c37bec7cdbeec0ce3be31c3c22167224048ba6f86281a5191b9120 SHA512 f907f357d3debccfd576e9f1e6a9714356cee002b9947d652c99fb7df048500b0241dbc958c521c499c081954fd8758b21b4b2d3b29c537d7ce3ce85aa6687c7 WHIRLPOOL 1dd99705b8b7139a94a8c9980f243c19438d1ac9f61659e2a1d973083637378fa57436de3a2f71d932ce3e67df2323581f47742a698311740588753811ca8312 MISC metadata.xml 1392 SHA256 7ca58f109b5aa04acf375690eef9f56d406d4f34620474976c244231d16c02eb SHA512 86204a863173c7d491cdf361f78be360bd8c192ebfdb51d1205439742967b62c196bbe99c20580e05fa2414786787ecdd896ee304ac29c17e28d0d85b3966523 WHIRLPOOL 6d4b4ad5291e568b792e8c0459fe123ee34e1eb1c9ebef7db13dd10cc0a9fe87d362996417b457e807037d56dc9989cfa64829358f0d4afa8ce5d22cc349c92b diff --git a/dev-java/nexus-oss-bin/nexus-oss-bin-3.7.0.ebuild b/dev-java/nexus-oss-bin/nexus-oss-bin-3.7.0.ebuild new file mode 100644 index 0000000..ff0bc6e --- /dev/null +++ b/dev-java/nexus-oss-bin/nexus-oss-bin-3.7.0.ebuild @@ -0,0 +1,72 @@ +# 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" +MY_PV="${PV}-04-unix" +#echo "Debug: custom package version: ${MY_PV}" +MY_P="${MY_PN}-${MY_PV}" +MY_MV="3" + +SRC_URI="http://download.sonatype.com/${MY_PN}/${MY_MV}/${MY_P}.tar.gz" +RESTRICT="mirror" +KEYWORDS="~x86 ~amd64" +SLOT="${MY_MV}" +IUSE="" +S="${WORKDIR}" +#echo "Debug: working directory: ${WORKDIR}" +RDEPEND=">=virtual/jdk-1.8" +INSTALL_DIR="/opt/nexus-oss-${MY_MV}" + +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} +} + +src_prepare() { +cd "${S}" +if -f "${FILESDIR}/${P}.patch"; then + epatch "${FILESDIR}/${P}.patch" +fi +epatch_user +} + +src_install() { +#echo "Debug: install sonatype work dir" +dodir ${INSTALL_DIR/nexus-oss-${MY_MV}/sonatype-work} +insinto ${INSTALL_DIR/nexus-oss-${MY_MV}/sonatype-work} +doins -r sonatype-work/* + +fowners -R nexus:nexus ${INSTALL_DIR/nexus-oss-${MY_MV}/sonatype-work} + +#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 +dodir "/etc/init.d/" +doins -r ${MY_P/-unix/}/* +doins -r ${MY_P/-unix/}/.??* +#BUG: nexus init script needs a symlink because it uses program path to find their configuration files +#newinitd "${WORKDIR}/nexus-${MY_PV}/bin/nexus" nexus +dosym ${INSTALL_DIR}/bin/nexus /etc/init.d/nexus +systemd_dounit "${FILESDIR}"/nexus-oss.service + +fowners -R nexus:nexus ${INSTALL_DIR} +fperms 755 "${INSTALL_DIR}/bin/nexus" + +} |