package/ejabberd: bump to version 19.09.1
authorJohan Oudinet <johan.oudinet@gmail.com>
Mon, 6 Jan 2020 16:11:14 +0000 (17:11 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 6 Jan 2020 20:24:44 +0000 (21:24 +0100)
There are two remainning patches to:

- change the Makefile rules so dependencies are not downloaded/compiled;
- fix ejabberd user in ejabberdctl script.

The erlang-p1-iconv package is not anymore a dependency for ejabberd.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/ejabberd/0002-fix-ejabberdctl.patch
package/ejabberd/Config.in
package/ejabberd/S50ejabberd
package/ejabberd/ejabberd.hash
package/ejabberd/ejabberd.mk

index 090fcc52d2ca963f984a8ca86b7dacfe80acb544..e7fc9315c06a9a41aee570bb750d784b6a06f840 100644 (file)
@@ -1,32 +1,28 @@
-From 168d5840dc2a541ec16385e666c1932cf02907e9 Mon Sep 17 00:00:00 2001
+From 4283f675f21d3923e200092cec6418014a03ad52 Mon Sep 17 00:00:00 2001
 From: Johan Oudinet <johan.oudinet@gmail.com>
-Date: Wed, 10 Jan 2018 15:00:07 +0100
+Date: Thu, 26 Dec 2019 17:06:34 +0100
 Subject: [PATCH] fix ejabberdctl
 
 Change default values so ejabberdctl run commands as ejabberd user.
-Also add a way for the user to change default values.
 
 Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
 ---
- ejabberdctl.template | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
+ ejabberdctl.template | +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/ejabberdctl.template b/ejabberdctl.template
-index 83637766..5a8a8795 100755
+index a940c3df7..5166e5a27 100755
 --- a/ejabberdctl.template
 +++ b/ejabberdctl.template
-@@ -15,7 +15,10 @@ SCRIPT_DIR=$(cd "${0%/*}" && pwd)
+@@ -15,7 +15,7 @@ SCRIPT_DIR=$(cd "${0%/*}" && pwd)
  ERL="{{erl}}"
  IEX="{{bindir}}/iex"
  EPMD="{{epmd}}"
 -INSTALLUSER="{{installuser}}"
 +INSTALLUSER=ejabberd
-+
-+# Read default configuration file if present
-+[ ! -r /etc/default/ejabberd ] || . /etc/default/ejabberd
  
  # check the proper system user is used
  case $(id -un) in
 -- 
-2.14.1
+2.20.1
 
index 7d51d1de9e7f62b76f03498eda4b0cf4da67e38a..e24c7fee6b19abc2ac93742068a51402e1cf4b68 100644 (file)
@@ -3,11 +3,15 @@ config BR2_PACKAGE_EJABBERD
        depends on BR2_PACKAGE_ERLANG
        depends on BR2_INSTALL_LIBSTDCPP # jiffy, stringprep
        select BR2_PACKAGE_ERLANG_EIMP
+       select BR2_PACKAGE_ERLANG_IDNA # runtime
        select BR2_PACKAGE_ERLANG_JIFFY # runtime
+       select BR2_PACKAGE_ERLANG_JOSE # runtime
        select BR2_PACKAGE_ERLANG_LAGER
+       select BR2_PACKAGE_ERLANG_P1_ACME # runtime
        select BR2_PACKAGE_ERLANG_P1_CACHE_TAB
-       select BR2_PACKAGE_ERLANG_P1_ICONV
+       select BR2_PACKAGE_ERLANG_P1_MQTREE # runtime
        select BR2_PACKAGE_ERLANG_P1_OAUTH2 # runtime
+       select BR2_PACKAGE_ERLANG_P1_PKIX # runtime
        select BR2_PACKAGE_ERLANG_P1_SIP
        select BR2_PACKAGE_ERLANG_P1_STRINGPREP
        select BR2_PACKAGE_ERLANG_P1_STUN
@@ -16,6 +20,7 @@ config BR2_PACKAGE_EJABBERD
        select BR2_PACKAGE_ERLANG_P1_XML
        select BR2_PACKAGE_ERLANG_P1_XMPP
        select BR2_PACKAGE_ERLANG_P1_YAML
+       select BR2_PACKAGE_ERLANG_P1_YCONF # runtime
        select BR2_PACKAGE_ERLANG_P1_ZLIB
        select BR2_PACKAGE_GETENT
        select BR2_PACKAGE_OPENSSL
index 830fcb85a77eecb512ed714f2a44b1f2178f0231..83513bdc83d1fce4ed5536f590ffc30eb0d21942 100644 (file)
@@ -4,7 +4,7 @@
 #
 
 CTL=/usr/sbin/ejabberdctl
-DEFAULT=/etc/default/ejabberd
+DEFAULT=/etc/ejabberd/ejabberdctl.cfg
 INSTALLUSER=ejabberd
 RUNDIR=/var/run/ejabberd
 
index aed269cb8de8d28c4bb8edcaf1c143d88ee0f559..277ae0610731e0b14b0e37a865fd5763742f7645 100644 (file)
@@ -1,2 +1,2 @@
 # Locally computed
-sha256 781a68d2deefb4afae563c29a8955063c759c244d308251167d46185f145d4ff ejabberd-18.09.tgz
+sha256 18ddf61af22fc9b59f8afc6835aae2aee9896eb91cc1030056d6bca6a1fa40d2 ejabberd-19.09.1.tgz
index 6982375cf4e1487d3e2e950bf846c85ef4cab719..3419c6e59c39fe8fad4d2c4e684a1c22e28fe7d7 100644 (file)
@@ -4,14 +4,13 @@
 #
 ################################################################################
 
-EJABBERD_VERSION = 18.09
+EJABBERD_VERSION = 19.09.1
 EJABBERD_SOURCE = ejabberd-$(EJABBERD_VERSION).tgz
 EJABBERD_SITE = https://www.process-one.net/downloads/ejabberd/$(EJABBERD_VERSION)
 EJABBERD_LICENSE = GPL-2.0+ with OpenSSL exception
 EJABBERD_LICENSE_FILES = COPYING
-EJABBERD_DEPENDENCIES = getent openssl erlang-eimp \
-       host-erlang-lager erlang-lager \
-       erlang-p1-cache-tab erlang-p1-iconv erlang-p1-sip \
+EJABBERD_DEPENDENCIES = getent openssl erlang-eimp host-erlang-lager \
+       erlang-lager erlang-p1-cache-tab erlang-p1-sip \
        erlang-p1-stringprep erlang-p1-stun erlang-p1-tls \
        erlang-p1-utils erlang-p1-xml erlang-p1-xmpp erlang-p1-yaml \
        erlang-p1-zlib host-erlang-p1-utils host-erlang-p1-xmpp