upgpkg: wfuzz 2.3.4-3

switched to python3
This commit is contained in:
Cedric Girard 2019-06-03 10:27:35 +02:00
parent 23c4bf0539
commit 18a0988453
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 26 additions and 22 deletions

View file

@ -1,18 +1,18 @@
pkgbase = wfuzz
pkgdesc = Utility to bruteforce web applications to find their not linked resources
pkgver = 2.3.4
pkgrel = 2
pkgrel = 3
url = https://github.com/xmendez/wfuzz
arch = i686
arch = x86_64
arch = any
license = GPL
depends = python2-pycurl
depends = python2-pyparsing
depends = python2-configparser
depends = python2-future
makedepends = python-setuptools
depends = python-pycurl
depends = python-pyparsing
depends = python-future
source = https://github.com/xmendez/wfuzz/archive/v2.3.4.tar.gz
md5sums = 74817cc7aa14efda785c1727622e4539
source = https://github.com/xmendez/wfuzz/pull/117.diff
sha256sums = 87ff36d866cb173389f90cf026136758d3af73079a6199961de12ed86568be51
sha256sums = d320a192f65b8bce8acd2fa285331ab69ea996cbfe76f3d2563de7ccfe11dd0e
pkgname = wfuzz

View file

@ -1,26 +1,30 @@
# Maintainer: Cedric Girard <cgirard.archlinux@valinor.fr>
#Contributor: Olivier Le Moal <mail at olivierlemoal dot fr>
#Maintainer: Dawid Wrobel <cromo@klej.net>
#Maintainer: Sébastien Duquette <ekse.0x@gmail.com>
#Maintainer: onny <onny@project-insanity.org>
#Contributor: Dawid Wrobel <cromo@klej.net>
#Contributor: Sébastien Duquette <ekse.0x@gmail.com>
#Contributor: onny <onny@project-insanity.org>
pkgname=wfuzz
pkgver=2.3.4
pkgrel=2
pkgrel=3
pkgdesc="Utility to bruteforce web applications to find their not linked resources"
url="https://github.com/xmendez/wfuzz"
arch=('i686' 'x86_64')
arch=('any')
license=('GPL')
depends=('python2-pycurl' 'python2-pyparsing' 'python2-configparser' 'python2-future')
makedepends=()
conflicts=()
replaces=()
backup=()
source=("https://github.com/xmendez/wfuzz/archive/v$pkgver.tar.gz")
md5sums=('74817cc7aa14efda785c1727622e4539')
sha256sums=('87ff36d866cb173389f90cf026136758d3af73079a6199961de12ed86568be51')
depends=('python-pycurl' 'python-pyparsing' 'python-future')
makedepends=('python-setuptools')
source=("https://github.com/xmendez/wfuzz/archive/v$pkgver.tar.gz"
"https://github.com/xmendez/wfuzz/pull/117.diff")
sha256sums=('87ff36d866cb173389f90cf026136758d3af73079a6199961de12ed86568be51'
'd320a192f65b8bce8acd2fa285331ab69ea996cbfe76f3d2563de7ccfe11dd0e')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../117.diff
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
}