From nobody Sat Jul 29 04:37:31 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RCWvH3v3zz4pcPw; Sat, 29 Jul 2023 04:37:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RCWvH2YlCz3L83; Sat, 29 Jul 2023 04:37:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690605451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o/XB5d1QkOQajp7BL2vvPC4qlie9yo0f07WZp1YhjIU=; b=EZvQfQdwqs9LDSp7XJUBgHPEkSWruDucllJN+d0+nvB1IPfl8R1QIjvF2lJNvkOTim8s8y H9sMtKi8+5X1OMyaCxV0HmRDIeUAwAUT4+slCDALZEpI/SDuHjnyc3MCiaX4VAK7FWe5JD I39ItrW7O3kGC13fqroNBL8rG1fhNqKc3SVM7QUBvBlRjVXHGxy67igKT1MARbgXI4DCLd btKZ8ssahBpHikGceoV4h0eMj7ssfLrCFrXKMs86cDLH0JxVvnA0Ee6z/RIiWvPq/jK4Jz U3Z5unE1YIckPq/ORH37FOGJ/B/+q2E3QjAvRlOWoQ+pXwEWqHR5uSNfk4vZPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690605451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o/XB5d1QkOQajp7BL2vvPC4qlie9yo0f07WZp1YhjIU=; b=smEWLSzAlSteofnL16ulsGTm1A8J9Gs0wv34wBGddQX10ABkGfiP73N7PzT/M4nsv2U0KU +3sxi+3nKsC5FsNsGQ5UC4Jwx9+gwiYtSPVUcd6r0UIBXRnN3MwYJCUUuYfD4B7+dDS3TL 744hxLsyIFA2WOJ4mx76Gu3VGrirL+6fGvTYqIdq2jwMx3rdjXDECRvGSUUVtiOqdd3eg6 bhP5THZ591lnhuOiRCmq6uxlALpweicNQ+V1DDgAJcmAId51McKujGrOYFNtcRQbC8A8i3 SxQHdn26nDLe1VwS4P7QD7+YRDnJkMq6B0XUsBoBvb0RGBe43O3Tl/x08sgkIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690605451; a=rsa-sha256; cv=none; b=dXQhWebL6rbXs6DT4s69N8EDfP9wc6Xbd/lU4h/FlI5ENmftfCZiJEwsUstyaxo6mDqWyI RH286RmfcKy2d1/NrjeO+vxJXbJMxXrOBWLPFGyFdUikpUpfSJIaRCXYzkd1NYk9MyDhmS 7b4Nqkn8JJAc9Z3WqUlHzGygltc5K0sr6Dal+gt45xkVINUjinR+RHEkYSwcvhYQsHeBpO aQtc2wU+yk2MPs2FACq+ygdLh9PXVWj+x+lw25YxbaQeUorK0lM1DudyzqZ8Y3nw4D01EY 3NKy2OBhjX2qOfZdgq1adzARICZhGOWWfvQbswWxavBeE5IpfA/mcaz+WQoTkQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RCWvH1f5VzKND; Sat, 29 Jul 2023 04:37:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36T4bVBX003112; Sat, 29 Jul 2023 04:37:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36T4bVSV003111; Sat, 29 Jul 2023 04:37:31 GMT (envelope-from git) Date: Sat, 29 Jul 2023 04:37:31 GMT Message-Id: <202307290437.36T4bVSV003111@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: c0c1145055f0 - main - sysutils/syslog-ng: Update to 4.3.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0c1145055f084290b0bba5823673ded84ea7d39 Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0c1145055f084290b0bba5823673ded84ea7d39 commit c0c1145055f084290b0bba5823673ded84ea7d39 Author: Cy Schubert AuthorDate: 2023-07-27 03:38:45 +0000 Commit: Cy Schubert CommitDate: 2023-07-29 04:36:44 +0000 sysutils/syslog-ng: Update to 4.3.0 Patch was created and tested by our upstream representative Peter Czanik. Submitted by: Peter Czanik (CzP) Balabit (a OneIdentity company) / syslog-ng upstream --- sysutils/syslog-ng/Makefile | 50 ++++++++++++++++---------- sysutils/syslog-ng/distinfo | 6 ++-- sysutils/syslog-ng/files/syslog-ng.conf.sample | 2 +- sysutils/syslog-ng/pkg-plist | 35 ++++++++---------- 4 files changed, 49 insertions(+), 44 deletions(-) diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index de27c690ffc1..784830696b42 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -1,5 +1,5 @@ PORTNAME= syslog-ng -DISTVERSION= 4.2.0 +DISTVERSION= 4.3.0 CATEGORIES= sysutils # official master site: MASTER_SITES= https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${DISTVERSION}/ @@ -16,11 +16,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_sparc64= fails to link: Internal error: Segmentation fault (program ld) -LIB_DEPENDS= libpcre.so:devel/pcre \ - libuuid.so:misc/e2fsprogs-libuuid +LIB_DEPENDS= libpcre2-8.so:devel/pcre \ + libuuid.so:misc/e2fsprogs-libuuid \ + libivykis.so:devel/ivykis USES= autoreconf:build compiler:c11 cpe gettext-runtime gmake gnome \ - libtool pathfix pkgconfig python:build shebangfix ssl + libtool pathfix pkgconfig python:3.5+,build shebangfix ssl CPE_VENDOR= oneidentity @@ -30,7 +31,7 @@ CONFLICTS?= syslog-ng syslog-ng[0-9] \ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} MAKE_JOBS_UNSAFE= yes -OPTIONS_DEFINE= TCP_WRAPPERS SQL SPOOF IPV6 SMTP JSON GEOIP2 DOCS REDIS JAVA PYTHON MONGO CURL JAVA_MOD AMQP RIEMANN KAFKA SNMPDEST +OPTIONS_DEFINE= TCP_WRAPPERS SQL SPOOF IPV6 SMTP JSON GEOIP2 DOCS REDIS JAVA PYTHON PYTHON_MOD MONGO CURL JAVA_MOD AMQP RIEMANN KAFKA SNMPDEST OPTIONS_DEFAULT= CURL JSON TCP_WRAPPERS_DESC= Build with TCP Wrappers SQL_DESC= Build with database (libdbi) support @@ -42,12 +43,15 @@ REDIS_DESC= Build with Redis support JAVA_DESC= Build with Java support (no modules) JAVA_MOD_DESC= Build with Java modules (needs Maven / Internet access) PYTHON_DESC= Build with Python ${PYTHON_VER} support +PYTHON_MOD_DESC= Build with Python modules (Kubernetes, Hyper, etc.) CURL_DESC= Build with Curl HTTP support AMQP_DESC= Build with AMQP support RIEMANN_DESC= Build with Riemann support KAFKA_DESC= Build with Kafka (librdkafka) support SNMPDEST_DESC= Build with SNMP destination (net-snmp) support +# USE_GCC= yes + USE_LDCONFIG= yes USE_RC_SUBR= syslog-ng SHEBANG_FILES= lib/merge-grammar.py @@ -59,8 +63,8 @@ INSTALL_TARGET= install-strip CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc --localstatedir=/var/db \ --enable-dynamic-linking --enable-manpages \ - --disable-linux-caps \ - --datadir=${PREFIX}/share/ \ + --disable-linux-caps --disable-cpp \ + --datadir=${PREFIX}/share/ --with-ivykis=system \ --with-python=${PYTHON_VER} --with-python-packages=none CONFIGURE_ENV+= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ @@ -154,12 +158,8 @@ PYTHON_CONFIGURE_OFF= --disable-python PYTHON_PLIST_FILES= lib/syslog-ng/libmod-python.so \ etc/python/README.md \ lib/syslog-ng/python/requirements.txt \ - lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/requires.txt \ lib/syslog-ng/python/syslogng/__pycache__/confgen%%PYTHON_EXT_SUFFIX%%.pyc \ lib/syslog-ng/python/syslogng/confgen.py \ - lib/syslog-ng/python/syslogng/modules/kubernetes/__init__.py \ - lib/syslog-ng/python/syslogng/modules/kubernetes/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc \ - lib/syslog-ng/python/syslogng/modules/kubernetes/scl/kubernetes.conf \ lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/PKG-INFO \ lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt \ lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt \ @@ -174,12 +174,6 @@ PYTHON_PLIST_FILES= lib/syslog-ng/libmod-python.so \ lib/syslog-ng/python/syslogng/dest.py \ lib/syslog-ng/python/syslogng/logger.py \ lib/syslog-ng/python/syslogng/message.py \ - lib/syslog-ng/python/syslogng/modules/example/__init__.py \ - lib/syslog-ng/python/syslogng/modules/example/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc \ - lib/syslog-ng/python/syslogng/modules/example/scl/example.conf \ - lib/syslog-ng/python/syslogng/modules/hypr/__init__.py \ - lib/syslog-ng/python/syslogng/modules/hypr/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc \ - lib/syslog-ng/python/syslogng/modules/hypr/scl/hypr.conf \ lib/syslog-ng/python/syslogng/parser.py \ lib/syslog-ng/python/syslogng/persist.py \ lib/syslog-ng/python/syslogng/source.py \ @@ -225,6 +219,21 @@ PYTHON_PLIST_FILES= lib/syslog-ng/libmod-python.so \ lib/syslog-ng/python/syslogng/debuggercli/tflang.py \ lib/syslog-ng/python/syslogng/debuggercli/__pycache__/tflang.cpython-${PYTHON_SUFFIX}.pyc +PYTHON_MOD_IMPLIES= PYTHON +PYTHON_MOD_CONFIGURE_ON= --enable-python-modules +PYTHON_MOD_CONFIGURE_OFF= --disable-python-modules +PYTHON_MOD_PLIST_FILES= lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/requires.txt \ + lib/syslog-ng/python/syslogng/modules/kubernetes/__init__.py \ + lib/syslog-ng/python/syslogng/modules/kubernetes/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc \ + lib/syslog-ng/python/syslogng/modules/kubernetes/scl/kubernetes.conf \ + lib/syslog-ng/python/syslogng/modules/example/__init__.py \ + lib/syslog-ng/python/syslogng/modules/example/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc \ + lib/syslog-ng/python/syslogng/modules/example/scl/example.conf \ + lib/syslog-ng/python/syslogng/modules/hypr/__init__.py \ + lib/syslog-ng/python/syslogng/modules/hypr/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc \ + lib/syslog-ng/python/syslogng/modules/hypr/scl/hypr.conf + + CURL_CONFIGURE_OFF= --with-libcurl=off CURL_CONFIGURE_ON= --enable-http CURL_LIB_DEPENDS= libcurl.so:ftp/curl @@ -247,9 +256,12 @@ KAFKA_PLIST_FILES= lib/syslog-ng/libkafka.so BROKEN= Default configuration does not currently support non-JSON builds .endif +.if ${PORT_OPTIONS:MJAVA_MOD} +BROKEN= Java modules do not build currently +.endif + post-patch: @${CP} ${WRKSRC}/scl/syslog-ng.conf ${WRKSRC}/scl/syslog-ng.conf.dist - @${CP} ${WRKSRC}/scl/scl.conf ${WRKSRC}/scl/scl.conf.sample touch -r ${WRKSRC}/lib/cfg-grammar.y ${WRKSRC}/lib/merge-grammar.py post-patch-JAVA_MOD-on: @@ -268,7 +280,7 @@ post-install: ${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \ ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/scl/syslog-ng.conf.dist \ - ${WRKSRC}/scl/scl.conf.sample ${STAGEDIR}${PREFIX}/etc + ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/lib/ivykis/src/include/iv*.h \ ${STAGEDIR}${PREFIX}/include/syslog-ng/ diff --git a/sysutils/syslog-ng/distinfo b/sysutils/syslog-ng/distinfo index 1206123a311e..df118622b228 100644 --- a/sysutils/syslog-ng/distinfo +++ b/sysutils/syslog-ng/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1683789671 -SHA256 (syslog-ng-4.2.0.tar.gz) = 092bd17fd47002c988aebdf81d0ed3f3cfd0e82b388d2453bcaa5e67934f4dda -SIZE (syslog-ng-4.2.0.tar.gz) = 5763000 +TIMESTAMP = 1690191982 +SHA256 (syslog-ng-4.3.0.tar.gz) = 9c9747819014cfbd282d5c95e310937dc5122fe7c610d143e01d550e9f2c3869 +SIZE (syslog-ng-4.3.0.tar.gz) = 6090929 diff --git a/sysutils/syslog-ng/files/syslog-ng.conf.sample b/sysutils/syslog-ng/files/syslog-ng.conf.sample index 17d3ab40c1d0..269c39e50b56 100644 --- a/sysutils/syslog-ng/files/syslog-ng.conf.sample +++ b/sysutils/syslog-ng/files/syslog-ng.conf.sample @@ -1,4 +1,4 @@ -@version:4.2 +@version:4.3 @include "scl.conf" # diff --git a/sysutils/syslog-ng/pkg-plist b/sysutils/syslog-ng/pkg-plist index af3ecaddda61..7100519358b6 100644 --- a/sysutils/syslog-ng/pkg-plist +++ b/sysutils/syslog-ng/pkg-plist @@ -7,7 +7,6 @@ bin/slogkey bin/slogverify bin/update-patterndb bin/syslog-ng-update-virtualenv -@sample etc/scl.conf.sample etc/syslog-ng.conf.dist include/syslog-ng/ack-tracker/ack_tracker.h include/syslog-ng/ack-tracker/ack_tracker_factory.h @@ -52,6 +51,8 @@ include/syslog-ng/compat/socket.h include/syslog-ng/compat/string.h include/syslog-ng/compat/time.h include/syslog-ng/compat/un.h +include/syslog-ng/compat/cpp-end.h +include/syslog-ng/compat/cpp-start.h include/syslog-ng/control/control-commands.h include/syslog-ng/control/control-main.h include/syslog-ng/control/control-server.h @@ -104,18 +105,6 @@ include/syslog-ng/iv_thread.h include/syslog-ng/iv_tls.h include/syslog-ng/iv_wait.h include/syslog-ng/iv_work.h -include/syslog-ng/ivykis/iv.h -include/syslog-ng/ivykis/iv_avl.h -include/syslog-ng/ivykis/iv_event.h -include/syslog-ng/ivykis/iv_event_raw.h -include/syslog-ng/ivykis/iv_fd_pump.h -include/syslog-ng/ivykis/iv_list.h -include/syslog-ng/ivykis/iv_popen.h -include/syslog-ng/ivykis/iv_signal.h -include/syslog-ng/ivykis/iv_thread.h -include/syslog-ng/ivykis/iv_tls.h -include/syslog-ng/ivykis/iv_wait.h -include/syslog-ng/ivykis/iv_work.h include/syslog-ng/list-adt.h include/syslog-ng/loggen_helper.h include/syslog-ng/loggen_plugin.h @@ -156,6 +145,8 @@ include/syslog-ng/logthrdest/logthrdestdrv.h include/syslog-ng/logthrsource/logthrfetcherdrv.h include/syslog-ng/logthrsource/logthrsourcedrv.h include/syslog-ng/logwriter.h +include/syslog-ng/logscheduler-pipe.h +include/syslog-ng/logscheduler.h include/syslog-ng/mainloop-call.h include/syslog-ng/mainloop-control.h include/syslog-ng/mainloop-io-worker.h @@ -302,20 +293,20 @@ include/syslog-ng/multi-line/multi-line-pattern.h include/syslog-ng/multi-line/smart-multi-line.h include/syslog-ng/stats/stats-compat.h share/syslog-ng/smart-multi-line.fsm -lib/libevtlog-4.2.so.0 -lib/libevtlog-4.2.so.0.0.0 +lib/libevtlog-4.3.so.0 +lib/libevtlog-4.3.so.0.0.0 lib/libevtlog.so -lib/libloggen_helper-4.2.so.0 -lib/libloggen_helper-4.2.so.0.0.0 +lib/libloggen_helper-4.3.so.0 +lib/libloggen_helper-4.3.so.0.0.0 lib/libloggen_helper.so -lib/libloggen_plugin-4.2.so.0 -lib/libloggen_plugin-4.2.so.0.0.0 +lib/libloggen_plugin-4.3.so.0 +lib/libloggen_plugin-4.3.so.0.0.0 lib/libloggen_plugin.so lib/libsecret-storage.so lib/libsecret-storage.so.0 lib/libsecret-storage.so.0.0.0 -lib/libsyslog-ng-4.2.so.0 -lib/libsyslog-ng-4.2.so.0.0.0 +lib/libsyslog-ng-4.3.so.0 +lib/libsyslog-ng-4.3.so.0.0.0 lib/libsyslog-ng-native-connector.a lib/libsyslog-ng.so lib/syslog-ng/libadd-contextual-data.so @@ -418,6 +409,8 @@ share/syslog-ng/include/scl/windowseventlog/plugin.conf share/syslog-ng/include/scl/windowseventlog/windowseventlog.xml share/syslog-ng/include/scl/mariadb/audit.conf share/syslog-ng/include/scl/splunk/splunk.conf +share/syslog-ng/include/scl/logscale/logscale.conf +share/syslog-ng/include/scl.conf share/syslog-ng/tools/cfg-grammar.y share/syslog-ng/tools/lex-rules.am share/syslog-ng/tools/merge-grammar.py