diff --git a/devel/sonarqube-community/Makefile b/devel/sonarqube-community/Makefile index d720f7f64a8d..b419045779e2 100644 --- a/devel/sonarqube-community/Makefile +++ b/devel/sonarqube-community/Makefile @@ -1,167 +1,167 @@ PORTNAME= sonarqube DISTVERSION= 10.6.0.92116 -PORTREVISION= 9 +PORTREVISION= 10 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 nodejs:lts,run 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 # If you want to update plugins, simply update the version number below, # and run "make makesum". SONARCSHARP_VER= 9.32.0.97167 -SONARJAVA_VER= 8.2.0.36672 +SONARJAVA_VER= 8.3.0.36747 SONARJAVASCRIPT_VER= 10.14.0.26080 SONARPHP_VER= 3.37.0.12079 SONARPYTHON_VER= 4.21.0.16473 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 22b100045988..23c0add103b9 100644 --- a/devel/sonarqube-community/distinfo +++ b/devel/sonarqube-community/distinfo @@ -1,15 +1,15 @@ -TIMESTAMP = 1724502433 +TIMESTAMP = 1726648888 SHA256 (sonarqube-10.6.0.92116.zip) = 73c541a77f79cbaec49022f5eba60388b3f91f41deb1fbf0abf9bbedcb6dbbc2 SIZE (sonarqube-10.6.0.92116.zip) = 731034761 SHA256 (sonar-csharp-plugin-9.32.0.97167.jar) = 155c42919db208e205577e3d72530860b7bd41ddafa6728ee38acc59c3d0f603 SIZE (sonar-csharp-plugin-9.32.0.97167.jar) = 5597394 -SHA256 (sonar-java-plugin-8.2.0.36672.jar) = 5b055c982250ed816a66a0ed52439823c7178c780fd5bc910853cf70d620d875 -SIZE (sonar-java-plugin-8.2.0.36672.jar) = 19201293 +SHA256 (sonar-java-plugin-8.3.0.36747.jar) = 26d06c63580616f2903175b93c797b0babfb3b24f004040a9b0b36a33d7c2274 +SIZE (sonar-java-plugin-8.3.0.36747.jar) = 19201293 SHA256 (sonar-javascript-plugin-10.14.0.26080.jar) = 8256fbf46e5b548afed969bc815f0f84ad2f0fc37c0636daaf6fa50a440b14e4 SIZE (sonar-javascript-plugin-10.14.0.26080.jar) = 21647553 SHA256 (sonar-php-plugin-3.37.0.12079.jar) = 015ad21c791687e1bd54a5678531adad68aaf7e5e022d22a960c3ce045531b0e SIZE (sonar-php-plugin-3.37.0.12079.jar) = 4777055 SHA256 (sonar-python-plugin-4.21.0.16473.jar) = 17513e60fdb2a1a8ef14776087708cfa93726c4406b5dae99838e760bada8389 SIZE (sonar-python-plugin-4.21.0.16473.jar) = 16634029 SHA256 (sonar-vbnet-plugin-9.32.0.97167.jar) = b0a5e2634d426a76086402825eb4f7f567512f7d6df11380b4fb0d01c8f8b079 SIZE (sonar-vbnet-plugin-9.32.0.97167.jar) = 4727507