Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package prosody for openSUSE:Factory checked in at 2023-10-05 20:03:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/prosody (Old) and /work/SRC/openSUSE:Factory/.prosody.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "prosody" Thu Oct 5 20:03:58 2023 rev:37 rq:1115621 version:0.12.4 Changes: -------- --- /work/SRC/openSUSE:Factory/prosody/prosody.changes 2023-09-07 21:14:35.709282192 +0200 +++ /work/SRC/openSUSE:Factory/.prosody.new.28202/prosody.changes 2023-10-05 20:04:58.462660791 +0200 @@ -1,0 +2,10 @@ +Wed Sep 27 10:58:51 UTC 2023 - Reinhard Max <[email protected]> + +- Lua 5.1 is deprecated, switch to 5.4. +- Stop packaging example keys and certificates. It is bad security + practice and the examples sometimes interfer with actual + configurations. +- Drop prosody-lua51coexist.patch +- Add prosody-lua54coexist.patch + +------------------------------------------------------------------- Old: ---- example.com.crt example.com.key localhost.crt localhost.key prosody-lua51coexist.patch New: ---- prosody-lua54coexist.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ prosody.spec ++++++ --- /var/tmp/diff_new_pack.ZSwJPX/_old 2023-10-05 20:05:00.226724522 +0200 +++ /var/tmp/diff_new_pack.ZSwJPX/_new 2023-10-05 20:05:00.230724666 +0200 @@ -29,31 +29,28 @@ Source3: %{name}.keyring Source4: %{name}.service Source5: prosody.tmpfile -Source6: example.com.key -Source7: example.com.crt -Source8: localhost.key -Source9: localhost.crt -# Make prosody work on systems that have lua 5.1 AND 5.2 installed -Patch0: prosody-lua51coexist.patch +# Make prosody work on systems that have not only Lua 5.4 installed +Patch0: prosody-lua54coexist.patch Patch1: prosody-configure.patch # PATCH-FIX-OPENSUSE [email protected] - enable Unix features Patch3: prosody-cfg.patch BuildRequires: libicu-devel BuildRequires: libidn-devel BuildRequires: libopenssl-devel -BuildRequires: lua51-devel +BuildRequires: lua54-devel BuildRequires: systemd-rpm-macros -Requires: lua51 -Requires: lua51-BitOp -Requires: lua51-luaexpat -Requires: lua51-luafilesystem -Requires: lua51-luasec -Requires: lua51-luasocket +Requires: lua54 +Requires: lua54-luaexpat +Requires: lua54-luafilesystem +Requires: lua54-luasec +Requires: lua54-luasocket +Requires: lua54-readline Requires(pre): permissions Requires(pre): shadow -Recommends: lua51-luadbi -Recommends: lua51-luaevent -Recommends: lua51-zlib +Recommends: lua54-luadbi +Recommends: lua54-luaevent +Recommends: lua54-luaunbound +Recommends: lua54-zlib %{?systemd_requires} %description @@ -74,7 +71,7 @@ %build # CFLAGS need to keep -fPIC for shared modules ./configure \ - --lua-suffix="5.1" \ + --lua-suffix="5.4" \ %if 0%{?suse_version} >= 1500 --with-lua-include=%{lua_incdir} \ --cflags="%{optflags} -fPIC" \ @@ -82,11 +79,10 @@ --cflags="%{optflags} -fPIC -std=c99" \ %endif --c-compiler=gcc \ - --libdir=%{_libdir} + --libdir=%{_libdir} \ + --no-example-certs make %{?_make_output_sync} %{?_smp_mflags} -# use pre-generated example certs for reproducible builds -cp -af %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} certs/ %install %make_install ++++++ prosody-lua51coexist.patch -> prosody-lua54coexist.patch ++++++ --- /work/SRC/openSUSE:Factory/prosody/prosody-lua51coexist.patch 2018-06-02 12:16:14.394985251 +0200 +++ /work/SRC/openSUSE:Factory/.prosody.new.28202/prosody-lua54coexist.patch 2023-10-05 20:04:58.438659924 +0200 @@ -3,7 +3,7 @@ +++ prosody-0.9.11/prosody 2016-12-14 11:11:33.025945126 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env lua -+#!/usr/bin/lua5.1 ++#!/usr/bin/lua5.4 -- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain @@ -12,7 +12,7 @@ +++ prosody-0.9.11/prosodyctl 2016-12-14 11:11:39.469664663 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env lua -+#!/usr/bin/lua5.1 ++#!/usr/bin/lua5.4 -- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain
