pkgsrc-Users archive

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

Re: syslog-ng update



Hi!

I did not disable SNMP, I left it as-is (there was no SNMP support in
the package).

I've now added a separate syslog-ng-snmp module based on Chavdar's suggestions.

Cheers,
 Thomas


On Fri, Sep 17, 2021 at 10:14:17AM +0000, Peter Czanik (pczanik) wrote:
> Hi Chavdar,
> 
> Thanks! I tested some of the sub-packages, but not all of them 😕 As far as I could see from https://pkgsrc.se/sysutils/syslog-ng Thomas disabled SNMP for now.
> 
> 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
> 
> ________________________________
> From: Chavdar Ivanov <ci4ic4%gmail.com@localhost>
> Sent: Friday, September 17, 2021 00:25
> To: Peter Czanik (pczanik) <Peter.Czanik%oneidentity.com@localhost>
> Cc: pkgsrc-users%NetBSD.org@localhost <pkgsrc-users%netbsd.org@localhost>
> Subject: Re: syslog-ng update
> 
> CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.
> 
> 
> On Thu, 16 Sept 2021 at 20:10, Peter Czanik (pczanik)
> <Peter.Czanik%oneidentity.com@localhost> wrote:
> >
> > Hi,
> >
> > According to https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcvsweb.netbsd.org%2Fbsdweb.cgi%2Fpkgsrc%2Fsysutils%2Fsyslog-ng%2FMakefile.common%3Frev%3D1.18%26content-type%3Dtext%2Fx-cvsweb-markup&amp;data=04%7C01%7CPeter.Czanik%40oneidentity.com%7C0ddf80bb30ba480814b708d97960db67%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637674279175212726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=tcDhLq94%2B1EkIi%2F4bm6SXfBCEm21smyrxW%2Fyw%2FufDZQ%3D&amp;reserved=0 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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fczanik%2Fnetbsd&amp;data=04%7C01%7CPeter.Czanik%40oneidentity.com%7C0ddf80bb30ba480814b708d97960db67%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637674279175212726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=NlWRtXyu4uxG4A2d%2FNiZ1FHU%2BbhFhJnZcxa%2FgaSv3vY%3D&amp;reserved=0 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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsyslog-ng.com%2Fcommunity%2F&amp;data=04%7C01%7CPeter.Czanik%40oneidentity.com%7C0ddf80bb30ba480814b708d97960db67%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637674279175212726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=kEZxxhyqx5qsEHGcyEkysVM%2FeYCc3P26j2FxDN4XJbQ%3D&amp;reserved=0
> > https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FPCzanik&amp;data=04%7C01%7CPeter.Czanik%40oneidentity.com%7C0ddf80bb30ba480814b708d97960db67%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637674279175212726%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&amp;sdata=dYaEhRTC96wCluH4sfyUaI7S2kYxoGSjRgQ%2FUk93S2E%3D&amp;reserved=0
> >
> 
> 
> --
> ----


Home | Main Index | Thread Index | Old Index