Package Details: sonar-scanner 6.2.1.4610-1

Git Clone URL: https://aur.archlinux.org/sonar-scanner.git (read-only, click to copy)
Package Base: sonar-scanner
Description: Generic CLI tool to launch project analysis on SonarQube servers
Upstream URL: https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
Keywords: sonar-runner sonarqube
Licenses: LGPL3
Provides: sonar-runner, sonar-scanner-cli
Submitter: max-k
Maintainer: BoBeR182
Last Packager: BoBeR182
Votes: 13
Popularity: 0.000006
First Submitted: 2016-11-15 09:55 (UTC)
Last Updated: 2024-10-04 04:58 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

brody commented on 2023-11-03 12:32 (UTC) (edited on 2023-11-03 12:33 (UTC) by brody)

From the perspective of the least priviledge principle please remove the executable bits from the sonar-scanner.sh in the /etc/profiled.d folder. The file will be sourced only. ->

install -Dm644 ../${pkgname}.sh -t "${pkgdir}"/etc/profile.d

noraj commented on 2023-02-28 10:28 (UTC)

4.8.0.2856

# Maintainer:  Marcell Meszaros < marcell.meszaros AT runbox.eu >
# Contributor: max-k <max-kATpostDOTcom>

pkgname=sonar-scanner
pkgver=4.8.0.2856
pkgrel=1
pkgdesc='Generic CLI tool to launch project analysis on SonarQube servers'
arch=('any')
url='https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/'
license=('LGPL3')
depends=('java-runtime' 'sh')
provides=('sonar-runner' 'sonar-scanner-cli')
backup=("opt/$pkgname/conf/$pkgname.properties")
install="$pkgname.install"
source=("https://binaries.sonarsource.com/Distribution/$pkgname-cli/$pkgname-cli-$pkgver.zip"
        "$pkgname.sh"
        "$pkgname.install")
sha256sums=('642d3e189bcca51055bc17d349fc575bf6259df1b54f4077a9a6c586afd65bff'
            '70e67c19cc976f68c28b169647d335cbd803007279ff1c9e84b20ab0ac78d89f'
            '61f04a4f7771fe95e7f0a993d45002855a4c526cfaa3203845b922045c4ea5cf')

package() {
    install -Dm755 --target-directory="$pkgdir/etc/profile.d/" "$pkgname.sh"

    cd "$pkgname-$pkgver"
    install -Dm755 --target-directory="$pkgdir/opt/$pkgname/bin/" "bin/$pkgname"
    install -Dm644 --target-directory="$pkgdir/opt/$pkgname/lib/" "lib/$pkgname-cli-$pkgver.jar"
    install -Dm644 --target-directory="$pkgdir/opt/$pkgname/conf/" "conf/sonar-scanner.properties"
    ln -sf "/opt/$pkgname/conf" "$pkgdir/etc/$pkgname"
}

ljrk commented on 2022-11-29 09:31 (UTC)

Please rename this to sonar-scanner-bin as it is a binary package. Refer to the ArchLinux Packaging Guidelines for more info

Lerentis commented on 2021-06-21 20:12 (UTC)

patch for 4.6.2.2472 release

diff --git a/PKGBUILD b/PKGBUILD
index 1fe2700..5fe0a72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: max-k <max-kATpostDOTcom>
 pkgname=sonar-scanner
-pkgver="4.6.0.2311"
+pkgver="4.6.2.2472"
 pkgrel=1
 pkgdesc="Default launcher to analyze a project with SonarQube"
 arch=('any')
@@ -13,7 +13,7 @@ install="$pkgname.install"
 source=("https://binaries.sonarsource.com/Distribution/$pkgname-cli/$pkgname-cli-$pkgver.zip"
         "$pkgname.sh"
         "$pkgname.install")
-sha256sums=('e45599982e455fc36ac896579a9b88957060882b8eaa3a2d69e9e373f9174381'
+sha256sums=('344bfeff44b09a11082b4a4646b1ed14f213feb00a5cd6d01c86f3767cb32471'
             '2438839809633e1d4a46a8fa5ab02063bb3b530a90059c5dc9325e2d4b0cc4e0'
             '58dcb9b51bb5d1148a62ee6ce60a937d64647993b67ab2c0a4eb2752171e9160')

Lerentis commented on 2020-12-17 09:43 (UTC)

patch for 4.5 release

diff --git a/PKGBUILD b/PKGBUILD
index aea537b..b1f6be8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: max-k <max-kATpostDOTcom>
 pkgname=sonar-scanner
-pkgver="4.4.0.2170"
+pkgver="4.5.0.2216"
 pkgrel=1
 pkgdesc="Default launcher to analyze a project with SonarQube"
 arch=('any')
@@ -13,7 +13,7 @@ install="$pkgname.install"
 source=("https://binaries.sonarsource.com/Distribution/$pkgname-cli/$pkgname-cli-$pkgver.zip"
         "$pkgname.sh"
         "$pkgname.install")
-sha256sums=('b24c19e948f152a4ea8dc43d037253234add639503d42194f6175869693ff058'
+sha256sums=('a271a933d14da6e8705d58996d30afd0b4afc93c0bfe957eb377bed808c4fa89'
             '2438839809633e1d4a46a8fa5ab02063bb3b530a90059c5dc9325e2d4b0cc4e0'
             '58dcb9b51bb5d1148a62ee6ce60a937d64647993b67ab2c0a4eb2752171e9160')

themodem commented on 2019-12-04 10:38 (UTC)

Patch for 4.2

diff --git a/PKGBUILD b/PKGBUILD
index f62d5c8..f44062f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: max-k <max-kATpostDOTcom>
 pkgname=sonar-scanner
-pkgver="4.0.0.1744"
+pkgver="4.2.0.1873"
 pkgrel=1
 pkgdesc="Default launcher to analyze a project with SonarQube"
 arch=('any')
@@ -13,7 +13,7 @@ install="$pkgname.install"
 source=("https://binaries.sonarsource.com/Distribution/$pkgname-cli/$pkgname-cli-$pkgver.zip"
         "$pkgname.sh"
         "$pkgname.install")
-sha256sums=('1ca11d59a122a8d2b492397cedfc63cf9072fe863841397e7ffd1b2d39bef0b4'
+sha256sums=('c1903a3f4cb8ad4f0eeaf8e478b667fbe9eb6ec595db558486761404b88d0b2d'
             '2438839809633e1d4a46a8fa5ab02063bb3b530a90059c5dc9325e2d4b0cc4e0'
             '58dcb9b51bb5d1148a62ee6ce60a937d64647993b67ab2c0a4eb2752171e9160')

FrederickZh commented on 2019-09-10 07:43 (UTC) (edited on 2019-09-10 07:44 (UTC) by FrederickZh)

Hi max-k,

Thanks for updating the package! And actually I'm wondering whether it's better to pack the sonar-scanner-debug script as well? (I've got no idea about it's usage but it's shipped with the DEB package.)

max-k commented on 2019-09-10 07:15 (UTC)

Hi FrederickZh,

Thank you but I'll try to continue to maintain this package.

FrederickZh commented on 2019-09-01 09:47 (UTC)

Hi @max-k, may I know whether you're still actively maintaining this package? If not I'm willing to adopt it :)

cinatic commented on 2018-10-24 09:09 (UTC)

the bintray location needs password now, https://binaries.sonarsource.com/Distribution/ works