Hello all developers!
prosody package has not been updated for a long time.
At the moment, 0.11 version is available, and 13 version has already been released.
Even in the 12 version there are the necessary functions in which there is no version in 11.
I don't know how to update it yourself, so hope for you
A starting point for updating the package would be to apply the following patch to the feeds/packages
submodule:
diff --git a/net/prosody/Makefile b/net/prosody/Makefile
index 8328b0c..0d91f2c 100644
--- a/net/prosody/Makefile
+++ b/net/prosody/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=prosody
-PKG_VERSION:=0.11.13
+PKG_VERSION:=13.0.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://prosody.im/downloads/source
-PKG_HASH:=39c61b346a09b5125b604cb969e14206cbbcb86c81156ffc6ba2d62527cf0432
+PKG_HASH:=4309c5cfeb1a74d3f97185f6243a0c1068eb39fa7e91abc42cf2194bf067fc54
PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
PKG_LICENSE:=MIT/X11
That Makefile
contains some define
of macros, which must be adjusted as well. With the above simple patch, the build would fail as follows:
# this is *NOT* GNU autoconf stuff
(cd /path/to/openwrt/build_dir/target-aarch64_cortex-a53_musl/prosody-13.0.0; ./configure --prefix=/usr --with-lua="/path/to/openwrt/staging_dir/hostpkg" --with-lua-include="/path/to/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include" --with-lua-lib="/path/to/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib" --cflags="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/path/to/openwrt/build_dir/target-aarch64_cortex-a53_musl/prosody-13.0.0=prosody-13.0.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fPIC" --ldflags="-L/path/to/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/lib -L/path/to/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro -shared" --c-compiler="cc" --datadir="/etc/prosody/data" )
Lua interpreter not found in /path/to/openwrt/staging_dir/hostpkg/bin
You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help.
In the files
subdirectory there are some configuration files which may need to be updated as well.
so there won't be a package update?
it is not necessary for the 13th version, at least for the 12th. it has the necessary functions, but not in the 11th version
I started learning prosody 11, but I came across the impossibility of transferring files, the impossibility of blocking by ip in case of hacking
for example, the mod_http_file_share package is only available in version 12
and similar packages that are only available in version 12
This project is run by volunteers. I tried to steer the discussion towards the right direction. Someone would have to fix and test the build. The previous update 3 years ago seems to have been as simple as my sketch, but this time something more will be needed.