1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

benchmarks/super-smack/: Remove expired port:

2023-04-30 benchmarks/super-smack: Unfetchable
This commit is contained in:
Rene Ladan 2023-04-30 11:14:32 +02:00
parent b50cd4a799
commit 22a144ac96
10 changed files with 1 additions and 116 deletions

1
MOVED
View File

@ -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

View File

@ -100,7 +100,6 @@
SUBDIR += spp
SUBDIR += stream
SUBDIR += stress-ng
SUBDIR += super-smack
SUBDIR += sysbench
SUBDIR += tcpblast
SUBDIR += thrulay

View File

@ -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>

View File

@ -1,2 +0,0 @@
SHA256 (super-smack-1.3.tar.gz) = 969d40e772faa8580f8e8f2dfa2a381fbadbd79fc0c94304347d594dba2a9bd9
SIZE (super-smack-1.3.tar.gz) = 155375

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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)

View File

@ -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.

View File

@ -1,5 +0,0 @@
bin/gen-data
bin/super-smack
%%DATADIR%%/select-key.smack
%%DATADIR%%/update-select.smack
@dir /var/smack-data