aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2014-11-24 17:00:23 +0000
committerBrad Davis <brd@FreeBSD.org>2014-11-24 17:00:23 +0000
commitf93118816df27ae9bcd50115eccfe0cf27f9c24d (patch)
tree692bd0c98c40c0a80f63ba140a5340422ca9be86 /sysutils
parent0e64ad403b88d478a0d6be136e330d0d9fe31a16 (diff)
downloadports-f93118816df27ae9bcd50115eccfe0cf27f9c24d.tar.gz
ports-f93118816df27ae9bcd50115eccfe0cf27f9c24d.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rsyslog8/Makefile5
-rw-r--r--sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c11
-rw-r--r--sysutils/rsyslog8/pkg-plist1
3 files changed, 15 insertions, 2 deletions
diff --git a/sysutils/rsyslog8/Makefile b/sysutils/rsyslog8/Makefile
index 98327d2baabb..014efc5aa6da 100644
--- a/sysutils/rsyslog8/Makefile
+++ b/sysutils/rsyslog8/Makefile
@@ -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
diff --git a/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c b/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c
new file mode 100644
index 000000000000..6172284f0538
--- /dev/null
+++ b/sysutils/rsyslog8/files/patch-plugins__omprog__omprog.c
@@ -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"
diff --git a/sysutils/rsyslog8/pkg-plist b/sysutils/rsyslog8/pkg-plist
index 1d25ca31f6ce..34ea12a7a9a4 100644
--- a/sysutils/rsyslog8/pkg-plist
+++ b/sysutils/rsyslog8/pkg-plist
@@ -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