Commit Graph

730 Commits

Author SHA1 Message Date
Vsevolod Stakhov
3afb49bfe7
[Minor] Remove legacy stuff 2022-12-28 22:03:10 +00:00
Vsevolod Stakhov
853d1774f7
[Minor] Update version to 3.5 2022-11-02 21:18:31 +00:00
Vsevolod Stakhov
575aa94360
[Minor] Some tweaks to the cmake scripts 2022-10-23 21:46:39 +01:00
Vsevolod Stakhov
a30002b1c8
[Minor] Detect ffsll presence in a target system 2022-10-06 23:33:17 +01:00
Vsevolod Stakhov
572e0b07c3
[Minor] Update version to 3.4 2022-10-01 15:19:21 +01:00
Vsevolod Stakhov
ef699ea4d7
[Rework] Switch minimum C++ standard version to C++20 2022-06-19 12:24:09 +01:00
Vsevolod Stakhov
7116d3b8fe
[Minor] Use header only mode for fmt 2022-06-10 21:45:04 +01:00
Petr Vaněk
0baeea867e Search for libzstd module
Default pkg-config name of zstd is libzstd.pc. Let's add it to the
MODULES list.
2022-04-06 22:38:30 +02:00
Petr Vaněk
baa1b3c574 Add SYSTEM_XXHASH cmake option
It is now possible to use system xxhash since commits 23889da9ae
("[Minor] Update bundled xxhash") and 7ad02fc1f7 ("[Rework] Use xxh3
as a default hash and fix memory/alignment issues"). Let's give
packagers this possibility with a new SYSTEM_XXHASH option.
2022-04-06 22:38:30 +02:00
Vsevolod Stakhov
466de60fc3
[Minor] Update version to 3.3 2022-03-26 12:24:18 +00:00
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
2022-02-22 22:01:28 +00:00
Vsevolod Stakhov
d719856486 [Minor] Remove unused option 2021-11-21 16:19:10 +00:00
Vsevolod Stakhov
bc488cd48b [Minor] Remove obsolete WITH_HIREDIS define 2021-11-20 22:18:45 +00:00
Yasuhiro Kimura
e447e6c205 Enable PCRE2 by default.
There are 2 major versions of the PCRE library, PCRE and PCRE2. Rspamd
supports both and current default is the former. But according to the
web page of PCRE library it has reached its end of life. So change the
default to the latter.
2021-11-14 17:24:40 +09:00
Vsevolod Stakhov
299edf3801 [Minor] Update version to 3.2 2021-11-01 14:34:54 +00:00
Vsevolod Stakhov
cee232b61c [Minor] Add support for readahead(2) call if available 2021-10-13 16:41:11 +01:00
Anton Yuzhaninov
4d9846823f [Minor] Cleanup unused cmake checks 2021-09-20 17:37:06 +01:00
Petr Vaněk
d37a3764e9 Add SYSTEM_DOCTEST cmake option
This gives packagers option to use system version of doctest rather than
bundled one. It is disabled by default. Additionally, there is no need
to link rspamd-test-cxx with doctest as it is is single header library.

Main reason for this change is that currently bundled version of
doctest-2.4.5 can't compile with glibc-2.34 [1]. However, this issue was
already fixed in upstream doctest-2.4.6 [2] in commit [3]. With this,
packagers can just bump doctest to fixed version.

[1] https://github.com/onqtam/doctest/issues/473
[2] https://github.com/onqtam/doctest/blob/master/CHANGELOG.md#246-2021-03-22
[3] 099d5414e9
2021-09-02 10:07:37 +02:00
Petr Vaněk
309bb213cf Add SYSTEM_FMT cmake option
This gives packagers option to use system version of fmt rather than
bundled one. It is disabled by default.
2021-08-21 11:57:11 +02:00
Vsevolod Stakhov
ebb10e3c0d [Minor] Update version to 3.1 2021-08-20 18:52:36 +01:00
Vsevolod Stakhov
d32f3e49e0 [Minor] Update version to 3.0 due to amount of changes 2021-08-08 11:14:27 +01:00
Duncan Bellamy
f3bdc035d3 [Minor] CMakeLists.txt: add LUA_PATH for run-test
* fixes #3826
2021-07-29 22:59:48 +01:00
Vsevolod Stakhov
1dfdb2625a [Minor] Run all unit tests for Rspamd in run-test target 2021-07-24 22:52:21 +01:00
Duncan Bellamy
7ce6eefb2e [Feature] CMakeLists.txt: Change check and run-test to use rspamd-test-cxx
* fixes #3807
2021-07-18 12:35:41 +01:00
Vsevolod Stakhov
eaac9aab15 [Minor] Fix FreeBSD release build with lld/libc++
Issue: #3778
2021-06-23 14:01:36 +01:00
Duncan Bellamy
ab72e9d492 [Minor] change headers for zstd depending on bundled or system used
follow on patch from #3764
2021-05-29 09:02:05 +01:00
Vsevolod Stakhov
c3c3914085 [Minor] Try to fix libicu linkage 2021-05-28 11:16:03 +01:00
Duncan Bellamy
53034c0a7a [Feature] add SYSTEM_ZSTD cmake option
To use the system zstd instead on the bundled version
2021-05-23 13:08:56 +01:00
Vsevolod Stakhov
e1d1010aed [Minor] Always use UTF8 as the system encoding (for libicu) 2021-05-17 16:33:51 +01:00
Vsevolod Stakhov
2125dc4554 [Minor] Remove legacy iconv stuff 2021-05-15 21:22:37 +01:00
Vsevolod Stakhov
dfbd181e9c [Project] Css: Tidy up lambdas 2021-03-29 14:43:14 +01:00
Vsevolod Stakhov
7f296c74cc [Project] Add fu2 library to better functions abstractions 2021-03-29 14:23:09 +01:00
Vsevolod Stakhov
10fb4d1a18 [Project] Css: Move some of the tests to the doctest 2021-03-15 21:04:36 +00:00
Duncan Bellamy
166c95c115 [Minor] Make "INSTALL GLOB_RECURSE" for conf match conf and inc files
Ignores files left by patch
2021-03-14 00:14:58 +00:00
Vsevolod Stakhov
57fe176918 [Project] Add doctest unit testing library 2021-03-12 14:59:21 +00:00
Vsevolod Stakhov
aa53608938 [Project] Add fmt library for simple string ops 2021-03-12 11:57:42 +00:00
Vsevolod Stakhov
5aa14ef227 [Minor] Check for Lua 5.4
Issue: #3656
2021-02-26 13:40:22 +00:00
Vsevolod Stakhov
4658a093bf [Project] Css: Declarations parsing logic skeleton 2021-02-18 16:18:08 +00:00
Vsevolod Stakhov
7de0d515d1 [Rework] Require proper C++ environment for Rspamd build 2021-01-14 14:03:19 +00:00
Vsevolod Stakhov
8d7a7668dd [Minor] Update version to 2.8 2021-01-08 13:45:13 +00:00
Duncan Bellamy
d7738db697 [Minor] Fix some compiler warnings 2020-12-29 23:20:38 +00:00
Duncan Bellamy
d39c5f1def
[Minor] Add LIB_SUFFIXES needed to detect lua on alpine linux 2020-12-10 19:09:28 +00:00
Vsevolod Stakhov
b6607510aa [Minor] Fix bogus cmake 2020-11-18 13:08:08 +00:00
Vsevolod Stakhov
7ef42a3cc1 [Minor] Use CONFIGURE_DEPENDS for glob expressions 2020-11-18 13:01:15 +00:00
Vsevolod Stakhov
ae709edc11 [Minor] Update version to 2.7 2020-09-30 20:29:25 +01:00
Vsevolod Stakhov
1a634c3d51 [Project] Detect memrchr in systems that supports it 2020-07-24 20:33:33 +01:00
Vsevolod Stakhov
b488a309f5 [Minor] Add recvmmsg detection 2020-06-01 15:35:03 +01:00
Vsevolod Stakhov
19b2617fa8 [Rework] Use google-ced instead of libicu chardet as the former sucks 2020-05-26 11:31:47 +01:00
Vsevolod Stakhov
361cab554a [Minor] Fix pthreads linking 2020-05-24 21:14:50 +01:00
Vsevolod Stakhov
634d1be94f [Minor] Fix luajit search 2020-05-18 15:42:32 +01:00