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

dreieck commented on 2025-01-11 15:51 (UTC)

If possible, please remove the dependency on python-furure/ make the package working without python-future:

WARNING: python-future package is not compatible with Python 3.13

The python-future project was created in 2013 to attempt to save Python from the schism of version incompatibility that was threatening to tear apart the language (as Perl 6 contributed to the death of Perl).

That time is now past. Thanks to a huge porting effort across the Python community, Python 3 eventually thrived. Python 2 reached its end of life in 2020 and the python-future package should no longer be necessary. Use it to help with porting legacy code to Python 3 but don’t depend on it for new code.

If you use packages that depend on it, please contact maintainers and/or upstream of these packages and try to work out whether this dependency is really needed.

Regards and thanks for this package!

luca.reggiannini commented on 2024-12-19 22:56 (UTC)

For anyone struggling to make @alexbraga’s fix work:

1 - Locate the build directory for your AUR helper. I'm using Pikaur, for example, so it stores the build files in /var/cache/private/pikaur/build. You can try a search by running:

sudo find / -iname wfuzz-git 2>/dev/null

2 - Edit the PKGBUILD. Since a small modification is needed in the affected file, add the following snippet (this code modification is essentially what @alexbraga suggested):

prepare() { sed -i 's/2.4*;/2.4;/' "/var/cache/private/pikaur/build/wfuzz-git/src/wfuzz/setup.py" }

Or you can apply the code suggested by @alexbraga, changing the file path.

3 - Rebuild the package.

Hope this helps someone :)

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