From 62565e7bbc9fd15ab1148352a65d25817a868e2b Mon Sep 17 00:00:00 2001 From: Olivier Le Moal Date: Sun, 21 Jun 2015 18:16:03 +0200 Subject: [PATCH] Initial import --- .SRCINFO | 14 ++++++++++++++ PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..56f9a8f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = wfuzz + pkgdesc = Utility to bruteforce web applications to find their not linked resources + pkgver = 2.1beta + pkgrel = 1 + url = https://github.com/xmendez/wfuzz + arch = i686 + arch = x86_64 + license = GPL + depends = python2-pycurl + source = https://github.com/xmendez/wfuzz/releases/download/v2.1-beta/wfuzz-2.1.beta.tar.gz + md5sums = 8aa60e900483553223fd989922c05b91 + +pkgname = wfuzz + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9c11cb5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +#Contributor: Olivier Le Moal +#Maintainer: Dawid Wrobel +#Maintainer: Sébastien Duquette +#Maintainer: onny + +pkgname=wfuzz +pkgver=2.1beta +pkgrel=1 +pkgdesc="Utility to bruteforce web applications to find their not linked resources" +url="https://github.com/xmendez/wfuzz" +arch=('i686' 'x86_64') +license=('GPL') +depends=('python2-pycurl') +makedepends=() +conflicts=() +replaces=() +backup=() +source=("https://github.com/xmendez/wfuzz/releases/download/v2.1-beta/${pkgname}-2.1.beta.tar.gz") +md5sums=('8aa60e900483553223fd989922c05b91') +package() { + mkdir -p ${pkgdir}/opt/wfuzz + mkdir -p ${pkgdir}/usr/bin + cp -r ${srcdir}/wfuzz-2.1-beta/* ${pkgdir}/opt/wfuzz/ + echo -e "#!/bin/bash\n\ncd /opt/wfuzz\npython2.7 /opt/wfuzz/wfuzz.py \$@" > ${pkgdir}/usr/bin/wfuzz + sed -i '0,/RE/s/python/python2/' ${pkgdir}/opt/wfuzz/wfuzz.py + chmod a+x ${pkgdir}/usr/bin/wfuzz +}