On 02/18/16 20:39, Henrik Friedrichsen wrote:
> Stephen has just pointed out that prosodyctl also requires the
> workaround (obviously).
>
> Should we include this?
>
I think this should go in, ok giovanni@
Cheers
Giovanni
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/prosody/Makefile,v
> retrieving revision 1.40
> diff -u -p -r1.40 Makefile
> --- Makefile 16 Feb 2016 21:42:43 -0000 1.40
> +++ Makefile 18 Feb 2016 19:38:07 -0000
> @@ -4,7 +4,7 @@ SHARED_ONLY= Yes
>
> COMMENT= communications server for Jabber/XMPP written in Lua
> DISTNAME= prosody-0.9.10
> -REVISION= 0
> +REVISION= 1
> CATEGORIES= net
> MASTER_SITES= http://prosody.im/downloads/source/
>
> Index: pkg/README
> ===================================================================
> RCS file: /cvs/ports/net/prosody/pkg/README,v
> retrieving revision 1.9
> diff -u -p -r1.9 README
> --- pkg/README 16 Feb 2016 21:42:43 -0000 1.9
> +++ pkg/README 18 Feb 2016 19:38:07 -0000
> @@ -46,3 +46,7 @@ Using Prosody in an OpenBSD environment
> For MySQL/MariaDB, also add the following to /etc/login.conf:
>
> prosody:setenv=LD_PRELOAD=/usr/lib/libpthread.so:tc=daemon:
> +
> + A similar workaround is required for prosodyctl, e.g. to add an account
> use:
> +
> + LD_PRELOAD=/usr/lib/libpthread.so prosodyctl adduser joe
>