aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-08-22 19:00:02 +0000
committerRene Ladan <rene@FreeBSD.org>2023-08-22 19:00:02 +0000
commit918cade19b0ac8e250db1971c58ebcf873435611 (patch)
tree3900fb4633115399f15b4b20c2ae31443bea2b93
parentfb156d6624b37b4e37b67bfe3db2c16471c14df0 (diff)
benchmarks/dbs: Remove expired port
2023-08-16 benchmarks/dbs: Broken on all supported releases for more than an year
-rw-r--r--MOVED1
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/dbs/Makefile58
-rw-r--r--benchmarks/dbs/distinfo2
-rw-r--r--benchmarks/dbs/files/patch-src_Makefile33
-rw-r--r--benchmarks/dbs/files/patch-src_dbsc.c22
-rw-r--r--benchmarks/dbs/files/patch-src_dbsd.c35
-rw-r--r--benchmarks/dbs/files/patch-src_record.h12
-rw-r--r--benchmarks/dbs/files/patch-src_scan.c22
-rw-r--r--benchmarks/dbs/files/patch-src_sendrecv.c35
-rw-r--r--benchmarks/dbs/files/patch-src_tcp__trace.c11
-rw-r--r--benchmarks/dbs/pkg-descr7
12 files changed, 1 insertions, 238 deletions
diff --git a/MOVED b/MOVED
index d677adb68731..b80f2baad31f 100644
--- a/MOVED
+++ b/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
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 47c290fb7c23..ce7794570a77 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -10,7 +10,6 @@
SUBDIR += clpeak
SUBDIR += cpipe
SUBDIR += dbench
- SUBDIR += dbs
SUBDIR += ddosify
SUBDIR += dhrystone
SUBDIR += dkftpbench
diff --git a/benchmarks/dbs/Makefile b/benchmarks/dbs/Makefile
deleted file mode 100644
index d264ae7b687b..000000000000
--- a/benchmarks/dbs/Makefile
+++ /dev/null
@@ -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>
diff --git a/benchmarks/dbs/distinfo b/benchmarks/dbs/distinfo
deleted file mode 100644
index ad98c3798c5d..000000000000
--- a/benchmarks/dbs/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dbs-1.1.5.tar.gz) = 07f21f041258b83d65659b0ce0b61dd62cddef2fad3318be4bc49f934ed618ea
-SIZE (dbs-1.1.5.tar.gz) = 363150
diff --git a/benchmarks/dbs/files/patch-src_Makefile b/benchmarks/dbs/files/patch-src_Makefile
deleted file mode 100644
index 5a432a755e18..000000000000
--- a/benchmarks/dbs/files/patch-src_Makefile
+++ /dev/null
@@ -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)
diff --git a/benchmarks/dbs/files/patch-src_dbsc.c b/benchmarks/dbs/files/patch-src_dbsc.c
deleted file mode 100644
index 910c1a8e9a19..000000000000
--- a/benchmarks/dbs/files/patch-src_dbsc.c
+++ /dev/null
@@ -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
-
diff --git a/benchmarks/dbs/files/patch-src_dbsd.c b/benchmarks/dbs/files/patch-src_dbsd.c
deleted file mode 100644
index 25814090fba4..000000000000
--- a/benchmarks/dbs/files/patch-src_dbsd.c
+++ /dev/null
@@ -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);
diff --git a/benchmarks/dbs/files/patch-src_record.h b/benchmarks/dbs/files/patch-src_record.h
deleted file mode 100644
index e2dfa972dae7..000000000000
--- a/benchmarks/dbs/files/patch-src_record.h
+++ /dev/null
@@ -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*/
diff --git a/benchmarks/dbs/files/patch-src_scan.c b/benchmarks/dbs/files/patch-src_scan.c
deleted file mode 100644
index 2d7356de605d..000000000000
--- a/benchmarks/dbs/files/patch-src_scan.c
+++ /dev/null
@@ -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
-
diff --git a/benchmarks/dbs/files/patch-src_sendrecv.c b/benchmarks/dbs/files/patch-src_sendrecv.c
deleted file mode 100644
index 17886eb61334..000000000000
--- a/benchmarks/dbs/files/patch-src_sendrecv.c
+++ /dev/null
@@ -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) {\
diff --git a/benchmarks/dbs/files/patch-src_tcp__trace.c b/benchmarks/dbs/files/patch-src_tcp__trace.c
deleted file mode 100644
index 69450082b5e9..000000000000
--- a/benchmarks/dbs/files/patch-src_tcp__trace.c
+++ /dev/null
@@ -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
-
diff --git a/benchmarks/dbs/pkg-descr b/benchmarks/dbs/pkg-descr
deleted file mode 100644
index a60b22d410bd..000000000000
--- a/benchmarks/dbs/pkg-descr
+++ /dev/null
@@ -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.