Re: zabbix 3.2.3
Hey, Nice work on the Zabbix port!. I use it and it works well. I'd like to send monitored data encrypted to the Zabbix server, but noticed that it's not compiled with TLS support (--with-openssl). I tried to compile --with-openssl but LibreSSL doesn't support PSK identities, atleast not in a compatible way to OpenSSL. Do you know a solution for this? -- Kind regards, Hiltjo
UPDATE: www/stagit 0.5
Hi, This bumps the version from 0.4 to 0.5. The release contains bugfixes and documentation improvements. Previous patches still apply cleanly. diff --git a/www/stagit/Makefile b/www/stagit/Makefile index 042f12dafaf..02ef03d2b29 100644 --- a/www/stagit/Makefile +++ b/www/stagit/Makefile @@ -2,7 +2,7 @@ COMMENT = static git page generator -DISTNAME = stagit-0.4 +DISTNAME = stagit-0.5 CATEGORIES = www diff --git a/www/stagit/distinfo b/www/stagit/distinfo index ded515e1694..00c42ff2d9c 100644 --- a/www/stagit/distinfo +++ b/www/stagit/distinfo @@ -1,2 +1,2 @@ -SHA256 (stagit-0.4.tar.gz) = 7MfjrDSXSa+vTVj9N+GmbGth2sISksiI+Nq6jLkBuXw= -SIZE (stagit-0.4.tar.gz) = 15461 +SHA256 (stagit-0.5.tar.gz) = pkj1Lviwkh3+qHpcaq3LK7pbXqgB4lEeg0N8YT9voXo= +SIZE (stagit-0.5.tar.gz) = 15497 -- Kind regards, Hiltjo
Re: x11/slock: clear passwords with explicit_bzero
On Sat, Jul 30, 2016 at 06:07:57PM +0200, Theo Buehler wrote: > Currently, slock only clears the entered passwd buffer as part of > auth_userokay(3). If the user aborts the password entry with ESC or > clears the entered password with multiple backspaces, a cleartext > copy of the entered password is kept in memory. Use explicit_bzero() > to avoid this. > > While there, add __dead and printf attributes to the die() function. > > > I've been running with this patch for quite a while (> 3 months) with no > issues on amd64 and macppc. > > The port runs just fine, but when I compile it, I get the following > warning which I don't know how to fix properly: > > CFLAGS = -O2 -pipe -std=c99 -pedantic -Wall -I/usr/X11R6/include > -DVERSION="1.3" -DHAVE_BSD_AUTH > LDFLAGS = -L/usr/X11R6/lib -lX11 -lXext -lXrandr > CC = cc > creating config.h from config.def.h > cc -c -O2 -pipe -std=c99 -pedantic -Wall -I/usr/X11R6/include > -DVERSION=\"1.3\" -DHAVE_BSD_AUTH slock.c > In file included from /usr/X11R6/include/X11/Xlib.h:47, > from /usr/X11R6/include/X11/extensions/Xrender.h:28, > from /usr/X11R6/include/X11/extensions/Xrandr.h:33, > from slock.c:16: > /usr/X11R6/include/X11/Xfuncproto.h:159:24: warning: ISO C does not permit > named variadic macros > slock.c: In function 'readpw': > slock.c:175: warning: implicit declaration of function 'explicit_bzero' > > Could someone help me with fixing that, please? > > > Index: Makefile > === > RCS file: /cvs/ports/x11/slock/Makefile,v > retrieving revision 1.14 > diff -u -p -r1.14 Makefile > --- Makefile 6 Jul 2016 21:34:15 - 1.14 > +++ Makefile 30 Jul 2016 15:55:05 - > @@ -3,7 +3,7 @@ > COMMENT= simple X screen locker > > DISTNAME=slock-1.3 > -REVISION=0 > +REVISION=1 > > CATEGORIES= x11 > > Index: patches/patch-slock_c > === > RCS file: patches/patch-slock_c > diff -N patches/patch-slock_c > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-slock_c 30 Jul 2016 15:55:05 - > @@ -0,0 +1,33 @@ > +$OpenBSD$ > +--- slock.c.orig Fri Feb 12 20:29:02 2016 > slock.c Sat Jul 30 17:54:15 2016 > +@@ -47,7 +47,7 @@ static Bool rr; > + static int rrevbase; > + static int rrerrbase; > + > +-static void > ++static void __attribute__((__noreturn__, __format__(printf, 1, 2))) > + die(const char *errstr, ...) > + { > + va_list ap; > +@@ -172,10 +172,12 @@ readpw(Display *dpy, const char *pws) > + break; > + case XK_Escape: > + len = 0; > ++explicit_bzero(passwd, sizeof(passwd)); > + break; > + case XK_BackSpace: > + if (len) > + --len; > ++explicit_bzero(passwd + len, 1); > + break; > + default: > + if (num && !iscntrl((int)buf[0]) && (len + num > < sizeof(passwd))) { > +@@ -185,6 +187,7 @@ readpw(Display *dpy, const char *pws) > + break; > + } > + color = len ? INPUT : (failure || failonclear ? FAILED > : INIT); > ++explicit_bzero(buf, sizeof(buf)); > + if (running && oldc != color) { > + for (screen = 0; screen < nscreens; screen++) { > + XSetWindowBackground(dpy, > locks[screen]->win, locks[screen]->colors[color]); > Hi, A patch to change this has been applied to upstream slock (latest git), see: http://git.suckless.org/slock/commit/?id=a7afade1701a809f6a33b53525d59dd29b38d381 I have imported explicit_bzero.c from libressl-portable. Let me know if you find any issues with the patch. -- Kind regards, Hiltjo
Re: Small nuisance with HTML5 videos (YouTube) and sndio
On Fri, Jul 01, 2016 at 10:06:59AM +0200, David Coppa wrote: > > ... snip ... snip ... > > $ aucatctl firefox0 > firefox0=80 > > ... > > $ aucatctl firefox0 > firefox0=84 > > Until you force it back to normal using 'aucatctl firefox0=127'. > > This is with both firefox-47.0 (from ports) and firefox-48.0beta4 > (the package from landry@). > > Are you seeing this behavior? > Suggestions? > Can confirm, I also noticed this behaviour, but don't have a solution though. -- Kind regards, Hiltjo
[update] www/stagit to 0.4
Hi, This diff updates stagit to 0.4. Changelog for stagit: - Submodule support (fixes issue with submodules vs 0.3.1 too) and link to .gitmodules file. - Support for pledge(2): -DUSE_PLEDGE option. - Cache support (-c flag) and optimizations. - Usual bugfixes, see log at: http://git.2f30.org/stagit/ Diff: Index: Makefile === RCS file: /cvs/ports/www/stagit/Makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Makefile --- Makefile26 Apr 2016 13:53:10 - 1.1.1.1 +++ Makefile7 May 2016 14:10:40 - @@ -2,7 +2,7 @@ COMMENT = static git page generator -DISTNAME = stagit-0.3.1 +DISTNAME = stagit-0.4 CATEGORIES = www Index: distinfo === RCS file: /cvs/ports/www/stagit/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo26 Apr 2016 13:53:10 - 1.1.1.1 +++ distinfo7 May 2016 14:10:40 - @@ -1,2 +1,2 @@ -SHA256 (stagit-0.3.1.tar.gz) = Oi2+5vfodAmb0qPOaCYokALYBBqK7AMB06hMkYQzCsA= -SIZE (stagit-0.3.1.tar.gz) = 14143 +SHA256 (stagit-0.4.tar.gz) = 7MfjrDSXSa+vTVj9N+GmbGth2sISksiI+Nq6jLkBuXw= +SIZE (stagit-0.4.tar.gz) = 15461 Index: patches/patch-config_mk === RCS file: patches/patch-config_mk diff -N patches/patch-config_mk --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-config_mk 7 May 2016 14:10:40 - @@ -0,0 +1,8 @@ +--- config.mk.orig Sat May 7 16:08:47 2016 config.mk Sat May 7 16:08:52 2016 +@@ -29,4 +29,4 @@ + CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} + + # OpenBSD 5.9+: use pledge(2) +-#CPPFLAGS += -DUSE_PLEDGE ++CPPFLAGS += -DUSE_PLEDGE -- Kind regards, Hiltjo