head 1.5; access; symbols pkgsrc-2022Q3:1.4.0.10 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.8 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.6 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.4 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.2 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.3.0.46 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.44 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.42 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.40 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.36 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.16 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.38 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.34 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.32 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.30 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.28 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.26 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.24 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.22 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.20 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.18 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.14 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.12 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.10 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.8 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.6 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.4 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.2 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.2.0.32 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.30 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.28 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.26 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.24 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.22 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.20 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.18 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.16 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.14 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.12 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.8 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.6 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.4 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.1.1.0.48 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.46 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.44 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.42 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.40 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.38 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.36 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.34 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.32 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.30 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.28 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.26 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.24 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.22 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.20 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.18 pkgsrc-2008Q1:1.1.1.1.0.16 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.14 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.12 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.10 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.8 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.6 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.4 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.2 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2022.12.16.11.56.21; author wiz; state dead; branches; next 1.4; commitid QrcSMhsibu54fM5E; 1.4 date 2021.09.16.12.02.12; author wiz; state Exp; branches; next 1.3; commitid fy8hBlb2fmONVa9D; 1.3 date 2015.10.29.16.34.13; author fhajny; state Exp; branches; next 1.2; commitid fUtpJIcogkcyv1Hy; 1.2 date 2011.10.09.10.59.32; author obache; state Exp; branches; next 1.1; 1.1 date 2006.05.14.19.56.05; author adrianp; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.05.14.19.56.05; author adrianp; state Exp; branches; next ; desc @@ 1.5 log @syslog-ng: remove obsolete patches @ text @$NetBSD: patch-ac,v 1.4 2021/09/16 12:02:12 wiz Exp $ # add NetBSD support and fix some paths https://github.com/syslog-ng/syslog-ng/pull/3786 --- contrib/syslog2ng.orig 2021-09-10 11:01:49.000000000 +0000 +++ contrib/syslog2ng @@@@ -5,7 +5,7 @@@@ # Translator from syslog.conf to syslog-ng.conf # by Jonathan W. Marks # -# Rev 2 +# Rev 2.1 BEGIN { # Handle the various platforms- determine proper log device @@@@ -13,10 +13,16 @@@@ BEGIN { close("/bin/uname -s"); if (sysname == "SunOS") { LOGDEVTYPE="sun-streams"; + LOGDEVPATH="/dev/log"; } else if (sysname == "AIX") { LOGDEVTYPE="unix-dgram"; + LOGDEVPATH="/dev/log"; } else if (sysname == "Linux") { LOGDEVTYPE="unix-stream"; + LOGDEVPATH="/dev/log"; + } else if (sysname == "NetBSD") { + LOGDEVTYPE="unix-dgram"; + LOGDEVPATH="/var/run/log"; } else { print "!!! Unsupported system: " sysname "."; exit 1; @@@@ -29,7 +35,7 @@@@ BEGIN { print \ "source local {\n" \ -" " LOGDEVTYPE "(\"/dev/log\");\n" \ +" " LOGDEVTYPE "(\"" LOGDEVPATH "\");\n" \ " udp(ip(0.0.0.0) port(514));\n" \ " internal();\n" \ "};\n"; @ 1.4 log @syslog-ng: simplify patch for upstreaming, and add pull request URL @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2015/10/29 16:34:13 fhajny Exp $ @ 1.3 log @Update syslog-ng to the latest stable 3.7.2 version. Rework and clean up the package, split off various bindings into separate packages. Add SMF support. Major features and improvements introduced in major releases since 3.2. 3.7 - OpenSSL is now a required dependency for syslog-ng. - Java-destination driver ported from syslog-ng-incubator. - Python language support is ported from syslog-ng incubator. - New Java destination drivers - New Parsers 3.6 - PCRE is now a required dependency of syslog-ng. - Threaded mode is now enabled by default. 3.5 - Multi-line support - STOMP destination - Redis destination - Template type hinting - Template options honored everywhere - Support for unit suffixes in the configuration - The Incubator project 3.4 - New plugins: AMQP & SMTP destinations, JSON parser. - New parsers for patterndb: HOSTNAME, EMAIL, PCRE and LLADDR. - It is now possible to control what db-parser() sees as its input via it's new template() option. - value-pairs() gained support for programmatically rewriting key names in bulk, via the rekey() method. - The network() driver is introduced, unifying and extending tcp(), udp(), syslog(), unix-dgram() and unix-stream(). The old drivers are still available, but - Support for junctions & channels were added, which improve the flexibility of the syslog-ng configuration language. 3.3 - multi-core/CPU scaling: the new multi-threaded architecture allows syslog-ng to scale into the 800k msg/sec region. - MongoDB support: using MongoDB instead of SQL is faster and allows better representation of log data. - JSON support: using the $(format-json) template function it is now possible to construct JSON (JavaScript Object Notation) output for log messages. - A number of enhancements all over the place: SQL, patterndb. - The default ports have changed. syslog-ng is using the standard @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2011/10/09 10:59:32 obache Exp $ d4 1 d6 1 a6 1 --- contrib/syslog2ng.orig 2014-12-15 14:48:45.000000000 +0000 d8 1 a8 1 @@@@ -5,18 +5,24 @@@@ d17 2 a18 4 - "/bin/uname -s" | getline sysname; - close("/bin/uname -s"); + "@@UNAME@@ -s" | getline sysname; + close("@@UNAME@@ -s"); @ 1.2 log @Some fixes and improvements: * Using libtool. * fixes configure option for pidfile. * tell sysconfigdir to configure. * syslog2ng is using awk, add runtime dependency on awk and fix shebang. * and let not to patch hard-coded uname path for NetBSD specific. * VARBASE is used for various directory, set to BUILDE_DEFS. * remove distractions from PLIST, libtoolized shlib files and an empty line. PR pkg/45419 * fixes config file handling with CONF_FILES. * require dbdir specified by --localstatedir. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 2006/05/14 19:56:05 adrianp Exp $ d5 2 a6 2 --- contrib/syslog2ng.orig Thu Jun 19 14:24:03 2003 +++ contrib/syslog2ng Thu Jun 19 14:24:13 2003 d35 1 a35 1 @@@@ -29,7 +35,7 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d18 2 a19 2 + "/usr/bin/uname -s" | getline sysname; + close("/usr/bin/uname -s"); @ 1.1.1.1 log @Syslog-ng tries to fill the gaps original syslogd's were lacking: * powerful configurability * filtering based on message content * message integrity, message encryption (not yet implemented in 1.4.x) * portability * better network forwarding @ text @@