head 1.3; access; symbols pkgsrc-2026Q2:1.3.0.2 pkgsrc-2026Q2-base:1.3 pkgsrc-2015Q4:1.1.0.4 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @ * @; 1.3 date 2026.06.16.17.34.55; author nia; state Exp; branches; next 1.2; commitid WgeYgb6bnvDb23KG; 1.2 date 2016.01.01.15.34.24; author fhajny; state dead; branches; next 1.1; commitid MoKKpOuI32Nv7fPy; 1.1 date 2015.09.21.11.15.34; author wiedi; state Exp; branches; next ; commitid nQVjbAy2oLNdY6Cy; desc @@ 1.3 log @rsyslog: Build fix for recent gcc (netbsd-11 ish) It's not just FreeBSD that needs for write(2) and close(2). The Standard demands that we must include it. Fixes the build of rsyslog-elasticsearch with more recent GCC versions, which don't like implicit function declarations. @ text @$NetBSD$ It's not just FreeBSD that needs for write(2) and close(2). The Standard demands that we must include it. Fixes the build of rsyslog-elasticsearch with more recent GCC versions, which don't like implicit function declarations. --- plugins/omelasticsearch/omelasticsearch.c.orig 2026-06-16 17:27:35.355077332 +0000 +++ plugins/omelasticsearch/omelasticsearch.c @@@@ -38,9 +38,7 @@@@ #include #include #include -#if defined(__FreeBSD__) #include -#endif #include #include "conf.h" #include "syslogd-types.h" @ 1.2 log @Update rsyslog to 8.15.0 Switch to libfastjson, which will become a requirement in the next release. - KSI Lib: Updated code to run with libksi 3.4.0.5 - KSI utilities: Added option to ser publication url. - KSI Lib: Fixed wrong TLV container for KSI signatures from 0905 to 0906. - KSI/GT Lib: Fixed multiple issues found using static analyzer - performance improvement for configs with heavy use of JSON variables - added pmpanngfw: contributed module for translating Palo Alto Networks logs. - testbench: Changed valgrind option for imtcp-tls-basic-vg.sh - pmciscoios: support for asterisk before timestamp added - solr external output plugin much enhanced - omrabbitmq: improvements - add support for libfastjson (as a replacement for json-c) - KSI utilities: somewhat improved error messages - pmciscoios: support for some format variations - support grok via new contributed module mmgrok - omkafka: new statistics counter "maxoutqsize" - improvments for 0mq modules: - omczmq: suspend / Retry handling - the output plugin can now recover from some error states due to issues with plugin startup or message sending - omczmq: refactored topic handling code for ZMQ_PUB output to be a little more efficient - omczmq: added ability to set a timeout for sends - omczmq: set topics can be in separate frame (default) or part of message frame (configurable) - omcmzq: code cleanup - imczmq: code cleanup - imczmq: fixed a couple of cases where vars could be used uninitialized - imczmq: ZMQ_ROUTER support - imczmq: Fix small memory leak from not freeing sockets when done with them - allow creation of on demand ephemeral CurveZMQ certs for encryption. - cleanup on code to unset a variable - omelasticsearch: build on FreeBSD - pmciscoios: fix some small issues clang static analyzer detected - testbench: many improvements and some new tests - overall code improvements thanks to clang static analyzer - gnutls fix: Added possible fix for gnutls issue #575 - bugfix omkafka: restore ability to build on all platforms - bugfix omkafka: fix potentially negative partition number - bugfix: solve potential race in creation of additional action workers - bugfix: potential memory leak in config parsing - bugfix: small memory leak in loading template config - bugfix: fix extra whitespace in property expansions - bugfix: mmfields leaked memory if very large messages were processed - bugfix: mmfields could add garbagge data to field - bugfix: omhttpfs now also compiles with older json-c lib - bugfix: memory leak in (contributed) module omhttpfs - bugfix: parameter mismatch in error message for wrap() function - bugfix: parameter mismatch in error message for random() function - bugfix: divide by zero if max() function was provided zero - bugfix: invalid mutex handling in omfile async write mode - bugfix: fix inconsistent number processing - bugfix: timezone() object: fix NULL pointer dereference - bugfix omfile: memory addressing error if very long outchannel name used @ text @d1 1 a1 1 $NetBSD: patch-plugins_omelasticsearch_omelasticsearch.c,v 1.1 2015/09/21 11:15:34 wiedi Exp $ d3 7 a9 2 Ignore O_LARGEFILE on systems that don't have it --- plugins/omelasticsearch/omelasticsearch.c.orig 2015-07-08 14:31:07.000000000 +0000 d11 10 a20 11 @@@@ -49,6 +49,10 @@@@ #include "cfsysline.h" #include "unicode-helper.h" +#if !defined(O_LARGEFILE) +#define O_LARGEFILE 0 +#endif + MODULE_TYPE_OUTPUT MODULE_TYPE_NOKEEP MODULE_CNFNAME("omelasticsearch") @ 1.1 log @Fix rsyslog-elasticsearch build on systems that don't have O_LARGEFILE. ok joerg@@ @ text @d1 1 a1 1 $NetBSD$ @