Package Details: prosody-hg r11977+.10cdfb94f1cc+-1

Git Clone URL: https://aur.archlinux.org/prosody-hg.git (read-only, click to copy)
Package Base: prosody-hg
Description: Lightweight and extensible Jabber/XMPP server written in Lua (development build from trunk-branch)
Upstream URL: https://prosody.im/
Licenses: MIT
Conflicts: prosody
Provides: prosody
Submitter: TilmanV
Maintainer: Ppjet6 (linkmauve)
Last Packager: linkmauve
Votes: 2
Popularity: 0.000000
First Submitted: 2015-11-06 18:39 (UTC)
Last Updated: 2021-12-01 18:07 (UTC)

Required by (49)

Sources (4)

Pinned Comments

linkmauve commented on 2021-12-01 18:09 (UTC)

I just updated this package to use lua instead of lua52, it’s been working fine on my server for a few months but please report any new issue you encounter following this change.

Ppjet6 commented on 2019-11-21 00:00 (UTC) (edited on 2019-11-21 00:01 (UTC) by Ppjet6)

I have changed (9f6cd2251c12)the unit file to use the one recommended by upstream. This change needs a configuration change (also added a warning in post_{install,upgrade}), daemonize = false needs to be set. It used to be sed'd to true by this package.

Latest Comments

linkmauve commented on 2021-12-01 18:09 (UTC)

I just updated this package to use lua instead of lua52, it’s been working fine on my server for a few months but please report any new issue you encounter following this change.

Ppjet6 commented on 2019-11-21 00:00 (UTC) (edited on 2019-11-21 00:01 (UTC) by Ppjet6)

I have changed (9f6cd2251c12)the unit file to use the one recommended by upstream. This change needs a configuration change (also added a warning in post_{install,upgrade}), daemonize = false needs to be set. It used to be sed'd to true by this package.

diggit commented on 2019-03-11 10:54 (UTC)

Hi, there is missing (optional?) dependency lua52-dbi

https://prosody.im/doc/depends#luadbi "This module is used by mod_storage_sql for connecting to SQL databases."

Ppjet6 commented on 2018-09-27 20:51 (UTC)

I am awaiting on aur/luacheck to merge two patches. https://aur.archlinux.org/packages/luacheck/#news

You can either patch the luacheck package or remove the make lint call for the moment.

d9jWbb42kC3 commented on 2018-09-27 20:49 (UTC) (edited on 2018-09-27 20:49 (UTC) by d9jWbb42kC3)

==> Starting check()...
luacheck -q $(HGPLAIN= hg files -I '**.lua') prosody prosodyctl
lua: /usr/share/lua/5.3/luacheck/check.lua:3: module 'luacheck.stages.parse_inline_options' not found:
        no field package.preload['luacheck.stages.parse_inline_options']
        no file '/usr/share/lua/5.3/luacheck/stages/parse_inline_options.lua'
        no file '/usr/share/lua/5.3/luacheck/stages/parse_inline_options
/init.lua'
        no file '/usr/lib/lua/5.3/luacheck/stages/parse_inline_options.lua'
        no file '/usr/lib/lua/5.3/luacheck/stages/parse_inline_options/init.lua'
        no file './luacheck/stages/parse_inline_options.lua'
        no file './luacheck/stages/parse_inline_options/init.lua'
        no file '/usr/lib/lua/5.3/luacheck/stages/parse_inline_options.so'
        no file '/usr/lib/lua/5.3/loadall.so'
        no file './luacheck/stages/parse_inline_options.so'
        no file '/usr/lib/lua/5.3/luacheck.so'
        no file '/usr/lib/lua/5.3/loadall.so'
        no file './luacheck.so'
stack traceback:
        [C]: in function 'require'
        /usr/share/lua/5.3/luacheck/check.lua:3: in main chunk
        [C]: in function 'require'
        /usr/share/lua/5.3/luacheck/init.lua:1: in main chunk
        [C]: in function 'require'
        /usr/share/lua/5.3/luacheck/main.lua:3: in main chunk
        [C]: in function 'require'
        /usr/bin/luacheck:2: in main chunk
        [C]: in ?
make: *** [GNUmakefile:83: lint] Error 1
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Makepkg was unable to build prosody-hg.

