From 674dca6c8a80800ed52416de9bf72c3164e03dea Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Fri, 21 Aug 2020 22:37:25 -0500 Subject: [PATCH] wfuzz: update to 3.0.0. --- .../patches/remove-libressl-warning.patch | 19 +++++++++++-------- srcpkgs/wfuzz/template | 4 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/srcpkgs/wfuzz/patches/remove-libressl-warning.patch b/srcpkgs/wfuzz/patches/remove-libressl-warning.patch index ebd5546c0c5..7924e56a066 100644 --- a/srcpkgs/wfuzz/patches/remove-libressl-warning.patch +++ b/srcpkgs/wfuzz/patches/remove-libressl-warning.patch @@ -1,13 +1,16 @@ ---- src/wfuzz/__init__.py.orig +diff --git src/wfuzz/__init__.py src/wfuzz/__init__.py +index 05f04af..7e8a4a8 100644 +--- src/wfuzz/__init__.py +++ src/wfuzz/__init__.py -@@ -20,8 +20,8 @@ +@@ -30,9 +30,9 @@ warnings.formatwarning = warning_on_one_line 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") + warnings.warn( +- "Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information." ++ "Pycurl is not compiled against Open- or LibreSSL. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz's documentation for more information." + ) + + if not hasattr(pycurl, "CONNECT_TO"): diff --git a/srcpkgs/wfuzz/template b/srcpkgs/wfuzz/template index 3d086157137..703cace75db 100644 --- a/srcpkgs/wfuzz/template +++ b/srcpkgs/wfuzz/template @@ -1,6 +1,6 @@ # Template file for 'wfuzz' pkgname=wfuzz -version=2.4.7 +version=3.0.0 revision=1 archs=noarch build_style=python3-module @@ -12,4 +12,4 @@ maintainer="Andrew Benson " license="GPL-2.0-only" homepage="http://wfuzz.org" distfiles="https://github.com/xmendez/wfuzz/archive/v${version}.tar.gz" -checksum=11017be0c0e37ae89f3bbfec1dab731ec2bdb4fbe8e06648616fb4fd582f6c6f +checksum=b039de1e66d18abf23c42e6bd7353ede67095ea6166ca0c179343ca11e3c9fbc