add MySQL notes to README (it needs LD_PRELOAD libpthread).

ok Henrik Friedrichsen (maintainer), giovanni@
This commit is contained in:
sthen 2016-02-16 21:42:43 +00:00
parent 370a9fb9c0
commit 77ccadae1a
2 changed files with 8 additions and 3 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.39 2016/01/29 12:13:55 sthen Exp $
# $OpenBSD: Makefile,v 1.40 2016/02/16 21:42:43 sthen Exp $
SHARED_ONLY= Yes
COMMENT= communications server for Jabber/XMPP written in Lua
DISTNAME= prosody-0.9.10
REVISION= 0
CATEGORIES= net
MASTER_SITES= http://prosody.im/downloads/source/

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.8 2015/08/23 11:01:49 jca Exp $
$OpenBSD: README,v 1.9 2016/02/16 21:42:43 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -39,6 +39,10 @@ Using Prosody in an OpenBSD environment
# ${TRUEPREFIX}/sbin/prosodyctl adduser username@domain.tld
5) In case you decide to enable 'mod_storage_sql', the default SQLite3
driver has already been installed. If you like to use MySQL or
driver has already been installed. If you like to use MySQL/MariaDB or
PostgreSQL for the database, please install luadbi-mysql,${FLAVOR}
or luadbi-pgsql,${FLAVOR} respectively.
For MySQL/MariaDB, also add the following to /etc/login.conf:
prosody:setenv=LD_PRELOAD=/usr/lib/libpthread.so:tc=daemon: