FreeBSD Bugzilla – Attachment 223438 Details for
Bug 239979
sysutils/rubygem-fluentd: Update to 1.12.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to upgrade sysutils/rubygem-fluentd to 1.12.1
fluentd_1121.diff (text/plain), 5.65 KB, created by
Artyom Davidov
on 2021-03-20 03:33:45 UTC
(
hide
)
Description:
Patch to upgrade sysutils/rubygem-fluentd to 1.12.1
Filename:
MIME Type:
Creator:
Artyom Davidov
Created:
2021-03-20 03:33:45 UTC
Size:
5.65 KB
patch
obsolete
>diff -ruN rubygem-fluentd.orig/distinfo rubygem-fluentd/distinfo >--- rubygem-fluentd.orig/distinfo 2021-03-20 05:02:18.562635000 +0300 >+++ rubygem-fluentd/distinfo 2021-03-20 05:09:27.522134000 +0300 >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1548255788 >-SHA256 (rubygem/fluentd-1.3.3.gem) = c2c8bc89c604aa2969630e497f089afedab192be06dd0f056c3ee7d7fe3193d9 >-SIZE (rubygem/fluentd-1.3.3.gem) = 438784 >+TIMESTAMP = 1616206167 >+SHA256 (rubygem/fluentd-1.12.1.gem) = 80d66c26e650b366fd4ef0753bcd1ac1e1b42925353b0ffd60b6f36c09928e8e >+SIZE (rubygem/fluentd-1.12.1.gem) = 824320 >diff -ruN rubygem-fluentd.orig/files/patch-fluent.conf.sample rubygem-fluentd/files/patch-fluent.conf.sample >--- rubygem-fluentd.orig/files/patch-fluent.conf.sample 2021-03-20 05:02:18.562729000 +0300 >+++ rubygem-fluentd/files/patch-fluent.conf.sample 2021-03-20 05:03:34.007414000 +0300 >@@ -1,65 +1,94 @@ >---- fluent.conf.sample.orig 2017-01-06 21:42:28 UTC >-+++ fluent.conf.sample >-@@ -0,0 +1,100 @@ >+--- fluent.conf.sample.orig 2020-08-24 22:30:41.549691000 +0300 >++++ fluent.conf.sample 2020-08-24 22:21:09.000000000 +0300 >+@@ -0,0 +1,139 @@ >++# In v1 configuration, type and id are @ prefix parameters. >++# @type and @id are recommended. type and id are still available for backward compatibility > + > +## built-in TCP input > +## $ echo <json> | fluent-cat <tag> > +<source> >-+ type forward >++ @type forward >++ @id forward_input > +</source> > + > +## built-in UNIX socket input > +#<source> >-+# type unix >++# @type unix > +#</source> > + > +# HTTP input > +# http://localhost:8888/<tag>?json=<json> > +<source> >-+ type http >++ @type http >++ @id http_input >++ > + port 8888 > +</source> > + > +## File input > +## read apache logs with tag=apache.access > +#<source> >-+# type tail >++# @type tail > +# format apache > +# path /var/log/httpd-access.log > +# tag apache.access > +#</source> > + >++## Mutating event filter >++## Add hostname and tag fields to apache.access tag events >++#<filter apache.access> >++# @type record_transformer >++# <record> >++# hostname ${hostname} >++# tag ${tag} >++# </record> >++#</filter> >++ >++## Selecting event filter >++## Remove unnecessary events from apache prefixed tag events >++#<filter apache.**> >++# @type grep >++# include1 method GET # pass only GET in 'method' field >++# exclude1 message debug # remove debug event >++#</filter> >++ > +# Listen HTTP for monitoring > +# http://localhost:24220/api/plugins > +# http://localhost:24220/api/plugins?type=TYPE > +# http://localhost:24220/api/plugins?tag=MYTAG > +<source> >-+ type monitor_agent >++ @type monitor_agent >++ @id monitor_agent_input >++ > + port 24220 > +</source> > + > +# Listen DRb for debug > +<source> >-+ type debug_agent >++ @type debug_agent >++ @id debug_agent_input >++ > + bind 127.0.0.1 > + port 24230 > +</source> > + >-+ > +## match tag=apache.access and write to file > +#<match apache.access> >-+# type file >++# @type file > +# path /var/log/fluent/access > +#</match> > + > +## match tag=debug.** and dump to console > +<match debug.**> >-+ type stdout >++ @type stdout >++ @id stdout_output > +</match> > + > +# match tag=system.** and forward to another fluent server > +<match system.**> >-+ type forward >++ @type forward >++ @id forward_output >++ > + <server> > + host 192.168.0.11 > + </server> >@@ -72,9 +101,9 @@ > + > +## match tag=myapp.** and forward and write to file > +#<match myapp.**> >-+# type copy >++# @type copy > +# <store> >-+# type forward >++# @type forward > +# buffer_type file > +# buffer_path /var/log/fluent/myapp-forward > +# retry_limit 50 >@@ -84,20 +113,30 @@ > +# </server> > +# </store> > +# <store> >-+# type file >++# @type file > +# path /var/log/fluent/myapp > +# </store> > +#</match> > + > +## match fluent's internal events > +#<match fluent.**> >-+# type null >++# @type null > +#</match> > + > +## match not matched logs and write to file > +#<match **> >-+# type file >++# @type file > +# path /var/log/fluent/else > +# compress gz > +#</match> > + >++## Label: For handling complex event routing >++#<label @STAGING> >++# <match system.**> >++# @type forward >++# @id staging_forward_output >++# <server> >++# host 192.168.0.101 >++# </server> >++# </match> >++#</label> >diff -ruN rubygem-fluentd.orig/Makefile rubygem-fluentd/Makefile >--- rubygem-fluentd.orig/Makefile 2021-03-20 05:02:18.562602000 +0300 >+++ rubygem-fluentd/Makefile 2021-03-20 06:15:37.433150000 +0300 >@@ -1,8 +1,7 @@ > # $FreeBSD: head/sysutils/rubygem-fluentd/Makefile 515791 2019-10-27 11:31:15Z sunpoet $ > > PORTNAME= fluentd >-PORTVERSION= 1.3.3 >-PORTREVISION= 1 >+PORTVERSION= 1.12.1 > CATEGORIES= sysutils rubygems > MASTER_SITES= RG > >@@ -12,24 +11,24 @@ > LICENSE= APACHE20 > > RUN_DEPENDS= \ >- rubygem-dig_rb>=1.0.0:devel/rubygem-dig_rb \ >- rubygem-msgpack>=0.7.0:devel/rubygem-msgpack \ >+ rubygem-msgpack>=1.3.1:devel/rubygem-msgpack \ > rubygem-yajl-ruby>=1.0:devel/rubygem-yajl-ruby \ > rubygem-cool.io>=1.4.5:devel/rubygem-cool.io \ >- rubygem-serverengine>=2.0.4:net/rubygem-serverengine \ >+ rubygem-serverengine>=2.2.2:net/rubygem-serverengine \ > rubygem-http_parser.rb>=0.5.1:net/rubygem-http_parser.rb \ > rubygem-sigdump>=0.2.2:devel/rubygem-sigdump \ > rubygem-strptime>=0.2.2:devel/rubygem-strptime \ > rubygem-tzinfo1>=1.0:devel/rubygem-tzinfo1 \ > rubygem-tzinfo-data>=1.0.0:devel/rubygem-tzinfo-data > >-USE_RUBY= yes >-PLIST_FILES= bin/fluent-cat bin/fluent-debug bin/fluent-gem bin/fluentd \ >+PLIST_FILES= bin/fluent-cap-ctl bin/fluent-cat bin/fluent-ctl \ >+ bin/fluent-debug bin/fluent-gem bin/fluentd \ > bin/fluent-binlog-reader bin/fluent-ca-generate \ > bin/fluent-plugin-config-format bin/fluent-plugin-generate \ > "@sample etc/fluentd/fluent.conf.sample" > PLIST_DIRS= etc/fluentd/plugin > USES= gem >+USE_RUBY= yes > USE_RC_SUBR= fluentd > USERS= fluentd > GROUPS= fluentd
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 239979
:
206717
|
208311
|
208312
|
215641
|
216331
|
217161
|
217215
|
217502
|
217503
|
218719
|
218776
|
219532
|
223438
|
224274
|
225046