Compare commits

..

No commits in common. "rawhide" and "f32" have entirely different histories.

5 changed files with 75 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/wfuzz-2.4.5.tar.gz

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# wfuzz
The wfuzz package

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (wfuzz-2.4.5.tar.gz) = e9250fb9edf1670015eb7610c039ec2dced486295318afc5eb248f07e538eb0cb8ed3ac8500fe38a07fc229bbc0dbcabf435129d2cc27b96aecf4126fe1af4e4

70
wfuzz.spec Normal file
View file

@ -0,0 +1,70 @@
Name: wfuzz
Version: 2.4.5
Release: 3%{?dist}
Summary: Web fuzzer
License: GPLv2
URL: http://wfuzz.io
Source0: https://github.com/xmendez/wfuzz/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-mock
BuildRequires: python3-netaddr
BuildRequires: python3-setuptools
%description
Wfuzz has been created to facilitate the task in web applications assessments
and it is based on a simple concept: it replaces any reference to the FUZZ
keyword by the value of a given payload.
%package -n %{name}-doc
Summary: The %{name} documentation
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx-theme-alabaster
%description -n %{name}-doc
Documentation for %{name}.
%prep
%autosetup
rm -rf %{name}.egg-info
# Remove shebang
sed -i -e '/^#!\//, 1d' src/wfuzz/wfuzz.py
# Remove release pinning
sed -i -e 's/pycurl<=7.43.0.3/pycurl/g' setup.py
# We don't need this as we have the whole documentation
sed -i -e '/data_files/d' setup.py
%build
%py3_build
PYTHONPATH=${PWD} sphinx-build-3 docs html
rm -rf html/.{doctrees,buildinfo}
%install
%py3_install
%files
%license LICENSE
%doc README.md
%{_bindir}/wfencode
%{_bindir}/wfpayload
%{_bindir}/wfuzz
%{_bindir}/wxfuzz
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
%files -n %{name}-doc
%doc html
%license LICENSE
%changelog
* Mon Mar 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.4.5-3
- Fix changelog entries
* Fri Feb 28 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.4.5-2
- Create docs
* Sun Jan 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.4.5-1
- Initial package for Fedora