Date: Thu, 2 Mar 2017 15:52:46 +0000 (UTC) From: Palle Girgensohn <girgen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435247 - in head/devel: . sonar-scanner-cli sonar-scanner-cli/files Message-ID: <201703021552.v22FqkEK059995@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: girgen Date: Thu Mar 2 15:52:46 2017 New Revision: 435247 URL: https://svnweb.freebsd.org/changeset/ports/435247 Log: Add sonar-scanner-cli The SonarQube Scanner is recommended as the default launcher to analyze a project with SonarQube. The SonarQube Scanner allows you to perform source code analyzes without using tools such as Ant or Maven. The SonarQube platform is an open source quality management platform, dedicated to continuously analyzing and measuring the technical quality of source code, from project portfolio down to the method level. With the SonarQube Scanner, and also a tool like Jenkins, everyone can analyze all kinds of languages, not just Java. WWW: http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner PR: 208667 Added: head/devel/sonar-scanner-cli/ head/devel/sonar-scanner-cli/Makefile (contents, props changed) head/devel/sonar-scanner-cli/README.md (contents, props changed) head/devel/sonar-scanner-cli/distinfo (contents, props changed) head/devel/sonar-scanner-cli/files/ head/devel/sonar-scanner-cli/files/pkg-message.in (contents, props changed) head/devel/sonar-scanner-cli/pkg-descr (contents, props changed) head/devel/sonar-scanner-cli/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 2 15:45:05 2017 (r435246) +++ head/devel/Makefile Thu Mar 2 15:52:46 2017 (r435247) @@ -5609,6 +5609,7 @@ SUBDIR += smv SUBDIR += soapui SUBDIR += sonar-ant-task + SUBDIR += sonar-scanner-cli SUBDIR += sonarqube SUBDIR += sope2 SUBDIR += sope3 Added: head/devel/sonar-scanner-cli/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sonar-scanner-cli/Makefile Thu Mar 2 15:52:46 2017 (r435247) @@ -0,0 +1,49 @@ +# Created by: Dusan Vejnovic <freebsd@dussan.org> +# $FreeBSD$ + +PORTNAME= sonar-scanner-cli +PORTVERSION= 2.8 +CATEGORIES= devel java +MASTER_SITES= https://sonarsource.bintray.com/Distribution/${PORTNAME}/ +DISTNAME= sonar-scanner-${PORTVERSION} + +MAINTAINER= freebsd@dussan.org +COMMENT= Launcher for analyzing projects with SonarQube + +LICENSE= LGPL3 + +NO_ARCH= yes +NO_BUILD= yes + +USES= cpe zip +CPE_VENDOR= sonarsource + +USE_JAVA= yes +JAVA_VERSION= 1.7+ + +SR= sonar-runner +SQ_CLI= sonar-scanner +SQ_ARCH= x86-${ARCH:S/i386/32/:S/amd64/64/} +SQ= ${PREFIX}/sonarqube/bin/freebsd-${SQ_ARCH} + +SUB_FILES= pkg-message +PLIST_SUB= SR_HOME=${PREFIX}/${PORTNAME} + +OPTIONS_DEFINE= SQ +SQ_DESC= SonarQube server support +SQ_RUN_DEPENDS= ${SQ}/sonar.sh.sample:devel/sonarqube + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} + @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PORTNAME}) + @${MV} -f ${STAGEDIR}${PREFIX}/${PORTNAME}/conf/${SQ_CLI}.properties \ + ${STAGEDIR}${PREFIX}/${PORTNAME}/conf/${SQ_CLI}.properties.sample + @${CHMOD} -R 644 ${STAGEDIR}${PREFIX}/${PORTNAME} + +post-install: + @${LN} -f ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/${SR} \ + ${STAGEDIR}${PREFIX}/bin/${SR} + @${LN} -f ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/${SQ_CLI} \ + ${STAGEDIR}${PREFIX}/bin/${SQ_CLI} + +.include <bsd.port.mk> Added: head/devel/sonar-scanner-cli/README.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sonar-scanner-cli/README.md Thu Mar 2 15:52:46 2017 (r435247) @@ -0,0 +1,8 @@ +# Sonar Scanner CLI port for The FreeBSD Ports + +The Sonar Scanner CLI is the default launcher to analyze projects for SonarQube. The Sonar Runner allows you to perform source code analyzes without using tools such as Ant or Maven. The SonarQube platform is an open source quality management platform, dedicated to continuously analyzing and measuring the technical quality of source code, from project portfolio down to the method level. With the Sonar Runner, and also a tool like Jenkins, everyone can analyze all kinds of languages, not just Java. The SonarQube Scanner is recommended as the default launcher to analyze a project with SonarQube. The SonarQube Scanner allows you to perform source code analyzes without using tools such as Ant or Maven. The SonarQube platform is an open source quality management platform, dedicated to continuously analyzing and measuring the technical quality of source code, from project portfolio down to the method level. With the SonarQube Scanner, and also a tool like Jenkins, everyone can analyze all kinds of languages, not just Java. + +___VERSION:___ 2.8 +___MAINTAINER:___ <freebsd@dussan.org> +___LICENSE:___ [GNU Lesser General Public License, Version 3](http://www.gnu.org/licenses/lgpl-3.0.html) +___WWW:___ [http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner](http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) Added: head/devel/sonar-scanner-cli/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sonar-scanner-cli/distinfo Thu Mar 2 15:52:46 2017 (r435247) @@ -0,0 +1,3 @@ +TIMESTAMP = 1484414843 +SHA256 (sonar-scanner-2.8.zip) = 0295365a7e5d4499ec6b46cb6c70f3fa127159b58b73930f675acd0897a6b350 +SIZE (sonar-scanner-2.8.zip) = 496533 Added: head/devel/sonar-scanner-cli/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sonar-scanner-cli/files/pkg-message.in Thu Mar 2 15:52:46 2017 (r435247) @@ -0,0 +1,10 @@ +************************************************************************ + + Before start the SonarQube Scanner (default settings): + - create a new SONAR_RUNNER_HOME environment variable set to + "/usr/local/sonar-scanner-cli" + + More information: + http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner + +************************************************************************ Added: head/devel/sonar-scanner-cli/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sonar-scanner-cli/pkg-descr Thu Mar 2 15:52:46 2017 (r435247) @@ -0,0 +1,9 @@ +The SonarQube Scanner is recommended as the default launcher to analyze a +project with SonarQube. The SonarQube Scanner allows you to perform source code +analyzes without using tools such as Ant or Maven. The SonarQube platform is an +open source quality management platform, dedicated to continuously analyzing and +measuring the technical quality of source code, from project portfolio down to +the method level. With the SonarQube Scanner, and also a tool like Jenkins, +everyone can analyze all kinds of languages, not just Java. + +WWW: http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner Added: head/devel/sonar-scanner-cli/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/sonar-scanner-cli/pkg-plist Thu Mar 2 15:52:46 2017 (r435247) @@ -0,0 +1,13 @@ +bin/sonar-runner +bin/sonar-scanner +@(,,755) %%SR_HOME%%/bin/sonar-runner +@(,,755) %%SR_HOME%%/bin/sonar-scanner +@(,,755) %%SR_HOME%%/bin/sonar-scanner-debug +%%SR_HOME%%/bin/sonar-runner.bat +%%SR_HOME%%/bin/sonar-scanner-debug.bat +%%SR_HOME%%/bin/sonar-scanner.bat +%%SR_HOME%%/lib/sonar-scanner-cli-2.8.jar +@sample %%SR_HOME%%/conf/sonar-scanner.properties.sample +@dir(,,755) %%SR_HOME%%/bin +@dir(,,755) %%SR_HOME%%/conf +@dir(,,755) %%SR_HOME%%/lib
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703021552.v22FqkEK059995>