Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 39743e1de7 | |||
| 8555ba6819 |
13
reproducible.patch
Normal file
13
reproducible.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: wrk-4.2.0/Makefile
|
||||
===================================================================
|
||||
--- wrk-4.2.0.orig/Makefile
|
||||
+++ wrk-4.2.0/Makefile
|
||||
@@ -61,7 +61,7 @@ $(ODIR):
|
||||
|
||||
$(ODIR)/bytecode.c: src/wrk.lua $(DEPS)
|
||||
@echo LUAJIT $<
|
||||
- @$(SHELL) -c 'PATH="obj/bin:$(PATH)" luajit -b "$(CURDIR)/$<" "$(CURDIR)/$@"'
|
||||
+ @$(SHELL) -c 'luajit -bd "$(CURDIR)/$<" "$(CURDIR)/$@"'
|
||||
|
||||
$(ODIR)/version.o:
|
||||
@echo 'const char *VERSION="$(VER)";' | $(CC) -xc -c -o $@ -
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 12:11:58 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Add reproducible.patch to create deterministic lua bytecode
|
||||
- use system luajit to have the 'd' (deterministic) option available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 10 16:06:46 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
|
||||
2
wrk.spec
2
wrk.spec
@@ -25,6 +25,8 @@ Group: Productivity/Networking/Web/Utilities
|
||||
URL: https://github.com/wg/wrk
|
||||
Source: https://github.com/wg/wrk/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: wrk-4.2.0_distrofixes.patch
|
||||
Patch1: reproducible.patch
|
||||
BuildRequires: luajit-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: unzip
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
|
||||
Reference in New Issue
Block a user