summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/pathchirp/Makefile10
-rw-r--r--benchmarks/pathchirp/files/LICENSE-MARYLAND19
-rw-r--r--benchmarks/pathchirp/files/LICENSE-RICE22
-rw-r--r--benchmarks/pathchirp/files/patch-Src_chirps__rcv.c13
-rw-r--r--benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h14
5 files changed, 78 insertions, 0 deletions
diff --git a/benchmarks/pathchirp/Makefile b/benchmarks/pathchirp/Makefile
index fde0945a0396..96fe3d7b9fcc 100644
--- a/benchmarks/pathchirp/Makefile
+++ b/benchmarks/pathchirp/Makefile
@@ -3,12 +3,22 @@
PORTNAME= pathchirp
PORTVERSION= 2.4.1
+PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://www.spin.rice.edu/Software/pathChirp/
MAINTAINER= dikshie@lapi.itb.ac.id
COMMENT= Measurement tool for available bandwidth estimation
+LICENSE= RICE MARYLAND
+LICENSE_COMB= multi
+LICENSE_NAME_RICE= Rice University License
+LICENSE_FILE_RICE= ${PATCHDIR}/LICENSE-RICE
+LICENSE_PERMS_RICE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_NAME_MARYLAND= University of Maryland License
+LICENSE_FILE_MARYLAND= ${PATCHDIR}/LICENSE-MARYLAND
+LICENSE_PERMS_MARYLAND= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
GNU_CONFIGURE= yes
USES= gmake
USE_CSTD= gnu89
diff --git a/benchmarks/pathchirp/files/LICENSE-MARYLAND b/benchmarks/pathchirp/files/LICENSE-MARYLAND
new file mode 100644
index 000000000000..a5a67e7ec0ad
--- /dev/null
+++ b/benchmarks/pathchirp/files/LICENSE-MARYLAND
@@ -0,0 +1,19 @@
+Copyright (c) 1991 University of Maryland
+All Rights Reserved.
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation, and that the name of U.M. not be used in advertising or
+publicity pertaining to distribution of the software without specific,
+written prior permission. U.M. makes no representations about the
+suitability of this software for any purpose. It is provided "as is"
+without express or implied warranty.
+
+U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M.
+BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/benchmarks/pathchirp/files/LICENSE-RICE b/benchmarks/pathchirp/files/LICENSE-RICE
new file mode 100644
index 000000000000..f162ee5b5122
--- /dev/null
+++ b/benchmarks/pathchirp/files/LICENSE-RICE
@@ -0,0 +1,22 @@
+Copyright (c) 2003 - 2005 Rice University
+All Rights Reserved.
+
+Permission to use, copy, modify, distribute, and sell this software
+and its documentation is hereby granted without
+fee, provided that the above copyright notice appear in all copies
+and that both that copyright notice and this permission notice
+appear in supporting documentation, and that the name of Rice
+University not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior
+permission. Rice University makes no representations about the
+suitability of this software for any purpose. It is provided "as
+is" without express or implied warranty.
+
+RICE UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS, IN NO EVENT SHALL RICE UNIVERSITY BE LIABLE FOR ANY
+SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
+AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
+SOFTWARE.
diff --git a/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c b/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c
new file mode 100644
index 000000000000..e629e8c31938
--- /dev/null
+++ b/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c
@@ -0,0 +1,13 @@
+--- Src/chirps_rcv.c.orig 2005-05-19 20:32:10 UTC
++++ Src/chirps_rcv.c
+@@ -3,6 +3,10 @@
+
+ extern void sig_alrm(int signo);
+
++union {
++ struct cmsghdr cm;
++ char control[CMSG_SPACE(sizeof(struct timeval))];
++} control_un;
+
+ /* recording contents of packet. Using inline to make code run faster */
+ inline void update_info(u_int32_t nc,u_int32_t np,double snd_time,double rcv_time,u_int32_t pkt_req_num,int good_jumbo_pkt)
diff --git a/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h b/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h
new file mode 100644
index 000000000000..f58ce164ddb0
--- /dev/null
+++ b/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h
@@ -0,0 +1,14 @@
+--- Src/pathchirp_rcv.h.orig 2005-05-20 15:42:05 UTC
++++ Src/pathchirp_rcv.h
+@@ -37,11 +37,7 @@ extern FILE *fd_debug;/* file pointers for debug files
+
+ #ifdef HAVE_SO_TIMESTAMP
+ extern struct msghdr msg;
+ extern struct iovec iov[1];
+- union{
+- struct cmsghdr cm;
+- char control[CMSG_SPACE(sizeof(struct timeval))];
+- } control_un;
+
+ extern struct cmsghdr *cmptr;
+ #endif