Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 14:44:44 GMT
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: aff61c1df832 - main - devel/sonar-scanner-cli: Disable kubernetes scanning.
Message-ID:  <202411221444.4AMEiiQ9038988@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by netchild:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aff61c1df832794e8ecbea87d108257936852033

commit aff61c1df832794e8ecbea87d108257936852033
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-11-22 14:42:24 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-11-22 14:44:39 +0000

    devel/sonar-scanner-cli: Disable kubernetes scanning.
    
    This throws an exception on FreeBSD (it doesn't respect the
    sonar.scanner.os setting) and aborts the scan.
---
 devel/sonar-scanner-cli/Makefile               | 2 +-
 devel/sonar-scanner-cli/files/sonar-scanner.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/sonar-scanner-cli/Makefile b/devel/sonar-scanner-cli/Makefile
index c880c791247b..6df429d6d74a 100644
--- a/devel/sonar-scanner-cli/Makefile
+++ b/devel/sonar-scanner-cli/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sonar-scanner-cli
 DISTVERSION=	6.2.1.4610
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel security www java
 MASTER_SITES=	https://binaries.sonarsource.com/Distribution/${PORTNAME}/
 
diff --git a/devel/sonar-scanner-cli/files/sonar-scanner.in b/devel/sonar-scanner-cli/files/sonar-scanner.in
index 8e6d1a588a9d..020742cd75f3 100644
--- a/devel/sonar-scanner-cli/files/sonar-scanner.in
+++ b/devel/sonar-scanner-cli/files/sonar-scanner.in
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-exec /bin/sh %%PREFIX%%/%%APP_DIR%%/bin/sonar-scanner -Dsonar.scanner.os=linux -Dsonar.scanner.javaExePath=%%LOCALBASE%%/bin/java "$@"
+exec /bin/sh %%PREFIX%%/%%APP_DIR%%/bin/sonar-scanner -Dsonar.scanner.os=linux -Dsonar.scanner.javaExePath=%%LOCALBASE%%/bin/java -Dsonar.kubernetes.activate=false "$@"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411221444.4AMEiiQ9038988>