Stu Tomlinson
aa8d800577
make-binaries: Bump zlib version to 1.2.13
...
Update zlib to 1.2.13 to address CVE-2022-37434
Also change zlib download to use archive URL so builds do not fail
when specified version is no longer the current version
2022-11-16 13:41:42 +00:00
Badlop
5a5e5bbdc6
Support extended protocol attribute ( #3915 )
2022-11-07 18:56:46 +01:00
Daniel Brötzmann
811fea14d8
Fix DOAP file logo namespace
2022-11-07 11:12:10 +01:00
Badlop
4542bcb57f
New script to generate DOAP file
2022-11-04 16:17:35 +01:00
Holger Weiss
e4c20aa674
make-binaries: Bump Expat and libpng versions
2022-09-23 13:46:19 +02:00
Holger Weiss
403dc41b5f
make-binaries: Fix GitHub release version checks
...
Adapt to changes to GitHub release pages.
2022-09-23 13:45:09 +02:00
Holger Weiss
add55e1947
make-binaries: Bump Erlang/OTP version to 24.3.4.5
2022-09-13 14:25:13 +02:00
Stu Tomlinson
5bb4731bc1
make-binaries: Bump dependency versions
2022-09-13 08:37:46 +01:00
Holger Weiss
bce429dc44
make-packages: Fix permissions on RPM systems
...
RPM resets ownership/permissions of /opt/ejabberd and its subdirectories
on installation. Therefore, fix those in the "after-install" script.
2022-08-21 15:48:28 +02:00
Paweł Chmielowski
991d52f019
Fix error reporting in 'make options' on OTP24+
2022-06-24 11:36:54 +02:00
Holger Weiss
fbf43f2a31
make-binaries: Include CAPTCHA script with release
2022-05-28 15:00:25 +02:00
Holger Weiss
b4c78336a6
make-binaries: Edit rebar.config more carefully
...
Don't break the (currently nonexistent) case where a dependency's
rebar.config file specifies LDFLAGS before and after "-lstdc++", such as
"-lfoo -lstdc++ -lbar".
2022-05-28 10:21:43 +02:00
Holger Weiss
c1ee86e85c
make-binaries: Fix linking of EIMP dependencies
...
Avoid linker errors such as the following when using GCC 10 or newer:
| multiple definition of `gdImageCreateFromJpegPtr'
See: https://gcc.gnu.org/gcc-10/porting_to.html
Fixes #3514 .
2022-05-25 20:37:37 +02:00
Holger Weiss
e6c1bf9c9a
make-binaries: Adjust Mnesia spool directory path
...
Adjust the default Mnesia directory for compatibility with older binary
packages.
Closes #3818 .
2022-05-18 17:08:05 +02:00
Holger Weiss
cac31f9325
make-packages: Include systemd unit with RPM
...
Don't forget to include the /etc/systemd/system/ejabberd.service unit
with the RPM package.
Closes #3816 .
2022-05-18 10:20:34 +02:00
Holger Weiss
621445e096
make-installers: Support non-root installation
...
If the installer is invoked without superuser privileges, warn the user,
ask for the installation prefix, and perform a local installation on
confirmation.
2022-05-17 12:40:12 +02:00
Holger Weiss
c54fe5b29e
make-installers: Override code on upgrade
...
Use tar's --skip-old-files option for the data directory (/opt/ejabberd)
only. Files in the code directory (/opt/ejabberd-$version) should be
overridden on upgrade.
2022-05-16 00:45:01 +02:00
Holger Weiss
6d93d49c6c
make-installers: Apply cosmetic changes
2022-05-16 00:13:43 +02:00
Holger Weiss
8addf96f9e
make-binaries: Bump dependency versions
2022-05-12 01:02:33 +02:00
Holger Weiss
ec36dd7ba1
make-binaries: Bump SQLite and ODBC versions
2022-05-06 14:03:11 +02:00
Badlop
985fa24130
Apparently the --tags option is required to properly describe a brand new tag
2022-05-04 02:39:15 +02:00
Badlop
ba5b6133cd
Create uninstall.txt with instructions
2022-05-04 02:39:13 +02:00
Badlop
0964f9cbcd
Add help header to the installer help
2022-05-04 02:39:12 +02:00
Badlop
06e448b4d0
Once installed, show next steps
2022-05-04 02:39:10 +02:00
Badlop
b773bb4cd4
Add some blank lines to output
2022-05-04 02:39:07 +02:00
Holger Weiss
65437d08ef
make-binaries: Update to Crosstool-NG 1.25.0-RC2
...
Update Crosstool-NG to the current release candidate, and use much
shorter "defconfig" files for specifying the configuration.
2022-05-04 00:30:36 +02:00
Holger Weiss
a7dc1de980
make-binaries: Try to avoid rebuilding deps
...
Don't rebuild external dependencies if all of them are up to date.
2022-05-04 00:30:36 +02:00
Holger Weiss
ce6f32906a
Import script for building command line installers
...
The tools/make-installers script creates command line installers for
Linux/x64 and Linux/arm64 systems using the archives built by the
tools/make-binaries script.
2022-05-04 00:30:36 +02:00
Holger Weiss
ef7470b503
Import script for building DEB and RPM packages
...
The tools/make-packages script creates DEB and RPM packages for
Linux/x64 and Linux/arm64 systems using the archives built by the
tools/make-binaries script.
2022-05-04 00:30:36 +02:00
Holger Weiss
853be230a8
Import script for building Linux binaries
...
The tools/make-binaries script creates self-contained OTP releases for
Linux/x64 and Linux/arm64 systems. All optional ejabberd features are
supported. Erlang/OTP, Elixir, and all dependencies are downloaded and
built from source (using crosstool-NG). The generated binaries depend
on glibc 2.17 or later, all other external libraries are linked
statically.
The script should work on any non-ancient Linux/x64 system and requires
just a few common development tools (to bootstrap crosstool-NG).
The release is installed by creating an "ejabberd" user, extracting the
archive into /opt, and moving the systemd unit (or init script) into
place.
2022-05-04 00:30:36 +02:00
Badlop
231dfd776f
Support Erlang 25 in "make options": returns attribute with simpler syntax
...
This was introduced in Erlang/OTP 25.0-rc1
https://erlang.org/download/otp_src_25.0-rc1.readme
https://github.com/erlang/otp/pull/5509
OTP-17894 Application(s): syntax_tools
Related Id(s): PR-5509
The erl_syntax_lib:analyze_attribute/1 function would
return {Name, {Name, Value}} instead of {Name, Value}
(which is the documented return value).
2022-02-24 01:02:51 +01:00
Badlop
b3211b1f71
Update copyright year to 2022
2022-02-11 09:39:25 +01:00
Kian-Meng Ang
adf0f87e99
Fix typos
2022-01-24 08:02:04 +08:00
Badlop
84d23e60d1
In POSIX sh, RANDOM is undefined: use always the other method
2021-12-23 13:57:12 +01:00
Badlop
f4e2d278ba
Dollar is unnecessary on arithmetic variables
2021-12-23 13:57:10 +01:00
Badlop
d8be168cff
Use dollar notation instead of legacy backticked
2021-12-23 13:57:08 +01:00
ballerburg9005
14bf197be1
"sort -R" command not POSIX, added "shuf" and "cat" as fallback
2021-08-12 15:14:31 +02:00
Badlop
4914b33f8c
Support the recent changes in the "ejabberdctl help" command ( #3569 )
2021-04-15 20:25:54 +02:00
Badlop
9525978f26
Fix INTRUDER and add padding to second text line
...
b41ce8828c (r47461104)
2021-03-12 20:50:41 +01:00
Badlop
c8bec07c45
Clone to the dir specified in rebar.config... useful for erlang-sqlite3
2021-02-23 19:45:41 +01:00
Holger Weiß
b41ce8828c
Add question/answer-based CAPTCHA script ( #3533 )
...
* New captcha.sh question/answer based
* Keep original CAPTCHA script
Rather than replacing the original CAPTCHA script, keep it next to the
new one, for the moment.
* CAPTCHA-ng script cleanup
* remove various bashisms
* replace all echos with printf
+ add quotations to many variables
Co-authored-by: Adrien Bourmault <neox@os-k.eu>
Co-authored-by: nico wellpott <nico@magicbroccoli.de>
2021-02-22 09:34:02 +01:00
Badlop
09f5e2aa03
Improve support for rebar3 in "make translations"
2021-02-19 17:00:32 +01:00
Badlop
18c9f5eedf
Create annotated tags, meant for releases, instead of lightweight ( #3512 )
2021-02-16 13:09:27 +01:00
Badlop
26ee3141a9
Improve prepare-tr so *.msg files inform to not edit them ( #3484 )
2021-02-02 18:58:36 +01:00
Badlop
6e0161470e
Update newest copyright year to 2021 ( #3464 )
2021-01-27 17:02:06 +01:00
Badlop
0b55ded612
When running "make translations" use the external ejabberd_po repository
2021-01-22 13:16:42 +01:00
Paweł Chmielowski
cb6322a3a7
Add option to check for missing hex releases to update script
2020-12-18 16:43:20 +01:00
Paweł Chmielowski
9c221848d7
Correctly sort mixed versions vX.Y and X.Y in update-deps script
2020-12-18 16:42:41 +01:00
Paweł Chmielowski
90e0293df3
Update one more place where we had -include("xmpp.hrl")
2020-09-03 14:30:04 +02:00
Badlop
e7575ab63f
For mod_vcard_* modules, redirect options to mod_vcard
2020-08-21 18:08:59 +02:00