diff options
author | itetcu <itetcu@FreeBSD.org> | 2012-06-05 06:48:35 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2012-06-05 06:48:35 +0800 |
commit | eed9e8e4e87a2b6e2695072614d3ba0daada8c25 (patch) | |
tree | e6c62f7ba63310cf4b6eaa6cbb63db4993aec5ec /net | |
parent | cb40ff609dcd9481cb826073655387016fa8ef49 (diff) | |
download | freebsd-ports-gnome-eed9e8e4e87a2b6e2695072614d3ba0daada8c25.tar.gz freebsd-ports-gnome-eed9e8e4e87a2b6e2695072614d3ba0daada8c25.tar.zst freebsd-ports-gnome-eed9e8e4e87a2b6e2695072614d3ba0daada8c25.zip |
Fix run-time breackage:
- recent versions of p5-IO-Socket-SSL defaut to SSLv2, SSLv3 and TLSv1 support
for initial protocol handshakes, with SSLv2 not be accepted, actually leaving
only SSLv3 and TLSv1. So there's no need to set the SSL version explicitly when
calling IO::Socket::SSL->start_SSL() anymore (and actually this way we're a bit
more compatible with various server outhere).
- bump PORTREVISION
- drop a custom CVS keyword as I'm not using my CVS to maintain ports since ..
well, since I became a commiter :)
Reported by: Gerard Seibert <gerard@seibercom.net>,
"saberx.geo" <ollie@orobouros.net>,
Carmel <carmel_ny@hotmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sendemail/Makefile | 2 | ||||
-rw-r--r-- | net/sendemail/files/patch-sendEmail | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/sendemail/Makefile b/net/sendemail/Makefile index 62d5ce61a855..2c5dac418e56 100644 --- a/net/sendemail/Makefile +++ b/net/sendemail/Makefile @@ -4,10 +4,10 @@ # # $FreeBSD$ # -# $Tecnik: ports/net/sendemail/Makefile,v 1.1 2005/12/17 01:22:24 itetcu Exp $ PORTNAME= sendEmail PORTVERSION= 1.56 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://caspian.dotconf.net/menu/Software/SendEmail/ \ http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/ diff --git a/net/sendemail/files/patch-sendEmail b/net/sendemail/files/patch-sendEmail new file mode 100644 index 000000000000..3e45240131fb --- /dev/null +++ b/net/sendemail/files/patch-sendEmail @@ -0,0 +1,11 @@ +--- ./sendEmail.orig 2012-06-05 01:35:29.000000000 +0300 ++++ ./sendEmail 2012-06-05 01:36:44.000000000 +0300 +@@ -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)) { + quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1); + } + printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3); |