commit afe7a39: [Minor] debian: enable fasttext

Andrew Lewis nerf at judo.za.org
Mon Jul 29 17:56:45 UTC 2024


Author: Andrew Lewis
Date: 2024-05-13 13:00:33 +0200
URL: https://github.com/rspamd/rspamd/commit/afe7a39faf6a414f484ca15ff585e785c3da2e2c (refs/pull/4961/head)

[Minor] debian: enable fasttext

---
 debian/control | 1 +
 debian/rules   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index 907d95d66..806b2f27f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Build-Depends: cmake,
                debhelper (>= 10),
                libarchive-dev,
                libcurl4-openssl-dev,
+               libfasttext-dev,
                libglib2.0-dev,
                libicu-dev,
                libmagic-dev,
diff --git a/debian/rules b/debian/rules
index 74771ede3..e5432c9cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,7 @@ override_dh_auto_configure: $(patsubst %,configure_%,$(FLAVORS))
 configure_%:
 	mkdir -p $(builddir)$*
 	cd $(builddir)$* && cmake ../../../  -DCONFDIR=/etc/rspamd \
+		-DENABLE_FASTTEXT=ON \
 		-DMANDIR=/usr/share/man \
 		-DRUNDIR=/run/rspamd \
 		-DDBDIR=/var/lib/rspamd \


More information about the Commits mailing list