aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-03-23 21:17:43 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-03-23 21:17:43 +0000
commit6f2378b7698223aac50c3dfe2656aa39b73412c9 (patch)
tree44681b9c30a3e2eb3d7c3b68ea78ea36ea36b9fd
parentd25eacbd9764d1d942ae7cd2c12a6252cc939778 (diff)
downloadports-6f2378b7698223aac50c3dfe2656aa39b73412c9.tar.gz
ports-6f2378b7698223aac50c3dfe2656aa39b73412c9.zip
Notes
-rw-r--r--benchmarks/postal/Makefile2
-rw-r--r--benchmarks/postal/files/patch-basictcp.cpp15
-rw-r--r--benchmarks/postal/files/patch-tcp.cpp15
3 files changed, 31 insertions, 1 deletions
diff --git a/benchmarks/postal/Makefile b/benchmarks/postal/Makefile
index 4a987e27445b..096c66523607 100644
--- a/benchmarks/postal/Makefile
+++ b/benchmarks/postal/Makefile
@@ -3,7 +3,7 @@
PORTNAME= postal
PORTVERSION= 0.73
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= benchmarks mail
MASTER_SITES= http://www.coker.com.au/postal/
diff --git a/benchmarks/postal/files/patch-basictcp.cpp b/benchmarks/postal/files/patch-basictcp.cpp
new file mode 100644
index 000000000000..a229d46c4e62
--- /dev/null
+++ b/benchmarks/postal/files/patch-basictcp.cpp
@@ -0,0 +1,15 @@
+--- basictcp.cpp.orig 2012-01-01 06:36:27.000000000 -0500
++++ basictcp.cpp 2015-03-23 17:06:40.355148000 -0400
+@@ -102,10 +102,10 @@
+ m_sslMeth = NULL;
+ m_sslCtx = NULL;
+ m_ssl = NULL;
+- m_sslMeth = SSLv2_client_method();
++ m_sslMeth = SSLv3_client_method();
+ if(m_sslMeth == NULL)
+ {
+- fprintf(stderr, "Can't get SSLv2_client_method.\n");
++ fprintf(stderr, "Can't get SSLv3_client_method.\n");
+ return 2;
+ }
+ m_sslCtx = SSL_CTX_new(m_sslMeth);
diff --git a/benchmarks/postal/files/patch-tcp.cpp b/benchmarks/postal/files/patch-tcp.cpp
new file mode 100644
index 000000000000..7d23b07af774
--- /dev/null
+++ b/benchmarks/postal/files/patch-tcp.cpp
@@ -0,0 +1,15 @@
+--- tcp.cpp.orig 2012-01-01 06:24:45.000000000 -0500
++++ tcp.cpp 2015-03-23 17:06:52.611229000 -0400
+@@ -178,10 +178,10 @@
+ #ifdef USE_OPENSSL
+ m_sslCtx = NULL;
+ m_ssl = NULL;
+- m_sslMeth = SSLv2_client_method();
++ m_sslMeth = SSLv3_client_method();
+ if(m_sslMeth == NULL)
+ {
+- fprintf(stderr, "Can't get SSLv2_client_method.\n");
++ fprintf(stderr, "Can't get SSLv3_client_method.\n");
+ error();
+ return 2;
+ }