Hi Gleydson,

thanks for reaching out.

> the following diff updates luasec to 0.9.
> 
> the only consumer of luasec on ports is net/prosody

Deployed this on my server and I don't see any issue so far. In fact,
prosody is communicating over TLS without problems, so I'd it's OK
from prosody side.

> looks like regress is broken though, see:
> 
> ===>  Regression tests for prosody-0.11.5
> busted --lua=lua51
> /bin/sh: busted: not found
> 
> seems lua-busted is not in ports yet, so maybe we should
> set NO_TEST until busted is in.

I'm aware of this. I took a quick glance on how to port it in my first
days at ports, but got kinda stuck because it's a luarocks-only
package.

>From a quick overview at the dependencies for busted, we would need to
import luasystem, dkjson, say, luassert and mediator_lua before
importing it, and I don't know if there are other lua ports that
require busted for tests.

Right now, I feel I can tackle it, but dunno if it's worth doing so
much work for a package only used for tests for a single port.

Regarding setting NO_TEST, bsd.port.mk(5) says it should be set to Yes
"only for ports with no regression test", so I'm not sure if using Yes
here would be an abuse.

-Lucas

Reply via email to