svn commit: r373224 - in head/sysutils/rsyslog8: . files
Brad Davis
brd at FreeBSD.org
Mon Nov 24 17:00:25 UTC 2014
Author: brd (doc committer)
Date: Mon Nov 24 17:00:23 2014
New Revision: 373224
URL: https://svnweb.freebsd.org/changeset/ports/373224
QAT: https://qat.redports.org/buildarchive/r373224/
Log:
Enable the omprog output module by default.
PR: 195046
Submitted by: rand at iteris.com
Approved by: zi
Added:
head/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c (contents, props changed)
Modified:
head/sysutils/rsyslog8/Makefile
head/sysutils/rsyslog8/pkg-plist
Modified: head/sysutils/rsyslog8/Makefile
==============================================================================
--- head/sysutils/rsyslog8/Makefile Mon Nov 24 16:21:24 2014 (r373223)
+++ head/sysutils/rsyslog8/Makefile Mon Nov 24 17:00:23 2014 (r373224)
@@ -2,6 +2,7 @@
PORTNAME= rsyslog
PORTVERSION= 8.4.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
@@ -135,7 +136,7 @@ CFLAGS+= ${CPPFLAGS}
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
-CONFIGURE_ARGS+= --enable-imfile --enable-mail --enable-imdiag --enable-impstats --enable-omstdout --enable-cached-man-pages --disable-testbench
+CONFIGURE_ARGS+= --enable-cached-man-pages --enable-imdiag --enable-imfile --enable-impstats --enable-mail --enable-omprog --enable-omstdout --disable-testbench
post-patch:
@${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
@@ -146,7 +147,7 @@ post-patch:
@${FIND} ${WRKSRC} -name '*.bak' -delete
post-install:
-.for l in lmregexp lmzlibw lmnet lmnetstrms lmstrmsrv lmnsd_ptcp lmcry_gcry lmtcpsrv lmtcpclt immark imuxsock imtcp imudp omtesting imklog impstats omstdout imfile imdiag ommail
+.for l in imdiag imfile imklog immark impstats imtcp imudp imuxsock lmcry_gcry lmnet lmnetstrms lmnsd_ptcp lmregexp lmstrmsrv lmtcpclt lmtcpsrv lmzlibw mmexternal ommail omprog omstdout omtesting
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/rsyslog/${l}.so
.endfor
Added: head/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c Mon Nov 24 17:00:23 2014 (r373224)
@@ -0,0 +1,11 @@
+--- plugins/omprog/omprog.c.orig 2014-11-15 15:26:55.633028880 -0600
++++ plugins/omprog/omprog.c 2014-11-15 15:27:01.695054590 -0600
+@@ -36,7 +36,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <pthread.h>
+ #include "conf.h"
+ #include "syslogd-types.h"
Modified: head/sysutils/rsyslog8/pkg-plist
==============================================================================
--- head/sysutils/rsyslog8/pkg-plist Mon Nov 24 16:21:24 2014 (r373223)
+++ head/sysutils/rsyslog8/pkg-plist Mon Nov 24 17:00:23 2014 (r373224)
@@ -17,6 +17,7 @@ lib/rsyslog/lmtcpsrv.so
lib/rsyslog/lmzlibw.so
lib/rsyslog/mmexternal.so
lib/rsyslog/ommail.so
+lib/rsyslog/omprog.so
lib/rsyslog/omstdout.so
lib/rsyslog/omtesting.so
man/man5/rsyslog.conf.5.gz
More information about the svn-ports-all
mailing list