Index: head/benchmarks/pathchirp/Makefile =================================================================== --- head/benchmarks/pathchirp/Makefile (revision 549391) +++ head/benchmarks/pathchirp/Makefile (revision 549392) @@ -1,32 +1,42 @@ # Created by: dikshie # $FreeBSD$ 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 MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/pathchirp_rcv bin/pathchirp_snd bin/pathchirp_run PORTDOCS= README OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/CFLAGS.*O4/d' ${WRKSRC}/configure do-install: .for f in rcv snd run ${INSTALL_PROGRAM} ${WRKSRC}/Bin/${ARCH}/${PORTNAME}_${f} ${STAGEDIR}${PREFIX}/bin .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/benchmarks/pathchirp/files/LICENSE-MARYLAND =================================================================== --- head/benchmarks/pathchirp/files/LICENSE-MARYLAND (nonexistent) +++ head/benchmarks/pathchirp/files/LICENSE-MARYLAND (revision 549392) @@ -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. Property changes on: head/benchmarks/pathchirp/files/LICENSE-MARYLAND ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/pathchirp/files/LICENSE-RICE =================================================================== --- head/benchmarks/pathchirp/files/LICENSE-RICE (nonexistent) +++ head/benchmarks/pathchirp/files/LICENSE-RICE (revision 549392) @@ -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. Property changes on: head/benchmarks/pathchirp/files/LICENSE-RICE ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c =================================================================== --- head/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c (nonexistent) +++ head/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c (revision 549392) @@ -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) Property changes on: head/benchmarks/pathchirp/files/patch-Src_chirps__rcv.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h =================================================================== --- head/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h (nonexistent) +++ head/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h (revision 549392) @@ -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 Property changes on: head/benchmarks/pathchirp/files/patch-Src_pathchirp__rcv.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property