File: link-with-wolfssl-instead-of-libcrypto.patch

package info (click to toggle)
muchsync 6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 580 kB
  • sloc: cpp: 3,860; sh: 982; makefile: 17
file content (23 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Subject: [PATCH] Link with wolfssl instead of libcrypto
From: Bastian Germann <bastiangermann@fishpost.de>
Last-Update: 2020-02-22

muchsync is GPL-2+ licensed and incompatible with linking against OpenSSL.
Link with the drop-in replacement wolfSSL instead.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -u a/configure.ac b/configure.ac
index 9533bff..5878ab1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@ AC_CHECK_FUNCS(openat)
 AC_CHECK_FUNCS(fdopendir)
 
 PKG_CHECK_MODULES([sqlite3], [sqlite3])
-PKG_CHECK_MODULES([libcrypto], [libcrypto])
+PKG_CHECK_MODULES([libcrypto], [wolfssl])
 
 AC_PATH_PROG(XAPIAN_CONFIG, xapian-config)
 test -n "$XAPIAN_CONFIG" || AC_MSG_ERROR(Cannot find xapian-config)