Hi ports@, simple update to the last stable release (found by unreachable homepage).
- HOMEPAGE / MASTER_SITES update - cleanup - remove unnecessary patch OK? Comments? Kind regards, Rafael Index: Makefile =================================================================== RCS file: /cvs/ports/benchmarks/netpipe/Makefile,v retrieving revision 1.27 diff -u -p -u -p -r1.27 Makefile --- Makefile 22 Jan 2015 17:47:50 -0000 1.27 +++ Makefile 25 Sep 2016 20:43:28 -0000 @@ -2,26 +2,30 @@ COMMENT= self-scaling network benchmark -DISTNAME= netpipe-2.4 -DISTFILES= NetPIPE_2.4.tar.gz -REVISION= 0 +DISTNAME= netpipe-3.7.2 +DISTNAME= NetPIPE-3.7.2 CATEGORIES= benchmarks net -HOMEPAGE= http://www.scl.ameslab.gov/netpipe/ +HOMEPAGE= http://bitspjoule.org/netpipe/ PERMIT_PACKAGE_CDROM= Yes WANTLIB= c MASTER_SITES= ${HOMEPAGE}/code/ +EXTRACT_SUFX= .tar.gz + +WRKSRC= ${WRKDIR}/${DISTNAME} MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_GETRUSAGE" -ALL_TARGET= NPtcp NO_TEST= Yes +pre-build: + cd ${WRKSRC} && mv makefile Makefile + do-install: ${INSTALL_PROGRAM} ${WRKBUILD}/NPtcp ${PREFIX}/bin - ${INSTALL_MAN} ${WRKBUILD}/netpipe.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKBUILD}/dox/netpipe.1 ${PREFIX}/man/man1 cd ${PREFIX}/bin && ln -sf NPtcp netpipe - + .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/benchmarks/netpipe/distinfo,v retrieving revision 1.5 diff -u -p -u -p -r1.5 distinfo --- distinfo 18 Jan 2015 03:12:51 -0000 1.5 +++ distinfo 25 Sep 2016 20:43:28 -0000 @@ -1,2 +1,2 @@ -SHA256 (NetPIPE_2.4.tar.gz) = LUYjlHvxj0Qd6Dd+EOC76pTLN2RgcrssQ0qN8V30/nE= -SIZE (NetPIPE_2.4.tar.gz) = 23009 +SHA256 (NetPIPE-3.7.2.tar.gz) = E9rIhP9SlRY29lHEIfX/SoUyGKlaoopKhSQC7jhaKrg= +SIZE (NetPIPE-3.7.2.tar.gz) = 400248 Index: patches/patch-netpipe_h =================================================================== RCS file: patches/patch-netpipe_h diff -N patches/patch-netpipe_h --- patches/patch-netpipe_h 8 Jul 2011 09:33:25 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,24 +0,0 @@ -$OpenBSD: patch-netpipe_h,v 1.1 2011/07/08 09:33:25 jasper Exp $ ---- netpipe.h.orig Tue Apr 27 22:55:57 1999 -+++ netpipe.h Fri Jul 8 11:32:28 2011 -@@ -20,6 +20,7 @@ - #include <stdlib.h> /* malloc(3) */ - #include <string.h> - #include <sys/types.h> -+#include <sys/param.h> - #include <sys/time.h> /* struct timeval */ - #ifdef HAVE_GETRUSAGE - #include <sys/resource.h> -@@ -38,8 +39,12 @@ - #define MAXINT 2147483647 - - #define ABS(x) (((x) < 0)?(-(x)):(x)) -+#ifndef MIN - #define MIN(x,y) (((x) < (y))?(x):(y)) -+#endif -+#ifndef MAX - #define MAX(x,y) (((x) > (y))?(x):(y)) -+#endif - - /* Need to include the protocol structure header file. */ - /* Change this to reflect the protocol */ Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/benchmarks/netpipe/pkg/PLIST,v retrieving revision 1.3 diff -u -p -u -p -r1.3 PLIST --- pkg/PLIST 6 Aug 2004 14:37:29 -0000 1.3 +++ pkg/PLIST 25 Sep 2016 20:43:28 -0000 @@ -1,4 +1,4 @@ @comment $OpenBSD: PLIST,v 1.3 2004/08/06 14:37:29 espie Exp $ -bin/NPtcp +@bin bin/NPtcp bin/netpipe @man man/man1/netpipe.1