[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[7188] ipcop/trunk
From:       owes () users ! sourceforge ! net
Date:       2013-12-15 18:20:12
Message-ID: E1VsGIa-00088B-3E () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 7188
          http://sourceforge.net/p/ipcop/svn/7188
Author:   owes
Date:     2013-12-15 18:20:09 +0000 (Sun, 15 Dec 2013)
Log Message:
-----------
Patch borrowed from Debian to fix wrong SSL version syntax in sendEmail. Newer \
IO-Socket-SSL does better syntax checking. There is another problem with sendEmail \
and some mail servers which is under investigation.

Modified Paths:
--------------
    ipcop/trunk/lfs/sendEmail
    ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0

Added Paths:
-----------
    ipcop/trunk/src/patches/sendEmail-v1.56_fix-ssl-version.patch

Modified: ipcop/trunk/lfs/sendEmail
===================================================================
--- ipcop/trunk/lfs/sendEmail	2013-12-14 22:33:59 UTC (rev 7187)
+++ ipcop/trunk/lfs/sendEmail	2013-12-15 18:20:09 UTC (rev 7188)
@@ -82,6 +82,7 @@
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)_system-logger.patch
+	cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)_fix-ssl-version.patch
 
 	cd $(DIR_APP) && install -m 0755 sendEmail /usr/bin
 

Added: ipcop/trunk/src/patches/sendEmail-v1.56_fix-ssl-version.patch
===================================================================
--- ipcop/trunk/src/patches/sendEmail-v1.56_fix-ssl-version.patch	                    \
                (rev 0)
+++ ipcop/trunk/src/patches/sendEmail-v1.56_fix-ssl-version.patch	2013-12-15 18:20:09 \
UTC (rev 7188) @@ -0,0 +1,14 @@
+Description: Fix ssl enabled bug.
+Bug-Debian: http://bugs.debian.org/679911
+Author: Alejandro Garrido Mota <alejandro@debian.org>
+--- a/sendEmail
++++ b/sendEmail
+@@ -1903,7 +1903,7 @@
+     if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ \
/^(yes|auto)$/) { +         printmsg("DEBUG => Starting TLS", 2);
+         if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
+-        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3 TLSv1')) {
++        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv23:!SSLv2')) \
{ +             quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
+         }
+         printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);

Modified: ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0
===================================================================
--- ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0	2013-12-14 22:33:59 UTC (rev 7187)
+++ ipcop/trunk/updates/2.1.0/ROOTFILES.i486-2.1.0	2013-12-15 18:20:09 UTC (rev 7188)
@@ -1256,6 +1256,9 @@
 ## sed-4.2.2
 /bin/sed
 ##
+## sendEmail-1.56 patched
+/usr/bin/sendEmail
+##
 ## shadow-4.1.5.1
 /bin/login
 /bin/passwd

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic