From e4d76b7ede870876676147f5ba2384b6e531a5a6 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 13 Sep 2018 17:05:04 -0500 Subject: [PATCH] New package: wfuzz-2.3.4 --- srcpkgs/wfuzz/patches/fix-python3.6.patch | 11 +++++++++++ .../wfuzz/patches/remove-libressl-warning.patch | 13 +++++++++++++ srcpkgs/wfuzz/template | 16 ++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 srcpkgs/wfuzz/patches/fix-python3.6.patch create mode 100644 srcpkgs/wfuzz/patches/remove-libressl-warning.patch create mode 100644 srcpkgs/wfuzz/template diff --git a/srcpkgs/wfuzz/patches/fix-python3.6.patch b/srcpkgs/wfuzz/patches/fix-python3.6.patch new file mode 100644 index 00000000000..5509fab87b4 --- /dev/null +++ b/srcpkgs/wfuzz/patches/fix-python3.6.patch @@ -0,0 +1,11 @@ +--- setup.py.orig ++++ setup.py +@@ -24,7 +24,7 @@ + 'pyparsing', + 'future', + 'six', +- 'configparser', ++ 'configparser;python_version<"3.5"', + 'chardet', + ] + diff --git a/srcpkgs/wfuzz/patches/remove-libressl-warning.patch b/srcpkgs/wfuzz/patches/remove-libressl-warning.patch new file mode 100644 index 00000000000..ebd5546c0c5 --- /dev/null +++ b/srcpkgs/wfuzz/patches/remove-libressl-warning.patch @@ -0,0 +1,13 @@ +--- src/wfuzz/__init__.py.orig ++++ src/wfuzz/__init__.py +@@ -20,8 +20,8 @@ + try: + import pycurl + +- if "openssl".lower() not in pycurl.version.lower(): +- print("\nWarning: Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information.\n") ++ if "ssl".lower() not in pycurl.version.lower(): ++ print("\nWarning: Pycurl is not compiled against Open- or LibreSSL. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information.\n") + + if not hasattr(pycurl, "PATH_AS_IS"): + print("\nWarning: Pycurl and/or libcurl version is old. PATH_AS_IS option is missing. Wfuzz might not correctly fuzz URLS with '..'.\n") diff --git a/srcpkgs/wfuzz/template b/srcpkgs/wfuzz/template new file mode 100644 index 00000000000..9da7ac5beb5 --- /dev/null +++ b/srcpkgs/wfuzz/template @@ -0,0 +1,16 @@ +# Template file for 'wfuzz' +pkgname=wfuzz +version=2.3.4 +revision=1 +noarch=yes +build_style=python3-module +pycompile_module="wfuzz" +hostmakedepends="python3-setuptools" +depends="python3-chardet python3-curl python3-future python3-lxml python3-parse + python3-parsing python3-six" +short_desc="Web fuzzer" +maintainer="Andrew Benson " +license="GPL-2.0-only" +homepage="http://wfuzz.org" +distfiles="https://github.com/xmendez/wfuzz/archive/v${version}.tar.gz" +checksum=87ff36d866cb173389f90cf026136758d3af73079a6199961de12ed86568be51