99efc1
Name:           httpdtap
5bf631
Version:        0.3
deb3dc
Release:        9%{?dist}
99efc1
Summary:        Tool for querying httpd using SystemTap scripts
99efc1
License:        ASL 2.0
99efc1
URL:            https://github.com/hanzz/httpdtap
99efc1
Source0:        https://github.com/hanzz/httpdtap/archive/v%{version}.tar.gz
99efc1
BuildArch:      noarch
99efc1
BuildRequires:  python2-devel
99efc1
Requires:       systemtap-client
99efc1
99efc1
%description
99efc1
HttpdTap is collection of useful SystemTap scripts to query running httpd
99efc1
server to get information like files accessed during a request, time needed
99efc1
to dispatch a request, the list of requests slower than N milliseconds or
99efc1
the list of requests sent from particular IP address. Thanks to SystemTap
99efc1
the performance penalty is very low and therefore the HttpdTap can be used
99efc1
even on production systems.
99efc1
99efc1
%prep
99efc1
%setup -q
99efc1
99efc1
# Remove shebang from .stp scripts, because they are executed only using
99efc1
# httpdtap in Fedora
99efc1
sed -i -e '/^#! \//, 1d' scripts-22/*.stp
99efc1
sed -i -e '/^#! \//, 1d' scripts-24/*.stp
99efc1
99efc1
%build
f131ce
%py2_build
99efc1
99efc1
%install
21000e
%py2_install
99efc1
99efc1
%files
99efc1
%doc README.md LICENSE
99efc1
%{_datadir}/httpdtap
99efc1
%{_bindir}/httpdtap
741130
%{python2_sitelib}/*
99efc1
%{_mandir}/man8/*.8*
99efc1
99efc1
%changelog
deb3dc
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-9
deb3dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
deb3dc
5e9b83
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-8
5e9b83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5e9b83
76a587
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-7
76a587
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
76a587
51057b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-6
51057b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
51057b
cf2f6d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-5
cf2f6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cf2f6d
f52f56
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-4
f52f56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f52f56
b8ca6c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-3
b8ca6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b8ca6c
ea1d5d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
ea1d5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ea1d5d
5bf631
* Tue Apr 15 2014 Jan Kaluza <jkaluza@redhat.com> - 0.3-1
5bf631
- update to version 0.3
5bf631
99efc1
* Thu Sep 26 2013 Jan Kaluza <jkaluza@redhat.com> - 0.2-2
99efc1
- fix comment in manpage
99efc1
99efc1
* Tue Sep 10 2013 Jan Kaluza <jkaluza@redhat.com> - 0.2-1
99efc1
- update to version 0.2
99efc1
- remove shebang from .stp scripts
99efc1
99efc1
* Wed Aug 28 2013 Jan Kaluza <jkaluza@redhat.com> - 0.1-1
99efc1
- Initial Fedora packaging