Enable the omprog output module by default.
PR: 195046 Submitted by: rand@iteris.com Approved by: zi
This commit is contained in:
parent
0e64ad403b
commit
f93118816d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373224
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= rsyslog
|
PORTNAME= rsyslog
|
||||||
PORTVERSION= 8.4.2
|
PORTVERSION= 8.4.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
|
MASTER_SITES= http://www.rsyslog.com/files/download/rsyslog/
|
||||||
|
|
||||||
@ -135,7 +136,7 @@ CFLAGS+= ${CPPFLAGS}
|
|||||||
USE_RC_SUBR= ${PORTNAME}d
|
USE_RC_SUBR= ${PORTNAME}d
|
||||||
SUB_FILES= pkg-message
|
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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
|
@${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
|
||||||
@ -146,7 +147,7 @@ post-patch:
|
|||||||
@${FIND} ${WRKSRC} -name '*.bak' -delete
|
@${FIND} ${WRKSRC} -name '*.bak' -delete
|
||||||
|
|
||||||
post-install:
|
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
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/rsyslog/${l}.so
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
11
sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c
Normal file
11
sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c
Normal file
@ -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"
|
@ -17,6 +17,7 @@ lib/rsyslog/lmtcpsrv.so
|
|||||||
lib/rsyslog/lmzlibw.so
|
lib/rsyslog/lmzlibw.so
|
||||||
lib/rsyslog/mmexternal.so
|
lib/rsyslog/mmexternal.so
|
||||||
lib/rsyslog/ommail.so
|
lib/rsyslog/ommail.so
|
||||||
|
lib/rsyslog/omprog.so
|
||||||
lib/rsyslog/omstdout.so
|
lib/rsyslog/omstdout.so
|
||||||
lib/rsyslog/omtesting.so
|
lib/rsyslog/omtesting.so
|
||||||
man/man5/rsyslog.conf.5.gz
|
man/man5/rsyslog.conf.5.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user