Re: mosquitto with websockets enabled?

2020-11-25 Thread Jeff Ross
On 11/25/20 3:03 PM, Stuart Henderson wrote: [moved to ports@ and cc'ing mosquitto maintainer] In gmane.os.openbsd.misc, Jeff Ross wrote: Greetings, I've been trying to build mosquitto with websockets enabled on 6.8 release.  The web says that all I should have to do is edit config.mk and

Re: Reinstall to upgrade

2020-11-25 Thread Navan Carson
> On Nov 25, 2020, at 2:15 PM, Manuel Giraud wrote: > > I have one (somewhat) related question left: is possible to capture the > output of pkg_delete -an in a file? I tried the following (without > luck): > $ pkg_delete -an > /tmp/foo > $ pkg_delete -an > /tmp/foo 2>&1

Re: Security & Compliance - A/V

2020-11-25 Thread Brogan Beard
Thanks, John. I am going to look into ClamAV in detail as some homework for myself. I appreciate the helpful pointers! On Wed, Nov 25, 2020 at 5:46 PM John McGuigan wrote: > I've seen people install ClamAV on an OpenBSD box and have it do a > filesystem scan on a cron job just to meet audit

Re: Security & Compliance - A/V

2020-11-25 Thread Brogan Beard
Peter, Thank you. I was unaware of clamav support and will certainly look into your linked documentation to better understand it's use case and qualifications. I did know about clamav in name alone but never set out to learn how to implement it. I will certainly read through documentation based

Re: Reinstall to upgrade

2020-11-25 Thread Alexander Hall
On November 25, 2020 11:09:02 PM GMT+01:00, Stuart Henderson wrote: >On 2020-11-25, Manuel Giraud wrote: >> I have one (somewhat) related question left: is possible to capture >the >> output of pkg_delete -an in a file? I tried the following (without >> luck): >>$ pkg_delete -an

Re: Security & Compliance - A/V

2020-11-25 Thread John McGuigan
I've seen people install ClamAV on an OpenBSD box and have it do a filesystem scan on a cron job just to meet audit requirements... On Wed, Nov 25, 2020 at 3:23 PM Brogan Beard wrote: > > In the enterprise context, there are often extensive security compliance > rules, which include but are not

Re: Security & Compliance - A/V

2020-11-25 Thread Peter Nicolai Mathias Hansteen
> 25. nov. 2020 kl. 23:10 skrev Brogan Beard : > > In the enterprise context, there are often extensive security compliance > rules, which include but are not limited to anti-virus software > requirements. There are, of course, exceptions to these rules but generally > policies drive the

Re: Reinstall to upgrade

2020-11-25 Thread Stuart Henderson
On 2020-11-25, Chris Bennett wrote: > On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote: >> Hi, >> >> I'd like to upgrade (on -current) and, in the process, remove some cruft >> accumulated over the years. I usually do sysupgrade and sysclean for >> system. >> >> But for packages, I

Security & Compliance - A/V

2020-11-25 Thread Brogan Beard
In the enterprise context, there are often extensive security compliance rules, which include but are not limited to anti-virus software requirements. There are, of course, exceptions to these rules but generally policies drive the technology in use or allow it to be used. I am not aware of any

Re: Reinstall to upgrade

2020-11-25 Thread Stuart Henderson
On 2020-11-25, Manuel Giraud wrote: > I have one (somewhat) related question left: is possible to capture the > output of pkg_delete -an in a file? I tried the following (without > luck): >$ pkg_delete -an > /tmp/foo Here you redirect stdout from the process to /tmp/foo >

Re: mosquitto with websockets enabled?

2020-11-25 Thread Stuart Henderson
On 2020-11-25, Jeff Ross wrote: > I've been trying to build mosquitto with websockets enabled on 6.8 > release. For the benefit of misc@ readers, I've replied on ports@.

Re: Reinstall to upgrade

2020-11-25 Thread Manuel Giraud
Chris Bennett writes: [...] > Sometimes you just have to do tedious. upgrade vs install does not give > you the same system. I almost never do a fresh install, but every once > in a while, it's a good choice. > Hope this is helpful. Others may give different or better advice. > sysupgrade is a

Re: Reinstall to upgrade

2020-11-25 Thread Chris Bennett
On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote: > Hi, > > I'd like to upgrade (on -current) and, in the process, remove some cruft > accumulated over the years. I usually do sysupgrade and sysclean for > system. > > But for packages, I think I would be better to reinstall

mosquitto with websockets enabled?

2020-11-25 Thread Jeff Ross
Greetings, I've been trying to build mosquitto with websockets enabled on 6.8 release.  The web says that all I should have to do is edit config.mk and change WITH_WEBSOCKETS:=no to WITH_WEBSOCKETS:=yes. I also added libwebsockets from ports. I built a patch to do that and then built the

Re: OpenBSD + Firebird Server

2020-11-25 Thread Radek
> Assuming you mean the SQL database, Yes, I mean Firebird SQL db. > Firebird required pthread_condattr_setpshared > and pthread_mutexattr_setpshared, which OpenBSD doesn't implement. Does anybody know if there is a plan to implement it? On Tue, 24 Nov 2020 21:37:51 -0800 Jeremy Evans wrote: >

Re: Reinstall to upgrade

2020-11-25 Thread Manuel Giraud
Sebastien Marie writes: > looks at the output of: > # pkg_delete -a -n That was quick! Thanks to both of you. -- Manuel Giraud

Re: Reinstall to upgrade

2020-11-25 Thread Sebastien Marie
On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote: > Hi, > > I'd like to upgrade (on -current) and, in the process, remove some cruft > accumulated over the years. I usually do sysupgrade and sysclean for > system. > > But for packages, I think I would be better to reinstall

Re: Reinstall to upgrade

2020-11-25 Thread Navan Carson
> On Nov 25, 2020, at 6:29 AM, Manuel Giraud wrote: > > I think I could do the following but I don't know if it is safe: >- sysupgrade (+ sysclean) >- pkg_info -mz > mypkg >- umount /usr/local >- newfs partition_of_usr_local >- mount /usr/local >

Reinstall to upgrade

2020-11-25 Thread Manuel Giraud
Hi, I'd like to upgrade (on -current) and, in the process, remove some cruft accumulated over the years. I usually do sysupgrade and sysclean for system. But for packages, I think I would be better to reinstall everything since "pkg_check -F" does not seems to complain and I can see I have, for