1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Fast and Lightweight Log processor and forwarder
8 HOMEPAGE= https://fluentbit.io/
12 SITES[main]= GITHUB/fluent:fluent-bit:v1.8.13
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 USES= cpe cmake bison zlib gmake execinfo shebangfix
23 cclibs:primary,library clang
25 LICENSE= APACHE20:library
26 LICENSE_TERMS= library:{{WRKDIR}}/TERMS
27 LICENSE_FILE= APACHE20:{{WRKSRC}}/LICENSE
28 LICENSE_AWK= TERMS:"_GNU_SOURCE"
29 LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/fluent-bit.c
32 CPE_PRODUCT= fluent_bit
33 CPE_VENDOR= treasuredata
34 FPC_EQUIVALENT= sysutils/fluent-bit
35 SHEBANG_ADD_SH= lib/luajit-2.1.0-1e66d0f/configure
37 RC_SUBR= fluent-bit:primary
39 CMAKE_ARGS= -DFLB_DEBUG=Off
47 ${MV} ${STAGEDIR}${ETCDIR}/fluent-bit.conf \
48 ${STAGEDIR}${ETCDIR}/fluent-bit.conf.sample
49 ${MV} ${STAGEDIR}${ETCDIR}/parsers.conf \
50 ${STAGEDIR}${ETCDIR}/parsers.conf.sample
51 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fluent-bit
52 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/fluent-bit/libfluent-bit.so
54 [FILE:284:descriptions/desc.primary]
55 Fluent Bit is a Fast and Lightweight Data Forwarder for Linux, OSX and BSD
56 family operating systems. It has been made with a strong focus on
57 performance to allow the collection of events from different sources
60 Fluent Bit is part of the Fluentd project ecosystem.
63 [FILE:151:descriptions/desc.library]
64 Fluent Bit is a Fast and Lightweight Data Forwarder for Linux, OSX and BSD
65 family operating systems. This subpackage contains the library and headers.
69 0328f61a5dce6f9cb16faa92d96f0a862cdb5644ff0855892ecc2f2228f7ea7b 14963014 fluent-fluent-bit-1.8.13.tar.gz
72 [FILE:157:manifests/plist.primary]
73 @sample etc/fluent-bit/fluent-bit.conf.sample
74 @sample etc/fluent-bit/parsers.conf.sample
81 [FILE:2080:manifests/plist.library]
104 flb_engine_dispatch.h
114 flb_http_client_debug.h
121 flb_intermediate_metric.h
134 flb_metrics_exporter.h
151 flb_record_accessor.h
155 flb_s3_local_buffer.h
187 include/fluent-bit/tls/flb_tls.h
188 include/monkey/mk_core.h
189 include/monkey/mk_core/
215 lib/fluent-bit/libfluent-bit.so
218 [FILE:430:patches/patch-include_fluent-bit_flb__endian.h]
219 --- include/fluent-bit/flb_endian.h.orig 2022-01-24 22:39:29 UTC
220 +++ include/fluent-bit/flb_endian.h
223 #if defined(__GLIBC__)
225 -#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
226 +#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
227 #include <sys/endian.h>
228 #elif defined(__APPLE__)
229 #include <libkern/OSByteOrder.h>
232 [FILE:388:patches/patch-lib_chunkio_deps_crc32_crc32.c]
233 --- lib/chunkio/deps/crc32/crc32.c.orig 2022-01-24 22:39:29 UTC
234 +++ lib/chunkio/deps/crc32/crc32.c
236 # define __BIG_ENDIAN 1
237 # define __LITTLE_ENDIAN 2
238 # define __BYTE_ORDER __LITTLE_ENDIAN
239 -#elif defined(__FreeBSD__)
240 +#elif defined(__FreeBSD__) || defined(__DragonFly__)
241 # include <sys/endian.h>
242 #elif defined(__sun) || defined(sun)
243 # include <sys/byteorder.h>
246 [FILE:378:patches/patch-lib_luajit__src__lj_prng.c]
247 --- lib/luajit-2.1.0-1e66d0f/src/lj_prng.c.orig 2022-01-24 22:39:29 UTC
248 +++ lib/luajit-2.1.0-1e66d0f/src/lj_prng.c
249 @@ -116,7 +116,7 @@ static PRGR libfunc_rgr;
250 #define LJ_TARGET_HAS_GETENTROPY 1
252 #elif LJ_TARGET_BSD || LJ_TARGET_SOLARIS || LJ_TARGET_CYGWIN
253 -#define LJ_TARGET_HAS_GETENTROPY 1
254 +#define LJ_TARGET_HAS_GETENTROPY 0
257 #if LJ_TARGET_HAS_GETENTROPY
260 [FILE:491:patches/patch-lib_monkey_mk__core_deps_libevent_buffer.c]
261 --- lib/monkey/mk_core/deps/libevent/buffer.c.orig 2022-01-24 22:39:29 UTC
262 +++ lib/monkey/mk_core/deps/libevent/buffer.c
264 #elif defined(EVENT__HAVE_SENDFILE) && defined(__FreeBSD__)
265 #define USE_SENDFILE 1
266 #define SENDFILE_IS_FREEBSD 1
267 +#elif defined(EVENT__HAVE_SENDFILE) && defined(__DragonFly__)
268 +#define USE_SENDFILE 1
269 +#define SENDFILE_IS_FREEBSD 1
270 #elif defined(EVENT__HAVE_SENDFILE) && defined(__APPLE__)
271 #define USE_SENDFILE 1
272 #define SENDFILE_IS_MACOSX 1
275 [FILE:804:patches/patch-lib_monkey_mk__core_deps_libevent_kqueue.c]
276 --- lib/monkey/mk_core/deps/libevent/kqueue.c.orig 2022-01-24 22:39:29 UTC
277 +++ lib/monkey/mk_core/deps/libevent/kqueue.c
279 /* Some platforms apparently define the udata field of struct kevent as
280 * intptr_t, whereas others define it as void*. There doesn't seem to be an
281 * easy way to tell them apart via autoconf, so we need to use OS macros. */
282 -#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__)
283 +#if defined(EVENT__HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__darwin__) && !defined(__APPLE__) && !defined(__CloudABI__) && !defined(__DragonFly__)
284 #define PTR_TO_UDATA(x) ((intptr_t)(x))
285 #define INT_TO_UDATA(x) ((intptr_t)(x))
289 [FILE:376:patches/patch-lib_monkey_mk__server_CMakeLists.txt]
290 --- lib/monkey/mk_server/CMakeLists.txt.orig 2022-01-24 22:39:29 UTC
291 +++ lib/monkey/mk_server/CMakeLists.txt
292 @@ -42,6 +42,8 @@ if(NOT DEFINED MK_HAVE_REGEX)
293 target_link_libraries(monkey-core-static regex)
296 +target_link_libraries(monkey-core-static execinfo)
298 # Linux Kqueue emulation
299 if(MK_HAVE_LINUX_KQUEUE)
300 target_link_libraries(monkey-core-static kqueue)
303 [FILE:366:patches/patch-lib_monkey_plugins_liana_liana.c]
304 --- lib/monkey/plugins/liana/liana.c.orig 2022-01-24 22:39:29 UTC
305 +++ lib/monkey/plugins/liana/liana.c
306 @@ -112,7 +112,7 @@ int mk_liana_send_file(int socket_fd, in
310 -#elif defined (__FreeBSD__)
311 +#elif defined (__FreeBSD__) || defined(__DragonFly__)
312 off_t offset = *file_offset;
313 off_t len = (off_t) file_count;
317 [FILE:319:patches/patch-lib_snappy-fef67ac_compat.h]
318 --- lib/snappy-fef67ac/compat.h.orig 2022-01-24 22:39:29 UTC
319 +++ lib/snappy-fef67ac/compat.h
323 # include <sys/endian.h>
324 +#elif defined __DragonFly__
325 +# include <sys/endian.h>
326 #elif defined(__APPLE_CC_) || defined(__MACH__) /* MacOS/X support */
327 # include <machine/endian.h>
331 [FILE:700:files/fluent-bit.in]
334 # PROVIDE: fluent-bit
339 # Add the following lines to /etc/rc.conf to enable fluent-bit:
341 # fluent_bit_enable (bool): Set to YES to enable fluent-bit
343 # fluent_bit_config (str): config files to use
344 # Default: %%ETCDIR%%/fluent-bit.conf
345 # fluent_bit_flags (str): Extra flags passed to fluent-bit
346 # fluent_bit_user (str): Default run as user nobody
354 : ${fluent_bit_enable:="NO"}
355 : ${fluent_bit_user:="nobody"}
357 command=%%PREFIX%%/bin/fluent-bit
358 command_args="--quiet --daemon --config %%ETCDIR%%/fluent-bit.conf"