Re: Porting some software to OpenBSD

2019-01-05 Thread Andreas Kusalananda Kähäri
On Sun, Jan 06, 2019 at 03:22:50AM +, Adam Steen wrote: > Hi All > > I have a question about string (printf) formatting. > > I have a variable > > 'uint64_t freq' > > which is printed with > > 'log(DEBUG, "Solo5: clock_init(): freq=%lu\n", freq);' > > but am getting the following error >

Re: console radeondrm default font change

2019-01-05 Thread lists
Sun, 6 Jan 2019 01:51:21 +0200 Mihai Popescu > > I am sure there are another beautiful things in OpenBSD, but I am > affraid I am not so advanced to see and understand them. > https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt

Re: Porting some software to OpenBSD

2019-01-05 Thread Philip Guenther
On Sat, Jan 5, 2019 at 7:25 PM Adam Steen wrote: > I have a question about string (printf) formatting. > > I have a variable > > 'uint64_t freq' > > which is printed with > > 'log(DEBUG, "Solo5: clock_init(): freq=%lu\n", freq);' > > but am getting the following error > > ' > error: format specif

Re: Porting some software to OpenBSD

2019-01-05 Thread Ted Unangst
Adam Steen wrote: > 'log(DEBUG, "Solo5: clock_init(): freq=%lu\n", freq);' > > but am getting the following error > > ' > error: format specifies type 'unsigned long' but the argument has type > 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] > freq); > ^~~~ > 1 erro

Re: Porting some software to OpenBSD

2019-01-05 Thread Theo de Raadt
Nathan Hartman wrote: > On Sat, Jan 5, 2019 at 10:27 PM Adam Steen wrote: > > > Hi All > > > > I have a question about string (printf) formatting. > > > > I have a variable > > > > 'uint64_t freq' > > > > which is printed with > > > > 'log(DEBUG, "Solo5: clock_init(): freq=%lu\n", freq);' > > >

Re: Porting some software to OpenBSD

2019-01-05 Thread Nathan Hartman
On Sat, Jan 5, 2019 at 10:27 PM Adam Steen wrote: > Hi All > > I have a question about string (printf) formatting. > > I have a variable > > 'uint64_t freq' > > which is printed with > > 'log(DEBUG, "Solo5: clock_init(): freq=%lu\n", freq);' > > but am getting the following error > > ' > error: f

Porting some software to OpenBSD

2019-01-05 Thread Adam Steen
Hi All I have a question about string (printf) formatting. I have a variable 'uint64_t freq' which is printed with 'log(DEBUG, "Solo5: clock_init(): freq=%lu\n", freq);' but am getting the following error ' error: format specifies type 'unsigned long' but the argument has type 'uint64_t' (a

Re: console radeondrm default font change

2019-01-05 Thread Mihai Popescu
On Sun, Jan 6, 2019 at 1:32 AM wrote: > > Fri, 4 Jan 2019 13:01:10 +0200 Mihai Popescu > > > > Is it done from radeon firmware or from a conf file? > > > > Hi Mihai, > > https://cvsweb.openbsd.org/src/sys/dev/wsfont/wsfont.c > $ ls -1 /usr/include/dev/wsfont > $ wsfontload -l > https://man.openbs

Re: vultr

2019-01-05 Thread edgar
On Sat, Jan 05, 2019 at 02:40:43PM -0800, Misc User wrote: > On 1/5/2019 2:22 PM, ed...@pettijohn-web.com wrote: > > I was thinking about spinning up a new instance on vultr to play with. > > They have an option to install OBSD 6.3/4. Has anyone tried these? I > > attempted the FBSD one in the past

Re: No network with latest snap (5jan-19)

2019-01-05 Thread Jonathan Gray
On Sat, Jan 05, 2019 at 03:39:34PM +0100, Christer Solskogen wrote: > On my APU2 I got no network with the latest snap. > > I get this in the console: > starting network > ifconfig: SIOCSETPFSYNC: Invalid argument > ifconfig: SIOCSVH: Invalid argument > ifconfig: SIOCSETPFSYNC: Invalid argument >

