]> source.dussan.org Git - rspamd.git/log
rspamd.git
4 years agoMerge pull request #3246 from moisseev/webui
Vsevolod Stakhov [Sun, 2 Feb 2020 19:44:55 +0000 (19:44 +0000)]
Merge pull request #3246 from moisseev/webui

Webui

4 years ago[Minor] Update D3 JS library to v5.15.0 3246/head
moisseev [Sun, 2 Feb 2020 17:43:18 +0000 (20:43 +0300)]
[Minor] Update D3 JS library to v5.15.0

4 years ago[Minor] Format numbers with d3.format,
moisseev [Sun, 2 Feb 2020 17:35:38 +0000 (20:35 +0300)]
[Minor] Format numbers with d3.format,

remove Humanize JS library.

4 years agoMerge pull request #3245 from moisseev/webui
Vsevolod Stakhov [Sun, 2 Feb 2020 11:59:37 +0000 (11:59 +0000)]
Merge pull request #3245 from moisseev/webui

[WebUI] Update D3Evolution to 1.2.0

4 years ago[WebUI] Update D3Evolution to 1.2.0 3245/head
moisseev [Sun, 2 Feb 2020 10:51:20 +0000 (13:51 +0300)]
[WebUI] Update D3Evolution to 1.2.0

+ Add cursor

The cursor location follows the mouse pointer movements when it hovers over the graph
and updates the coordinates of the cursor's cross-points in the graph legend.

4 years ago[Minor] Remove unused variable
Vsevolod Stakhov [Sat, 1 Feb 2020 18:14:08 +0000 (18:14 +0000)]
[Minor] Remove unused variable

4 years ago[Test] Add avast test cases
Vsevolod Stakhov [Sat, 1 Feb 2020 18:07:05 +0000 (18:07 +0000)]
[Test] Add avast test cases

4 years ago[Minor] Various fixes to the avast engine
Vsevolod Stakhov [Sat, 1 Feb 2020 18:06:44 +0000 (18:06 +0000)]
[Minor] Various fixes to the avast engine

4 years ago[Fix] Fix processing of the closed tcp connections
Vsevolod Stakhov [Sat, 1 Feb 2020 18:06:16 +0000 (18:06 +0000)]
[Fix] Fix processing of the closed tcp connections

4 years ago[Feature] Antivirus: Add avast support
Vsevolod Stakhov [Sat, 1 Feb 2020 11:33:48 +0000 (11:33 +0000)]
[Feature] Antivirus: Add avast support

4 years ago[Minor] Further fixes for FIPS mode
Vsevolod Stakhov [Fri, 31 Jan 2020 16:05:09 +0000 (16:05 +0000)]
[Minor] Further fixes for FIPS mode

4 years ago[CritFix] Fix re cache when mix of pcre and hyperscan is used
Vsevolod Stakhov [Fri, 31 Jan 2020 12:56:22 +0000 (12:56 +0000)]
[CritFix] Fix re cache when mix of pcre and hyperscan is used

4 years ago[Minor] Further logging improvements
Vsevolod Stakhov [Fri, 31 Jan 2020 11:55:35 +0000 (11:55 +0000)]
[Minor] Further logging improvements

4 years ago[Minor] Fix log message
Vsevolod Stakhov [Fri, 31 Jan 2020 11:52:35 +0000 (11:52 +0000)]
[Minor] Fix log message

4 years ago[Minor] Improve logging
Vsevolod Stakhov [Thu, 30 Jan 2020 20:04:07 +0000 (20:04 +0000)]
[Minor] Improve logging

4 years agoMerge pull request #3241 from korgoth1/master
Vsevolod Stakhov [Wed, 29 Jan 2020 15:04:40 +0000 (15:04 +0000)]
Merge pull request #3241 from korgoth1/master

[Minor] Comment update about phishtank in phishing.conf

4 years ago[Rework] Allow to add userdata as symbols options
Vsevolod Stakhov [Wed, 29 Jan 2020 15:03:21 +0000 (15:03 +0000)]
[Rework] Allow to add userdata as symbols options

