diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-01-20 23:40:04 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-01-20 23:57:48 +0100 |
commit | ef938fd4ecd6119be9de756cd040c6fec2f1100d (patch) | |
tree | 202008bdf691f84d3e6f773d04f9004414a659c6 /app-benchmarks | |
parent | app-benchmarks/wrk: amd64 stable (diff) | |
download | gentoo-ef938fd4ecd6119be9de756cd040c6fec2f1100d.tar.gz gentoo-ef938fd4ecd6119be9de756cd040c6fec2f1100d.tar.bz2 gentoo-ef938fd4ecd6119be9de756cd040c6fec2f1100d.zip |
app-benchmarks/wrk: drop 4.1.0-r100
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/wrk/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/wrk/files/wrk-4.1.0-r100-makefile.patch | 64 | ||||
-rw-r--r-- | app-benchmarks/wrk/wrk-4.1.0-r100.ebuild | 49 |
3 files changed, 0 insertions, 114 deletions
diff --git a/app-benchmarks/wrk/Manifest b/app-benchmarks/wrk/Manifest index d07beee0476a..3ca7d14266d1 100644 --- a/app-benchmarks/wrk/Manifest +++ b/app-benchmarks/wrk/Manifest @@ -1,2 +1 @@ -DIST wrk-4.1.0.tar.gz 6478125 BLAKE2B d64c172819a32b874e5351ef1088a66af7eb76ae34421577f817f14797a5711665adb8074e90a80e511139a889d4c960dc91caa5855bbd67038229307ef93ed2 SHA512 2c8d05f8e40c3a6234bc1c2862157764532a39046860210fe512c260c2b940e1e3120b831d0721c936c7bca474574600cda1f4c949b53738199d98102e32cb1a DIST wrk-4.2.0.tar.gz 10973405 BLAKE2B e81698f70017cd7d55ee7adceb050ea48b2ed9d2ef9195e5b2743dafb637f78d54c8003d049c2965f90457f9b7a80620b86bc0b9bb1a259b88e5c66d6af8cc79 SHA512 c356b1314f37b558f39f30d9a9c6a2a9c2f646eaf7c0cb4262325850922528148f89ccbe7c33390c87e40f8fef6fffd704e3cfe75a89e4e9b178101043fa038d diff --git a/app-benchmarks/wrk/files/wrk-4.1.0-r100-makefile.patch b/app-benchmarks/wrk/files/wrk-4.1.0-r100-makefile.patch deleted file mode 100644 index d3c838d08003..000000000000 --- a/app-benchmarks/wrk/files/wrk-4.1.0-r100-makefile.patch +++ /dev/null @@ -1,64 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -1,5 +1,5 @@ --CFLAGS += -std=c99 -Wall -O2 -D_REENTRANT --LIBS := -lpthread -lm -lssl -lcrypto -+CFLAGS += -std=c99 -Wall -D_REENTRANT -+LIBS := -lm -lssl -lcrypto -lpthread - - TARGET := $(shell uname -s | tr '[A-Z]' '[a-z]' 2>/dev/null || echo unknown) - -@@ -24,15 +24,13 @@ - - ODIR := obj - OBJ := $(patsubst %.c,$(ODIR)/%.o,$(SRC)) $(ODIR)/bytecode.o $(ODIR)/version.o --LIBS := -lluajit-5.1 $(LIBS) -+LIBS := $(LUA_LIBS) $(LIBS) - - DEPS := - CFLAGS += -I$(ODIR)/include --LDFLAGS += -L$(ODIR)/lib - - ifneq ($(WITH_LUAJIT),) -- CFLAGS += -I$(WITH_LUAJIT)/include -- LDFLAGS += -L$(WITH_LUAJIT)/lib -+ CFLAGS += $(WITH_LUAJIT) - else - CFLAGS += -I$(ODIR)/include/luajit-2.1 - DEPS += $(ODIR)/lib/libluajit-5.1.a -@@ -40,7 +38,6 @@ - - ifneq ($(WITH_OPENSSL),) - CFLAGS += -I$(WITH_OPENSSL)/include -- LDFLAGS += -L$(WITH_OPENSSL)/lib - else - DEPS += $(ODIR)/lib/libssl.a - endif -@@ -51,15 +48,14 @@ - $(RM) -rf $(BIN) obj/* - - $(BIN): $(OBJ) -- @echo LINK $(BIN) -- @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) -+ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) - - $(OBJ): config.h Makefile $(DEPS) | $(ODIR) - - $(ODIR): - @mkdir -p $@ - --$(ODIR)/bytecode.o: src/wrk.lua -+$(ODIR)/bytecode.c: src/wrk.lua - @echo LUAJIT $< - @$(SHELL) -c 'PATH=obj/bin:$(PATH) luajit -b $(CURDIR)/$< $(CURDIR)/$@' - -@@ -67,8 +63,7 @@ - @echo 'const char *VERSION="$(VER)";' | $(CC) -xc -c -o $@ - - - $(ODIR)/%.o : %.c -- @echo CC $< -- @$(CC) $(CFLAGS) -c -o $@ $< -+ $(CC) $(CFLAGS) -c -o $@ $< - - # Dependencies - diff --git a/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild b/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild deleted file mode 100644 index ae473486ff83..000000000000 --- a/app-benchmarks/wrk/wrk-4.1.0-r100.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( luajit ) - -inherit lua-single toolchain-funcs - -DESCRIPTION="A HTTP benchmarking tool" -HOMEPAGE="https://www.github.com/wg/wrk" -SRC_URI="https://www.github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -KEYWORDS="amd64 x86" -LICENSE="Apache-2.0 BSD MIT" -SLOT="0" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - dev-libs/openssl:0= - ${LUA_DEPS} -" - -DEPEND="${RDEPEND}" - -DOCS=( "CHANGES" "NOTICE" "README.md" "SCRIPTING" ) - -PATCHES=( "${FILESDIR}/${P}-r100-makefile.patch" ) - -src_compile() { - myemakeargs=( - CC="$(tc-getCC)" - LUA_LIBS="$(lua_get_LIBS)" - VER="${PV}" - WITH_LUAJIT="$(lua_get_CFLAGS)" - WITH_OPENSSL="/usr" - ) - - emake "${myemakeargs[@]}" -} - -src_install() { - dobin wrk - - insinto /usr/share/wrk - doins -r scripts - - einstalldocs -} |