pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ejabberd ejabberd: Fix spool directory for ejabbe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25743da8781a
branches:  trunk
changeset: 445169:25743da8781a
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Sat Jan 16 21:19:32 2021 +0000

description:
ejabberd: Fix spool directory for ejabberdctl

pkgsrc changes:
---------------
  * The spool directory is set to ${VARBASE}/spool/ejabberd by pkgsrc but
    ejabberdctl used ${VARBASE}/lib/ejabberd
  * Bump revision

diffstat:

 chat/ejabberd/Makefile         |   3 ++-
 chat/ejabberd/distinfo         |   4 ++--
 chat/ejabberd/patches/patch-ae |  12 +++++++++++-
 3 files changed, 15 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 264d1c46e1da -r 25743da8781a chat/ejabberd/Makefile
--- a/chat/ejabberd/Makefile    Sat Jan 16 21:18:55 2021 +0000
+++ b/chat/ejabberd/Makefile    Sat Jan 16 21:19:32 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.89 2021/01/16 20:24:33 triaxx Exp $
+# $NetBSD: Makefile,v 1.90 2021/01/16 21:19:32 triaxx Exp $
 
 DISTNAME=      ejabberd-20.12
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  https://www.process-one.net/downloads/downloads-action.php?file=/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tgz
diff -r 264d1c46e1da -r 25743da8781a chat/ejabberd/distinfo
--- a/chat/ejabberd/distinfo    Sat Jan 16 21:18:55 2021 +0000
+++ b/chat/ejabberd/distinfo    Sat Jan 16 21:19:32 2021 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.59 2021/01/16 20:24:33 triaxx Exp $
+$NetBSD: distinfo,v 1.60 2021/01/16 21:19:32 triaxx Exp $
 
 SHA1 (ejabberd-20.12.tgz) = 33851f33a68ce7dd45a28d4f63b40f7cbb8c9dbc
 RMD160 (ejabberd-20.12.tgz) = 155a461097ac70dfeb603a0c23b7bf948de9aa81
 SHA512 (ejabberd-20.12.tgz) = 7e7cb2f6e298db9f85c2f9abb6082ebed7afc42e32b11a3a953b0c4721b0b6ea2924e6d3f78cfb5bdb209ddea2abfb040d310b422f3951b104a5461cec5875a8
 Size (ejabberd-20.12.tgz) = 2030495 bytes
 SHA1 (patch-aa) = 8a1aac6e3ee13bc5251d4994fc8d1927b876e372
-SHA1 (patch-ae) = cec3df9f6f02585c869c96aea1d12bd91e61d523
+SHA1 (patch-ae) = 5e1424f57dfe0d3d7adc4fa4811e9a1322a01f22
 SHA1 (patch-configure) = 2c92f408fa49ae9595173613157d55a585ec1cb3
 SHA1 (patch-tools_ejabberdctl.bc) = 3c7bc0ad14d5b266a192b29e4d075e8f93103569
diff -r 264d1c46e1da -r 25743da8781a chat/ejabberd/patches/patch-ae
--- a/chat/ejabberd/patches/patch-ae    Sat Jan 16 21:18:55 2021 +0000
+++ b/chat/ejabberd/patches/patch-ae    Sat Jan 16 21:19:32 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.20 2021/01/16 20:24:33 triaxx Exp $
+$NetBSD: patch-ae,v 1.21 2021/01/16 21:19:33 triaxx Exp $
 
 - Default locations.
 - Use 'su -' instead of just 'su'. Fixes priv delegation on SunOS
@@ -6,9 +6,19 @@
   su arg order while at it.
 - At least SunOS has not wheel group.
 - Portable grep calls.
+- Fix spool directory.
 
 --- ejabberdctl.template.orig  2020-12-15 14:40:16.000000000 +0000
 +++ ejabberdctl.template
+@@ -57,7 +57,7 @@ done
+ # define ejabberd variables if not already defined from the command line
+ : "${ETC_DIR:="{{sysconfdir}}/ejabberd"}"
+ : "${LOGS_DIR:="{{localstatedir}}/log/ejabberd"}"
+-: "${SPOOL_DIR:="{{localstatedir}}/lib/ejabberd"}"
++: "${SPOOL_DIR:="{{localstatedir}}/spool/ejabberd"}"
+ : "${EJABBERD_CONFIG_PATH:="$ETC_DIR/ejabberd.yml"}"
+ : "${EJABBERDCTL_CONFIG_PATH:="$ETC_DIR/ejabberdctl.cfg"}"
+ # Allows passing extra Erlang command-line arguments in vm.args file
 @@ -110,7 +110,7 @@ export ERL_LIBS
  exec_cmd()
  {



Home | Main Index | Thread Index | Old Index