4 years ago[Rework] Rework options hash structure
Vsevolod Stakhov [Wed, 29 Jan 2020 15:03:08 +0000 (15:03 +0000)]
[Rework] Rework options hash structure

4 years ago[Feature] Allow milter code to deal with multiple headers
Vsevolod Stakhov [Tue, 28 Jan 2020 20:49:29 +0000 (20:49 +0000)]
[Feature] Allow milter code to deal with multiple headers

4 years ago[Minor] Add hack to support multiple headers addition
Vsevolod Stakhov [Tue, 28 Jan 2020 20:13:20 +0000 (20:13 +0000)]
[Minor] Add hack to support multiple headers addition

4 years ago[Minor] Slightly improve numeric checks (not finished)
Vsevolod Stakhov [Tue, 28 Jan 2020 20:12:59 +0000 (20:12 +0000)]
[Minor] Slightly improve numeric checks (not finished)

4 years agoPhishing comment 3241/head
korgoth1 [Tue, 28 Jan 2020 19:08:53 +0000 (22:08 +0300)]
Phishing comment

4 years ago[Feature] Dkim_signing: Allow to sign via milter_headers
Vsevolod Stakhov [Tue, 28 Jan 2020 18:57:40 +0000 (18:57 +0000)]
[Feature] Dkim_signing: Allow to sign via milter_headers

4 years ago[Minor] Support explicit enabling of the FIPS mode in OpenSSL
Vsevolod Stakhov [Tue, 28 Jan 2020 16:39:28 +0000 (16:39 +0000)]
[Minor] Support explicit enabling of the FIPS mode in OpenSSL

4 years ago[Minor] Disable ipv6 check via bind to a random port
Vsevolod Stakhov [Tue, 28 Jan 2020 12:30:25 +0000 (12:30 +0000)]
[Minor] Disable ipv6 check via bind to a random port

Issue: #3221

4 years ago[Minor] Oops, fix more stuff
Vsevolod Stakhov [Mon, 27 Jan 2020 19:25:50 +0000 (19:25 +0000)]
[Minor] Oops, fix more stuff

4 years ago[Minor] Use more portable _mm_loadu_si128
Vsevolod Stakhov [Mon, 27 Jan 2020 18:40:32 +0000 (18:40 +0000)]
[Minor] Use more portable _mm_loadu_si128

4 years ago[Fix] Fix arc seal validation
Vsevolod Stakhov [Mon, 27 Jan 2020 18:35:18 +0000 (18:35 +0000)]
[Fix] Fix arc seal validation

4 years ago[Fix] Further fixes in charset detection
Vsevolod Stakhov [Mon, 27 Jan 2020 18:21:12 +0000 (18:21 +0000)]
[Fix] Further fixes in charset detection

4 years ago[Feature] Speed up is_ascii function
Vsevolod Stakhov [Mon, 27 Jan 2020 18:05:15 +0000 (18:05 +0000)]
[Feature] Speed up is_ascii function

4 years ago[Fix] Fix regexp type check for pcre2
Vsevolod Stakhov [Mon, 27 Jan 2020 16:31:16 +0000 (16:31 +0000)]
[Fix] Fix regexp type check for pcre2

4 years ago[Minor] Fix free logic reversal (as dtors are now in variables themselves)
Vsevolod Stakhov [Mon, 27 Jan 2020 16:27:35 +0000 (16:27 +0000)]
[Minor] Fix free logic reversal (as dtors are now in variables themselves)

4 years ago[Rework] Use faster hashing approach for memory pools variables
Vsevolod Stakhov [Mon, 27 Jan 2020 16:03:08 +0000 (16:03 +0000)]
[Rework] Use faster hashing approach for memory pools variables

4 years ago[Minor] Distinguish max_lua_urls and max_urls
Vsevolod Stakhov [Mon, 27 Jan 2020 14:08:16 +0000 (14:08 +0000)]
[Minor] Distinguish max_lua_urls and max_urls

