Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:http
gatling
gatling.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gatling.spec of Package gatling
# # spec file for package gatling # # Copyright (c) 2024, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # Enable building with or without dietlibc %bcond_with dietlibc Name: gatling Version: 0.16 Release: 0 Summary: High performance web server and file server License: GPL-2.0-only Group: Productivity/Networking/Web/Servers #CVS-checkout: :pserver:cvs@cvs.fefe.de:/cvs gatling URL: https://www.fefe.de/gatling/ Source: https://www.fefe.de/gatling/%{name}-%{version}.tar.xz Source98: https://www.fefe.de/gatling/%{name}-%{version}.tar.xz.sig Source99: https://dl.fefe.de/felix@fefe.de.asc#/%{name}.keyring BuildRequires: libcap-devel BuildRequires: libopenssl-devel BuildRequires: libowfat-devel BuildRequires: mbedtls-2-devel BuildRequires: zlib-devel %if %{with dietlibc} BuildRequires: dietlibc %endif %description High performance web server and file server * Small (125k Linux-x86 binary with HTTP, FTP and SMB support) * Fast (measure for yourself, please) * Scalable * Uses platform-specific performance and scalability APIs * connection keep-alive * IPv6 support * transparent content negotiation * With optional directory index generation * Will only serve world readable files * Supports FTP and FTP upload as well * CGI support for HTTP, also SCGI and FastCGI (over IP sockets) * .htaccess support * Can detect some common mime types itself, like file(1) * Read-only SMB support %package tools Summary: Utilities shipped with the gatling source distribution Group: Productivity/Networking/Web/Utilities %description tools This package includes a few utilities from the gatling source distribution: * cgi - simple CGI demo program, prints environment + request parameters * dl - download http, ftp or smb URLs * getlinks - retrieve linked URLs from html file * ioerr - send http request to server, then shut down the connection * rellink - make links in mirrored html files relative %package benchmarks Summary: Benchmark programs shipped with the gatling source distribution Group: Productivity/Networking/Web/Utilities %description benchmarks This package includes some benchmark programs from the gatling source distribution: * bench - stress test a given URL * bindbench - measures socket bind speed * forkbench - measures fork() speed * forksbench - measures fork() speed, statically linked * httpbench - measures throughput or latency on a given URL * manymapbench - measures mmap() speed on many files * mktestdata - creates files for manymapbench * mmapbench - measures mmap() speed on one file with many pages * pthreadbench - measures pthread_create() + pipe write + terminates %prep %setup -q # no static build (libsocket libiconv libcrypt) sed -i 's|-static||' GNUmakefile Makefile %build %if %{with dietlibc} make %else # server %make_build CFLAGS="%{optflags}" \ gatling \ tlsgatling # tools %make_build CFLAGS="%{optflags}" \ cgi \ dl \ getlinks \ ioerr \ rellink # benchmark %make_build CFLAGS="%{optflags}" \ bindbench \ httpbench \ mmapbench \ forkbench \ pthreadbench \ mktestdata \ manymapbench %endif %install make prefix="%{buildroot}%{_prefix}" MANDIR="%{buildroot}%{_mandir}" install # tools install \ cgi \ ioerr \ rellink "%{buildroot}%{_bindir}" # benchmarks install \ bindbench \ forkbench \ httpbench \ manymapbench \ mktestdata \ mmapbench \ pthreadbench "%{buildroot}%{_bindir}" %files %license LICENSE %doc CHANGES README README.* %{_bindir}/gatling %{_bindir}/tlsgatling %{_mandir}/man1/gatling.1%{?ext_man} %files tools %{_bindir}/cgi %{_bindir}/dl %{_bindir}/getlinks %{_bindir}/ioerr %{_bindir}/rellink %files benchmarks %{_bindir}/bindbench %{_bindir}/forkbench %{_bindir}/httpbench %{_bindir}/manymapbench %{_bindir}/mktestdata %{_bindir}/mmapbench %{_bindir}/pthreadbench %{_mandir}/man1/bench.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor