Ai
12 Star 0 Fork 8

src-openEuler/webbench
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webbench.spec 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2023-08-28 15:23 +08:00 . fix build failure, add include directory
#%global debug_package %{nil}
Name: webbench
Version: 1.5
Release: 4
Summary: simple tool for benchmarking WWW or proxy servers
License: GPL-1.0-or-later
URL: http://home.tiscali.cz/~cz210552/webbench.html
Source0: http://home.tiscali.cz/~cz210552/distfiles/%{name}-%{version}.tar.gz
Patch0: webbench-remove-socket-file-and-reimplement-function.patch
Patch1: fix-compile-error-include-libtirpc-because-glibc-doe.patch
BuildRequires: gcc libtirpc-devel
%description
Web Bench is very simple tool for benchmarking WWW or proxy servers. Uses fork() for simulating multiple clients and can use HTTP/0.9-HTTP/1.1 requests. This benchmark is not very realistic, but it can test if your HTTPD can realy handle that many clients at once (try to run some CGIs) without taking your machine down. Displays pages/min and bytes/sec. Can be used in more aggressive mode with -f switch
%prep
%setup -q -n %{name}-%{version}/
#remove unclear license file socket.c and reimplement socket function.
%patch0 -p1
%patch1 -p1
%build
ADDITIONAL=' -ggdb -W -I/usr/include/tirpc'
CFLAGS+=$ADDITIONAL
%make_build
%install
%{__make} install PREFIX="%{buildroot}%{_prefix}"
%pre
%preun
%post
%postun
%check
%files
%license COPYRIGHT
%doc ChangeLog
%{_bindir}/*
%{_mandir}/*
%changelog
* Mon Aug 28 2023 Ge Wang <wang__ge@126.com> - 1.5-4
- Fix build error, add include directory
* Mon Jul 18 2022 wangkai <wangkai385@h-partners.com> - 1.5-3
- License compliance rectification
* Wed Jul 15 2020 Wang Xiao <wangxiao65@huawei.com> - 1.5-2
- Fix compile error, include BuildRequires libtirpc, because glibc does not provide rpc
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com> - 1.5-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/webbench.git
git@gitee.com:src-openeuler/webbench.git
src-openeuler
webbench
webbench
master

搜索帮助