4 years ago[Minor] Do not write truncated hyperscan files
Vsevolod Stakhov [Mon, 27 Jan 2020 13:51:39 +0000 (13:51 +0000)]
[Minor] Do not write truncated hyperscan files

4 years ago[Minor] Remove dwarf-5 as it is not working with rpm
Vsevolod Stakhov [Mon, 27 Jan 2020 12:48:14 +0000 (12:48 +0000)]
[Minor] Remove dwarf-5 as it is not working with rpm

4 years agoMerge pull request #3238 from korgoth1/master
Vsevolod Stakhov [Sun, 26 Jan 2020 09:24:57 +0000 (09:24 +0000)]
Merge pull request #3238 from korgoth1/master

[Test] spf.lua fix example of external relay

4 years agoMerge pull request #3239 from spacefreak86/bugfixes
Vsevolod Stakhov [Sun, 26 Jan 2020 09:23:23 +0000 (09:23 +0000)]
Merge pull request #3239 from spacefreak86/bugfixes

[Minor] Bugfixes in force_action

4 years ago[Minor] Register forgotten symbol DMARC_BAD_POLICY 3239/head
Thomas Oettli [Sat, 25 Jan 2020 23:14:00 +0000 (00:14 +0100)]
[Minor] Register forgotten symbol DMARC_BAD_POLICY

4 years ago[Minor] Fix log messages in force_actions plugin
Thomas Oettli [Sat, 25 Jan 2020 23:12:31 +0000 (00:12 +0100)]
[Minor] Fix log messages in force_actions plugin

4 years ago[Test] spf.lua fix example of external relay 3238/head
korgoth1 [Sat, 25 Jan 2020 19:44:49 +0000 (22:44 +0300)]
[Test] spf.lua fix example of external relay

4 years ago[Minor] Lua_pdf: Check sanity
Vsevolod Stakhov [Sat, 25 Jan 2020 16:46:04 +0000 (16:46 +0000)]
[Minor] Lua_pdf: Check sanity

4 years ago[Minor] Lua_text: Sanitize span length
Vsevolod Stakhov [Sat, 25 Jan 2020 16:09:31 +0000 (16:09 +0000)]
[Minor] Lua_text: Sanitize span length

4 years agoMerge pull request #3235 from HeinleinSupport/master
Vsevolod Stakhov [Sat, 25 Jan 2020 09:54:29 +0000 (09:54 +0000)]
Merge pull request #3235 from HeinleinSupport/master

[Minor] Fix Sophos ENCRYPTED caching

4 years ago[Minor] Fix indentation
Vsevolod Stakhov [Sat, 25 Jan 2020 09:43:24 +0000 (09:43 +0000)]
[Minor] Fix indentation

4 years ago[Test] Fix ::1/64 absurdic case
Vsevolod Stakhov [Fri, 24 Jan 2020 18:22:57 +0000 (18:22 +0000)]
[Test] Fix ::1/64 absurdic case

4 years ago[Minor] More masks changes
Vsevolod Stakhov [Fri, 24 Jan 2020 18:22:48 +0000 (18:22 +0000)]
[Minor] More masks changes

4 years ago[Minor] Fix masks calculations
Vsevolod Stakhov [Fri, 24 Jan 2020 17:33:25 +0000 (17:33 +0000)]
[Minor] Fix masks calculations

4 years ago[Fix] Use ipv6-mapped-ipv4 addresses in radix trie
Vsevolod Stakhov [Fri, 24 Jan 2020 16:42:40 +0000 (16:42 +0000)]
[Fix] Use ipv6-mapped-ipv4 addresses in radix trie

4 years ago[Minor] Fix Sophos ENCRYPTED caching 3235/head
Carsten Rosenberg [Thu, 23 Jan 2020 19:43:08 +0000 (20:43 +0100)]
[Minor] Fix Sophos ENCRYPTED caching

4 years agoMerge pull request #3234 from fatalbanana/auth_only
Vsevolod Stakhov [Thu, 23 Jan 2020 19:24:47 +0000 (19:24 +0000)]
Merge pull request #3234 from fatalbanana/auth_only

