RSYSLOG is the rocket-fast system for log processing.
It offers high-performance, great security features and a modular
design. While it started as a regular syslogd, rsyslog has evolved
into a kind of swiss army knife of logging, being able to accept
inputs from a wide variety of sources, transform them, and output to
the results to diverse destinations.
RSYSLOG can deliver over one million messages per second to local
destinations when limited processing is applied (based on v7, December
2013). Even with remote destinations and more elaborate processing the
performance is usually considered "stunning".
===> The following configuration options are available for rsyslog-8.2610.0:
BEATS=off: Enable input from Elastic *Beats
DBI=off: LibDBI output module for rsyslog
DOCS=on: Build and/or install documentation
DTLS=off: DTLS input/output modules
ELASTIC=off: Elasticsearch module for rsyslog
GCRYPT=on: Enable support for encrypted logfiles
GSSAPI=off: GSS API input/output module for rsyslog
HTTP=off: HTTP output module for rsyslog
JSONPARSE=off: JSONPARSE module for rsyslog
KAFKA=off: Kafka input/output module for rsyslog
MYSQL=off: MySQL output module for rsyslog
NORMALIZE=off: Message normalization module for rsyslog
PGSQL=off: PostgreSQL output module for rsyslog
RABBITMQ=off: RabbitMQ output module for rsyslog
RELP=off: RELP input/output module for rsyslog
SNMP=off: SNMP trap sender for rsyslog
====> Options available for the radio SSLLIB: you can only select none or one of them
GNUTLS=off: GNUTLS module for rsyslog
OPENSSL=off: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
sysutils/rsyslog8: Add pgsql and mysql flavours
These new flavours enable the pre-existing PGSQL or MYSQL options so
that a package with RDBMS support is available.
PR: 297415
sysutils/rsyslog8: Upgrade to 8.2606.0
* Delete `extra-patch-sane-hostname` -- the file this was aimed at
no longer contains any code around hostnames.
* Update `extra-patch-mysql-microseconds` -- this had bit-rotted
somewhat, but could be recovered.
* New OPTION: BEATS -- accept a feed from any of the Elastic *beats
programs
* Fix a failure when running `autoreconf` from autoconfigure-2.72
(the default on FreeBSD) whereas upstream seems to be using
autoconfigure-2.71 successfully.
Changes: https://github.com/rsyslog/rsyslog/blob/v8.2606.0/ChangeLog
Reported by: repology, GitHub release notifications
sysutils/rsyslog8: Fix compilation when KAFKA option selected
Add #define __BSD_VISIBLE to get the uint typedef in sys/types.h
PR: 293465
Reported by: girgen
sysutils/rsyslog8: update to 8.2508.0
Delete files/patch-runtime_net__ossl.c and the additional patch
72b8bcc05318f0a72ec828d1a5329fa98c021eb8.patch from upstream: these
are both incorporated in this release.
Regenerate patches.
Changes: https://github.com/rgerhards/rsyslog/blob/v8.2508.0/ChangeLog
Reported by: repology
*/*: Bump PORTREVISION after libuuid/libblkid switch
from e2fsprogs to util-linux, to complete the bump of all users
of either library that started with Alexander's commit titled
'*/*: Switch to misc/libuuid and misc/libblkid'
PR: 251489
sysutils/rsyslog8: switch to PATCHFILES/PATCH_SITES
This is the preferred means of adding specific git commits as patches
to a release. No functional change.
Reported by: kevans, hellspawn (IRC/Slack)
sysutils/rsyslog8: fix build with libressl, add DTLS option
rsyslog8 fails to build with libressl due to lack of support of the
SSL_CONF_CTX type. This occurs in a block of code only used by the
DTLS input and output modules, which are not enabled by default in the
FreeBSD port.
Therefore solve the build failure by making the problematic function
dependant on LIBRESSL_VERSION_NUMBER being defined (via
files/patch-runtime_net__ossl.c, obtained from github issue 5342 for
rsyslog). This is similar to previous libressl compatability fixes
from PR 254864.
While here, add a DTLS option to enable building the imdtls and omdtls
modules -- this does require linkage against openssl to compile
successfully. Additionally required patches are to add the necessary
header files for the pthread_kill(3) and close(2) prototypes. I have
not been able to test the functionality of the DTLS modules very
effectively and would be glad to hear of anyone's experiences with
them.
PR: 278018
Reported by: Dave Hayes <dave@jetcafe.org>
Obtained from: (partly) https://github.com/rsyslog/rsyslog/issues/5342
sysutils/rsyslog8: update to 8.2312.0
Delete `files/patch-tools_rsyslogd.c` -- this patch fixing an
inability to fork rsyslog is now incorporated upstream.
Changes: https://github.com/rsyslog/rsyslog/blob/v8.2312.0/ChangeLog
Reported b: replogy
sysutils/rsyslog8: patch for forking issue due to close_range() call
Add patch from upstream:
https://github.com/rsyslog/rsyslog/commit/599b5c7524b76cfc73245206fcce1e2b4d955f21
After fork if the child process uses close_range to close open file
descriptors it has no way to exempt the parentPipeFD causing a failure
to signal successful startup to the parent process. This causes
failures on all systems that aren't Linux that implement close_range.
1. Loop through file descriptors between beginClose and
MAX(parentPipeFD,dbgGetDbglogFd()) making sure not to close those two
file descriptors.
2. Potentially use close_range to close all file descriptors above
MAX(parentPipeFD,dbgGetDbglogFd())
PR: 274509
Reported by: Helmut Ritter
Obtained from: https://github.com/rsyslog/rsyslog/pull/5254
sysutils/rsyslog8: Mark broken
The upgrade to 8.2310.0 has resulted in a non-working version which
floods the log file with hundreds of messages and consumes all
available memory:
Oct 15 16:00:54 BSDHelmut rsyslogd[29360] imuxsock: recvfrom UNIX: Socket
operation on non-socket [v8.2310.0]
Other reports show rsyslog attempting to use Linux /proc which also
fails.
Mark broken temporarily pending a response from upstream..
See https://github.com/rsyslog/rsyslog/issues/5241
PR: 274509
Reported by: Helmut Ritter
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/rsyslog8: delete unnecessary code
Remove USE_LDCONFIG -- the port installs a number of loadable modules
for its own use. These are not shared libraries that ldconfig(8)
needs to deal with. (1)
Remove REINPLACE_CMD lines that no longer do anything. The library
path compiled into the code is set from autoconfig nowadays.
PR: 262393 (1)
Reported by: mikael
sysutils/rsyslog8: Add pmciscoios module for parsing Cisco IOS logs
This is a very small loadable module with no additional dependencies,
so just add it to the default package unconditionally.
Requested by: Klein Emanuel
sysutils/rsyslog8: update pkg-message and add sample config file
Upstream changes mean that the advice formerly given in pkg-message to
modify the default /etc/syslog.conf file as the basis of a new
${PREFIX}/etc/rsyslog.conf are now less useful and confusing to end
users.
Therefore, update the pkg-message accordingly, and install a sample
config file which should duplicated the functionality of the base
syslog.conf.
PR: 260158
Reported by: Mark Johnston
Prevent rsyslogd from writing log messages about TZ being unset in the
environment.
This is a putely cosmetic change, as the default behaviour according
to tzset(3) is:
```
If TZ does not appear in the environment, the best available
approximation to local wall clock time, as specified by the
tzfile(5)-format file /etc/localtime is used.
```
Slightly modified from the patch supplied by zi to use the rc.subr(8)
'${name}_env' variable.
PR: 248185
Submitted by: zi
Use the autoconf caching mechanism to set two variables thus
preventing configure from finding libinotify even if it is present.
This will have no effect on packages built in a clean environment, but
it will make it easier to just build ad-hoc out of the ports tree.
Submitted by: koobs
Reported by: atari83
Differential Revision: https://reviews.freebsd.org/D20815
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
Add a new OPENSSL option as an alternative to GNUTLS. This parallels
a simlar fix to librelp, and tracks the upstream project's intention
to switch from gnutls to openssl over time. The default remains to
not compile in any TLS support in rsyslog8.
PR: 230913
Update to 8.36.0
Upstream is deprecating liblogging-stdlog.so.0, but we still need the
devel/liblogging port because we link against liblogging-rfc3195.so.0
-- adjust the dependency accordingly.
ChangeLog: https://github.com/rsyslog/rsyslog/blob/v8.36.0/ChangeLog
Update to 8.35.0
- allow for BUILD_DEPENDS py-docutils to be flavoured. This avoids
rebuilding the dependency every time in some environments where
rst2man ends up being installed with a version tag.
ChangeLog: https://github.com/rsyslog/rsyslog/blob/v8.35.0/ChangeLog
Update to 8.34.0
Add patches to configuration system to allow specifying whether
syslog(3) generates RFC5424 format messages, instead of RFC3164.
Set RFC5424 as the syslog(3) default for OSVER >= 1200061. See:
https://reviews.freebsd.org/D14951 This is primarily a convenience so
that users of rsyslog8 will not have to modify their rsyslog.conf when
upgrading to a version of FreeBSD that generates RFC5424 from
syslog(3). I will submit these patches upstream in due course.
Appease portlint by reordering some items in the Makefile
Group FOO_DESC with all the other options helpers for option FOO
When DOCS are enabled and one or both of MYSQL and PGSQL options are
selected, install the corresponding createDB.sql file for generating
the DB schema rsyslog expects [1]
PR: 221012
Reported by: rainer@ultra-secure.de [1]
rsyslog cannot use the Inotify emulation provided by the
devel/libinotify port -- the kqueue based emulation does not persist
over forking, unlike the genuine linux inotify.
However, the presence of certain header files will cause rsyslog to
attempt to unconditionally compile in Inotify support, and this breaks
the build.
Use CONFLICTS_BUILD to mark the incompatibility.
PR: 220376
Submitted by: dewayne@heuristicsystems.com.au
Fix for the omprog module -- calling execve() with a NULL second
argument doesn't work. Instead supply an argv list with just a
terminating NULL entry.
Submitted upstream as https://github.com/rsyslog/rsyslog/pull/1618
Patch files regenerated by 'make makepatch'
Reported by: (Chun-Tien Chang) <tcs@kitty.2y.idv.tw>
Add ELASTIC option to allow elastic search as an output destination. (1)
Add dependency on libcurl.so when ELASTIC selected, missing from
original submission
Switch from implicit USE_MYSQL=yes to uses= mysql
PR: 217876
Submitted by: rum1cro@yandex.ru
Update pkg-descr using the text of the blurb from ww.rsyslog.com
- we aren't tracking v7 any more. The clue is in the port name:
sysutils/rsyslog8
Reported by: des