summaryrefslogtreecommitdiff
path: root/benchmarks/postal
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-06 17:06:07 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-06 17:06:07 +0000
commitdfdc908706cb6091b2b79164b943770ee638794e (patch)
treebee79884606cbb164179ca8cdb2828b696a568eb /benchmarks/postal
parent- Update to 1.9.10 (diff)
- Update to 0.65
- Pass maintainership to submitter PR: ports/108840 Submitted by: Martin Matuska <martin at matuska.org>
Notes
Notes: svn path=/head/; revision=184384
Diffstat (limited to 'benchmarks/postal')
-rw-r--r--benchmarks/postal/Makefile11
-rw-r--r--benchmarks/postal/distinfo6
-rw-r--r--benchmarks/postal/files/patch-basictcp.cpp13
-rw-r--r--benchmarks/postal/files/patch-bhm.cpp12
4 files changed, 35 insertions, 7 deletions
diff --git a/benchmarks/postal/Makefile b/benchmarks/postal/Makefile
index de822fc731b3..e742bc8742cd 100644
--- a/benchmarks/postal/Makefile
+++ b/benchmarks/postal/Makefile
@@ -7,21 +7,24 @@
#
PORTNAME= postal
-PORTVERSION= 0.62
+PORTVERSION= 0.65
CATEGORIES= benchmarks mail
MASTER_SITES= http://www.coker.com.au/postal/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= martin@matuska.org
COMMENT= Benchmark SMTP/POP servers
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-PLIST_FILES= sbin/postal sbin/postal-list sbin/rabid
+PLIST_FILES= sbin/bhm sbin/postal bin/postal-list sbin/rabid
-MAN8= postal.8 postal-list.8 rabid.8
+MAN1= postal-list.1
+MAN8= bhm.8 postal.8 rabid.8
+
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
post-patch:
@${REINPLACE_CMD} -e "s,-pthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
diff --git a/benchmarks/postal/distinfo b/benchmarks/postal/distinfo
index d8d8c286978b..2aff78865243 100644
--- a/benchmarks/postal/distinfo
+++ b/benchmarks/postal/distinfo
@@ -1,3 +1,3 @@
-MD5 (postal-0.62.tgz) = 4a2eb25973c4f427022414e3e433ccb5
-SHA256 (postal-0.62.tgz) = 937252ddff2576364f3ea5ce05a9247ec5ab8e043a951c6c1ad6ce15d016ddd6
-SIZE (postal-0.62.tgz) = 84506
+MD5 (postal-0.65.tgz) = b1466c62e191aa10fc5ffad49cec9f19
+SHA256 (postal-0.65.tgz) = 87dbc4eac98261b707ebacca25d3ed4e90b545826908585567e7b8c201a8411e
+SIZE (postal-0.65.tgz) = 120745
diff --git a/benchmarks/postal/files/patch-basictcp.cpp b/benchmarks/postal/files/patch-basictcp.cpp
new file mode 100644
index 000000000000..ed5ac3f065b9
--- /dev/null
+++ b/benchmarks/postal/files/patch-basictcp.cpp
@@ -0,0 +1,13 @@
+--- basictcp.cpp.orig Tue Feb 6 16:03:18 2007
++++ basictcp.cpp Tue Feb 6 16:03:53 2007
+@@ -14,8 +14,10 @@
+ #include "logit.h"
+ #include "results.h"
+
++#ifndef USE_OPENSSL
+ int base_tcp::m_init_dh_params = 0;
+ gnutls_dh_params_t base_tcp::m_dh_params;
++#endif
+
+ base_tcp::base_tcp(int fd, Logit *log, Logit *debug, results *res
+ #ifdef USE_SSL
diff --git a/benchmarks/postal/files/patch-bhm.cpp b/benchmarks/postal/files/patch-bhm.cpp
new file mode 100644
index 000000000000..32271d323ff7
--- /dev/null
+++ b/benchmarks/postal/files/patch-bhm.cpp
@@ -0,0 +1,12 @@
+--- bhm.cpp.orig Tue Feb 6 16:04:04 2007
++++ bhm.cpp Tue Feb 6 16:05:12 2007
+@@ -13,7 +13,9 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
++#ifndef __FreeBSD__
+ #include <netinet/ip.h>
++#endif
+
+ #include "postal.h"
+ #include "logit.h"