diff --git a/sysutils/fluent-bit/Makefile b/sysutils/fluent-bit/Makefile index 38ab1337cd0b..84ca3eb7042c 100644 --- a/sysutils/fluent-bit/Makefile +++ b/sysutils/fluent-bit/Makefile @@ -1,57 +1,57 @@ PORTNAME= fluent-bit DISTVERSIONPREFIX= v -DISTVERSION= 3.1.9 +DISTVERSION= 3.1.10 CATEGORIES= sysutils MAINTAINER= girgen@FreeBSD.org COMMENT= Fast and lightweight data forwarder WWW= https://fluentbit.io/ LICENSE= APACHE20 BROKEN_mips= fails to build: conflicting types for 'restrict' BROKEN_mips64= fails to build: conflicting types for 'restrict' LIB_DEPENDS= libyaml.so:textproc/libyaml USES= bison cmake:noninja compiler:c11 gmake localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= fluent USE_RC_SUBR= ${PORTNAME} CMAKE_ARGS= -DFLB_DEBUG=Off \ -DFLB_TRACE=Off LDFLAGS+= -lexecinfo OPTIONS_DEFINE= LUA_FILTER PGSQL SSL -OPTIONS_DEFAULT= SSL +OPTIONS_DEFAULT= LUA_FILTER PGSQL SSL LUA_FILTER_DESC= Support for modifying incoming records using Lua scripts LUA_FILTER_USES= luajit:luajit-devel pkgconfig LUA_FILTER_CMAKE_ON= -DFLB_FILTER_LUA=On \ -DFLB_LUAJIT=On \ -DFLB_PREFER_SYSTEM_LIB_LUAJIT=On LUA_FILTER_CMAKE_OFF= -DFLB_LUAJIT=Off PGSQL_USES= pgsql PGSQL_CMAKE_ON= -DFLB_OUT_PGSQL=On PGSQL_CMAKE_OFF= -DFLB_OUT_PGSQL=Off SSL_USES= ssl SSL_CMAKE_ON= -DFLB_TLS=On SSL_CMAKE_OFF= -DFLB_TLS=Off .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif post-install: ${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample ${MV} ${STAGEDIR}${ETCDIR}/parsers.conf ${STAGEDIR}${ETCDIR}/parsers.conf.sample do-test-LUA_FILTER-on: ${STAGEDIR}${PREFIX}/bin/fluent-bit --help 2>/dev/null | grep -w -q lua .include diff --git a/sysutils/fluent-bit/distinfo b/sysutils/fluent-bit/distinfo index 4cb5525901c9..c2447b21e33d 100644 --- a/sysutils/fluent-bit/distinfo +++ b/sysutils/fluent-bit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1727553763 -SHA256 (fluent-fluent-bit-v3.1.9_GH0.tar.gz) = ac3a3e235e7f8a92d35f10c99f400f0b0571417a92e3c4caa467073733d42547 -SIZE (fluent-fluent-bit-v3.1.9_GH0.tar.gz) = 26801853 +TIMESTAMP = 1730797822 +SHA256 (fluent-fluent-bit-v3.1.10_GH0.tar.gz) = 9ec909e8ce04bc8f3b09862c781956c40da18f60e8ae92b154114b4e20edc5fa +SIZE (fluent-fluent-bit-v3.1.10_GH0.tar.gz) = 26803534 diff --git a/sysutils/fluent-bit/files/fluent-bit.in b/sysutils/fluent-bit/files/fluent-bit.in index 10ecfef930cb..bbfa2d56efaa 100644 --- a/sysutils/fluent-bit/files/fluent-bit.in +++ b/sysutils/fluent-bit/files/fluent-bit.in @@ -1,43 +1,43 @@ #!/bin/sh # PROVIDE: fluent-bit # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # Add the following lines to /etc/rc.conf to enable fluent-bit: # # fluent_bit_enable (bool): Set to YES to enable fluent-bit # Default: NO # fluent_bit_config (str): config files to use # Default: %%ETCDIR%%/fluent-bit.conf # fluent_bit_flags (str): Extra flags passed to fluent-bit # fluent_bit_user (str): Default run as user nobody . /etc/rc.subr name="fluent_bit" rcvar=${name}_enable load_rc_config $name : ${fluent_bit_enable:="NO"} : ${fluent_bit_user:="nobody"} : ${fluent_bit_group:="nogroup"} : ${fluent_bit_config:="%%ETCDIR%%/fluent-bit.conf"} pidfile=/var/run/${name}.pid procname="%%PREFIX%%/bin/fluent-bit" command="/usr/sbin/daemon" -command_args="-H -p ${pidfile} -o /var/log/${name}/${name}.log ${procname} --quiet --config ${fluent_bit_config} ${fluent_bit_flags} --daemon" +command_args="-H -p ${pidfile} -o /var/log/${name}/${name}.log ${procname} --quiet --config ${fluent_bit_config} ${fluent_bit_flags}" start_precmd=fluent_bit_startprecmd fluent_bit_startprecmd() { install -o ${fluent_bit_user} -g ${fluent_bit_group} -d /var/log/${name} if [ ! -e ${pidfile} ]; then install -o ${fluent_bit_user} -g ${fluent_bit_group} /dev/null ${pidfile}; fi } run_rc_command "$1"