Port details |
- syslog-ng Powerful syslogd replacement
- 4.8.1_3 sysutils =45 4.8.0_2Version of this port present on the latest quarterly branch.
- Maintainer: cy@FreeBSD.org
- Port Added: 2000-04-26 04:00:00
- Last Update: 2024-11-21 20:52:38
- Commit Hash: ca283be
- People watching this port, also watch:: sudo, wget, rsync, unzip, gettext
- License: GPLv2+ LGPL21+
- WWW:
- https://www.syslog-ng.org/
- Description:
- syslog-ng is an enhanced log daemon, supporting a wide range of input and
output methods: syslog, unstructured text, message queues, databases (SQL
and NoSQL alike) and more.
Key features:
* receive and send RFC3164 and RFC5424 style syslog messages
* work with any kind of unstructured data
* receive and send JSON formatted messages
* classify and structure logs with builtin parsers (csv-parser(),
db-parser(), ...)
* normalize, crunch and process logs as they flow through the system
* hand on messages for further processing using message queues (like
AMQP), files or databases (like PostgreSQL or MongoDB).
The official home page of syslog-ng is:
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- syslog-ng>0:sysutils/syslog-ng
- Conflicts:
- CONFLICTS:
- syslog-ng
- syslog-ng[0-9]
- syslog-ng[0-9][0-9]
- syslog-ng-devel
- eventlog*
- To install the port:
- cd /usr/ports/sysutils/syslog-ng/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/syslog-ng
- pkg install syslog-ng
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: syslog-ng
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1728033948
SHA256 (syslog-ng-4.8.1.tar.gz) = e8b8b98c60a5b68b25e3462c4104c35d05b975e6778d38d8a81b8ff7c0e64c5b
SIZE (syslog-ng-4.8.1.tar.gz) = 6956412
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- libtoolize : devel/libtool
- Library dependencies:
-
- libpcre2-8.so : devel/pcre2
- libuuid.so : misc/e2fsprogs-libuuid
- libivykis.so : devel/ivykis
- libcurl.so : ftp/curl
- libjson-c.so : devel/json-c
- libintl.so : devel/gettext-runtime
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for syslog-ng-4.8.1_3:
AMQP=off: Build with AMQP support
CURL=on: Build with Curl HTTP support
DOCS=on: Build and/or install documentation
GEOIP2=off: Build with geoip2 (MaxMindDB) support
GRPC=off: Build with experimental GRPC-based modules (OpenTelemetry, Loki, etc.)
IPV6=on: IPv6 protocol support
JAVA=off: Build with Java support (no modules)
JAVA_MOD=off: Build with Java modules (needs Maven / Internet access)
JSON=on: Build with JSON-C support
KAFKA=off: Build with Kafka (librdkafka) support
MONGO=off: MongoDB support
MQTT=off: Build with MQTT support
PYTHON=off: Build with Python 3.11 support
PYTHON_MOD=off: Build with Python modules (Kubernetes, Hyper, etc.)
REDIS=off: Build with Redis support
RIEMANN=off: Build with Riemann support
SMTP=off: Build with SMTP support
SNMPDEST=off: Build with SNMP destination (net-snmp) support
SPOOF=off: Build with spoof source support
SQL=off: Build with database (libdbi) support
TCP_WRAPPERS=off: Build with TCP Wrappers
===> Use 'make config' to modify these settings
- Options name:
- sysutils_syslog-ng
- USES:
- autoreconf:build compiler:c11 cpe gettext-runtime gmake gnome libtool pathfix pkgconfig python:build shebangfix ssl
- pkg-message:
- For install:
- syslog-ng is now installed! To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:
1. Create a configuration file named /usr/local/etc/syslog-ng.conf
(a sample named syslog-ng.conf.sample has been included in
/usr/local/etc). Note that this is a change in 2.0.2
version, previous ones put the config file in
/usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
move that file in the right place
2. Configure syslog-ng to start automatically by adding the following
to /etc/rc.conf:
syslog_ng_enable="YES"
3. Prevent the standard FreeBSD syslogd from starting automatically by
adding a line to the end of your /etc/rc.conf file that reads:
syslogd_enable="NO"
4. Shut down the standard FreeBSD syslogd:
kill `cat /var/run/syslog.pid`
5. Start syslog-ng:
/usr/local/etc/rc.d/syslog-ng start
- If upgrading from < 3.29.1:
- When upgrading from before 3.29.1 these variables, if used, should be replaced:
* syslog_ng_flags replaces syslog_ng_config (syslog_ng_config still works),
* syslog_ng_pidfile replaces syslog_ng_pid (syslog_ng_pid still works).
- Master Sites:
|