Re: console radeondrm default font change

2019-01-05 Thread John
Christian Weisgerber wrote: On 2019-01-04, Mihai Popescu wrote: Can someone tell me a font close to this to use for xterm in X? ports/fonts/spleen How could I configure my -current install to use this font in the console? Best regards, John

Re: console radeondrm default font change

2019-01-05 Thread lists
Fri, 4 Jan 2019 13:01:10 +0200 Mihai Popescu > > Is it done from radeon firmware or from a conf file? > Hi Mihai, https://cvsweb.openbsd.org/src/sys/dev/wsfont/wsfont.c $ ls -1 /usr/include/dev/wsfont $ wsfontload -l https://man.openbsd.org/wsfontload https://man.openbsd.org/wsdisplay Kind re

Re: vultr

2019-01-05 Thread Antonino Sidoti
Hi, I have two systems with Vultr (Sydney and Tokyo) and find them to be fine. True the default install using the automated Vultr 6.3/6.4 install will create two partitions and swap. I have installed one of my OpenBSD system using a custom install ISO OpenBSD 6.4 and with that I can do it whate

Re: vultr

2019-01-05 Thread Donald Cooley
On January 5, 2019 4:22:23 PM CST, ed...@pettijohn-web.com wrote: >I was thinking about spinning up a new instance on vultr to play with. >They have an option to install OBSD 6.3/4. Has anyone tried these? I >attempted the FBSD one in the past, but the default install was all >whacked out and I ha

Re: vultr

2019-01-05 Thread Misc User
On 1/5/2019 2:22 PM, ed...@pettijohn-web.com wrote: I was thinking about spinning up a new instance on vultr to play with. They have an option to install OBSD 6.3/4. Has anyone tried these? I attempted the FBSD one in the past, but the default install was all whacked out and I had to start over w

vultr

2019-01-05 Thread edgar
I was thinking about spinning up a new instance on vultr to play with. They have an option to install OBSD 6.3/4. Has anyone tried these? I attempted the FBSD one in the past, but the default install was all whacked out and I had to start over with a fresh install. Thanks, Edgar

Re: browser security in OpenBSD

2019-01-05 Thread Chris Bennett
On Sat, Jan 05, 2019 at 03:38:16PM +0200, Mihai Popescu wrote: > Hello, > > I see there is some work in Chromium to implement secure browsing. I > was using both Chromium and Firefox over the past years. If I got it > right, here is a summary of implementations: > Chromium: W^X, pledge, unveil > F

No network with latest snap (5jan-19)

2019-01-05 Thread Christer Solskogen
On my APU2 I got no network with the latest snap. I get this in the console: starting network ifconfig: SIOCSETPFSYNC: Invalid argument ifconfig: SIOCSVH: Invalid argument ifconfig: SIOCSETPFSYNC: Invalid argument OpenBSD 6.4-current (GENERIC.MP) #562: Sat Jan 5 04:37:18 MST 2019 dera...@amd

browser security in OpenBSD

2019-01-05 Thread Mihai Popescu
Hello, I see there is some work in Chromium to implement secure browsing. I was using both Chromium and Firefox over the past years. If I got it right, here is a summary of implementations: Chromium: W^X, pledge, unveil Firefox: W^X I don't want to start a brosers' war, but what is best to run st

Re: Request for testing

2019-01-05 Thread Otto Moerbeek
On Fri, Jan 04, 2019 at 06:42:18PM +0100, Otto Moerbeek wrote: > On Fri, Jan 04, 2019 at 06:31:50PM +0200, Mihai Popescu wrote: > > > > 2. Apply diff, build and install userland. > > Is Xenocara/X considered as userland? > > > > > MALLOC_OPTIONS=++ chrome > > Do one needs to compile chromium por

Re: Advice on Security Cameras

2019-01-05 Thread Paolo Aglialoro
Hi, zoneminder is, as Stuart said, overcomplicated, plus unmantained and unable to catch the more modern streams from IP cams. The best free alternative is SHINOBI https://shinobi.video which is based on java and ported on linux, mac and wi(n)dows, I do not know it it would be feasible an OpenBSD