git: 22a144ac96f0 - main - benchmarks/super-smack/: Remove expired port:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 09:14:59 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22a144ac96f03d532e1047178103b56e57e063a5

commit 22a144ac96f03d532e1047178103b56e57e063a5
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-04-30 09:14:32 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-04-30 09:14:40 +0000

    benchmarks/super-smack/: Remove expired port:
    
    2023-04-30 benchmarks/super-smack: Unfetchable
---
 MOVED                                              |  1 +
 benchmarks/Makefile                                |  1 -
 benchmarks/super-smack/Makefile                    | 42 ----------------------
 benchmarks/super-smack/distinfo                    |  2 --
 benchmarks/super-smack/files/patch-Makefile.in     | 13 -------
 benchmarks/super-smack/files/patch-src_client.cc   | 20 -----------
 .../super-smack/files/patch-src_dictionary.h       | 10 ------
 benchmarks/super-smack/files/patch-src_query.cc    | 20 -----------
 benchmarks/super-smack/pkg-descr                   |  3 --
 benchmarks/super-smack/pkg-plist                   |  5 ---
 10 files changed, 1 insertion(+), 116 deletions(-)

diff --git a/MOVED b/MOVED
index fe76f3442d10..8822e06d2115 100644
--- a/MOVED
+++ b/MOVED
@@ -17909,3 +17909,4 @@ science/rubygem-ruby-dcl||2023-04-21|Has expired: requires deprecated science/cd
 net-im/webinar||2023-04-24|Has expired: Requires EOLed electron18
 devel/electron18||2023-04-24|Has expired: EOLed upstream, switch to newer version
 devel/datovka|mail/datovka|2023-04-25|Move port to proper category
+benchmarks/super-smack||2023-04-30|Has expired: Unfetchable
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 1ad8596bae0b..47c290fb7c23 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -100,7 +100,6 @@
     SUBDIR += spp
     SUBDIR += stream
     SUBDIR += stress-ng
-    SUBDIR += super-smack
     SUBDIR += sysbench
     SUBDIR += tcpblast
     SUBDIR += thrulay
diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile
deleted file mode 100644
index 7a2e6cc55ee7..000000000000
--- a/benchmarks/super-smack/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME=	super-smack
-PORTVERSION=	1.3
-PORTREVISION=	4
-CATEGORIES=	benchmarks databases
-MASTER_SITES=	GENTOO
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Benchmarking, stress testing, and load generation tool for Databases
-WWW=		https://jeremy.zawodny.com/mysql/super-smack/
-
-LICENSE=	GPLv2+
-
-BROKEN=		unfetchable
-EXPIRATION_DATE=2023-04-30
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-smacks-dir=${DATADIR}
-MAKE_JOBS_UNSAFE=	yes
-CPPFLAGS+=	-D_WANT_SEMUN
-
-PORTDOCS=	CHANGES README MANUAL TUTORIAL
-
-OPTIONS_DEFINE=		DOCS
-OPTIONS_MULTI=		DB
-OPTIONS_MULTI_DB=	MYSQL PGSQL
-OPTIONS_DEFAULT=	MYSQL
-
-MYSQL_USES=		compiler:c++11-lang mysql
-MYSQL_CONFIGURE_ON=	--with-mysql \
-			--with-mysql-include=${LOCALBASE}/include/mysql \
-			--with-mysql-lib=${LOCALBASE}/lib/mysql
-
-PGSQL_USES=		pgsql
-PGSQL_CONFIGURE_ON=	--with-pgsql \
-			--with-pgsql-include=${LOCALBASE}/include \
-			--with-pgsql-lib=${LOCALBASE}/lib
-
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/benchmarks/super-smack/distinfo b/benchmarks/super-smack/distinfo
deleted file mode 100644
index 99d424f68b50..000000000000
--- a/benchmarks/super-smack/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (super-smack-1.3.tar.gz) = 969d40e772faa8580f8e8f2dfa2a381fbadbd79fc0c94304347d594dba2a9bd9
-SIZE (super-smack-1.3.tar.gz) = 155375
diff --git a/benchmarks/super-smack/files/patch-Makefile.in b/benchmarks/super-smack/files/patch-Makefile.in
deleted file mode 100644
index b0f1de511e6b..000000000000
--- a/benchmarks/super-smack/files/patch-Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.in.orig	2005-04-30 15:19:40 UTC
-+++ Makefile.in
-@@ -379,8 +379,8 @@ mostlyclean distclean maintainer-clean
- 
- 
- install-data-local:
--	$(mkinstalldirs) $(SMACKS_DIR) $(DATADIR)
--	cp -rp $(srcdir)/smacks/* $(SMACKS_DIR)
-+	$(mkinstalldirs) $(DESTDIR)$(SMACKS_DIR) $(DESTDIR)$(DATADIR)
-+	cp -rp $(srcdir)/smacks/* $(DESTDIR)$(SMACKS_DIR)
- 
- dist-hook:
- 	mkdir -p $(distdir)/smacks
diff --git a/benchmarks/super-smack/files/patch-src_client.cc b/benchmarks/super-smack/files/patch-src_client.cc
deleted file mode 100644
index b28e8439f012..000000000000
--- a/benchmarks/super-smack/files/patch-src_client.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/client.cc.orig	2005-05-30 10:42:52 UTC
-+++ src/client.cc
-@@ -34,7 +34,7 @@ using namespace std;
- 
- #define MAX_VAR_BUF 512
- 
--#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
-+#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
- #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
-        /* union semun is defined by including <sys/sem.h> */
- #else
-@@ -57,7 +57,7 @@ using namespace std;
-        };
- 
- #endif
--#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
-+#if !defined(__DragonFly__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !(defined(__MACH__) && defined(__APPLE__))
- #define SUPER_SMACK_RESTART ERESTART
- #else
- #define SUPER_SMACK_RESTART EINTR
diff --git a/benchmarks/super-smack/files/patch-src_dictionary.h b/benchmarks/super-smack/files/patch-src_dictionary.h
deleted file mode 100644
index a93884507716..000000000000
--- a/benchmarks/super-smack/files/patch-src_dictionary.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/dictionary.h.orig	2003-05-15 00:14:52 UTC
-+++ src/dictionary.h
-@@ -22,6 +22,7 @@ using namespace std;
- #include "../config.h"
- 
- #include <string>
-+#include <cstring>
- #include <vector>
- #include <time.h>
- #include <stdlib.h>
diff --git a/benchmarks/super-smack/files/patch-src_query.cc b/benchmarks/super-smack/files/patch-src_query.cc
deleted file mode 100644
index ef4e688e8ea8..000000000000
--- a/benchmarks/super-smack/files/patch-src_query.cc
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/query.cc.orig	2005-04-30 13:51:29 UTC
-+++ src/query.cc
-@@ -197,7 +197,7 @@ void  Query_report::fd_send(int fd)
-     {
-       string s((*i).first);
-       int str_len = (*i).first.length();
--      if((unsigned)p + str_len + 3 *sizeof(int)  < (unsigned)p_end )
-+      if(p + str_len + 3 *sizeof(int)  < p_end )
-       {
-         *p++ = (char) str_len;
- 	const char* q_type_name = s.c_str();
-@@ -216,7 +216,7 @@ void  Query_report::fd_send(int fd)
- 	die(0, "report buffer overflow -- too many query types");
-     }
-   
--  len = (unsigned)p - (unsigned)buf;
-+  len = p - buf;
-   *(buf) = num_recs;
- 
-   if(write(fd, buf, len) != len)
diff --git a/benchmarks/super-smack/pkg-descr b/benchmarks/super-smack/pkg-descr
deleted file mode 100644
index 96e8ea4ec16b..000000000000
--- a/benchmarks/super-smack/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Super Smack is a benchmarking, stress testing, and load generation tool
-for MySQL (and PostgreSQL). Super Smack was originally written by Sasha
-Pachev, and then hosted and maintained by Jeremy Zawodny.
diff --git a/benchmarks/super-smack/pkg-plist b/benchmarks/super-smack/pkg-plist
deleted file mode 100644
index 6c606c51d67d..000000000000
--- a/benchmarks/super-smack/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/gen-data
-bin/super-smack
-%%DATADIR%%/select-key.smack
-%%DATADIR%%/update-select.smack
-@dir /var/smack-data