2019-09-26 18:27:10 +00:00
|
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
|
|
|
|
|
|
PortSystem 1.0
|
2021-10-30 15:52:56 -04:00
|
|
|
PortGroup cmake 1.1
|
2022-04-07 17:01:30 -04:00
|
|
|
PortGroup github 1.0
|
2021-10-30 15:52:56 -04:00
|
|
|
PortGroup openssl 1.0
|
2019-09-26 18:27:10 +00:00
|
|
|
|
2020-09-09 16:22:23 -05:00
|
|
|
# Need clock_gettime()
|
2021-10-31 08:03:18 -04:00
|
|
|
PortGroup legacysupport 1.1
|
2020-10-17 17:52:22 -04:00
|
|
|
|
2022-12-21 00:59:59 -05:00
|
|
|
legacysupport.newest_darwin_requires_legacy 15
|
2020-09-09 16:22:23 -05:00
|
|
|
|
2026-04-03 20:53:35 -05:00
|
|
|
github.setup fluent fluent-bit 3.1.9 v
|
2023-09-05 15:53:14 -04:00
|
|
|
github.tarball_from archive
|
2026-04-03 20:53:35 -05:00
|
|
|
revision 1
|
2019-09-26 18:27:10 +00:00
|
|
|
categories sysutils
|
|
|
|
|
license Apache-2
|
2020-09-08 00:03:59 -04:00
|
|
|
|
2020-11-12 04:55:59 -05:00
|
|
|
homepage https://fluentbit.io
|
2020-09-08 00:03:59 -04:00
|
|
|
|
2019-09-26 18:27:10 +00:00
|
|
|
description Fast and Lightweight Log processor and forwarder
|
2020-09-08 00:03:59 -04:00
|
|
|
|
2019-09-26 18:27:10 +00:00
|
|
|
long_description Fluent Bit is a Data Forwarder for Linux, Embedded Linux, \
|
|
|
|
|
OSX and BSD family operating systems. It's part of the \
|
|
|
|
|
Fluentd Ecosystem. Fluent Bit allows collection of \
|
|
|
|
|
information from different sources, buffering and \
|
|
|
|
|
dispatching them to different outputs such as Fluentd, \
|
|
|
|
|
Elasticsearch, Nats or any HTTP end-point within others.
|
2020-09-08 00:03:59 -04:00
|
|
|
|
|
|
|
|
maintainers {l2dy @l2dy} \
|
|
|
|
|
{gmail.com:herby.gillot @herbygillot} \
|
|
|
|
|
openmaintainer
|
|
|
|
|
|
2024-09-30 02:51:01 -04:00
|
|
|
checksums rmd160 15118adb555e883431bfe84cf77c77cb5785980f \
|
|
|
|
|
sha256 ac3a3e235e7f8a92d35f10c99f400f0b0571417a92e3c4caa467073733d42547 \
|
|
|
|
|
size 26801853
|
2021-09-02 07:19:15 -04:00
|
|
|
|
2024-08-14 20:52:51 +08:00
|
|
|
patchfiles-append 0001-macos-setup-do-not-use-clang-flag-with-gcc.patch \
|
|
|
|
|
0002-posix_file.c-add-a-missing-header.patch \
|
|
|
|
|
0003-libatomic-gcc.patch \
|
|
|
|
|
0004-snappy-compat.h-fix-Big-endian-on-Apple.patch \
|
|
|
|
|
0005-mk_scheduler-fix-for-missing-pthread_threadid_np.patch \
|
|
|
|
|
0007-Fix-for-meminfo-on-32-bit-darwin.patch
|
|
|
|
|
|
2024-08-14 20:46:56 +08:00
|
|
|
# At least for atomics and some modules
|
|
|
|
|
compiler.cxx_standard 2011
|
2020-09-10 17:07:24 -05:00
|
|
|
# /usr/bin/ranlib: unknown option character `n' in: -no_warning_for_no_symbols
|
2021-01-16 00:16:20 -05:00
|
|
|
compiler.blacklist-append {clang < 700}
|
2020-09-10 17:07:24 -05:00
|
|
|
|
2024-05-21 10:16:41 -04:00
|
|
|
set python_version 312
|
|
|
|
|
set python_branch \
|
|
|
|
|
[string index ${python_version} 0].[string range ${python_version} 1 end]
|
|
|
|
|
|
|
|
|
|
depends_build-append port:bison \
|
|
|
|
|
port:python${python_version}
|
|
|
|
|
|
|
|
|
|
depends_lib-append port:cyrus-sasl2 \
|
|
|
|
|
port:jansson \
|
|
|
|
|
port:libev \
|
|
|
|
|
port:libevent \
|
|
|
|
|
port:libxml2 \
|
|
|
|
|
port:libyaml \
|
|
|
|
|
port:ngtcp2 \
|
|
|
|
|
port:nghttp3 \
|
2022-06-27 01:46:23 -04:00
|
|
|
port:sqlite3 \
|
2024-05-21 10:16:41 -04:00
|
|
|
port:zlib \
|
|
|
|
|
port:zstd
|
|
|
|
|
|
|
|
|
|
configure.args-append \
|
|
|
|
|
-DPython3_EXECUTABLE=${prefix}/bin/python${python_branch}
|
2020-03-02 05:17:20 +00:00
|
|
|
|
2024-08-14 20:48:27 +08:00
|
|
|
platform powerpc {
|
|
|
|
|
# Unsupported on any powerpc:
|
|
|
|
|
configure.args-append -DFLB_WASM=OFF
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
platform darwin powerpc {
|
|
|
|
|
# Disable what is presently broken:
|
|
|
|
|
configure.args-append -DFLB_LUAJIT=OFF \
|
|
|
|
|
-DFLB_VALGRIND=OFF
|
|
|
|
|
# Undefined symbols: "__Unwind_Backtrace", "__Unwind_GetIPInfo"
|
|
|
|
|
# FIXME: this is probably a fixable error.
|
|
|
|
|
configure.args-append -DFLB_BACKTRACE=OFF
|
|
|
|
|
}
|
|
|
|
|
|
2022-04-07 17:01:30 -04:00
|
|
|
github.livecheck.regex {([0-9.]+)}
|