From 060363f30943df58a0aaacb97b358a7720d880d5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sep 11 2019 18:56:11 +0000 Subject: * Sun May 05 2019 Fabian Affolter - 1.0.0-1 - Fix files section and add tests - Update to latest upstream release 1.0.0 * Thu Apr 11 2019 Fabian Affolter - 0.9.6-1 - Update to latest upstream release 0.9.6 * Mon Nov 14 2016 Fabian Affolter - 0.9.4-1 - Update to latest upstream release 0.9.4 * Sun Oct 12 2014 Fabian Affolter - 0.9.1-1 - Initial package for Fedora --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d2d78a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wafw00f-1.0.0.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..a26307f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wafw00f-1.0.0.tar.gz) = 9a5a0e1d0cbdc1eb47e67730b53632f41e3e8102c76307129fa2b2c11613bcf3c167db65ad93eb8a32e895bb9082b2be1c1924ac6fabf36f349f5cad62c43e20 diff --git a/wafw00f.spec b/wafw00f.spec new file mode 100644 index 0000000..34ad12f --- /dev/null +++ b/wafw00f.spec @@ -0,0 +1,59 @@ +Name: wafw00f +Version: 1.0.0 +Release: 1%{?dist} +Summary: A tool to identifies and fingerprints Web Application Firewall (WAF) + +License: BSD +URL: https://github.com/sandrogauci/wafw00f +Source0: https://github.com/sandrogauci/wafw00f/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: %{py3_dist httpretty} +BuildRequires: %{py3_dist nose} +BuildRequires: %{py3_dist coveralls} +BuildRequires: %{py3_dist coverage} +BuildRequires: %{py3_dist beautifulsoup4} +BuildRequires: %{py3_dist pluginbase} +BuildRequires: %{py3_dist html5lib} + +Requires: %{py3_dist beautifulsoup4} +Requires: %{py3_dist pluginbase} +Requires: %{py3_dist html5lib} + +%description +WAFW00F identifies and fingerprints Web Application Firewall (WAF) products. + +%prep +%autosetup -n %{name}-%{version} +sed -i -e '/^#!\//, 1d' {wafw00f/*.py,wafw00f/*/*.py} + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files +%doc CREDITS.txt README.md +%license LICENSE +%{_bindir}/%{name} +%{python3_sitelib}/%{name}-*.egg-info/ +%{python3_sitelib}/%{name}/ + +%changelog +* Sun May 05 2019 Fabian Affolter - 1.0.0-1 +- Fix files section and add tests +- Update to latest upstream release 1.0.0 + +* Thu Apr 11 2019 Fabian Affolter - 0.9.6-1 +- Update to latest upstream release 0.9.6 + +* Mon Nov 14 2016 Fabian Affolter - 0.9.4-1 +- Update to latest upstream release 0.9.4 + +* Sun Oct 12 2014 Fabian Affolter - 0.9.1-1 +- Initial package for Fedora