ports/108840: [UPDATE] benchmarks/postal 0.62 -> 0.65

Martin Matuska martin at matuska.org
Tue Feb 6 16:30:14 UTC 2007


>Number:         108840
>Category:       ports
>Synopsis:       [UPDATE] benchmarks/postal 0.62 -> 0.65
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 16:30:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD 6.2-RELEASE i386 and amd64
>Description:
Update of benchmarks/postal 0.62 -> 0.65

- added patches for correct build
- fixed plist.

As there is no maintainer,
I would like to take maintainership of this port.

Tested with portlint & tinderbox.

Tinderbox log:
http://tinderbox.vx.sk/logs/6.2-FreeBSD-amd64/postal-0.65.log

>How-To-Repeat:
>Fix:
diff -Nbur benchmarks/postal.orig/Makefile benchmarks/postal/Makefile
--- benchmarks/postal.orig/Makefile	Tue Feb  6 17:12:00 2007
+++ benchmarks/postal/Makefile	Tue Feb  6 17:18:29 2007
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	postal
-PORTVERSION=	0.62
+PORTVERSION=	0.65
 CATEGORIES=	benchmarks mail
 MASTER_SITES=	http://www.coker.com.au/postal/
 EXTRACT_SUFX=	.tgz
@@ -19,9 +19,12 @@
 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 -Nbur benchmarks/postal.orig/distinfo benchmarks/postal/distinfo
--- benchmarks/postal.orig/distinfo	Tue Feb  6 17:12:00 2007
+++ benchmarks/postal/distinfo	Tue Feb  6 16:51:19 2007
@@ -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 -Nbur benchmarks/postal.orig/files/patch-basictcp.cpp benchmarks/postal/files/patch-basictcp.cpp
--- benchmarks/postal.orig/files/patch-basictcp.cpp	Thu Jan  1 01:00:00 1970
+++ benchmarks/postal/files/patch-basictcp.cpp	Tue Feb  6 17:05:47 2007
@@ -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 -Nbur benchmarks/postal.orig/files/patch-bhm.cpp benchmarks/postal/files/patch-bhm.cpp
--- benchmarks/postal.orig/files/patch-bhm.cpp	Thu Jan  1 01:00:00 1970
+++ benchmarks/postal/files/patch-bhm.cpp	Tue Feb  6 17:05:19 2007
@@ -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"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list