mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
benchmarks/dbs: Remove expired port
2023-08-16 benchmarks/dbs: Broken on all supported releases for more than an year
This commit is contained in:
parent
fb156d6624
commit
918cade19b
1
MOVED
1
MOVED
@ -7790,3 +7790,4 @@ security/rubygem-openssl2|security/rubygem-openssl|2023-08-21|Remove obsoleted p
|
||||
games/cataclysm-dda-tiles|games/cataclysm-dda@tiles|2023-08-22|Moved to a flavored version
|
||||
devel/lua-language-server||2023-08-22|Has expired: Versions after 3.6.9 dump core (and do not compile)
|
||||
security/py-netbox-secretstore|security/py-netbox-secrets|2023-08-22|Has expired: No longer maintained by upstream, not compatible with NetBox 3.5, please migrate to security/py-netbox-secrets
|
||||
benchmarks/dbs||2023-08-22|Has expired: Broken on all supported releases for more than an year
|
||||
|
@ -10,7 +10,6 @@
|
||||
SUBDIR += clpeak
|
||||
SUBDIR += cpipe
|
||||
SUBDIR += dbench
|
||||
SUBDIR += dbs
|
||||
SUBDIR += ddosify
|
||||
SUBDIR += dhrystone
|
||||
SUBDIR += dkftpbench
|
||||
|
@ -1,58 +0,0 @@
|
||||
PORTNAME= dbs
|
||||
PORTVERSION= 1.1.5
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= http://www.kusa.ac.jp/~yukio-m/dbs/software1.1.5/ \
|
||||
LOCAL/jkoshy
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Distributed network benchmarking system
|
||||
WWW= http://www.kusa.ac.jp/~yukio-m/dbs/
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
DEPRECATED= Broken on all supported releases for more than an year
|
||||
EXPIRATION_DATE= 2023-08-16
|
||||
BROKEN_FreeBSD_12= tcp_debug.h: field has incomplete type 'struct tcpcb'
|
||||
BROKEN_FreeBSD_13= tcp_debug.h: field has incomplete type 'struct tcpcb'
|
||||
BROKEN_FreeBSD_14= tcp_debug.h: field has incomplete type 'struct tcpcb'
|
||||
|
||||
RUN_DEPENDS= gnuplot:math/gnuplot
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/obj/${OPSYS}
|
||||
INSTALL_WRKSRC= ${WRKSRC}/obj/${OPSYS}
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= run
|
||||
MAKEFILE= makefile
|
||||
|
||||
PLIST_FILES= bin/dbs_view bin/dbsc bin/dbsd
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC}/src && ${MAKE_CMD} dir
|
||||
|
||||
do-install:
|
||||
.for bin in dbsc dbsd
|
||||
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${bin} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
.for bin in dbs_view
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/script/${bin} ${STAGEDIR}${PREFIX}/bin
|
||||
.endfor
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for ex in TCP2.cmd TCPvsMPEG.cmd
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/${ex} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (dbs-1.1.5.tar.gz) = 07f21f041258b83d65659b0ce0b61dd62cddef2fad3318be4bc49f934ed618ea
|
||||
SIZE (dbs-1.1.5.tar.gz) = 363150
|
@ -1,33 +0,0 @@
|
||||
--- src/Makefile.orig 1998-06-08 00:25:16 UTC
|
||||
+++ src/Makefile
|
||||
@@ -27,10 +27,10 @@
|
||||
# make install
|
||||
#
|
||||
|
||||
-BIN =/usr/local/etc
|
||||
+BIN = ${PREFIX}/bin
|
||||
|
||||
#CC =gcc
|
||||
-CFLAGS =-O
|
||||
+CFLAGS +=-DHAVE_SYS_PARAM_H
|
||||
|
||||
#CFLAGS =-g # debug
|
||||
#CFLAGS =-g -DDEBUGMODE
|
||||
@@ -51,7 +51,7 @@ all:: dbsc dbsd
|
||||
obj::
|
||||
(cd ../obj/$(UNAME); make)
|
||||
|
||||
-UNAME = `uname|tr -d '/'``uname -r|tr -d '/'`
|
||||
+UNAME = `uname|tr -d '/'`
|
||||
dir::
|
||||
-@ mkdir ../obj
|
||||
-@ mkdir ../obj/$(UNAME)
|
||||
@@ -74,7 +74,7 @@ tags::
|
||||
etags *.c *.h
|
||||
|
||||
install::
|
||||
- cp -p dbsc dbsd ../script/dbs_view $(BIN)
|
||||
+ cp -p dbsc dbsd ../../script/dbs_view $(BIN)
|
||||
|
||||
dbsc: dbsc.o scan.o dbs.o
|
||||
$(CC) $(BSTATIC) dbsc.o scan.o dbs.o -o $@ -lm $(LDFLAGS)
|
@ -1,22 +0,0 @@
|
||||
--- src/dbsc.c.orig 1998-06-08 00:23:35 UTC
|
||||
+++ src/dbsc.c
|
||||
@@ -51,6 +51,10 @@
|
||||
|
||||
#define DBSC
|
||||
|
||||
+#ifdef HAVE_SYS_PARAM_H
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -69,7 +73,7 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
|
||||
-#if !defined(bsdi)
|
||||
+#if (!defined(BSD) || (BSD < 199306))
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
@ -1,35 +0,0 @@
|
||||
--- src/dbsd.c.orig 1998-06-08 00:23:26 UTC
|
||||
+++ src/dbsd.c
|
||||
@@ -51,6 +51,9 @@
|
||||
|
||||
#define DBSD
|
||||
|
||||
+#ifdef HAVE_SYS_PARAM_H
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -80,7 +83,7 @@
|
||||
#include <sys/fcntl.h>
|
||||
#endif
|
||||
|
||||
-#if !defined(bsdi)
|
||||
+#if (!defined(BSD) || (BSD < 199306))
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
@@ -1002,8 +1005,13 @@ struct timeval origin_time;
|
||||
d[i].snd_max = htonl((int)rt.d[i].td_cb.snd_max);
|
||||
d[i].snd_cwnd = htonl((int)rt.d[i].td_cb.snd_cwnd);
|
||||
d[i].snd_ssthresh = htonl((int)rt.d[i].td_cb.snd_ssthresh);
|
||||
+#if !defined(__FreeBSD_version) || (__FreeBSD_version < 400009)
|
||||
d[i].t_idle = htonl((int)rt.d[i].td_cb.t_idle);
|
||||
d[i].t_rtt = htonl((int)rt.d[i].td_cb.t_rtt);
|
||||
+#else
|
||||
+ d[i].t_idle = htonl((int)rt.d[i].td_cb.t_rcvtime);
|
||||
+ d[i].t_rtt = htonl((int)rt.d[i].td_cb.t_rtttime);
|
||||
+#endif
|
||||
d[i].t_rtseq = htonl((int)rt.d[i].td_cb.t_rtseq);
|
||||
d[i].t_srtt = htonl((int)rt.d[i].td_cb.t_srtt);
|
||||
d[i].t_rttvar = htonl((int)rt.d[i].td_cb.t_rttvar);
|
@ -1,12 +0,0 @@
|
||||
--- src/record.h.orig 1997-10-13 00:36:38 UTC
|
||||
+++ src/record.h
|
||||
@@ -69,7 +69,9 @@
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
#ifndef __linux__
|
||||
+#ifndef __FreeBSD__
|
||||
#include <netinet/in_pcb.h>
|
||||
+#endif
|
||||
#include <netinet/ip_var.h>
|
||||
#include <netinet/tcpip.h>
|
||||
/*#define TCPSTATES*/
|
@ -1,22 +0,0 @@
|
||||
--- src/scan.c.orig 1997-07-11 00:54:12 UTC
|
||||
+++ src/scan.c
|
||||
@@ -49,6 +49,9 @@
|
||||
* $Author: yukio-m $
|
||||
*****************************************************************/
|
||||
|
||||
+#ifdef HAVE_SYS_PARAM_H
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
#include<stdio.h>
|
||||
#include<stdlib.h>
|
||||
|
||||
@@ -58,7 +61,8 @@
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
-#if !defined(bsdi)
|
||||
+#if (!defined(BSD) || (BSD < 199306))
|
||||
+#error BSD
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
@ -1,35 +0,0 @@
|
||||
--- src/sendrecv.c.orig 1997-10-13 03:27:19 UTC
|
||||
+++ src/sendrecv.c
|
||||
@@ -70,12 +70,12 @@
|
||||
#define INIT_RECORD() (rdp = rd->d, rd->n=0)
|
||||
#define INIT_RECORD2() (rdp2 = rd2->d, rd2->n=0)
|
||||
|
||||
-#define RECORD(NO,SIZE) (gettimeofday(&(rdp->tv), &tzp),\
|
||||
+#define RECORD(NO,SIZE) (gettimeofday(&(rdp->tv), (struct timezone *)&tzp),\
|
||||
rdp->packet_no = (NO),\
|
||||
rdp->packet_size = (SIZE),\
|
||||
rdp++, rd->n++)
|
||||
|
||||
-#define RECORD2(NO,SIZE) (gettimeofday(&(rdp2->tv), &tzp),\
|
||||
+#define RECORD2(NO,SIZE) (gettimeofday(&(rdp2->tv), (struct timezone *)&tzp),\
|
||||
rdp2->packet_no = (NO),\
|
||||
rdp2->packet_size = (SIZE),\
|
||||
rdp2++, rd2->n++)
|
||||
@@ -87,7 +87,7 @@
|
||||
_TP1.tv_usec %= 1000000;\
|
||||
}
|
||||
|
||||
-#define GETTIMEOFDAY(_TPP) gettimeofday(&tp, &tzp);\
|
||||
+#define GETTIMEOFDAY(_TPP) gettimeofday(&tp, (struct timezone *)&tzp);\
|
||||
tp.tv_sec = _TPP.tv_sec - tp.tv_sec;\
|
||||
tp.tv_usec = _TPP.tv_usec - tp.tv_usec;\
|
||||
if (tp.tv_usec < 0) {\
|
||||
@@ -108,7 +108,7 @@
|
||||
USLEEP(tp);
|
||||
|
||||
/* before 0.00001s */
|
||||
-#define WAIT_BEFORE(_TPP) gettimeofday(&tp, &tzp);\
|
||||
+#define WAIT_BEFORE(_TPP) gettimeofday(&tp, (struct timezone *) &tzp);\
|
||||
tp.tv_sec = _TPP.tv_sec - tp.tv_sec;\
|
||||
tp.tv_usec = _TPP.tv_usec - tp.tv_usec - 1000;\
|
||||
if (tp.tv_usec < 0) {\
|
@ -1,11 +0,0 @@
|
||||
--- src/tcp_trace.c.orig 1997-05-05 17:02:18 UTC
|
||||
+++ src/tcp_trace.c
|
||||
@@ -307,7 +307,7 @@ int act, flg;
|
||||
#ifdef _PATH_UNIX
|
||||
system = _PATH_UNIX;
|
||||
#else
|
||||
- system = "/vmunix";
|
||||
+ system = "/kernel";
|
||||
#endif
|
||||
#endif
|
||||
|
@ -1,7 +0,0 @@
|
||||
DBS is a useful tool chest for evaluating TCP implementations, specifically
|
||||
flow control, retransmission control and congestion avoidance.
|
||||
|
||||
-It can treat multiple TCP connections spanning multiple hosts
|
||||
simultaneously, and
|
||||
-It has the capability of measuring the changes of application
|
||||
level throughput at every data transmission.
|
Loading…
Reference in New Issue
Block a user