FreeBSD Bugzilla – Attachment 206739 Details for
Bug 240000
sysutils/logstash6: Update to 6.8.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to update to 6.8.2
logstash6.diff (text/plain), 5.23 KB, created by
Greg Lewis
on 2019-08-20 18:50:36 UTC
(
hide
)
Description:
Patch to update to 6.8.2
Filename:
MIME Type:
Creator:
Greg Lewis
Created:
2019-08-20 18:50:36 UTC
Size:
5.23 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 509159) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= logstash >-PORTVERSION= 6.5.4 >+PORTVERSION= 6.8.2 > PORTREVISION= 0 > CATEGORIES= sysutils java > MASTER_SITES= http://artifacts.elastic.co/downloads/logstash/ >@@ -37,10 +37,11 @@ > SUB_LIST= JAVA_HOME=${JAVA_HOME} \ > LOGSTASH_HOME=${LOGSTASH_HOME} > >-LOGSTASH_CONF_FILES= jvm.options log4j2.properties logstash.yml pipelines.yml >+LOGSTASH_CONF_FILES= jvm.options log4j2.properties logstash.yml \ >+ pipelines.yml startup.options > LOGSTASH_JRUBY_SUBDIR= vendor/jruby/bin >-LOGSTASH_JRUBY_BIN_FILES= ast irb jirb jruby jruby.sh rdoc testrb gem \ >- jgem jirb_swing jruby.bash jrubyc rake ri >+LOGSTASH_JRUBY_BIN_FILES= ast gem irb jgem jirb jirb_swing jruby \ >+ jruby.bash jruby.sh jrubyc rake rdoc ri testrb > > post-patch: > ${REINPLACE_CMD} 's|%%ETCDIR%%|${ETCDIR}|g' ${WRKSRC}/config/logstash.yml >@@ -69,11 +70,5 @@ > ${FIND} -s ${STAGEDIR}${PREFIX}/logstash -not -type d | ${SORT} | \ > ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} > ${ECHO} "@dir(logstash,logstash,) logstash/data" >> ${TMPPLIST} >- ${ECHO} "@dir logstash/vendor/bundle/jruby/2.3.0/build_info" >> ${TMPPLIST} >- ${ECHO} "@dir logstash/vendor/bundle/jruby/2.3.0/cache" >> ${TMPPLIST} >- ${ECHO} "@dir logstash/vendor/bundle/jruby/2.3.0/doc" >> ${TMPPLIST} >- ${ECHO} "@dir logstash/vendor/bundle/jruby/2.3.0/extensions" >> ${TMPPLIST} >- ${ECHO} "@dir logstash/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.4-java/spec/ssl" >> ${TMPPLIST} >- ${ECHO} "@dir logstash/vendor/bundle/jruby/2.3.0/gems/redis-3.3.5/test/db" >> ${TMPPLIST} > > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 509159) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1563908861 >-SHA256 (logstash-6.5.4.tar.gz) = 774c5687006991bcd20d28bf1dcb76890fcd882d1937d71074ba87aa7fc5c4f0 >-SIZE (logstash-6.5.4.tar.gz) = 160286824 >+TIMESTAMP = 1565893547 >+SHA256 (logstash-6.8.2.tar.gz) = f5a2db683bdab01c1067c727ffdbd150ab6c56c6a6ab28daf10c77c18e6134e8 >+SIZE (logstash-6.8.2.tar.gz) = 172065567 >Index: files/logstash.conf.sample >=================================================================== >--- files/logstash.conf.sample (revision 509159) >+++ files/logstash.conf.sample (working copy) >@@ -1,37 +1,17 @@ >+# Sample Logstash configuration for creating a simple >+# Beats -> Logstash -> Elasticsearch pipeline. >+ > input { >- >- file { >- type => "syslog" >- # path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ] >- path => "/var/log/messages" >- start_position => "beginning" >- } >+ beats { >+ port => 5044 >+ } > } > >-filter { >-# An filter may change the regular expression used to match a record or a field, >-# alter the value of parsed fields, add or remove fields, etc. >-# >-# if [type] == "syslog" { >-# grok { >-# #patterns_dir => ["/usr/local/etc/logstash/patterns"] >-# match => { "message" => "(<%{POSINT:syslog_pri}>)?%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} (%{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}|%{GREEDYDATA:syslog_message})" } >-# } >-# mutate { >-# remove_field => [ "syslog_hostname", "syslog_message" ] >-# } >-# date { >-# match => [ "syslog_timestamp","MMM d HH:mm:ss", "MMM dd HH:mm:ss", "ISO8601" ] >-# } >-# syslog_pri { } >-# } >-} >- > output { >- # Emit events to stdout for easy debugging of what is going through >- # logstash. >- # stdout { codec => rubydebug } >- >- # This will use elasticsearch to store your logs. >- # elasticsearch { hosts => [ "localhost:9200" ] } >+ elasticsearch { >+ hosts => ["http://localhost:9200"] >+ index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}" >+ #user => "elastic" >+ #password => "changeme" >+ } > } >Index: files/patch-vendor_jruby_bin_jruby.sh >=================================================================== >--- files/patch-vendor_jruby_bin_jruby.sh (revision 509159) >+++ files/patch-vendor_jruby_bin_jruby.sh (nonexistent) >@@ -1,24 +0,0 @@ >---- vendor/jruby/bin/jruby.sh.orig 2018-02-16 20:50:22 UTC >-+++ vendor/jruby/bin/jruby.sh >-@@ -26,9 +26,9 @@ progname=`basename "$0"` >- >- while [ -h "$PRG" ] ; do >- ls=`ls -ld "$PRG"` >-- link=`expr "$ls" : '.*-> \(.*\)$'` >-- if expr "$link" : '.*/.*' > /dev/null; then >-- if expr "$link" : '/' > /dev/null; then >-+ link=`expr -- "$ls" : '.*-> \(.*\)$'` >-+ if expr -- "$link" : '.*/.*' > /dev/null; then >-+ if expr -- "$link" : '/' > /dev/null; then >- PRG="$link" >- else >- PRG="`dirname ${PRG}`/${link}" >-@@ -202,7 +202,7 @@ do >- # Match -Xa.b.c=d to translate to -Da.b.c=d as a java option >- -X*) >- val=${1:2} >-- if expr "$val" : '.*[.]' > /dev/null; then >-+ if expr -- "$val" : '.*[.]' > /dev/null; then >- java_args="${java_args} -Djruby.${val}" >- else >- ruby_args="${ruby_args} -X${val}" > >Property changes on: files/patch-vendor_jruby_bin_jruby.sh >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 240000
:
206739
|
207633