ports/sysutils/syslog-ng/files/pkg-message.in
Cy Schubert 71e03d424b This is commit two of a two commit set:
Reduce supported syslog-ng ports to the latest syslog-ng supported by
our upstream, oniedentity.com. Upstream does not officially support
earlier releases. This commit reduces unofficial support expectations
and allows us to rely totally on upstream for support.

This commit copies syslog-ng from syslog-ng329, which contains the full
history of the syslog-ng family of ports. Whereas syslog-ng became a
meta-port many moons ago to support multiple versions of syslog-ng in
the tree. We will only support syslog-ng supported by our upstream.

Discussed wth:  Peter Czanik (CzP) <peter.czanik@oneidentity.com>
                Balabit (a OneIdentity company) / syslog-ng upstream
2020-11-09 05:07:47 +00:00

41 lines
1.2 KiB
Text

[
{ type: install
message: <<EOM
syslog-ng is now installed! To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:
1. Create a configuration file named %%PREFIX%%/etc/syslog-ng.conf
(a sample named syslog-ng.conf.sample has been included in
%%PREFIX%%/etc). Note that this is a change in 2.0.2
version, previous ones put the config file in
%%PREFIX%%/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:
%%PREFIX%%/etc/rc.d/syslog-ng start
EOM
}
{ type: upgrade
maximum_version: "3.29.1"
message: <<EOM
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).
EOM
}
]