pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fluent-bit



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sun Jun 17 16:33:36 UTC 2018

Added Files:
        pkgsrc/sysutils/fluent-bit: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/fluent-bit/patches: patch-CMakeLists.txt
            patch-src_CMakeLists.txt

Log Message:
sysutils/fluent-bit: Import version 0.13.2

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. It's fully
supported on x86_64, x86 and ARM architectures.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/fluent-bit/DESCR \
    pkgsrc/sysutils/fluent-bit/Makefile pkgsrc/sysutils/fluent-bit/PLIST \
    pkgsrc/sysutils/fluent-bit/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/fluent-bit/patches/patch-CMakeLists.txt \
    pkgsrc/sysutils/fluent-bit/patches/patch-src_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/fluent-bit/DESCR
diff -u /dev/null pkgsrc/sysutils/fluent-bit/DESCR:1.1
--- /dev/null   Sun Jun 17 16:33:36 2018
+++ pkgsrc/sysutils/fluent-bit/DESCR    Sun Jun 17 16:33:35 2018
@@ -0,0 +1,6 @@
+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. It's fully
+supported on x86_64, x86 and ARM architectures.
Index: pkgsrc/sysutils/fluent-bit/Makefile
diff -u /dev/null pkgsrc/sysutils/fluent-bit/Makefile:1.1
--- /dev/null   Sun Jun 17 16:33:36 2018
+++ pkgsrc/sysutils/fluent-bit/Makefile Sun Jun 17 16:33:35 2018
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2018/06/17 16:33:35 minskim Exp $
+
+DISTNAME=      fluent-bit-0.13.2
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=fluent/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://fluentbit.io/
+COMMENT=       Fast and lightweight log processor and forwarder
+LICENSE=       apache-2.0
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+USE_TOOLS+=    pkg-config
+
+CMAKE_ARGS+=   -DCMAKE_INSTALL_SYSCONFDIR=${PKG_SYSCONFDIR}
+CMAKE_ARGS+=   -DEGDIR:PATH=${EGDIR}
+
+EGDIR=         ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES=    ${EGDIR}/fluent-bit.conf \
+               ${PKG_SYSCONFDIR}/${PKGBASE}/fluent-bit.conf
+CONF_FILES+=   ${EGDIR}/parsers.conf \
+               ${PKG_SYSCONFDIR}/${PKGBASE}/parsers.conf
+
+BUILDLINK_TRANSFORM+=  l:msgpackc-static:msgpackc
+
+INSTALLATION_DIRS+=    include/monkey include/jsmn
+
+.include "../../devel/msgpack/buildlink3.mk"
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/lib/monkey/include/monkey/mk_core.h \
+               ${DESTDIR}${PREFIX}/include/monkey/
+       ${INSTALL_DATA} ${WRKSRC}/lib/jsmn/jsmn.h ${DESTDIR}${PREFIX}/include/
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/fluent-bit/PLIST
diff -u /dev/null pkgsrc/sysutils/fluent-bit/PLIST:1.1
--- /dev/null   Sun Jun 17 16:33:36 2018
+++ pkgsrc/sysutils/fluent-bit/PLIST    Sun Jun 17 16:33:35 2018
@@ -0,0 +1,70 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/17 16:33:35 minskim Exp $
+bin/fluent-bit
+include/fluent-bit.h
+include/fluent-bit/flb_api.h
+include/fluent-bit/flb_bits.h
+include/fluent-bit/flb_buffer.h
+include/fluent-bit/flb_buffer_chunk.h
+include/fluent-bit/flb_buffer_qchunk.h
+include/fluent-bit/flb_config.h
+include/fluent-bit/flb_engine.h
+include/fluent-bit/flb_engine_dispatch.h
+include/fluent-bit/flb_env.h
+include/fluent-bit/flb_error.h
+include/fluent-bit/flb_filter.h
+include/fluent-bit/flb_hash.h
+include/fluent-bit/flb_http_client.h
+include/fluent-bit/flb_http_server.h
+include/fluent-bit/flb_info.h
+include/fluent-bit/flb_input.h
+include/fluent-bit/flb_io.h
+include/fluent-bit/flb_io_tls.h
+include/fluent-bit/flb_io_tls_rw.h
+include/fluent-bit/flb_kernel.h
+include/fluent-bit/flb_lib.h
+include/fluent-bit/flb_log.h
+include/fluent-bit/flb_macros.h
+include/fluent-bit/flb_mem.h
+include/fluent-bit/flb_meta.h
+include/fluent-bit/flb_metrics.h
+include/fluent-bit/flb_metrics_exporter.h
+include/fluent-bit/flb_mp.h
+include/fluent-bit/flb_network.h
+include/fluent-bit/flb_output.h
+include/fluent-bit/flb_pack.h
+include/fluent-bit/flb_parser.h
+include/fluent-bit/flb_parser_decoder.h
+include/fluent-bit/flb_pipe.h
+include/fluent-bit/flb_plugin_proxy.h
+include/fluent-bit/flb_regex.h
+include/fluent-bit/flb_router.h
+include/fluent-bit/flb_scheduler.h
+include/fluent-bit/flb_sds.h
+include/fluent-bit/flb_sha1.h
+include/fluent-bit/flb_socket.h
+include/fluent-bit/flb_sosreport.h
+include/fluent-bit/flb_sqldb.h
+include/fluent-bit/flb_stats.h
+include/fluent-bit/flb_str.h
+include/fluent-bit/flb_task.h
+include/fluent-bit/flb_task_map.h
+include/fluent-bit/flb_thread.h
+include/fluent-bit/flb_thread_libco.h
+include/fluent-bit/flb_thread_pthreads.h
+include/fluent-bit/flb_thread_storage.h
+include/fluent-bit/flb_time.h
+include/fluent-bit/flb_time_utils.h
+include/fluent-bit/flb_tls.h
+include/fluent-bit/flb_upstream.h
+include/fluent-bit/flb_uri.h
+include/fluent-bit/flb_utf8.h
+include/fluent-bit/flb_utils.h
+include/fluent-bit/flb_version.h
+include/fluent-bit/flb_worker.h
+include/jsmn.h
+include/monkey/mk_core.h
+lib/libfluent-bit.so
+lib/libfluent-bit.so.0
+lib/libfluent-bit.so.${PKGVERSION}
+share/examples/fluent-bit/fluent-bit.conf
+share/examples/fluent-bit/parsers.conf
Index: pkgsrc/sysutils/fluent-bit/distinfo
diff -u /dev/null pkgsrc/sysutils/fluent-bit/distinfo:1.1
--- /dev/null   Sun Jun 17 16:33:36 2018
+++ pkgsrc/sysutils/fluent-bit/distinfo Sun Jun 17 16:33:35 2018
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2018/06/17 16:33:35 minskim Exp $
+
+SHA1 (fluent-bit-0.13.2.tar.gz) = 7d44b4655874fb6d63fe15bce780067df7f2ffe3
+RMD160 (fluent-bit-0.13.2.tar.gz) = ab64676e78ed86cd90cf1f89f711d88ba2e69c92
+SHA512 (fluent-bit-0.13.2.tar.gz) = 787e1d8f1c50e39642f7b637938c5e5d4dd8400bd89c9ed929830bf19e4617baf0bd25503ab5be5711ea85c0030061872447203bbd20255bb87649615ab350e0
+Size (fluent-bit-0.13.2.tar.gz) = 8758919 bytes
+SHA1 (patch-CMakeLists.txt) = 8991f16aa7248fbadc4da85d1f85614a7205f290
+SHA1 (patch-src_CMakeLists.txt) = 6348980494bfc7ce958ad622a54e7b633e8e0c94

