Package Details: wfuzz-git 3.1.0.r2.1b695ee-3

Git Clone URL: https://aur.archlinux.org/wfuzz-git.git (read-only, click to copy)
Package Base: wfuzz-git
Description: Web application fuzzer - python3 build of the dev branch
Upstream URL: https://github.com/xmendez/wfuzz
Keywords: fuzzing ITsec python security web
Licenses: GPL
Conflicts: wfuzz
Provides: wfuzz
Submitter: Kr1ss
Maintainer: Kr1ss
Last Packager: Kr1ss
Votes: 1
Popularity: 0.000000
First Submitted: 2019-04-15 18:43 (UTC)
Last Updated: 2021-12-13 16:23 (UTC)

Latest Comments

alexbraga commented on 2023-12-05 03:11 (UTC) (edited on 2023-12-05 03:21 (UTC) by alexbraga)

For those facing the error:

Warning: 'classifiers' should be a list, got type 'tuple'
error in wfuzz setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
    pyparsing>=2.4*;python_version>="3.5"
             ~~~~~^
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: wfuzz-git-exit status 4

Here's a fix:

1- Clone the wfuzz-git repository from the AUR and enter the folder:

git clone https://aur.archlinux.org/wfuzz-git.git
cd wfuzz-git

2- Create a backup of setup.py:

cp src/wfuzz/setup.py src/wfuzz/setup.py.orig

3- Modify the setup.py file:

Open the setup.py file in a text editor, find the line 'pyparsing>=2.4*;python_version>="3.5"' and remove the asterisk after 2.4:

'pyparsing>=2.4;python_version>="3.5"'

4- Create the patch file

Navigate to the src/wfuzz directory and generate the patch file:

cd src/wfuzz
diff -u setup.py.orig setup.py > fix_install_requires.patch

5- Go back to the wfuzz-git directory and open the PKGBUILD file for editing:

cd ../..
nano PKGBUILD

6- Add the prepare() function in PKGBUILD right after build():

prepare() {
  cd "$_name"
  sed -i "s|__SETUP_PATH__|$(pwd)/setup.py|" "$srcdir/wfuzz/fix_install_requires.patch"
  patch -p0 < "$srcdir/wfuzz/fix_install_requires.patch"
}

7- Save the changes and exit the text editor.

8- Continue with the installation:

makepkg -si