diff options
author | fhajny <fhajny@pkgsrc.org> | 2017-10-17 14:55:36 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2017-10-17 14:55:36 +0000 |
commit | 6db1191a833f0cd07479b184fff2f294fe478e37 (patch) | |
tree | faab141421afcd391b788040b76efe3ff8e4cd5e /chat/ejabberd/patches | |
parent | 7b29e7fd0de72213a839ae3fef875e8a4592c8d1 (diff) | |
download | pkgsrc-6db1191a833f0cd07479b184fff2f294fe478e37.tar.gz |
Update chat/ejabberd to 17.09.
Admin
- Harden ejabberdctl
- Fix ejabberdctl quoting when using iex
- Call earlier deps configure scripts during compilation
- Fix iexdebug and iexlive commands
- Quote $PEER in ping command to avoid hostnames containing "-" being
interpreted as arithmetic
- Docker: Sync containers from rroemhild and add instructions in
README
- Use eimp instead of ImageMagick calls for thumbnails creation
- Add forgotten caching options to the validator
- Fix 'make install' to work with new output from rebar list-deps
- Rewrite muc_register_nick and muc_unregister_nick to be DB
independent
- WebAdmin: Fix deletion of multiple offline messages
Encryption
- Add support for XEP-0368 in outgoing s2s: SRV records for XMPP over
TLS
- Deprecate s2s_use_starttls: required_trusted
- Don't attempt to access(2) a certificate file
- Let 'domain_certfile' take higher precedence instead of s2s_certfile
or c2s_certfile
Databases
- mysql.sql: Use multi-column index on username/ID
- Use forked repo of Riak Erlang client to support OTP20
Modules
- mod_avatar: New module with support for legacy and modern clients
- mod_block_strangers: Introduce option 'allow_transports'
- mod_block_strangers: Block messages from strangers before
mod_mam/mod_offline processing
- mod_http_upload: Don't ignore 'custom_headers'
- mod_muc: Improve presence-error and unavailable of multi-session
occupants
- mod_multicast: Fix start and reading of configured limits
- mod_mam: Simplify check for anon MUC JID filtering
- mod_mam: Refuse filtering anon MUC queries by JID
- mod_privacy: Explicitly match against
- mod_register: Introduce 'redirect_url' option
- mod_stream_mgmt: Delete 'c2s_init' hook
- mod_vcard_xupdate: Also replace vcard-x-update in direct presences
PubSub
- Fix get_items/get_item calls
- Add correct order when requesting all items
- Implement '6.5.7 Requesting the Most Recent Items'
- Fix RSM support on SQL
- Add RSM support on mnesia
- Fix node_options: default options only apply on first plugin
- Broadcast updated node configuration
- Enforce controls on publish and delete items
Miscelanea
- Preserve correct order of deserialized XML elements
- Suppress push notifications for online clients
- Extract strings and prepare translation files works again
Diffstat (limited to 'chat/ejabberd/patches')
-rw-r--r-- | chat/ejabberd/patches/patch-ae | 33 | ||||
-rw-r--r-- | chat/ejabberd/patches/patch-rebar.config.script | 8 |
2 files changed, 17 insertions, 24 deletions
diff --git a/chat/ejabberd/patches/patch-ae b/chat/ejabberd/patches/patch-ae index 120b1ac36f3..0d178946dba 100644 --- a/chat/ejabberd/patches/patch-ae +++ b/chat/ejabberd/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.17 2017/08/20 12:58:04 fhajny Exp $ +$NetBSD: patch-ae,v 1.18 2017/10/17 14:55:36 fhajny Exp $ - Default locations. - Use 'su -' instead of just 'su'. Fixes priv delegation on SunOS @@ -7,20 +7,20 @@ $NetBSD: patch-ae,v 1.17 2017/08/20 12:58:04 fhajny Exp $ - At least SunOS has not wheel group. - Portable grep calls. ---- ejabberdctl.template.orig 2017-08-14 07:43:02.000000000 +0000 +--- ejabberdctl.template.orig 2017-09-28 13:21:11.000000000 +0000 +++ ejabberdctl.template -@@ -56,8 +56,8 @@ done +@@ -57,8 +57,8 @@ 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} -+: ${LOGS_DIR:=@EJABBERD_LOGDIR@} -+: ${SPOOL_DIR:=@EJABBERD_DB@} - : ${EJABBERD_CONFIG_PATH:="$ETC_DIR"/ejabberd.yml} - : ${EJABBERDCTL_CONFIG_PATH:="$ETC_DIR"/ejabberdctl.cfg} + : "${ETC_DIR:="{{sysconfdir}}/ejabberd"}" +-: "${LOGS_DIR:="{{localstatedir}}/log/ejabberd"}" +-: "${SPOOL_DIR:="{{localstatedir}}/lib/ejabberd"}" ++: "${LOGS_DIR:=@EJABBERD_LOGDIR@}" ++: "${SPOOL_DIR:=@EJABBERD_DB@}" + : "${EJABBERD_CONFIG_PATH:="$ETC_DIR/ejabberd.yml"}" + : "${EJABBERDCTL_CONFIG_PATH:="$ETC_DIR/ejabberdctl.cfg"}" [ -f "$EJABBERDCTL_CONFIG_PATH" ] && . "$EJABBERDCTL_CONFIG_PATH" -@@ -108,7 +108,7 @@ export ERL_LIBS +@@ -109,7 +109,7 @@ export ERL_LIBS exec_cmd() { case $EXEC_CMD in @@ -29,7 +29,7 @@ $NetBSD: patch-ae,v 1.17 2017/08/20 12:58:04 fhajny Exp $ as_current_user) "$@" ;; esac } -@@ -207,19 +207,19 @@ uid() +@@ -208,14 +208,14 @@ uid() # stop epmd if there is no other running node stop_epmd() { @@ -42,14 +42,7 @@ $NetBSD: patch-ae,v 1.17 2017/08/20 12:58:04 fhajny Exp $ check_start() { - "$EPMD" -names 2>/dev/null | grep -q " ${ERLANG_NODE%@*} " && { -- ps ux | grep -v grep | grep -q " $ERLANG_NODE " && { + "$EPMD" -names 2>/dev/null | grep " ${ERLANG_NODE%@*} " >/dev/null && { -+ ps ux | grep -v grep | grep " $ERLANG_NODE " >/dev/null && { + pgrep -f "$ERLANG_NODE" >/dev/null && { echo "ERROR: The ejabberd node '$ERLANG_NODE' is already running." exit 4 - } || { -- ps ux | grep -v grep | grep -q beam && { -+ ps ux | grep -v grep | grep beam >/dev/null && { - echo "ERROR: The ejabberd node '$ERLANG_NODE' is registered," - echo " but no related beam process has been found." - echo "Shutdown all other erlang nodes, and call 'epmd -kill'." diff --git a/chat/ejabberd/patches/patch-rebar.config.script b/chat/ejabberd/patches/patch-rebar.config.script index 1e3bf101244..b0abd17b411 100644 --- a/chat/ejabberd/patches/patch-rebar.config.script +++ b/chat/ejabberd/patches/patch-rebar.config.script @@ -1,14 +1,14 @@ -$NetBSD: patch-rebar.config.script,v 1.3 2017/03/30 14:50:05 fhajny Exp $ +$NetBSD: patch-rebar.config.script,v 1.4 2017/10/17 14:55:36 fhajny Exp $ Deps are handled by pkgsrc. ---- rebar.config.script.orig 2017-02-24 04:57:57.000000000 +0000 +--- rebar.config.script.orig 2017-09-28 13:21:11.000000000 +0000 +++ rebar.config.script -@@ -315,8 +315,6 @@ Rules = [ +@@ -326,8 +326,6 @@ Rules = [ AppendList([{coveralls, ".*", {git, "https://github.com/markusn/coveralls-erl.git", "master"}}]), []}, {[post_hooks], [cover_enabled], os:getenv("TRAVIS") == "true", AppendList2(TravisPostHooks), [], false}, -- {[pre_hooks], [post_hook_configure], true, +- {[overrides], [post_hook_configure], true, - AppendList2(GenDepsConfigure), [], []}, {[ct_extra_params], [eunit_compile_opts], true, AppendStr2(CtParams), "", []}, |