From 18a09884532116ec85c68daa0ab42f6a56432f4a Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Mon, 3 Jun 2019 10:27:35 +0200 Subject: [PATCH] upgpkg: wfuzz 2.3.4-3 switched to python3 --- wfuzz/.SRCINFO | 16 ++++++++-------- wfuzz/PKGBUILD | 32 ++++++++++++++++++-------------- 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/wfuzz/.SRCINFO b/wfuzz/.SRCINFO index 7e980ef..d444171 100644 --- a/wfuzz/.SRCINFO +++ b/wfuzz/.SRCINFO @@ -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 diff --git a/wfuzz/PKGBUILD b/wfuzz/PKGBUILD index 6463d60..3f441e0 100644 --- a/wfuzz/PKGBUILD +++ b/wfuzz/PKGBUILD @@ -1,26 +1,30 @@ +# Maintainer: Cedric Girard #Contributor: Olivier Le Moal -#Maintainer: Dawid Wrobel -#Maintainer: Sébastien Duquette -#Maintainer: onny +#Contributor: Dawid Wrobel +#Contributor: Sébastien Duquette +#Contributor: onny 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 }