Paweł Chmielowski
d64e453364
Update deps
2020-12-10 15:00:46 +01:00
Paweł Chmielowski
7da81249f8
Update xmpp once more
2020-12-10 13:22:32 +01:00
Paweł Chmielowski
8214a4fa79
Update xmpp
2020-12-10 12:41:26 +01:00
Paweł Chmielowski
e048bc6712
Update deps to point to tags
2020-12-08 15:11:09 +01:00
Paweł Chmielowski
1dc0ecd1e9
Allow to use different hash for storing scram passwords
2020-12-08 12:06:52 +01:00
Paweł Chmielowski
0371b0f664
Add support for SCRAM-SHA-{256,512}-{PLUS} authentication
2020-12-03 15:07:09 +01:00
badlop
0f01019e06
Merge pull request #3395 from nosnilmot/rebar3
...
rebar3 support for main build process
2020-11-13 12:13:14 +01:00
Badlop
f9b8dfd400
Update dependencies
2020-11-11 15:53:16 +01:00
Paweł Chmielowski
d02c7d3b3b
Update eimp
...
This makes eimp compile correctly agains headers from png12
2020-10-26 16:12:58 +01:00
Paweł Chmielowski
a2dfd2e0b9
Update eimp
2020-10-26 10:53:52 +01:00
Badlop
f1e04639bb
Support for MAM Flipped Pages ( #3398 )
2020-10-15 21:42:43 +02:00
Stu Tomlinson
d9c1befbfc
Add sql dir to extra_src_dirs
...
When running ct under rebar3, add sql dir to extra_src_dirs so sql
scripts are available to run clear_sql_tables
2020-09-25 18:45:41 +01:00
Stu Tomlinson
714bc2d329
Miscellaneous rebar3 fixes
...
Correct Makefile clean targets
Fix a few more include() -> include_lib() for depedency includes
Use project_app_dirs to reference elixir app from rebar3 (lib_dirs is
no longer supported)
2020-09-23 15:52:21 +01:00
Stu Tomlinson
0fc1aea379
rebar3 support for main build process
...
This adds support for building, and installing, ejabberd using rebar3
A --with-rebar=/path/to/rebar3 option is added to configure to specify
which rebar to use
rebar2 compatibility is maintained, and the bundled rebar2 is still
used by default
2020-09-21 15:14:12 +01:00
Stu Tomlinson
385af01587
rebar3 plugin to support configure-deps command ( #3392 )
...
* rebar3 plugin to support configure-deps command
To allow running configure on dependencies prior to compilation, add a
rebar3 plugin to support the 'configure-deps' command introduced for
rebar2 in a7639fd4
* Fix compatibility with OTP < 23
binary_to_atom/1 is new to OTP 23
2020-09-21 13:51:31 +02:00
Stu Tomlinson
d9feed54a9
Add 'gitonly_deps' list to rebar config/script ( #3391 )
...
Add list of dependencies that should only be built from git, to support
building with rebar3 where deps do not have hex packages (or where the
package versions do not directly map to git tags).
This is required for elixir and luerl deps.
2020-09-21 13:49:58 +02:00
Stu Tomlinson
eada3b6e93
Fix syntax for lager dependency version ( #3379 )
...
Add 'tag' to lager dependency so that build with rebar3 will pull from
hex package instead of git checkout matching other dependencies
2020-09-03 15:35:34 +02:00
Stu Tomlinson
bd11a00f8f
Use include_lib() to include headers from dependencies ( #3369 )
2020-09-03 13:45:57 +02:00
Paweł Chmielowski
54af08799d
Update xmpp dep
2020-09-03 13:43:49 +02:00
Stu Tomlinson
b71708aab9
Update base64url dep for rebar3 ( #3368 )
...
Update base64url version to match available hex package to support
compilation with rebar3
2020-09-03 13:40:04 +02:00
Paweł Chmielowski
828c0ad1e0
Update deps
2020-07-28 14:38:34 +02:00
Paweł Chmielowski
87bbd9cb02
Update stun
2020-07-28 14:04:00 +02:00
Badlop
2bcd2c38a9
No need to check for Erlang 17, as 19 is the lowest supported anyway
...
This rollsback the conditional introduced years ago in c2753cd51c
2020-07-28 11:28:04 +02:00
Badlop
042cddb768
Elixir was required for quicktest, that was removed in 2018 51cbbf313
2020-07-28 11:26:41 +02:00
Badlop
e0b7fd72af
Update Stun to 1.0.36, and Esip too
2020-07-28 11:25:43 +02:00
Badlop
9c5e4454e4
Sort dependencies and improve some indentation
2020-07-22 18:03:28 +02:00
Badlop
7fe0b8d274
Revert "Modify ERL_LDFLAGS of deps when compiling on R23 on rebar2"
...
This reverts commit 21312c79aa
.
2020-07-22 10:08:14 +02:00
Badlop
90ca689123
Update dependencies, they now compile with Erlang/OTP 23.0 natively
2020-07-22 10:06:06 +02:00
Badlop
db2825342c
Revert "Dirty workarounds to compile jiffy with Erlang/OTP 23 ( #3282 )"
...
This reverts commit 2ca5712507
.
2020-07-15 12:12:42 +02:00
Badlop
bc1de531cc
Update jiffy to 1.0.5 which supports Erlang/OTP 23
2020-07-15 12:12:39 +02:00
Holger Weiss
cff7c4c100
Update 'stun' dependency to tagged version
2020-07-11 17:53:33 +02:00
Holger Weiss
3bf7fbc117
ejabberd_stun: Filter info/debug messages
...
Update 'stun' dependency, and drop the info/debug messages now logged by
the 'stun' application if OTP's new logging API is used.
2020-07-01 21:53:22 +02:00
Holger Weiss
c6bbdafe92
Update 'yconf' dependency to fix Erlang/OTP 19.x
2020-06-05 20:24:17 +02:00
Holger Weiss
266691f929
Update 'yconf' dependency
...
Fixes #3295 .
2020-06-05 17:02:06 +02:00
Paweł Chmielowski
482917348b
Update deps
2020-06-03 13:43:10 +02:00
Badlop
1d7e29765e
Update eimp, sqlite3 and epam to support Erlang/OTP 23 ( #3282 )
2020-06-01 10:35:37 +02:00
Badlop
c0f7008e96
Use old http_uri, crypto and pg2 only with old Erlang/OTP ( #3284 )
2020-06-01 10:35:28 +02:00
Badlop
2ca5712507
Dirty workarounds to compile jiffy with Erlang/OTP 23 ( #3282 )
...
Works for me with:
./configure --disable-pam
./rebar get-deps
./rebar configure-deps
./rebar compile
make install
changes in erlang-native-compiler used by jiffy:
src/rebar_port_compiler.erl
- {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"},
+ {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lei"},
src/rebar_utils.erl
--dialyzer({no_missing_calls, escript_foldl/3}).
2020-06-01 10:33:06 +02:00
Holger Weiss
7a37483307
Rename 'turn_v4_ip' and 'turn_v6_ip' options
...
The 'turn_ipv4_address' and 'turn_ipv6_address' option names are
probably more intuitive.
2020-05-29 18:40:19 +02:00
Paweł Chmielowski
21312c79aa
Modify ERL_LDFLAGS of deps when compiling on R23 on rebar2
...
Newer version removed erl_interface, and default rebar2 ERL_LDFLAGS will
try to link it, this change should pass correct flags to compiler.
2020-05-26 11:01:22 +02:00
Holger Weiss
56d00e427d
ejabberd_stun: Add 'turn_blacklist' option
...
The new 'turn_blacklist' listener option allows for specifying one or
more IP addresses and/or subnet addresses/masks. The TURN server will
refuse to relay traffic from/to blacklisted IP addresses. By default,
Teredo and 6to4 addresses are blacklisted, as mandated by RFC 6156
(section 9.1).
2020-05-21 21:46:02 +02:00
Holger Weiss
83fa637569
ejabberd_stun: Support IPv6 for TURN
...
The stun application now supports RFC 6156: TURN Extension for IPv6, and
therefore needs separate IPv4 and IPv6 relay addresses.
2020-05-19 21:42:41 +02:00
Holger Weiss
858bfb4b80
Let ejabberd_stun listen on IPv6 sockets
...
The stun application now allows IPv6 clients to perform STUN requests
and to allocate TURN relays.
2020-05-19 20:22:58 +02:00
Paweł Chmielowski
56c8f6b280
Update deps
2020-04-28 16:24:40 +02:00
Holger Weiss
fc444ce503
rebar.config: Update 'xmpp' and 'stun'
...
Use the current versions of 'xmpp' (to get XEP-0215 support) and 'stun'
(to fix TURN issues).
2020-04-23 20:05:40 +02:00
Licaon_Kter
d9131c854d
Bump jiffy so it compiles on older GCC ( #3218 )
...
* Update jiffy
* And here
2020-04-23 13:29:33 +02:00
Paweł Chmielowski
cb1c0a3188
Update mysql driver to get rid of warning
2020-04-16 18:26:13 +02:00
Paweł Chmielowski
1bd560f3f2
Fix potential message loss in terminating c2s sessions
...
Calling sync version of xmpp_stream_in/out:stop could lead to messages
never being processed by c2s process if they were queued in p1_server.
This could be reproduced by when having messages in offline storage,
starting sessions, enabling stream_mgmt, sending initial presence, and then immediately
</stream:stream>, messages that mod_offline would send process would not
be bounced back by stream_mgmt.
2020-04-01 14:36:01 +02:00
Paweł Chmielowski
f17d4c0adc
Update deps
2020-03-19 12:11:46 +01:00
Paweł Chmielowski
9c25d1024a
Support ssl connection on mysql
2020-02-26 10:54:04 +01:00