[24799] trunk/dports/net/iperf
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 4 11:46:48 PDT 2007
Revision: 24799
http://trac.macosforge.org/projects/macports/changeset/24799
Author: pmq at macports.org
Date: 2007-05-04 11:46:47 -0700 (Fri, 04 May 2007)
Log Message:
-----------
Version bump to 2.0.2.
Modified Paths:
--------------
trunk/dports/net/iperf/Portfile
Added Paths:
-----------
trunk/dports/net/iperf/files/patch-Thread.c
Removed Paths:
-------------
trunk/dports/net/iperf/files/Makefile.diff
Modified: trunk/dports/net/iperf/Portfile
===================================================================
--- trunk/dports/net/iperf/Portfile 2007-05-04 17:37:59 UTC (rev 24798)
+++ trunk/dports/net/iperf/Portfile 2007-05-04 18:46:47 UTC (rev 24799)
@@ -3,7 +3,7 @@
PortSystem 1.0
name iperf
-version 1.7.0
+version 2.0.2
categories net
platforms darwin
maintainers pmq at macports.org
@@ -16,14 +16,7 @@
loss, and jitter.
homepage http://dast.nlanr.net/Projects/Iperf
-master_sites ${homepage}
-checksums md5 3e4aea85822bcf10ed14040f4b26bd26
-distname ${name}-${version}-source
-worksrcdir ${name}-${version}
+master_sites http://dast.nlanr.net/Projects/Iperf2.0
+checksums md5 bb658aba58a5af0356f5b1342dfe8f53
-patchfiles Makefile.diff
-post-patch {
- reinplace "s|@install_prefix@|${destroot}${prefix}/bin|g" ${worksrcpath}/Makefile
-}
-
-configure.dir ${worksrcpath}/cfg
+patchfiles patch-Thread.c
Deleted: trunk/dports/net/iperf/files/Makefile.diff
===================================================================
--- trunk/dports/net/iperf/files/Makefile.diff 2007-05-04 17:37:59 UTC (rev 24798)
+++ trunk/dports/net/iperf/files/Makefile.diff 2007-05-04 18:46:47 UTC (rev 24799)
@@ -1,17 +0,0 @@
---- Makefile Mon Jan 13 15:41:21 2003
-+++ Makefile.monkey Fri Mar 7 20:46:04 2003
-@@ -60,12 +60,12 @@
-
- install: $(PROG)
- @echo
-- @echo "Where should the iperf binary be installed? [/usr/local/bin]"
-+ @echo "Where should the iperf binary be installed? [@install_prefix@]"
- @read INSTALL_DIR; \
- export INSTALL_DIR; \
- INSTALL_DIR=`echo $$INSTALL_DIR | perl -p -e 's/~/$$ENV{"HOME"}/'`; \
- if test -z "$$INSTALL_DIR"; then \
-- INSTALL_DIR=/usr/local/bin; \
-+ INSTALL_DIR=@install_prefix@; \
- fi; \
- echo ; (cd src ; make install);
-
Added: trunk/dports/net/iperf/files/patch-Thread.c
===================================================================
--- trunk/dports/net/iperf/files/patch-Thread.c (rev 0)
+++ trunk/dports/net/iperf/files/patch-Thread.c 2007-05-04 18:46:47 UTC (rev 24799)
@@ -0,0 +1,11 @@
+--- compat/Thread.c.orig 2007-05-04 20:41:46.000000000 +0200
++++ compat/Thread.c 2007-05-04 20:42:15.000000000 +0200
+@@ -202,7 +202,7 @@
+ #if defined( HAVE_POSIX_THREAD )
+ // Cray J90 doesn't have pthread_cancel; Iperf works okay without
+ #ifdef HAVE_PTHREAD_CANCEL
+- pthread_cancel( oldTID );
++ pthread_cancel( thread->mTID );
+ #endif
+ #else // Win32
+ // this is a somewhat dangerous function; it's not
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070504/83efd064/attachment.html
More information about the macports-changes
mailing list