use wfuzz setup.py
This commit is contained in:
parent
38f4bc088c
commit
aad6c55cda
1 changed files with 6 additions and 7 deletions
13
PKGBUILD
13
PKGBUILD
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
pkgname=wfuzz
|
pkgname=wfuzz
|
||||||
pkgver=2.2.9
|
pkgver=2.2.9
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Utility to bruteforce web applications to find their not linked resources"
|
pkgdesc="Utility to bruteforce web applications to find their not linked resources"
|
||||||
url="https://github.com/xmendez/wfuzz"
|
url="https://github.com/xmendez/wfuzz"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -17,11 +17,10 @@ replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
source=("https://github.com/xmendez/wfuzz/archive/v$pkgver.tar.gz")
|
source=("https://github.com/xmendez/wfuzz/archive/v$pkgver.tar.gz")
|
||||||
md5sums=('136bd26bdf301e169d873d4d0e5a226c')
|
md5sums=('136bd26bdf301e169d873d4d0e5a226c')
|
||||||
|
sha256sums=('8e68a188ff0e19ac2675f4e15160aa855d34b585b2dc1bbfc53ad639f899e513')
|
||||||
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
mkdir -p ${pkgdir}/opt/wfuzz
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
mkdir -p ${pkgdir}/usr/bin
|
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
|
||||||
cp -r ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/wfuzz/
|
|
||||||
echo -e "#!/bin/bash\n\ncd /opt/wfuzz\n/opt/wfuzz/wfuzz \$@" > ${pkgdir}/usr/bin/wfuzz
|
|
||||||
sed -i '0,/RE/s/python/python2/' ${pkgdir}/opt/wfuzz/wfuzz
|
|
||||||
chmod a+x ${pkgdir}/usr/bin/wfuzz
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue