Browse Source

emailrelay: added configuration options

- moved from net to mail category
- removed no-ssl package and added ssl support as configuration option (default enabled)
- added configuration option to support extended logging (default disabled)
- disabled build of test tools
- added LEDE compatibility (support for openssl without SSL3)

Signed-off-by: Federico Di Marco <fededim@gmail.com>
lilik-openwrt-22.03
Rupan 8 years ago
parent
commit
5758939831
4 changed files with 53 additions and 42 deletions
  1. +40
    -42
      mail/emailrelay/Makefile
  2. +0
    -0
      mail/emailrelay/files/emailrelay.auth
  3. +0
    -0
      mail/emailrelay/files/emailrelay.init
  4. +13
    -0
      mail/emailrelay/patches/010-ssl3-fix.patch

net/emailrelay/Makefile → mail/emailrelay/Makefile View File


net/emailrelay/files/emailrelay.auth → mail/emailrelay/files/emailrelay.auth View File


net/emailrelay/files/emailrelay.init → mail/emailrelay/files/emailrelay.init View File


+ 13
- 0
mail/emailrelay/patches/010-ssl3-fix.patch View File

@ -0,0 +1,13 @@
--- a/src/gssl/gssl_openssl.cpp
+++ b/src/gssl/gssl_openssl.cpp
@@ -292,8 +292,10 @@ GSsl::Context::Context( const std::strin
{
if( (flags&3U) == 2U )
m_ssl_ctx = SSL_CTX_new(SSLv23_method()) ;
+#ifdef SSL3_SUPPORT
else if( (flags&3U) == 3U )
m_ssl_ctx = SSL_CTX_new(SSLv3_method()) ;
+#endif
else
m_ssl_ctx = SSL_CTX_new(TLSv1_method()) ;

Loading…
Cancel
Save