diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31daff1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/wfuzz-2.4.5.tar.gz +/wfuzz-3.1.0.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..bf5cbc0 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# wfuzz + +The wfuzz package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..c78fafe --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wfuzz-3.1.0.tar.gz) = 5b340679794775a04aa375f36f01765abbff5118cb51041cd367a1af1b7c06ef6506412bb411c06efa2f09cecc3c4cf3359e204ef41775e0a248135a35f83402 diff --git a/wfuzz.spec b/wfuzz.spec new file mode 100644 index 0000000..64e1cd3 --- /dev/null +++ b/wfuzz.spec @@ -0,0 +1,112 @@ +Name: wfuzz +Version: 3.1.0 +Release: 12%{?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/pyparsing>=2.4\*/pyparsing>=2.4/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 +* Sat Jan 27 2024 Fedora Release Engineering - 3.1.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 22 2023 Fedora Release Engineering - 3.1.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 3.1.0-10 +- Rebuilt for Python 3.12 + +* Sat Jan 21 2023 Fedora Release Engineering - 3.1.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 3.1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jul 19 2022 Zbigniew Jędrzejewski-Szmek - 3.1.0-7 +- Rebuilt for pyparsing-3.0.9 + +* Mon Jun 13 2022 Python Maint - 3.1.0-6 +- Rebuilt for Python 3.11 + +* Sat Jan 22 2022 Fedora Release Engineering - 3.1.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 3.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.1.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Dec 22 2020 Fabian Affolter - 3.1.0-1 +- Update to new upstream release 3.1.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 2.4.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 2.4.5-4 +- Rebuilt for Python 3.9 + +* Mon Mar 23 2020 Fabian Affolter - 2.4.5-3 +- Fix changelog entries + +* Fri Feb 28 2020 Fabian Affolter - 2.4.5-2 +- Create docs + +* Sun Jan 26 2020 Fabian Affolter - 2.4.5-1 +- Initial package for Fedora