Here's an update to rsyslog, this now requires libfastjson instead of
json-c (there was a refcounting bug in json-c resulting in some segfaults
seen in rsyslog) and I've written a port for liblogging-stdlog that
rsyslog wants to use.

I also have a port for liblognorm but there are some issues (including
a use-after-free) so I'm not sending that one out now.

Any tests / OKs for this and/or the two imports (devel/libfastjson and
sysutils/liblogging-stdlog)?


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/rsyslog/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile    15 Mar 2016 23:25:33 -0000      1.28
+++ Makefile    16 Mar 2016 17:34:35 -0000
@@ -8,7 +8,7 @@ COMMENT-pgsql =         PostgreSQL plugin for r
 
 MULTI_PACKAGES =       -main -mysql -pgsql
 
-V =                    8.16.0
+V =                    8.17.0
 DISTNAME =             rsyslog-$V
 PKGNAME-main =         rsyslog-$V
 PKGNAME-mysql =                rsyslog-mysql-$V
@@ -21,8 +21,9 @@ HOMEPAGE =            http://www.rsyslog.com/
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB-main +=                ${MODGETTEXT_WANTLIB}
-WANTLIB-main +=                c estr ffi gcrypt gmp gnutls gpg-error hogweed 
idn
-WANTLIB-main +=                json-c nettle p11-kit pthread relp tasn1 uuid z
+WANTLIB-main +=                c estr fastjson ffi gcrypt gmp gnutls gpg-error 
hogweed
+WANTLIB-main +=                idn logging-stdlog nettle p11-kit pthread relp 
tasn1
+WANTLIB-main +=                uuid z
 
 WANTLIB-mysql +=       crypto m mysqlclient pthread ssl stdc++ z
 
@@ -30,10 +31,11 @@ WANTLIB-pgsql +=    crypto pq ssl
 
 MODULES =              devel/gettext
 
-LIB_DEPENDS-main =     devel/json-c \
-                       devel/libestr>=0.1.2 \
+LIB_DEPENDS-main =     devel/libestr>=0.1.2 \
+                       devel/libfastjson \
                        security/libgcrypt \
                        security/gnutls \
+                       sysutils/liblogging-stdlog \
                        sysutils/librelp>=1.2.9
 # XXX should port to using libc UUID functions
 LIB_DEPENDS-main +=    sysutils/e2fsprogs
@@ -51,8 +53,7 @@ CONFIGURE_ARGS +=     --enable-pgsql \
                        --enable-mysql \
                        --enable-mail \
                        --enable-gnutls \
-                       --enable-relp \
-                       --disable-liblogging-stdlog
+                       --enable-relp
 CONFIGURE_ENV +=       CPPFLAGS="-I${LOCALBASE}/include"
 
 post-install:
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/rsyslog/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    15 Mar 2016 23:25:51 -0000      1.4
+++ distinfo    16 Mar 2016 17:34:35 -0000
@@ -1,2 +1,2 @@
-SHA256 (rsyslog-8.16.0.tar.gz) = T+T5fBCJkIbZi5QB1+jSvP9hx8P3zehieJHjb8bsG3Y=
-SIZE (rsyslog-8.16.0.tar.gz) = 2132012
+SHA256 (rsyslog-8.17.0.tar.gz) = 7B4ZtZZM+IqcBQjUOCSCRLcco1ln/kC4QpOPTOm6X7k=
+SIZE (rsyslog-8.17.0.tar.gz) = 2220523

Attachment: rsyslog-deps.tgz
Description: application/tar-gz

Reply via email to