[Minor] Fix previous commit

4 years ago[Minor] Fix previous commit 3234/head
Andrew Lewis [Thu, 23 Jan 2020 19:23:25 +0000 (21:23 +0200)]
[Minor] Fix previous commit

4 years agoMerge pull request #3233 from fatalbanana/auth_only
Vsevolod Stakhov [Thu, 23 Jan 2020 19:20:22 +0000 (19:20 +0000)]
Merge pull request #3233 from fatalbanana/auth_only

[Minor] dkim_signing: auth_only is a misnomer (#3230)

4 years ago[Minor] dkim_signing: auth_only is a misnomer 3233/head
Andrew Lewis [Thu, 23 Jan 2020 18:25:47 +0000 (20:25 +0200)]
[Minor] dkim_signing: auth_only is a misnomer

4 years ago[Fix] Fix white on white rule and add is_leaf flag
Vsevolod Stakhov [Thu, 23 Jan 2020 18:58:46 +0000 (18:58 +0000)]
[Fix] Fix white on white rule and add is_leaf flag

4 years ago[Minor] Pet luacheck
Vsevolod Stakhov [Thu, 23 Jan 2020 16:33:20 +0000 (16:33 +0000)]
[Minor] Pet luacheck

4 years ago[Minor] Remove useless stuff
Vsevolod Stakhov [Thu, 23 Jan 2020 16:23:58 +0000 (16:23 +0000)]
[Minor] Remove useless stuff

4 years ago[Test] Fix/Improve radix testing
Vsevolod Stakhov [Thu, 23 Jan 2020 16:21:56 +0000 (16:21 +0000)]
[Test] Fix/Improve radix testing

4 years agoMerge pull request #3231 from moisseev/patch-1
Vsevolod Stakhov [Thu, 23 Jan 2020 08:25:11 +0000 (08:25 +0000)]
Merge pull request #3231 from moisseev/patch-1

[Minor] Fix spamtrap score

4 years ago[Minor] Fix spamtrap score 3231/head
Alexander Moisseev [Thu, 23 Jan 2020 06:39:47 +0000 (09:39 +0300)]
[Minor] Fix spamtrap score

Issue #3162

4 years ago[Feature] Implement content hashes
Vsevolod Stakhov [Wed, 22 Jan 2020 12:16:05 +0000 (12:16 +0000)]
[Feature] Implement content hashes

4 years ago[Project] Lua_content: Add preliminary support of fuzzy hashes from PDF scripts
Vsevolod Stakhov [Wed, 22 Jan 2020 11:40:33 +0000 (11:40 +0000)]
[Project] Lua_content: Add preliminary support of fuzzy hashes from PDF scripts

4 years ago[Minor] Lua_content: Use oneline to normalise JS stuff
Vsevolod Stakhov [Wed, 22 Jan 2020 11:01:27 +0000 (11:01 +0000)]
[Minor] Lua_content: Use oneline to normalise JS stuff

4 years ago[Minor] Lua_text: Add oneline method
Vsevolod Stakhov [Wed, 22 Jan 2020 11:01:18 +0000 (11:01 +0000)]
[Minor] Lua_text: Add oneline method

4 years ago[Minor] Pet luacheck, erm
Vsevolod Stakhov [Tue, 21 Jan 2020 12:56:58 +0000 (12:56 +0000)]
[Minor] Pet luacheck, erm

4 years ago[Minor] Fix detection rules
Vsevolod Stakhov [Tue, 21 Jan 2020 12:47:42 +0000 (12:47 +0000)]
[Minor] Fix detection rules

4 years ago[Project] Lua_content: Improve JS extraction logic
Vsevolod Stakhov [Tue, 21 Jan 2020 12:30:56 +0000 (12:30 +0000)]
[Project] Lua_content: Improve JS extraction logic

4 years ago[Minor] Debian: Add extra args to debian rules
Vsevolod Stakhov [Tue, 21 Jan 2020 10:57:22 +0000 (10:57 +0000)]
[Minor] Debian: Add extra args to debian rules

4 years ago[Minor] Lua_content: Fix objects regexp...
Vsevolod Stakhov [Tue, 21 Jan 2020 09:43:59 +0000 (09:43 +0000)]
[Minor] Lua_content: Fix objects regexp...

4 years ago[Minor] Fix PDF_JAVASCRIPT rule
Vsevolod Stakhov [Tue, 21 Jan 2020 09:27:13 +0000 (09:27 +0000)]
[Minor] Fix PDF_JAVASCRIPT rule

4 years agoMerge pull request #3228 from Lekensteyn/debian-reproducible-builds
Vsevolod Stakhov [Tue, 21 Jan 2020 09:11:14 +0000 (09:11 +0000)]
Merge pull request #3228 from Lekensteyn/debian-reproducible-builds

[Minor] Fix Debian reproducible builds

4 years ago[Minor] CMake: Add ENABLE_LTO option 3228/head
Peter Wu [Tue, 21 Jan 2020 04:13:16 +0000 (04:13 +0000)]
[Minor] CMake: Add ENABLE_LTO option

* The `CMAKE_BUILD_TYPE=None` option is commonly used to respect the
  user's optimization flags. Users may be interested in enabling LTO
  anyway in that case. Implement this the Debian build.
* Remove typo, the value is called RelWithDebInfo. Enable LTO for this
  by default.

4 years ago[Minor] Debian: set BUILD_WITH_INSTALL_RPATH=ON
Peter Wu [Tue, 21 Jan 2020 03:54:27 +0000 (03:54 +0000)]
[Minor] Debian: set BUILD_WITH_INSTALL_RPATH=ON

* Use the install RPATH to avoid relinking at install time.
* This additionally ensures reproducible builds invariant of the build
  directory since build paths such as `X/src:X/contrib/replxx:...` are
  no longer embedded in the binary.
* This assumes that binaries are not ran at build time. If this is
  needed, CMAKE_BUILD_RPATH_USE_ORIGIN=ON can be used instead (requires
  CMake 3.14). For older CMake, try setting LD_LIBRARY_PATH.

4 years ago[Minor] Make ragel-generated files independent of the parent directory
Peter Wu [Tue, 21 Jan 2020 02:53:24 +0000 (02:53 +0000)]
[Minor] Make ragel-generated files independent of the parent directory

* Use relative paths for `#line` directives to allow reproducible builds
  independent of the absolute build directory. For /b/rspamd/src/x.rl
  and build dir /b/build, it could result in `../../build/src/x.rl`.
* The `-L` option for `Inhibit writing #line directives` is useless, it
  just comments out the line with `/* ... */`, but that means that the
  source file is still different.
* Note that ragel only accepts one input file, despite plural `INPUTS`.

4 years ago[Minor] test: remove hard-coded build directory
Peter Wu [Tue, 21 Jan 2020 02:21:31 +0000 (02:21 +0000)]
[Minor] test: remove hard-coded build directory

* Reproducible build: avoid defining the BUILDROOT macro and avoid
  embedding the build directory in the test image. Instead rely on the
  test files being present next to the executable.
* I considered using g_test_build_filename, available since GLib 2.38
  (available on all supported platforms, RHEL 7, Debian, Ubuntu, etc.),
  but decided against it because it would require setting the
  G_TEST_SRCDIR or G_TEST_BUILDDIR environment variables. Therefore this
  patch simply parses argv0 directly.

4 years ago[Minor] contrib/snowball: fix modules.h location
Peter Wu [Tue, 21 Jan 2020 01:05:49 +0000 (01:05 +0000)]
[Minor] contrib/snowball: fix modules.h location

* Reproducible builds! No more absolute paths in source files, so the
  generated binary is also invariant of the build directory.
* Output modules.h in snowball/libstemmer/ instead of snowball/. This
  allows removal of the extra include directory and -f option.
* This partially reverts some changes in
  https://github.com/snowballstem/snowball/commit/d178f201fda878c26538401650a7d46c37a5e6f1
  and matches the commands in GNUmakefile.

4 years ago[Minor] contrib/libev: avoid absolute path for header
Peter Wu [Mon, 20 Jan 2020 23:44:05 +0000 (23:44 +0000)]
[Minor] contrib/libev: avoid absolute path for header

* Avoid including the absolute header path to permit reproducible builds
  invariant of the build direvtory.

4 years ago[Minor] Debian: set fixfilepath reproducible build option
Peter Wu [Mon, 20 Jan 2020 22:32:15 +0000 (22:32 +0000)]
[Minor] Debian: set fixfilepath reproducible build option

* Enable -ffile-prefix-map to ensure that assert statements in
  contrib/libev/ev.c and other places do not store the full file path.
  This ensures reproducible builds, invariant of the build directory.
  Supported since dpkg 1.19.1, including Debian buster and Ubuntu 19.04.
* Enable all hardening features while at it, this adds bindnow only. See
  https://manpages.debian.org/buster/dpkg-dev/dpkg-buildflags.1.en.html

4 years ago[Minor] debian/rules: move makefile targets (no functional change)
Peter Wu [Mon, 20 Jan 2020 22:25:40 +0000 (22:25 +0000)]
[Minor] debian/rules: move makefile targets (no functional change)

Remove .PHONY marker for consistency. Move override_dh_strip before the
target dh_makeshlibs as is is executed right before that.

4 years ago[Minor] Debian: update arches and versions in build dependencies
Peter Wu [Mon, 20 Jan 2020 20:43:13 +0000 (20:43 +0000)]
[Minor] Debian: update arches and versions in build dependencies

* glib 2.28 is the current minimum declared in CMakeLists.txt, but even
  Jessie satisfies that requirement. Remove it.
* Use DEB_HOST_ARCH for "The Debian architecture of the host machine"
  instead of DEB_TARGET_ARCH which is relevant for cross-compiling only.
* Update luajit arches based on https://packages.debian.org/sid/luajit
  * Added arm64, mips64el, ppc64, ppc64el (stretch-backports / buster).
  * Removed kfreebsd-i386 and 32-bit powerpc (removed in Jessie).
  * Removed powerpcspe (unofficial port with outdated luajit).
  * Maintained mips (removed after buster).

4 years agoMerge pull request #3226 from Lekensteyn/dist-simplify
Vsevolod Stakhov [Mon, 20 Jan 2020 18:55:38 +0000 (18:55 +0000)]
Merge pull request #3226 from Lekensteyn/dist-simplify

[Minor] Simplify creation of dist tarball that is reproducible

4 years ago[Minor] Lua_logger: Fix printing of sparse tables
Vsevolod Stakhov [Mon, 20 Jan 2020 17:14:13 +0000 (17:14 +0000)]
[Minor] Lua_logger: Fix printing of sparse tables

4 years ago[Minor] Filter crap from javascript
Vsevolod Stakhov [Mon, 20 Jan 2020 12:40:29 +0000 (12:40 +0000)]
[Minor] Filter crap from javascript

4 years ago[Minor] Update docs
Vsevolod Stakhov [Mon, 20 Jan 2020 12:37:07 +0000 (12:37 +0000)]
[Minor] Update docs

4 years ago[Minor] Lua_text: Support patterns
Vsevolod Stakhov [Mon, 20 Jan 2020 12:35:39 +0000 (12:35 +0000)]
[Minor] Lua_text: Support patterns

4 years ago[Minor] Lua_text: Add exclude_chars method
Vsevolod Stakhov [Mon, 20 Jan 2020 12:05:40 +0000 (12:05 +0000)]
[Minor] Lua_text: Add exclude_chars method

4 years ago[Project] Lua_content: Rework JS parsing
Vsevolod Stakhov [Mon, 20 Jan 2020 10:11:30 +0000 (10:11 +0000)]
[Project] Lua_content: Rework JS parsing

4 years ago[Minor] Lua_content: Implement plain strings unescape
Vsevolod Stakhov [Sun, 19 Jan 2020 09:54:32 +0000 (09:54 +0000)]
[Minor] Lua_content: Implement plain strings unescape

4 years ago[Minor] Lua_content: Make text/urls extraction optional
Vsevolod Stakhov [Sun, 19 Jan 2020 09:39:06 +0000 (09:39 +0000)]
[Minor] Lua_content: Make text/urls extraction optional

4 years agoMerge pull request #3227 from Lekensteyn/debian-packaging
Vsevolod Stakhov [Sun, 19 Jan 2020 09:20:48 +0000 (09:20 +0000)]
Merge pull request #3227 from Lekensteyn/debian-packaging

Bring Debian packaging up-to-date

4 years ago[Project] Lua_content: Implement JS extraction from PDF
Vsevolod Stakhov [Sat, 18 Jan 2020 21:20:50 +0000 (21:20 +0000)]
[Project] Lua_content: Implement JS extraction from PDF

4 years ago[Minor] Debian: remove unnecessary packages 3227/head
Peter Wu [Sat, 18 Jan 2020 20:48:28 +0000 (20:48 +0000)]
[Minor] Debian: remove unnecessary packages

dh-systemd is a transitional package and moved into debhelper, so remove
it. This is supported since Debian Stretch. This change has to be
reversed if Debian Jessie or Ubuntu Xenial have to be supported.

4 years ago[Minor] Debian: use non-deprecated libpcre2-dev package
Peter Wu [Sat, 18 Jan 2020 20:34:07 +0000 (20:34 +0000)]
[Minor] Debian: use non-deprecated libpcre2-dev package

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911935

4 years ago[Minor] Debian: Expand Build-Depends line and sort it
Peter Wu [Sat, 18 Jan 2020 20:30:54 +0000 (20:30 +0000)]
[Minor] Debian: Expand Build-Depends line and sort it

4 years ago[Minor] Debian: remove unused cmake options
Peter Wu [Sat, 18 Jan 2020 18:56:32 +0000 (18:56 +0000)]
[Minor] Debian: remove unused cmake options

GD (off by default) and TORCH (on by default) were removed in 2.0, the
examples option (off by default) was removed in 2.2.

4 years ago[Minor] Debian: add missing sodium dependency
Peter Wu [Sat, 18 Jan 2020 18:49:56 +0000 (18:49 +0000)]
[Minor] Debian: add missing sodium dependency

Required since rspamd 2.0. Even Debian Jessie ships 1.0.0, so add it
unconditionally.

4 years ago[Minor] Debian: Enable Hyperscan and parallel builds
Peter Wu [Sat, 18 Jan 2020 18:06:55 +0000 (18:06 +0000)]
[Minor] Debian: Enable Hyperscan and parallel builds

Debian 9 (Stretch) ships with Hyperscan 4.4.1, Ubuntu 18.04 ships with
Hyperscan 4.7.0. Follow rspamd's official recommendation and enable
support for these.

The --parallel option has been supported since 2009 and works perfectly
with CMake, so enable it by default.

4 years ago[Minor] Simplify creation of dist tarball that is reproducible 3226/head
Peter Wu [Sat, 18 Jan 2020 16:26:39 +0000 (16:26 +0000)]
[Minor] Simplify creation of dist tarball that is reproducible

Instead of archiving files from the working tree, distribute files as
committed. Use the 'git archive' command to achieve this, it results in
a reproducible tarball with the same timestamp as the latest commit.

4 years ago[Minor] Check type of resources
Vsevolod Stakhov [Sat, 18 Jan 2020 09:45:20 +0000 (09:45 +0000)]
[Minor] Check type of resources

4 years agoMerge pull request #3224 from korgoth1/master
Vsevolod Stakhov [Fri, 17 Jan 2020 16:18:15 +0000 (16:18 +0000)]
Merge pull request #3224 from korgoth1/master

[Test] excluding external relay ip example from spf.conf