1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Revert r555726: Support RFC5424/IETF syslog format.

There is a better way to support RFC5424/IETF syslog format implemented
in 12-STABLE, 13-STABLE, and 14-CURRENT.

PR:		252613
Reported by:	Boris Korzun <drtr0jan@yandex.ru>
Reviewed by:	Peter Czanik (CzP) <peter.czanik@oneidentity.com>
		Balabit (a OneIdentity company) / syslog-ng upstream
This commit is contained in:
Cy Schubert 2021-02-04 14:24:32 +00:00
parent a2980c0e84
commit 04a7b4be81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564027
2 changed files with 3 additions and 9 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= syslog-ng
DISTVERSION= 3.30.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${DISTVERSION}/
@ -226,13 +226,8 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/doc/man/*.5 ${STAGEDIR}${PREFIX}/man/man5/
${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${PREFIX}/man/man8/
.if ${OSVERSION} > 1200000
${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \
${STAGEDIR}${PREFIX}/etc
.else
${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample.11 \
${STAGEDIR}${PREFIX}/etc/syslog-ng.conf.sample
.endif
${INSTALL_DATA} ${WRKSRC}/scl/syslog-ng.conf.dist \
${WRKSRC}/scl/scl.conf.sample ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/lib/ivykis/src/include/iv*.h \

View File

@ -16,9 +16,8 @@ options { chain_hostnames(off); flush_lines(0); threaded(yes); };
#
# sources
#
source src { unix-dgram("/var/run/log" flags(syslog-protocol));
file("/dev/klog" flags(kernel) program_override("kernel: "));
internal(); };
source src { system();
udp(); internal(); };
#
# destinations