Ppjet6 commented on 2018-09-25 16:35 (UTC)

aur/luacheck is available.

If you are using makepkg direclty, make sure it is installed separately. If you are using a wrapper, make sure it installs aur targets as well.

The version luacheck uses doesn't have to match prosody's.

bl4n commented on 2018-09-25 16:32 (UTC)

I encount some error: """ erreur : impossible de trouver la cible : luacheck """

in english, should be something like:

""" error: impossible to find target: luacheck """

I found lua51-luacheck and luacheck.

I think that either we change "checkdeps" to lua51-luacheck or we add lua51-luacheck to "depends".

Ppjet6 commented on 2018-05-01 19:56 (UTC)

Thank you for your work TilmanV!

I took over the package. I added ExecReload= to the service file.

TilmanV commented on 2018-02-28 09:30 (UTC)

I won't maintain this package anymore

d9jWbb42kC3 commented on 2018-02-27 18:04 (UTC) (edited on 2018-02-27 18:05 (UTC) by d9jWbb42kC3)

After upgrade prosody does not work:

[ALPM] upgraded prosody-hg (r8452+.4796fdcb7146+-1 -> r8553+.32438665dc5e+-1)

lua5.1: /usr/lib/prosody/net/http.lua:16: module 'net.resolvers.basic' not found:
         no field package.preload['net.resolvers.basic']
         no file '/usr/lib/prosody/net/resolvers/basic.lua'
         no file '/usr/share/lua/5.1/net/resolvers/basic.lua'
         no file '/usr/share/lua/5.1/net/resolvers/basic/init.lua'
         no file '/usr/lib/lua/5.1/net/resolvers/basic.lua'
         no file '/usr/lib/lua/5.1/net/resolvers/basic/init.lua'
         no file '/usr/lib/prosody/net/resolvers/basic.so'
         no file '/usr/lib/lua/5.1/net/resolvers/basic.so'
         no file '/usr/lib/lua/5.1/loadall.so'
         no file '/usr/lib/prosody/net.so'
         no file '/usr/lib/lua/5.1/net.so'
         no file '/usr/lib/lua/5.1/loadall.so'
 stack traceback:
         [C]: in function 'require'
         /usr/lib/prosody/net/http.lua:16: in main chunk
         [C]: in function 'require'
         /usr/bin/prosodyctl:264: in main chunk
         [C]: ?

TilmanV commented on 2017-03-07 19:49 (UTC)

fixed

Ppjet6 commented on 2017-03-04 21:00 (UTC)

Apparently I need --lua-version=5.1 in the build

Ppjet6 commented on 2017-01-30 18:54 (UTC)

Hi there, can you update the link to the documentation to https, please

TilmanV commented on 2016-10-29 11:47 (UTC)

@linkmauve thx for the hint. done.

linkmauve commented on 2016-10-28 20:27 (UTC)

Hi, this isn’t based on the 0.10 branch despite what the pkgver is saying, could you remove the "0.10." part from your pkgver() function?

TilmanV commented on 2016-05-17 11:43 (UTC)

@Enverex I uploaded a fix for the config file. systemd was missing the pid file and prosody didn't start as a daemon. I tested that and it works fine on my laptop now.

TilmanV commented on 2016-05-17 10:15 (UTC)

@Enverex I will fix this soon

Enverex commented on 2016-05-17 09:30 (UTC)

Does the service file need to be updated? Trying to start the service works successfully, but SystemD seems to think the service is still starting (i.e. not completed) and eventually it times out and kills it.

TilmanV commented on 2016-01-24 23:10 (UTC)

@linkmauve thx for your comments. I fixed the pkgbuild

linkmauve commented on 2016-01-18 11:57 (UTC) (edited on 2016-01-18 12:00 (UTC) by linkmauve)

Hi, this PKGBUILD is for Prosody trunk, the pkgver is misleading. You may want to upload another one tracking http://hg.prosody.im/0.10/ instead, but in any case this one should be tagged “trunk”. I also run it on ARM and can confirm it works fine, please add 'armv7h' to the arch array. Also, please change both URLs to use HTTPS instead of HTTP. :)

sl1pkn07 commented on 2015-12-14 15:22 (UTC)

The last commit is wrong, you put the content of prosody.install to prosody.logrotated