Package: rspamd / 2.7-1

0006-do-not-install-fonts-packaged-by-Debian.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Wed, 15 Jan 2020 16:40:41 +0100
Subject: do not install fonts packaged by Debian

Forwarded: not-needed
---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -756,7 +756,9 @@ INSTALL(PROGRAMS "utils/rspamd_stats.pl"
 
 # Install webui
 IF(INSTALL_WEBUI MATCHES "ON")
-	INSTALL(DIRECTORY "interface/" DESTINATION ${WWWDIR} PATTERN ".git" EXCLUDE)
+	INSTALL(DIRECTORY "interface/" DESTINATION ${WWWDIR}
+	       	PATTERN ".git" EXCLUDE
+		PATTERN "glyphicons-halflings-regular.*" EXCLUDE)
 ENDIF(INSTALL_WEBUI MATCHES "ON")