diff --git a/devel/sonar-scanner-cli/Makefile b/devel/sonar-scanner-cli/Makefile index 82686dcea76b..a954abe03948 100644 --- a/devel/sonar-scanner-cli/Makefile +++ b/devel/sonar-scanner-cli/Makefile @@ -1,63 +1,63 @@ PORTNAME= sonar-scanner-cli -DISTVERSION= 5.0.1.3006 +DISTVERSION= 6.0.0.4432 PORTREVISION= 0 CATEGORIES= devel security www java MASTER_SITES= https://binaries.sonarsource.com/Distribution/${PORTNAME}/ MAINTAINER= netchild@FreeBSD.org COMMENT= Scanner component of SonarQube WWW= https://www.sonarqube.org/ LICENSE= LGPL3 # node -> JS analysis USES= cpe nodejs:run zip CPE_VENDOR= sonarsource CPE_PRODUCT= sonarqube_scanner USE_JAVA= yes WRKSRC= ${WRKDIR}/sonar-scanner-${DISTVERSION} NO_ARCH= yes NO_BUILD= yes JAVA_VERSION= 17+ JAVA_VENDOR= openjdk APP_NAME= ${PORTNAME} APP_DIR= libexec/${PORTNAME} JAR_VERSION= ${DISTVERSION} SUB_LIST= \ APP_DIR=${APP_DIR} \ JAR_VERSION=${JAR_VERSION} SUB_FILES= \ sonar-scanner \ pkg-message PLIST_SUB= \ APP_DIR=${APP_DIR} \ JAR_VERSION=${JAR_VERSION} post-extract: ${MV} ${WRKSRC}/conf/sonar-scanner.properties ${WRKSRC}/conf/sonar-scanner.properties.sample ${RM} ${WRKSRC}/bin/*.bat do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APP_DIR} ${INSTALL} ${WRKDIR}/sonar-scanner ${STAGEDIR}${PREFIX}/bin/ .for dir in bin conf lib cd ${WRKSRC}; ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/${APP_DIR} "! -name *\.orig" .endfor gen-plist: ${ECHO} '@sample ${APP_DIR}/conf/sonar-scanner.properties.sample' >${PLIST}.new ${ECHO} 'bin/sonar-scanner' >>${PLIST}.new .for dir in bin conf lib ${FIND} ${STAGEDIR}${PREFIX}/${APP_DIR}/${dir} -type f | \ ${SED} -e "s:${STAGEDIR}${PREFIX}/::g ; \ s:${JAR_VERSION}:%%JAR_VERSION%%:g" | \ ${GREP} -v conf/sonar-scanner.properties | ${SORT} >> ${PLIST}.new .endfor .include diff --git a/devel/sonar-scanner-cli/distinfo b/devel/sonar-scanner-cli/distinfo index 460cb533eeed..7b50603237c0 100644 --- a/devel/sonar-scanner-cli/distinfo +++ b/devel/sonar-scanner-cli/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1700213470 -SHA256 (sonar-scanner-cli-5.0.1.3006.zip) = 817802ab3a476f739192d6c10504285e24e9224a0fbe2a518bb938ff88b7ea81 -SIZE (sonar-scanner-cli-5.0.1.3006.zip) = 591099 +TIMESTAMP = 1717227797 +SHA256 (sonar-scanner-cli-6.0.0.4432.zip) = 965a18c438a213aa2167b51c793116987bc2a9df9ad245c8e02d3ab3e54022e7 +SIZE (sonar-scanner-cli-6.0.0.4432.zip) = 4370449