diff --git a/devel/sonarqube-community/Makefile b/devel/sonarqube-community/Makefile index f3298ffa423c..d77bb8a8279e 100644 --- a/devel/sonarqube-community/Makefile +++ b/devel/sonarqube-community/Makefile @@ -1,165 +1,165 @@ PORTNAME= sonarqube DISTVERSION= 10.2.1.78527 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel security www java MASTER_SITES= https://binaries.sonarsource.com/Distribution/sonarqube/:m_core \ https://binaries.sonarsource.com/Distribution/sonar-csharp-plugin/:m_csharp \ https://binaries.sonarsource.com/Distribution/sonar-java-plugin/:m_java \ https://binaries.sonarsource.com/Distribution/sonar-javascript-plugin/:m_javascript \ https://binaries.sonarsource.com/Distribution/sonar-php-plugin/:m_php \ https://binaries.sonarsource.com/Distribution/sonar-python-plugin/:m_python \ https://binaries.sonarsource.com/Distribution/sonar-vbnet-plugin/:m_vbnet PKGNAMESUFFIX= -community DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:m_core \ sonar-csharp-plugin-${SONARCSHARP_VER}.jar:m_csharp \ sonar-java-plugin-${SONARJAVA_VER}.jar:m_java \ sonar-javascript-plugin-${SONARJAVASCRIPT_VER}.jar:m_javascript \ sonar-php-plugin-${SONARPHP_VER}.jar:m_php \ sonar-python-plugin-${SONARPYTHON_VER}.jar:m_python \ sonar-vbnet-plugin-${SONARVBNET_VER}.jar:m_vbnet EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= netchild@FreeBSD.org COMMENT= Web-based continuous code inspection tool WWW= https://www.sonarqube.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/COPYING #BUILD_DEPENDS= jna>0:devel/jna RUN_DEPENDS= bash:shells/bash #\ # jna>0:devel/jna USES= cpe shebangfix zip CPE_VENDOR= sonarsource USE_JAVA= yes SHEBANG_FILES= elasticsearch/bin/elasticsearch-cli \ elasticsearch/bin/elasticsearch-env NO_ARCH= yes NO_BUILD= yes JAVA_VERSION= 17+ JAVA_VENDOR= openjdk USE_RC_SUBR= ${PORTNAME} APP_NAME= ${PORTNAME} APP_DIR= libexec/${PORTNAME} LOG_DIR= /var/log/${PORTNAME} PID_DIR= /var/run/${PORTNAME} JAR_VERSION= ${DISTVERSION} DBBASE_DIR= /var/db/${PORTNAME} DATA_DIR= ${DBBASE_DIR}/data TEMP_DIR= ${DBBASE_DIR}/temp -SONARCSHARP_VER= 9.11.0.78383 -SONARJAVA_VER= 7.25.0.32245 +SONARCSHARP_VER= 9.12.0.78982 +SONARJAVA_VER= 7.26.0.33315 SONARJAVASCRIPT_VER= 10.7.0.22914 SONARPHP_VER= 3.32.0.10180 -SONARPYTHON_VER= 4.8.0.12420 +SONARPYTHON_VER= 4.9.0.13528 SONARVBNET_VER= ${SONARCSHARP_VER} USERS= sonarqube GROUPS= sonarqube SUB_LIST= \ APP_NAME=${APP_NAME} \ APP_DIR=${APP_DIR} \ JAVA_HOME=${JAVA_HOME} \ JAVA=${JAVA} \ LOG_DIR=${LOG_DIR} \ PID_DIR=${PID_DIR} \ JAR_VERSION=${JAR_VERSION} \ DATA_DIR=${DATA_DIR} \ TEMP_DIR=${TEMP_DIR} SUB_FILES= \ ${APP_NAME} \ pkg-message PLIST_SUB= APP_NAME=${APP_NAME} \ APP_DIR=${APP_DIR} \ LOG_DIR=${LOG_DIR} \ PID_DIR=${PID_DIR} \ JAR_VERSION=${JAR_VERSION} \ DBBASE_DIR=${DBBASE_DIR} \ DATA_DIR=${DATA_DIR} \ TEMP_DIR=${TEMP_DIR} \ SONARCSHARP_VER=${SONARCSHARP_VER} \ SONARJAVA_VER=${SONARJAVA_VER} \ SONARJAVASCRIPT_VER=${SONARJAVASCRIPT_VER} \ SONARPHP_VER=${SONARPHP_VER} \ SONARPYTHON_VER=${SONARPYTHON_VER} \ SONARSCMGIT_VER=${SONARSCMGIT_VER} \ SONARSCMSVN_VER=${SONARSCMSVN_VER} \ SONARVBNET_VER=${SONARVBNET_VER} post-extract: ${RM} -r ${WRKSRC}/bin ${WRKSRC}/lib/jsw ${WRKSRC}/conf/wrapper.conf # ${RM} ${WRKSRC}/elasticsearch/lib/jna*.jar ${MV} ${WRKSRC}/conf/sonar.properties ${WRKSRC}/conf/sonar.properties.sample .for plugin in sonar-csharp-plugin \ sonar-java-plugin \ sonar-javascript-plugin \ sonar-php-plugin \ sonar-python-plugin \ sonar-vbnet-plugin ${RM} ${WRKSRC}/lib/extensions/${plugin}-*.jar .endfor .for plugin in sonar-csharp-plugin-${SONARCSHARP_VER}.jar \ sonar-java-plugin-${SONARJAVA_VER}.jar \ sonar-javascript-plugin-${SONARJAVASCRIPT_VER}.jar \ sonar-php-plugin-${SONARPHP_VER}.jar \ sonar-python-plugin-${SONARPYTHON_VER}.jar \ sonar-vbnet-plugin-${SONARVBNET_VER}.jar ${CP} ${DISTDIR}/${plugin} ${WRKSRC}/lib/extensions/ .endfor post-patch: ${REINPLACE_CMD} -e 's:%%LOG_DIR%%:${LOG_DIR}:g ; s:%%DATA_DIR%%:${DATA_DIR}:g ; s:%%TEMP_DIR%%:${TEMP_DIR}:g' ${WRKSRC}/conf/sonar.properties.sample do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${APP_DIR}/elasticsearch/plugins ${MKDIR} ${STAGEDIR}${LOG_DIR} ${STAGEDIR}${PID_DIR} \ ${STAGEDIR}${DATA_DIR} ${STAGEDIR}${TEMP_DIR} .for dir in conf elasticsearch extensions lib web cd ${WRKSRC}; ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${PREFIX}/${APP_DIR} "! -name *\.orig" .endfor # ${LN} -s ${JAVASHAREDIR}/classes/jna.jar \ # ${STAGEDIR}${PREFIX}/${APP_DIR}/elasticsearch/lib/jna.jar gen-plist: ${ECHO} '@sample ${APP_DIR}/conf/sonar.properties.sample' >${PLIST}.new ${ECHO} '@dir(sonarqube,sonarqube,755) %%DBBASE_DIR%%' >>${PLIST}.new ${ECHO} '@dir(sonarqube,sonarqube,755) %%DATA_DIR%%' >>${PLIST}.new ${ECHO} '@dir(sonarqube,sonarqube,755) %%TEMP_DIR%%' >>${PLIST}.new ${ECHO} '@dir %%APP_DIR%%/elasticsearch/plugins' >>${PLIST}.new # ${ECHO} '@dir(sonarqube,sonarqube,755) %%APP_DIR%%/extensions' >>${PLIST}.new .for dir in conf elasticsearch lib web ${FIND} ${STAGEDIR}${PREFIX}/${APP_DIR}/${dir} -type f -o -type l | \ ${SED} -e "s:${STAGEDIR}${PREFIX}/::g ; \ s:${JAR_VERSION}:%%JAR_VERSION%%:g ; \ s:sonar-csharp-plugin-[0-9.]*.jar:sonar-csharp-plugin-%%SONARCSHARP_VER%%.jar:g ; \ s:sonar-java-plugin-[0-9.]*.jar:sonar-java-plugin-%%SONARJAVA_VER%%.jar:g ; \ s:sonar-javascript-plugin-[0-9.]*.jar:sonar-javascript-plugin-%%SONARJAVASCRIPT_VER%%.jar:g ; \ s:sonar-php-plugin-[0-9.]*.jar:sonar-php-plugin-%%SONARPHP_VER%%.jar:g ; \ s:sonar-python-plugin-[0-9.]*.jar:sonar-python-plugin-%%SONARPYTHON_VER%%.jar:g ; \ s:sonar-vbnet-plugin-[0-9.]*.jar:sonar-vbnet-plugin-%%SONARVBNET_VER%%.jar:g ; \ s:\(.*elasticsearch/bin.*\):@(,,755) \1:g" | \ ${GREP} -v conf/sonar.properties.sample | ${SORT} >> ${PLIST}.new .endfor ${ECHO} '@owner sonarqube' >>${PLIST}.new ${ECHO} '@group sonarqube' >>${PLIST}.new .for dir in extensions ${FIND} ${STAGEDIR}${PREFIX}/${APP_DIR}/${dir} -type d | \ ${SED} -e "s:${STAGEDIR}${PREFIX}/:@dir(sonarqube,sonarqube,755) :g" | \ ${SORT} >> ${PLIST}.new ${FIND} ${STAGEDIR}${PREFIX}/${APP_DIR}/${dir} -type f | \ ${SED} -e "s:${STAGEDIR}${PREFIX}/::g ; \ s:${JAR_VERSION}:%%JAR_VERSION%%:g" | \ ${SORT} >> ${PLIST}.new .endfor ${ECHO} '@dir(sonarqube,sonarqube,755) %%LOG_DIR%%' >> ${PLIST}.new ${ECHO} '@dir(sonarqube,sonarqube,755) %%PID_DIR%%' >> ${PLIST}.new .include diff --git a/devel/sonarqube-community/distinfo b/devel/sonarqube-community/distinfo index 2aeb5dd52765..70a200126d69 100644 --- a/devel/sonarqube-community/distinfo +++ b/devel/sonarqube-community/distinfo @@ -1,15 +1,15 @@ -TIMESTAMP = 1696587435 +TIMESTAMP = 1697534401 SHA256 (sonarqube-10.2.1.78527.zip) = 420784efc123e216d47094ce19a672a70f34822b592917b57412e077b80c3acf SIZE (sonarqube-10.2.1.78527.zip) = 374754598 -SHA256 (sonar-csharp-plugin-9.11.0.78383.jar) = 962ba6e91d6f24ac4c5f322f073a41588fd2c6f3b1b3fefe7ed57426c935c800 -SIZE (sonar-csharp-plugin-9.11.0.78383.jar) = 5351816 -SHA256 (sonar-java-plugin-7.25.0.32245.jar) = 7fe65d87c3dd8b2324587cd9963fb38bf08bd2db6c569240da682d5cca5b29ce -SIZE (sonar-java-plugin-7.25.0.32245.jar) = 18090179 +SHA256 (sonar-csharp-plugin-9.12.0.78982.jar) = 1c274e5e0858cef0cdf3e576fed5ce58512b85a0db7b64672861ac611994f9be +SIZE (sonar-csharp-plugin-9.12.0.78982.jar) = 5351586 +SHA256 (sonar-java-plugin-7.26.0.33315.jar) = 092ee02895ac43bd339a09124a8acbc3561e1fbc5ca00c037d0669d598a42ca8 +SIZE (sonar-java-plugin-7.26.0.33315.jar) = 18103797 SHA256 (sonar-javascript-plugin-10.7.0.22914.jar) = a21f1c4962bad6abd2d5b502a4f2d468899c9ef5df80e7fd81f87a95ea26ea1a SIZE (sonar-javascript-plugin-10.7.0.22914.jar) = 21102324 SHA256 (sonar-php-plugin-3.32.0.10180.jar) = 253802a09cac937c9bb4310675810c9dd639433a8eab80a76d66150b9e0278d6 SIZE (sonar-php-plugin-3.32.0.10180.jar) = 4585141 -SHA256 (sonar-python-plugin-4.8.0.12420.jar) = d2a0422fa53a3c5bde82c9d653b0a31d9fc999b2e176a0b91958123f725f8115 -SIZE (sonar-python-plugin-4.8.0.12420.jar) = 11908723 -SHA256 (sonar-vbnet-plugin-9.11.0.78383.jar) = 999d289f6da72a34a9c48c24b6811e7c14a2197a46f7f4ab682f279bb7b3bcf2 -SIZE (sonar-vbnet-plugin-9.11.0.78383.jar) = 4640427 +SHA256 (sonar-python-plugin-4.9.0.13528.jar) = a2ac7dc267e756fe3c697ae65bba4aeb8316c1f3d95cbe429617aef738df05c8 +SIZE (sonar-python-plugin-4.9.0.13528.jar) = 12624022 +SHA256 (sonar-vbnet-plugin-9.12.0.78982.jar) = 4107760fe9c96bc2854ef1256d1381e7d54469cbc2c20c1b6b5413aeba65d841 +SIZE (sonar-vbnet-plugin-9.12.0.78982.jar) = 4641306