From owner-svn-ports-all@freebsd.org Sat Nov 12 22:52:37 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FCA8C3BA48; Sat, 12 Nov 2016 22:52:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 518221672; Sat, 12 Nov 2016 22:52:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uACMqat9062189; Sat, 12 Nov 2016 22:52:36 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uACMqaRp062188; Sat, 12 Nov 2016 22:52:36 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201611122252.uACMqaRp062188@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Sat, 12 Nov 2016 22:52:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425998 - head/sysutils/rsyslog8 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2016 22:52:37 -0000 Author: matthew Date: Sat Nov 12 22:52:36 2016 New Revision: 425998 URL: https://svnweb.freebsd.org/changeset/ports/425998 Log: 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 MFH: 2016Q4 Modified: head/sysutils/rsyslog8/Makefile Modified: head/sysutils/rsyslog8/Makefile ============================================================================== --- head/sysutils/rsyslog8/Makefile Sat Nov 12 22:23:32 2016 (r425997) +++ head/sysutils/rsyslog8/Makefile Sat Nov 12 22:52:36 2016 (r425998) @@ -2,6 +2,7 @@ PORTNAME= rsyslog PORTVERSION= 8.22.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