[packages/exim] - rel 8; debian localscan_dlopen patch forces -fvisibility=hidden which breaks dynamic lookup module
    arekm 
    arekm at pld-linux.org
       
    Wed Jan  8 13:22:59 CET 2020
    
    
  
commit c3c03586787a6159166233298cceb96470fcfa55
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jan 8 13:22:41 2020 +0100
    - rel 8; debian localscan_dlopen patch forces -fvisibility=hidden which breaks dynamic lookup modules (exim stops providing symbols needed by these modules). Disable dynamic lookup modules as these are shipped in the same package anyway. Use static lookup modules.
 exim.spec                                  | 4 ++--
 localscan_dlopen_exim_4.20_or_better.patch | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/exim.spec b/exim.spec
index c5ab69a..7069c39 100644
--- a/exim.spec
+++ b/exim.spec
@@ -8,7 +8,7 @@
 %bcond_without	ldap	# without LDAP support
 %bcond_without	spf	# without spf support
 %bcond_without	srs	# without srs support
-%bcond_without	dynamic # dynamic modules
+%bcond_with	dynamic # dynamic modules
 %bcond_without	hiredis # without redis
 # opendmarc.spec not ready, so off by default
 %bcond_with	dmarc	# DMARC support
@@ -25,7 +25,7 @@ Summary(pl.UTF-8):	Agent Transferu Poczty Uniwersytetu w Cambridge
 Summary(pt_BR.UTF-8):	Servidor de correio eletrônico exim
 Name:		exim
 Version:	4.93
-Release:	7
+Release:	8
 Epoch:		2
 License:	GPL
 Group:		Networking/Daemons/SMTP
diff --git a/localscan_dlopen_exim_4.20_or_better.patch b/localscan_dlopen_exim_4.20_or_better.patch
index edb18be..cef1b2a 100644
--- a/localscan_dlopen_exim_4.20_or_better.patch
+++ b/localscan_dlopen_exim_4.20_or_better.patch
@@ -93,7 +93,7 @@ Last-Update: 2019-10-20
  /* This is the only Exim header that you should include. The effect of
  including any other Exim header is not defined, and may change from release to
  release. Use only the documented interface! */
-@@ -29,37 +13,129 @@ release. Use only the documented interfa
+@@ -29,37 +13,130 @@ release. Use only the documented interfa
  #include "local_scan.h"
  
  
@@ -123,6 +123,7 @@ Last-Update: 2019-10-20
 -*/
 +#ifdef DLOPEN_LOCAL_SCAN
 +#include <dlfcn.h>
++#include <stdlib.h>
 +static int (*local_scan_fn)(int fd, uschar **return_text) = NULL;
 +static int load_local_scan_library(void);
 +#endif
@@ -305,3 +306,4 @@ Last-Update: 2019-10-20
  #endif
  
  
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/exim.git/commitdiff/c3c03586787a6159166233298cceb96470fcfa55
    
    
More information about the pld-cvs-commit
mailing list