sonarqube-bin: v4.5 bump

This commit is contained in:
Anton Bolshakov 2014-10-23 11:05:05 +00:00
parent 5cb30aea2f
commit 8ab20a3cfa
3 changed files with 77 additions and 1 deletions

View file

@ -2,5 +2,7 @@ AUX init.sh 480 SHA256 115075e9da99f4f4a74f7b5fc55d2ae4fad0ff52b0622a49a434395b5
AUX sonar.confd 9 SHA256 04a23430c235b1a5f17b4956e34bddc3db3e42d1a1fa8eef37d5d811417b7365 SHA512 3dfc306081161d2b0a5cb441db20971060a66234b73d99fcd5276bf29282823bec29eb18cf28083df8408e7f774829304bfd138bdf1398ef72fd303c735ad419 WHIRLPOOL 4efecf9263473ce88eda65786981ea43f17d96d07835c32ab8ad3dc4a8a023db4cfdd8c42bd1e279a8b3129e62b7e06fdf1ecb0c7efcf63358293f686d3169f5
DIST sonarqube-4.3.2.zip 71951140 SHA256 1c9fd395946deb47b796b51e1177c5001cddd992692b48ed5b7fcba2bdd8d0e6 SHA512 edaa331c9442ac66b08fca1b199ddbf0ad06af4c435bb0fec642c5d9a800c0ce731f85d876d0f256bd453e94b521f8065cbc8a9599de94238901b07a4dffda47 WHIRLPOOL 900255a1a9ef83c57f81399a07bec422bbb63aef58085713e102b55d11a01b74fdfd8c28e836fc91910ad774b2dcab3825dc0b815aa5cab9fce4ded9194d14d5
DIST sonarqube-4.4.zip 89249106 SHA256 b257668788655bb5656b8b520e70b8a63a4a37c62a0e350a5145681eebce5ddb SHA512 6089592e4eb38ee4a1369132ea103421613f3273c98fa7b80094f2636c0c453df41ee94aec89fbfbf3c3364439d91aaa9d5a1768bcab031585df5fde889100d3 WHIRLPOOL d54107398fbc0ba519f204c1bf71d3eef62052dcdb36c144cea33216aba4307312f379dff18407d994ada61e4f7fa6ee33023aa4da3ae0c9c296eacd619cb17c
DIST sonarqube-4.5.zip 90188628 SHA256 707d7d960fef17e2e2d0ceb4bd9828966d6b6c99aabe2c7bc2e2c07e5f398deb SHA512 261bced70b0fe13973b33fdca5ac1e234fd95389e0b15e6505c7f2e12f6d5ef91d86f56c1b3a924460d9395b29c0446322d1d7d3b82bab8e7c03e631d34d66a2 WHIRLPOOL 69ab385e8fb653a442d74692055f5502b9c6f89fee3844138c2e704a70c5f0438f7351f940ad8870e83c14383d48c8951263bf24885985e21f6ea1380a7efb4e
EBUILD sonarqube-bin-4.3.2.ebuild 1580 SHA256 1697350aac22e61c712ac07d5c924fc9873e560388577a9d0719f37e2c58245c SHA512 25f9a1c22b65c3179ab7a547967c5049f8429f7a0d11a194eff65421bb120f4417048c31d58c63148eea667a76100f995da8dfd07226cc694b942bf3fb7a81a6 WHIRLPOOL d62f67e862da31683a1b5bd60c33e848df3624326e8184450a9a6289cb047446f29add239de07c653da026cb4d5f9eee9ad2d9ed22b2de2c44a74faa548d622b
EBUILD sonarqube-bin-4.4.ebuild 1726 SHA256 bdd47881cecef017ef03c17782852e0d9b1105e99cf2ef66ab0ffde49eb50619 SHA512 de1630d6647be68dce998126b2c2a48a7e0f887beff3e68522b0438c74458825d88bbfbc6a3b7187f25c8425da962081a70fa2f71d2aa6c322ee896745fa399a WHIRLPOOL f4d906ee63e598664d9766b857721886de81773cb4c76b261553ea71dc654b942309b8143b1bd6e1b1c93822e57a28e127e42829a35359cb48960a1823a37459
EBUILD sonarqube-bin-4.5.ebuild 1726 SHA256 bdd47881cecef017ef03c17782852e0d9b1105e99cf2ef66ab0ffde49eb50619 SHA512 de1630d6647be68dce998126b2c2a48a7e0f887beff3e68522b0438c74458825d88bbfbc6a3b7187f25c8425da962081a70fa2f71d2aa6c322ee896745fa399a WHIRLPOOL f4d906ee63e598664d9766b857721886de81773cb4c76b261553ea71dc654b942309b8143b1bd6e1b1c93822e57a28e127e42829a35359cb48960a1823a37459

View file

@ -0,0 +1,74 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit java-pkg-2 user
DESCRIPTION="SonarQube is an open platform to manage code quality."
HOMEPAGE="http://www.sonarqube.org/"
LICENSE="LGPL-3"
MY_PV="${PV/_alpha/M}"
MY_PV="${MY_PV/_rc/-RC}"
MY_P="sonarqube-${MY_PV}"
SRC_URI="http://dist.sonar.codehaus.org/${MY_P}.zip"
RESTRICT="mirror"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
S="${WORKDIR}/${MY_P}"
DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jdk-1.6"
INSTALL_DIR="/opt/sonar"
pkg_setup() {
#enewgroup <name> [gid]
enewgroup sonar
#enewuser <user> [uid] [shell] [homedir] [groups] [params]
enewuser sonar -1 /bin/bash /opt/sonar "sonar"
}
src_unpack() {
unpack ${A}
cd "${S}"
# TODO remove unneded files
# Fix permissions
chmod -R a-x,a+X conf data extensions lib temp web COPYING
# Fix EOL in configuration files
for i in conf/* ; do
awk '{ sub("\r$", ""); print }' $i > $i.new
mv $i.new $i
done
}
src_install() {
insinto ${INSTALL_DIR}
doins -r bin conf data extensions lib logs temp web COPYING
newinitd "${FILESDIR}/init.sh" sonar
newconfd "${FILESDIR}"/sonar.confd sonar
fowners -R sonar:sonar ${INSTALL_DIR}
fperms 755 "${INSTALL_DIR}/bin/linux-x86-32/sonar.sh"
fperms 755 "${INSTALL_DIR}/bin/linux-x86-32/wrapper"
fperms 755 "${INSTALL_DIR}/bin/linux-x86-64/sonar.sh"
fperms 755 "${INSTALL_DIR}/bin/linux-x86-64/wrapper"
# Protect Sonar conf on upgrade
echo "CONFIG_PROTECT=\"${INSTALL_DIR}/conf\"" > "${T}/25sonar" || die
doenvd "${T}/25sonar"
}
pkg_postinst() {
einfo "Please complete the upgrade using the following guideline:"
einfo "http://docs.codehaus.org/display/SONAR/Upgrading"
}

View file

@ -27,4 +27,4 @@
=dev-util/capstone-2.1.2_p201407*
~dev-util/radare2-capstone-2.1
~dev-util/sonarqube-bin-4.4
~dev-util/sonarqube-bin-4.5