When installing net-im/prosody from pkg or ports: New packages to be INSTALLED: prosody: 0.9.4_1 lua51-luaexpat: 1.3.0 lua51-luasec: 0.5 lua51-luasocket: 3.0r1 lua51: 5.1.5_7 lua52-luafilesystem: 1.6.2 lua52: 5.2.3_2 All of those install just fine. But: note the two different versions of lua. This ends up causing you to not be able to use some of the prosody utilities: # prosodyctl ************************** Prosody was unable to find luafilesystem This package can be obtained in the following ways: Source: http://www.keplerproject.org/luafilesystem/ Debian/Ubuntu: sudo apt-get install liblua5.1-filesystem0 luarocks: luarocks install luafilesystem luafilesystem is required for Prosody to run, so we will now exit. More help can be found on our website, at http://prosody.im/doc/depends **************************
Over to maintainer
If someone comes across this before the bug gets fixed: a workaround for the port bug is to install lua51-luafilesystem first, then do the install of prosody. At least, this works on FreeBSD 10.0.
This appears to be a bad side-effect of a bug in "pkg update". When I was instructed to run "pkg update -f" for a different problem I was experiencing, the problem listed in this bug went away. I'm going to close the bug, but if others find this, maybe they can re-open it.