[exim-cvs] Feature advertisements for radius and pwcheck

Página Inicial
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Assunto: [exim-cvs] Feature advertisements for radius and pwcheck
Gitweb: https://git.exim.org/exim.git/commitdiff/445c8a471eefdfc7341a7b53d692650582ade484
Commit:     445c8a471eefdfc7341a7b53d692650582ade484
Parent:     57b65f17d5f4e971297e78dcc8cf1144bfa83598
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 10 10:06:56 2023 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 10 10:06:56 2023 +0100


    Feature advertisements for radius and pwcheck
---
 src/src/exim.c         | 32 +++++++++++++++++++-------------
 src/src/macro_predef.c |  6 ++++++
 2 files changed, 25 insertions(+), 13 deletions(-)


diff --git a/src/src/exim.c b/src/src/exim.c
index a96d12167..8a78689ff 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -1026,47 +1026,53 @@ gstring * g = NULL;
DEBUG(D_any) {} else g = show_db_version(g);

g = string_cat(g, US"Support for:");
+#ifdef WITH_CONTENT_SCAN
+ g = string_cat(g, US" Content_Scanning");
+#endif
#ifdef SUPPORT_CRYPTEQ
g = string_cat(g, US" crypteq");
#endif
+#ifdef EXPAND_DLFUNC
+ g = string_cat(g, US" Expand_dlfunc");
+#endif
#if HAVE_ICONV
g = string_cat(g, US" iconv()");
#endif
#if HAVE_IPV6
g = string_cat(g, US" IPv6");
#endif
-#ifdef HAVE_SETCLASSRESOURCES
- g = string_cat(g, US" use_setclassresources");
-#endif
#ifdef SUPPORT_PAM
g = string_cat(g, US" PAM");
#endif
#ifdef EXIM_PERL
g = string_cat(g, US" Perl");
#endif
-#ifdef EXPAND_DLFUNC
- g = string_cat(g, US" Expand_dlfunc");
-#endif
-#ifdef USE_TCP_WRAPPERS
- g = string_cat(g, US" TCPwrappers");
-#endif
#ifdef USE_GNUTLS
g = string_cat(g, US" GnuTLS");
#endif
+#ifdef SUPPORT_MOVE_FROZEN_MESSAGES
+ g = string_cat(g, US" move_frozen_messages");
+#endif
#ifdef USE_OPENSSL
g = string_cat(g, US" OpenSSL");
#endif
+#if defined(CYRUS_PWCHECK_SOCKET)
+ g = string_cat(g, US" pwcheck");
+#endif
+#if defined(RADIUS_CONFIG_FILE)
+ g = string_cat(g, US" radius");
+#endif
#ifndef DISABLE_TLS_RESUME
g = string_cat(g, US" TLS_resume");
#endif
#ifdef SUPPORT_TRANSLATE_IP_ADDRESS
g = string_cat(g, US" translate_ip_address");
#endif
-#ifdef SUPPORT_MOVE_FROZEN_MESSAGES
- g = string_cat(g, US" move_frozen_messages");
+#ifdef USE_TCP_WRAPPERS
+ g = string_cat(g, US" TCPwrappers");
#endif
-#ifdef WITH_CONTENT_SCAN
- g = string_cat(g, US" Content_Scanning");
+#ifdef HAVE_SETCLASSRESOURCES
+ g = string_cat(g, US" use_setclassresources");
#endif
#ifdef SUPPORT_DANE
g = string_cat(g, US" DANE");
diff --git a/src/src/macro_predef.c b/src/src/macro_predef.c
index 8fade68ca..1cf1a4742 100644
--- a/src/src/macro_predef.c
+++ b/src/src/macro_predef.c
@@ -119,6 +119,12 @@ due to conflicts with other common macros. */
#ifdef SUPPORT_PAM
builtin_macro_create(US"_HAVE_PAM");
#endif
+#ifdef RADIUS_CONFIG_FILE
+ builtin_macro_create(US"_HAVE_RADIUS");
+#endif
+#ifdef CYRUS_PWCHECK_SOCKET
+ builtin_macro_create(US"_HAVE_PWCHECK");
+#endif
#ifdef EXIM_PERL
builtin_macro_create(US"_HAVE_PERL");
#endif

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/