pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: syslog-ng update



On Thu, 16 Sept 2021 at 20:10, Peter Czanik (pczanik)
<Peter.Czanik%oneidentity.com@localhost> wrote:
>
> Hi,
>
> According to http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/syslog-ng/Makefile.common?rev=1.18&content-type=text/x-cvsweb-markup you are the current maintainer of the syslog-ng port in pkgsrc.
>
> Recently I tested syslog-ng on NetBSD. My colleagues fixed a bug I found (the tcp() source now works as expected), and I helped to upstream a patch from pkgsrc, so system() source automatically configures now log sources on NetBSD. I even prepared an update for pkgsrc. Tested in a virtual machine on AMD64 running NetBSD 9.2. My update is available at https://github.com/czanik/netbsd I'm not sure if it complies with all pkgsrc rules, but it works. And this version of syslog-ng works a lot better than 3.17, currently available in pkgsrc.
>
> Could you check my update and commit it to pkgsrc?

Apparently it has been updated today to syslog-ng-3.34.1; I just
needed a small patch for net/net-snmp:
.....
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/syslog-ng/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile 16 Sep 2021 12:02:12 -0000 1.41
+++ Makefile 16 Sep 2021 22:21:34 -0000
@@ -47,4 +47,5 @@

 .include "../../security/tcp_wrappers/buildlink3.mk"
 .include "../../textproc/json-c/buildlink3.mk"
+.include "../../net/net-snmp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/syslog-ng/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
--- PLIST 16 Sep 2021 09:22:47 -0000 1.18
+++ PLIST 16 Sep 2021 22:21:34 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2021/09/16 09:22:47 wiz Exp $
+@comment $NetBSD$
 bin/dqtool
 bin/loggen
 bin/pdbtool
@@ -262,6 +262,7 @@
 lib/syslog-ng/libadd-contextual-data.la
 lib/syslog-ng/libaffile.la
 lib/syslog-ng/libafprog.la
+lib/syslog-ng/libafsnmp.la
 lib/syslog-ng/libafsocket.la
 lib/syslog-ng/libafstomp.la
 lib/syslog-ng/libafuser.la
@@ -283,7 +284,6 @@
 lib/syslog-ng/libmap-value-pairs.la
 lib/syslog-ng/libpseudofile.la
 lib/syslog-ng/libregexp-parser.la
-${PLIST.systemd}lib/syslog-ng/libsdjournal.la
 lib/syslog-ng/libsecure-logging.la
 lib/syslog-ng/libstardate.la
 lib/syslog-ng/libsyslogformat.la
@@ -370,3 +370,4 @@
 share/syslog-ng/xsd/patterndb-3.xsd
 share/syslog-ng/xsd/patterndb-4.xsd
 share/syslog-ng/xsd/patterndb-5.xsd
+@pkgdir share/examples/syslog-ng/patterndb.d

...

>
> Thanks,
> Peter
>
> Peter Czanik (CzP) <peter.czanik%oneidentity.com@localhost>
> Balabit (a OneIdentity company) / syslog-ng upstream
> https://syslog-ng.com/community/
> https://twitter.com/PCzanik
>


-- 
----


Home | Main Index | Thread Index | Old Index