From owner-svn-ports-all@freebsd.org Thu Mar 2 15:52:48 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 586CFCF52CE; Thu, 2 Mar 2017 15:52:48 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 194CFA6B; Thu, 2 Mar 2017 15:52:48 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v22FqlmA060002; Thu, 2 Mar 2017 15:52:47 GMT (envelope-from girgen@FreeBSD.org) Received: (from girgen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v22FqkEK059995; Thu, 2 Mar 2017 15:52:46 GMT (envelope-from girgen@FreeBSD.org) Message-Id: <201703021552.v22FqkEK059995@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: girgen set sender to girgen@FreeBSD.org using -f From: Palle Girgensohn Date: Thu, 2 Mar 2017 15:52:46 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 15:52:48 -0000 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$ + +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 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:___ +___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