0a5818e
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
0a5818e
Name:		proxyfuzz	
0a5818e
Version:	20110923
950b64c
Release:	10%{?dist}
0a5818e
Summary:	Man-in-the-middle non-deterministic network fuzzer
0a5818e
0a5818e
Group:		Applications/Internet
0a5818e
License:	GPLv3+
0a5818e
URL:		http://www.secforce.co.uk/research/tools.html
0a5818e
Source0:	http://www.secforce.co.uk/media/tools/proxyfuzz.py.txt
0a5818e
Source1:	README-Fedora
0a5818e
0a5818e
BuildArch:	noarch
950b64c
Requires:	python2-twisted
0a5818e
BuildRequires:	python2-devel
0a5818e
%if 0%{?with_python3}
0a5818e
BuildRequires:	python3-devel
0a5818e
%endif # if with_python3
0a5818e
0a5818e
Patch0:		make-executable.patch
0a5818e
0a5818e
%description
0a5818e
ProxyFuzz is a man-in-the-middle non-deterministic network fuzzier written in
0a5818e
Python. ProxyFuzz randomly changes (fuzzes) contents on the network traffic.
0a5818e
It supports TCP and UDP protocols and can also be configured to fuzz only one
0a5818e
side of the communication. ProxyFuzz is protocol agnostic so it can randomly
0a5818e
fuzz any network communication.
0a5818e
0a5818e
%prep
0a5818e
cp -p %{SOURCE0} .
0a5818e
cp -p %{SOURCE1} .
0a5818e
%patch0 -p1 -b .make-executable
0a5818e
0a5818e
%build
0a5818e
0a5818e
%install
0a5818e
rm -rf $RPM_BUILD_ROOT
0a5818e
install -m 755 -p -d ${RPM_BUILD_ROOT}/%{_sbindir}
0a5818e
install -m 755 -p proxyfuzz.py.txt ${RPM_BUILD_ROOT}/%{_sbindir}/proxyfuzz
0a5818e
0a5818e
0a5818e
%clean
0a5818e
rm -rf $RPM_BUILD_ROOT
0a5818e
0a5818e
0a5818e
%files
0a5818e
%defattr(-,root,root,-)
0a5818e
%doc README-Fedora
0a5818e
%{_sbindir}/proxyfuzz
0a5818e
0a5818e
0a5818e
%changelog
950b64c
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 20110923-10
950b64c
- Update Python 2 dependency declarations to new packaging standards
950b64c
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
950b64c
c68bb9f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20110923-9
c68bb9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c68bb9f
608898a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20110923-8
608898a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
608898a
725ff2c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20110923-7
725ff2c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
725ff2c
625c720
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110923-6
625c720
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
625c720
c2e99f2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110923-5
c2e99f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c2e99f2
d111410
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110923-4
d111410
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d111410
cc32c31
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110923-3
cc32c31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cc32c31
db0c8b1
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110923-2
db0c8b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
db0c8b1
0a5818e
* Mon Jan 2 2012  Petr Sklenar <psklenar at, redhat.com> 20110923-1
0a5818e
- version changed
0a5818e
- released changed
0a5818e
0a5818e
* Thu Oct 13 2011 Petr Sklenar <psklenar at, redhat.com> 0.1-20110923
0a5818e
- version changed
0a5818e
- spec file improved
0a5818e
- README-Fedora created
0a5818e
0a5818e
* Wed Sep 7 2011 Petr Sklenar <psklenar at, redhat.com> 1-2
0a5818e
- make script being executable
0a5818e
0a5818e
* Wed Aug 31 2011 Petr Sklenar <psklenar at, redhat.com> 1-1
0a5818e
- Initial commit