Index: pkgsrc/sysutils/fluent-bit/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/sysutils/fluent-bit/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sun Jun 17 16:33:36 2018
+++ pkgsrc/sysutils/fluent-bit/patches/patch-CMakeLists.txt     Sun Jun 17 16:33:36 2018
@@ -0,0 +1,32 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/06/17 16:33:36 minskim Exp $
+
+Disable in-tree msgpack.
+
+--- CMakeLists.txt.orig        2018-05-21 16:59:19.000000000 +0000
++++ CMakeLists.txt
+@@ -186,7 +186,7 @@ include_directories(
+   lib/
+   lib/flb_libco
+   lib/sha1
+-  lib/msgpack-2.1.3/include
++# lib/msgpack-2.1.3/include
+   ${MONKEY_INCLUDE_DIR}
+   )
+ 
+@@ -203,11 +203,11 @@ endif()
+ set(WITH_SYSTEM_MALLOC  1 CACHE BOOL "Use system memory allocator")
+ 
+ # MsgPack options
+-option(MSGPACK_ENABLE_CXX             OFF)
+-option(MSGPACK_ENABLE_SHARED          OFF)
+-option(MSGPACK_BUILD_TESTS            OFF)
+-option(MSGPACK_BUILD_EXAMPLES         OFF)
+-add_subdirectory(lib/msgpack-2.1.3 EXCLUDE_FROM_ALL)
++#option(MSGPACK_ENABLE_CXX             OFF)
++#option(MSGPACK_ENABLE_SHARED          OFF)
++#option(MSGPACK_BUILD_TESTS            OFF)
++#option(MSGPACK_BUILD_EXAMPLES         OFF)
++#add_subdirectory(lib/msgpack-2.1.3 EXCLUDE_FROM_ALL)
+ 
+ # Lib: build the core libraries used by Fluent-Bit
+ FLB_DEFINITION(JSMN_PARENT_LINKS)
Index: pkgsrc/sysutils/fluent-bit/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/sysutils/fluent-bit/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null   Sun Jun 17 16:33:36 2018
+++ pkgsrc/sysutils/fluent-bit/patches/patch-src_CMakeLists.txt Sun Jun 17 16:33:36 2018
@@ -0,0 +1,32 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2018/06/17 16:33:36 minskim Exp $
+
+- Set shared library versions.
+- Change the configuration file location.
+
+--- src/CMakeLists.txt.orig    2018-05-21 16:59:19.000000000 +0000
++++ src/CMakeLists.txt
+@@ -194,7 +194,9 @@ if(NOT FLB_WITHOUT_SHARED_LIB)
+   add_library(fluent-bit-shared SHARED ${src})
+   target_link_libraries(fluent-bit-shared ${FLB_DEPS} -lpthread)
+   set_target_properties(fluent-bit-shared
+-    PROPERTIES OUTPUT_NAME fluent-bit)
++    PROPERTIES OUTPUT_NAME fluent-bit
++    VERSION ${FLB_VERSION_STR}
++    SOVERSION ${FLB_VERSION_MAJOR})
+ 
+   # Library install routines
+   install(TARGETS fluent-bit-shared LIBRARY DESTINATION lib)
+@@ -255,11 +257,11 @@ if(NOT FLB_WITHOUT_BIN)
+ 
+   install(FILES
+     "${PROJECT_SOURCE_DIR}/conf/fluent-bit.conf"
+-    DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${FLB_OUT_NAME}/"
++    DESTINATION "${EGDIR}/"
+     RENAME "${FLB_OUT_NAME}.conf")
+ 
+   install(FILES
+     "${PROJECT_SOURCE_DIR}/conf/parsers.conf"
+-    DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${FLB_OUT_NAME}/")
++    DESTINATION "${EGDIR}/")
+ 
+ endif()



Home | Main Index | Thread Index | Old Index