Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2016 09:33:57 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r426016 - branches/2016Q4/sysutils/rsyslog8
Message-ID:  <201611130933.uAD9Xv1R017891@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sun Nov 13 09:33:56 2016
New Revision: 426016
URL: https://svnweb.freebsd.org/changeset/ports/426016

Log:
  MFH: r425998
  
  recvmmsg(2) is buggy in 11.0-RELEASE, but not recent 11-STABLE or HEAD
  -- the consequence for rsyslog being that it does not record any log
  messages received via UDP to a log file.
  
  recvmmsg(2) fix was applied to HEAD in r307036 and MFC'd to 11-STABLE
  in r307311.  Therefore prevent configure testing for recvmmsg(2)
  before OSVERSION 1100504.  Note: this is a no-op for older releases
  than 11 -- recvmmsg(2) doesn't exist there.
  
  PR:		214428
  Reported by:	dch@skunkwerks.at
  
  Approved by:	ports-secteam (feld)

Modified:
  branches/2016Q4/sysutils/rsyslog8/Makefile
Directory Properties:
  branches/2016Q4/   (props changed)

Modified: branches/2016Q4/sysutils/rsyslog8/Makefile
==============================================================================
--- branches/2016Q4/sysutils/rsyslog8/Makefile	Sun Nov 13 09:25:51 2016	(r426015)
+++ branches/2016Q4/sysutils/rsyslog8/Makefile	Sun Nov 13 09:33:56 2016	(r426016)
@@ -2,6 +2,7 @@
 
 PORTNAME=	rsyslog
 PORTVERSION=	8.21.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.rsyslog.com/files/download/rsyslog/
 
@@ -120,6 +121,9 @@ post-patch:
 	@${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\
 		's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|'
 	@${REINPLACE_CMD} -e 's,/lib/rsyslog,${PREFIX}/lib/rsyslog,' ${WRKSRC}/tools/syslogd.c
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100504
+	@${REINPLACE_CMD} -e 's,recvmmsg ,,' ${WRKSRC}/configure.ac
+.endif
 	@${FIND} ${WRKSRC} -name '*.bak' -delete
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611130933.uAD9Xv1R017891>