git: 1123a0285916 - main - benchmarks/ramspeed: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 12:08:22 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1123a02859166eb60a6b46ae07171a9dc6df11dd

commit 1123a02859166eb60a6b46ae07171a9dc6df11dd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-29 11:41:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-29 11:41:44 +0000

    benchmarks/ramspeed: Remove expired port
    
    benchmarks/ramspeed
---
 MOVED                                    |  1 +
 benchmarks/Makefile                      |  1 -
 benchmarks/ramspeed/Makefile             | 38 ----------------------
 benchmarks/ramspeed/distinfo             |  2 --
 benchmarks/ramspeed/files/patch-build.sh | 56 --------------------------------
 benchmarks/ramspeed/pkg-descr            | 13 --------
 6 files changed, 1 insertion(+), 110 deletions(-)

diff --git a/MOVED b/MOVED
index 86446fdb01c1..4d8078f10da1 100644
--- a/MOVED
+++ b/MOVED
@@ -3000,3 +3000,4 @@ audio/gnormalize||2024-02-29|Has expired: Last release in 2008, upstream is dead
 audio/mp3ck||2024-02-29|Has expired: Last release in 2005 and dead upstream, consider using multimedia/ffmpeg
 audio/mp3rename||2024-02-29|Has expired: Doesn't support ID3v2 tags properly
 audio/pm3umpdl||2024-02-29|Has expired: Deprecated utility as this is supported natively in musicpd
+benchmarks/ramspeed||2024-02-29|Has expired: Upstream is dead and port is unfetchable
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index fcb36bb69a2d..554da41fe93d 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -82,7 +82,6 @@
     SUBDIR += py-throughpy
     SUBDIR += py-zopkio
     SUBDIR += raidtest
-    SUBDIR += ramspeed
     SUBDIR += randomio
     SUBDIR += rubygem-benchmark
     SUBDIR += rubygem-benchmark-ips
diff --git a/benchmarks/ramspeed/Makefile b/benchmarks/ramspeed/Makefile
deleted file mode 100644
index 9dd5a404f3f7..000000000000
--- a/benchmarks/ramspeed/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-PORTNAME=	ramspeed
-PORTVERSION=	3.5.0
-CATEGORIES=	benchmarks
-MASTER_SITES=	http://www.alasir.com/software/ramspeed/
-DISTNAME=	ramsmp-${PORTVERSION}
-
-MAINTAINER=	mkamm@gmx.net
-COMMENT=	Cache and memory benchmarking tool
-WWW=		http://alasir.com/software/ramspeed/
-
-# do not sell for money
-LICENSE=	ALASIR
-LICENSE_NAME=	Alasir Licence
-LICENSE_FILE=	${WRKSRC}/LICENCE
-LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell
-
-BROKEN=		crashes upon execution, PR 275276
-DEPRECATED=	Upstream is dead and port is unfetchable
-EXPIRATION_DATE=2024-02-29
-
-USE_BINUTILS=	yes
-
-PLIST_FILES=	bin/ramspeed
-PORTDOCS=	HISTORY README
-
-OPTIONS_DEFINE=	DOCS
-
-do-build:
-	cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ramsmp ${STAGEDIR}${PREFIX}/bin/ramspeed
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/benchmarks/ramspeed/distinfo b/benchmarks/ramspeed/distinfo
deleted file mode 100644
index 7a9ac9087adb..000000000000
--- a/benchmarks/ramspeed/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ramsmp-3.5.0.tar.gz) = 39fb15493fb3c293575746d56f6ab9faaa1d876d8b1f0d8e5a4042d2ace95839
-SIZE (ramsmp-3.5.0.tar.gz) = 79481
diff --git a/benchmarks/ramspeed/files/patch-build.sh b/benchmarks/ramspeed/files/patch-build.sh
deleted file mode 100644
index 06fef2d105c0..000000000000
--- a/benchmarks/ramspeed/files/patch-build.sh
+++ /dev/null
@@ -1,56 +0,0 @@
---- build.sh.orig	2007-11-01 21:00:00 UTC
-+++ build.sh
-@@ -15,6 +15,16 @@ fi
- if [ "$1" ]; then OS=$1; fi
- if [ "$2" ]; then ARCH=$2; fi
- 
-+# respect the user's options patch here
-+echo " "
-+echo "=== this is RAMspeed's build script ===================================="
-+echo " "
-+if [ -n "$CC" -a \( -n "$LD" -o -n "$AS" -o -n "$CFLAGS" -o -n "$LDFLAGS" \) ]
-+then
-+    _CC=$CC;_LD=$LD;_AS=$AS;_CFLAGS=$CFLAGS;_LDFLAGS=$LDFLAGS;_respect=yes
-+fi
-+# end of patch
-+
- case $OS in
- 
-     FreeBSD)
-@@ -127,10 +137,20 @@ case $OS in
- esac
- 
- echo "building for $OS $RELEASE $ARCH"
--echo "compiler is $CC, linker is $LD, assembler is $AS"
--echo "compiler's flags are $CFLAGS"
--echo "linker's flags are $LFLAGS"
-+echo "compiler is '$CC', linker is '$LD', assembler is '$AS'"
-+echo "compiler's flags are '$CFLAGS'"
-+echo "linker's flags are '$LFLAGS'"
- echo " "
-+# respect the user's options patch here
-+if [ X"$_respect" = Xyes ] ; then
-+    CC=$_CC;LD=$_CC;AS=${_AS:-$AS};CFLAGS=$_CFLAGS;LFLAGS=$_LDFLAGS
-+    echo "OVERRIDING build script defaults with your system's defaults:"
-+    echo "compiler is '$CC', linker is '$LD', assembler is '$AS'"
-+    echo "compiler's flags are '$CFLAGS'"
-+    echo "linker's flags are '$LFLAGS'"
-+    echo " "
-+fi
-+# end of patch
- 
- if [ $TARGET = "GENERIC" ]
- then echo "WARNING! BUILDING FOR AN UNSUPPORTED OPERATING SYSTEM AND\OR ARCHITECTURE!"
-@@ -139,8 +159,10 @@ then echo "WARNING! BUILDING FOR AN UNSU
-      echo " "
- fi
- 
--echo "press Enter to continue or Control-C to abort"
--read ANS
-+if [ X"$_respect" != Xyes -a -t 0 -a -t 1 ] ; then
-+    echo "press Enter to continue or Control-C to abort"
-+    read ANS
-+fi
- 
- case $TARGET in
- 
diff --git a/benchmarks/ramspeed/pkg-descr b/benchmarks/ramspeed/pkg-descr
deleted file mode 100644
index 830fbc7f3c97..000000000000
--- a/benchmarks/ramspeed/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-RAMspeed is a command line utility to measure cache and memory performance of
-computer systems. It offers 18 cache and memory benchmarks for i386 and amd64
-machines, though 6 only for alpha ones. There are *mark benchmarks such as
-INTmark, FLOATmark, MMXmark and SSEmark. They operate with linear (sequential)
-data streams passed through ALU, FPU, MMX and SSE units respectively.
-There are also *mem benchmarks such as INTmem, FLOATmem, MMXmem and SSEmem.
-These are supposed to illustrate how fast is actual read/write memory
-performance. There are also non-temporal versions of MMX and SSE benchmarks.
-They have been coded with special instructions to minimise cache pollution on
-memory reads and to eliminate it completely on memory writes. In addition, they
-operate with a built in aggressive data prefetching algorithm. In some cases,
-non-temporal MMXmark and SSEmark can deliver almost 100% of theoretical
-bandwidth while reading.