From owner-svn-ports-all@freebsd.org Sun May 28 08:22:40 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04C1FD85E2C; Sun, 28 May 2017 08:22:40 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC04260; Sun, 28 May 2017 08:22:39 +0000 (UTC) (envelope-from girgen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4S8Mcr0087876; Sun, 28 May 2017 08:22:38 GMT (envelope-from girgen@FreeBSD.org) Received: (from girgen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4S8McPK087871; Sun, 28 May 2017 08:22:38 GMT (envelope-from girgen@FreeBSD.org) Message-Id: <201705280822.v4S8McPK087871@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: girgen set sender to girgen@FreeBSD.org using -f From: Palle Girgensohn Date: Sun, 28 May 2017 08:22:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441900 - in head/sysutils/fluent-bit: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2017 08:22:40 -0000 Author: girgen Date: Sun May 28 08:22:38 2017 New Revision: 441900 URL: https://svnweb.freebsd.org/changeset/ports/441900 Log: Update to latest version and add rc script Added: head/sysutils/fluent-bit/files/ head/sysutils/fluent-bit/files/fluent-bit.in (contents, props changed) Modified: head/sysutils/fluent-bit/Makefile head/sysutils/fluent-bit/distinfo head/sysutils/fluent-bit/pkg-plist Modified: head/sysutils/fluent-bit/Makefile ============================================================================== --- head/sysutils/fluent-bit/Makefile Sun May 28 08:01:16 2017 (r441899) +++ head/sysutils/fluent-bit/Makefile Sun May 28 08:22:38 2017 (r441900) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= fluent-bit -DISTVERSION= 0.10.1 +DISTVERSION= 0.11.6 CATEGORIES= sysutils MASTER_SITES= http://fluentbit.io/releases/${DISTVERSION:R}/ @@ -19,7 +19,10 @@ BROKEN_powerpc64= fails to build: cast f USES= cmake +USE_RC_SUBR= ${PORTNAME} + post-stage: @${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample + @${MV} ${STAGEDIR}${ETCDIR}/parsers.conf ${STAGEDIR}${ETCDIR}/parsers.conf.sample .include Modified: head/sysutils/fluent-bit/distinfo ============================================================================== --- head/sysutils/fluent-bit/distinfo Sun May 28 08:01:16 2017 (r441899) +++ head/sysutils/fluent-bit/distinfo Sun May 28 08:22:38 2017 (r441900) @@ -1,3 +1,3 @@ -TIMESTAMP = 1489090503 -SHA256 (fluent-bit-0.10.1.tar.gz) = 0a2564dda1410ec756521334df7ffe94d97b475a4ea4c2a7fabffcc2503fab61 -SIZE (fluent-bit-0.10.1.tar.gz) = 5866358 +TIMESTAMP = 1495812881 +SHA256 (fluent-bit-0.11.6.tar.gz) = 5d277b63253216b0a8b9cff7e92c01b42535dde6045abcc64ba2e93f83ff2d75 +SIZE (fluent-bit-0.11.6.tar.gz) = 6852118 Added: head/sysutils/fluent-bit/files/fluent-bit.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/fluent-bit/files/fluent-bit.in Sun May 28 08:22:38 2017 (r441900) @@ -0,0 +1,30 @@ +#!/bin/sh +# $FreeBSD$ + +# 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"} + +command=%%PREFIX%%/bin/fluent-bit +command_args="--quiet --daemon --config %%ETCDIR%%/fluent-bit.conf" + +run_rc_command "$1" Modified: head/sysutils/fluent-bit/pkg-plist ============================================================================== --- head/sysutils/fluent-bit/pkg-plist Sun May 28 08:01:16 2017 (r441899) +++ head/sysutils/fluent-bit/pkg-plist Sun May 28 08:22:38 2017 (r441900) @@ -1,6 +1,8 @@ bin/fluent-bit @sample %%ETCDIR%%/fluent-bit.conf.sample +@sample %%ETCDIR%%/parsers.conf.sample 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 @@ -8,7 +10,10 @@ 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 @@ -24,8 +29,10 @@ include/fluent-bit/flb_mem.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_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_sha1.h @@ -39,7 +46,6 @@ 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_thread_ucontext.h include/fluent-bit/flb_tls.h include/fluent-bit/flb_upstream.h include/fluent-bit/flb_uri.h @@ -683,8 +689,4 @@ include/msgpack/zone.h include/msgpack/zone.hpp include/msgpack/zone_decl.hpp lib/libfluent-bit.so -lib/libmbedcrypto.a -lib/libmbedtls.a -lib/libmbedx509.a -lib/libmsgpackc.a lib/pkgconfig/msgpack.pc