1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Fast and Lightweight Log processor and forwarder
9 HOMEPAGE= https://fluentbit.io/
13 SITES[main]= GITHUB/fluent:fluent-bit:v1.9.2
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
23 USES= cpe cmake bison zlib gmake shebangfix
24 cclibs:primary,library clang
26 LICENSE= APACHE20:library
27 LICENSE_TERMS= library:{{WRKDIR}}/TERMS
28 LICENSE_FILE= APACHE20:{{WRKSRC}}/LICENSE
29 LICENSE_AWK= TERMS:"_GNU_SOURCE"
30 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/fluent-bit.c
33 CPE_PRODUCT= fluent_bit
34 CPE_VENDOR= treasuredata
35 FPC_EQUIVALENT= sysutils/fluent-bit
36 SHEBANG_ADD_SH= lib/luajit-2.1.0-1e66d0f/configure
38 RC_SUBR= fluent-bit:primary
40 CMAKE_ARGS= -DFLB_DEBUG=Off
48 ${MV} ${STAGEDIR}${ETCDIR}/fluent-bit.conf \
49 ${STAGEDIR}${ETCDIR}/fluent-bit.conf.sample
50 ${MV} ${STAGEDIR}${ETCDIR}/parsers.conf \
51 ${STAGEDIR}${ETCDIR}/parsers.conf.sample
52 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fluent-bit
53 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/fluent-bit/libfluent-bit.so
55 [FILE:284:descriptions/desc.primary]
56 Fluent Bit is a Fast and Lightweight Data Forwarder for Linux, OSX and BSD
57 family operating systems. It has been made with a strong focus on
58 performance to allow the collection of events from different sources
61 Fluent Bit is part of the Fluentd project ecosystem.
64 [FILE:151:descriptions/desc.library]
65 Fluent Bit is a Fast and Lightweight Data Forwarder for Linux, OSX and BSD
66 family operating systems. This subpackage contains the library and headers.
70 8289ffb9c00b20eb346ac39f396e572ac8e3e493a2b61db64ed0c0c2e797c9da 17806812 fluent-fluent-bit-1.9.2.tar.gz
73 [FILE:132:manifests/plist.primary]
74 @sample etc/fluent-bit/fluent-bit.conf.sample
75 @sample etc/fluent-bit/parsers.conf.sample
77 etc/fluent-bit/plugins.conf
80 [FILE:2080:manifests/plist.library]
103 flb_engine_dispatch.h
113 flb_http_client_debug.h
120 flb_intermediate_metric.h
133 flb_metrics_exporter.h
150 flb_record_accessor.h
154 flb_s3_local_buffer.h
186 include/fluent-bit/tls/flb_tls.h
187 include/monkey/mk_core.h
188 include/monkey/mk_core/
214 lib/fluent-bit/libfluent-bit.so
217 [FILE:430:patches/patch-include_fluent-bit_flb__endian.h]
218 --- include/fluent-bit/flb_endian.h.orig 2022-03-01 03:43:38 UTC
219 +++ include/fluent-bit/flb_endian.h
222 #if defined(__GLIBC__)
224 -#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
225 +#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
226 #include <sys/endian.h>
227 #elif defined(__APPLE__)
228 #include <libkern/OSByteOrder.h>
231 [FILE:388:patches/patch-lib_chunkio_deps_crc32_crc32.c]
232 --- lib/chunkio/deps/crc32/crc32.c.orig 2022-03-01 03:43:38 UTC
233 +++ lib/chunkio/deps/crc32/crc32.c
235 # define __BIG_ENDIAN 1
236 # define __LITTLE_ENDIAN 2
237 # define __BYTE_ORDER __LITTLE_ENDIAN
238 -#elif defined(__FreeBSD__)
239 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
240 # include <sys/endian.h>
241 #elif defined(__sun) || defined(sun)
242 # include <sys/byteorder.h>
245 [FILE:378:patches/patch-lib_luajit__src__lj_prng.c]
246 --- lib/luajit-2.1.0-1e66d0f/src/lj_prng.c.orig 2022-03-01 03:43:38 UTC
247 +++ lib/luajit-2.1.0-1e66d0f/src/lj_prng.c
248 @@ -116,7 +116,7 @@ static PRGR libfunc_rgr;
249 #define LJ_TARGET_HAS_GETENTROPY 1
251 #elif LJ_TARGET_BSD || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
252 -#define LJ_TARGET_HAS_GETENTROPY 1
253 +#define LJ_TARGET_HAS_GETENTROPY 0
256 #if LJ_TARGET_HAS_GETENTROPY
259 [FILE:491:patches/patch-lib_monkey_mk__core_deps_libevent_buffer.c]
260 --- lib/monkey/mk_core/deps/libevent/buffer.c.orig 2022-03-01 03:43:38 UTC
261 +++ lib/monkey/mk_core/deps/libevent/buffer.c
263 #elif defined(EVENT__HAVE_SENDFILE) && defined(__FreeBSD__)
264 #define USE_SENDFILE 1
265 #define SENDFILE_IS_FREEBSD 1
266 +#elif defined(EVENT__HAVE_SENDFILE) && defined(__DragonFly__)
267 +#define USE_SENDFILE 1
268 +#define SENDFILE_IS_FREEBSD 1
269 #elif defined(EVENT__HAVE_SENDFILE) && defined(__APPLE__)
270 #define USE_SENDFILE 1
271 #define SENDFILE_IS_MACOSX 1
274 [FILE:804:patches/patch-lib_monkey_mk__core_deps_libevent_kqueue.c]
275 --- lib/monkey/mk_core/deps/libevent/kqueue.c.orig 2022-03-01 03:43:38 UTC
276 +++ lib/monkey/mk_core/deps/libevent/kqueue.c
278 /* Some platforms apparently define the udata field of struct kevent as
279 * intptr_t, whereas others define it as void*. There doesn't seem to be an
280 * easy way to tell them apart via autoconf, so we need to use OS macros. */
281 -#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__)
282 +#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__) && !defined(__DragonFly__)
283 #define PTR_TO_UDATA(x) ((intptr_t)(x))
284 #define INT_TO_UDATA(x) ((intptr_t)(x))
288 [FILE:366:patches/patch-lib_monkey_plugins_liana_liana.c]
289 --- lib/monkey/plugins/liana/liana.c.orig 2022-03-01 03:43:38 UTC
290 +++ lib/monkey/plugins/liana/liana.c
291 @@ -112,7 +112,7 @@ int mk_liana_send_file(int socket_fd, in
295 -#elif defined (__FreeBSD__)
296 +#elif defined (__FreeBSD__) || defined(__DragonFly__)
297 off_t offset = *file_offset;
298 off_t len = (off_t) file_count;
302 [FILE:319:patches/patch-lib_snappy-fef67ac_compat.h]
303 --- lib/snappy-fef67ac/compat.h.orig 2022-03-01 03:43:38 UTC
304 +++ lib/snappy-fef67ac/compat.h
308 # include <sys/endian.h>
309 +#elif defined __DragonFly__
310 +# include <sys/endian.h>
311 #elif defined(__APPLE_CC_) || defined(__MACH__) /* MacOS/X support */
312 # include <machine/endian.h>
316 [FILE:700:files/fluent-bit.in]
319 # PROVIDE: fluent-bit
324 # Add the following lines to /etc/rc.conf to enable fluent-bit:
326 # fluent_bit_enable (bool): Set to YES to enable fluent-bit
328 # fluent_bit_config (str): config files to use
329 # Default: %%ETCDIR%%/fluent-bit.conf
330 # fluent_bit_flags (str): Extra flags passed to fluent-bit
331 # fluent_bit_user (str): Default run as user nobody
339 : ${fluent_bit_enable:="NO"}
340 : ${fluent_bit_user:="nobody"}
342 command=%%PREFIX%%/bin/fluent-bit
343 command_args="--quiet --daemon --config %%ETCDIR%%/fluent-bit.conf"