diff --git a/sysutils/logstash6/Makefile b/sysutils/logstash6/Makefile index 909be9dcd966..201fe618a7de 100644 --- a/sysutils/logstash6/Makefile +++ b/sysutils/logstash6/Makefile @@ -1,80 +1,74 @@ -# Created by: Daniel Solsona , Guido Falsi - PORTNAME= logstash -PORTVERSION= 6.8.15 +PORTVERSION= 6.8.16 CATEGORIES= sysutils java MASTER_SITES= http://artifacts.elastic.co/downloads/logstash/ PKGNAMESUFFIX= 6 MAINTAINER= elastic@FreeBSD.org COMMENT= Server-side data ingestion and transformation tool LICENSE= APACHE20 RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash USES= cpe shebangfix -CONFLICTS= logstash-[0-9]* logstash5* logstash7* - -SHEBANG_FILES= bin/* CPE_VENDOR= elasticsearch USE_JAVA= yes JAVA_VERSION= 1.8+ JAVA_RUN= yes -NO_BUILD= yes - -USERS= logstash -GROUPS= logstash - -LOGSTASH_DIR= ${PREFIX}/${PORTNAME} - USE_RC_SUBR= logstash +SHEBANG_FILES= bin/* +CONFLICTS= logstash-[0-9]* logstash5* logstash7* -LOGSTASH_HOME?= ${PREFIX}/${PORTNAME} - +NO_BUILD= yes SUB_LIST= JAVA_HOME=${JAVA_HOME} \ LOGSTASH_HOME=${LOGSTASH_HOME} -LOGSTASH_CONF_FILES= jvm.options log4j2.properties logstash.yml \ - pipelines.yml startup.options -LOGSTASH_JRUBY_SUBDIR= vendor/jruby/bin +USERS= logstash +GROUPS= logstash + +LOGSTASH_CONF_FILES= jvm.options log4j2.properties logstash.yml \ + pipelines.yml startup.options +LOGSTASH_DIR= ${PREFIX}/${PORTNAME} +LOGSTASH_HOME?= ${PREFIX}/${PORTNAME} LOGSTASH_JRUBY_BIN_FILES= ast gem irb jgem jirb jirb_swing jruby \ jruby.bash jruby.sh jrubyc rake rdoc ri testrb +LOGSTASH_JRUBY_SUBDIR= vendor/jruby/bin post-patch: ${REINPLACE_CMD} 's|%%ETCDIR%%|${ETCDIR}|g' ${WRKSRC}/config/logstash.yml ${FIND} ${WRKSRC} -name '*.orig' -delete do-install: ${FIND} ${WRKSRC} -name '*.bat' -delete ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/logstash.conf.sample ${STAGEDIR}${ETCDIR} .for x in ${LOGSTASH_CONF_FILES} ${INSTALL_DATA} ${WRKSRC}/config/${x} ${STAGEDIR}${ETCDIR}/${x}.sample .endfor ${RM} -rf ${WRKSRC}/config (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${LOGSTASH_DIR}) ${CHMOD} ${BINMODE} ${STAGEDIR}${LOGSTASH_DIR}/bin/* .for x in ${LOGSTASH_JRUBY_BIN_FILES} ${CHMOD} ${BINMODE} ${STAGEDIR}${LOGSTASH_DIR}/${LOGSTASH_JRUBY_SUBDIR}/${x} .endfor ${INSTALL} -lrs ${STAGEDIR}${ETCDIR} ${STAGEDIR}${LOGSTASH_DIR}/config post-install: ${ECHO} "@sample ${ETCDIR}/logstash.conf.sample" >> ${TMPPLIST} .for x in ${LOGSTASH_CONF_FILES} ${ECHO} "@sample ${ETCDIR}/${x}.sample" >> ${TMPPLIST} .endfor ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/bundle/jruby/2.5.0/build_info ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/bundle/jruby/2.5.0/cache ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/bundle/jruby/2.5.0/doc ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/bundle/jruby/2.5.0/extensions ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/bundle/jruby/2.5.0/gems/manticore-0.6.4-java/spec/ssl ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/bundle/jruby/2.5.0/gems/redis-3.3.5/test/db ${RM} -rf ${STAGEDIR}${PREFIX}/logstash/vendor/jruby/lib/ruby/gems/shared/cache ${FIND} -s ${STAGEDIR}${PREFIX}/logstash -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} ${ECHO} "@dir(logstash,logstash,) logstash/data" >> ${TMPPLIST} .include diff --git a/sysutils/logstash6/distinfo b/sysutils/logstash6/distinfo index 3296dcc72c81..54cbe6bfa7ea 100644 --- a/sysutils/logstash6/distinfo +++ b/sysutils/logstash6/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1617804522 -SHA256 (logstash-6.8.15.tar.gz) = 63e8d53f99a83b2f20b6c21d8d4be9f55e9a7418b4f56dc496c4c7c2679bbb9e -SIZE (logstash-6.8.15.tar.gz) = 176912362 +TIMESTAMP = 1622123656 +SHA256 (logstash-6.8.16.tar.gz) = 50668772d1e10187261782b2af803375a49257edb950e0fb82de997fe5c9243a +SIZE (logstash-6.8.16.tar.gz) = 176912473