From b7fa4b3c65e39a024e472fb02bdc56d48a27035f Mon Sep 17 00:00:00 2001 From: Kr1ss Date: Thu, 5 Dec 2019 22:09:28 +0100 Subject: adopt package & update: wapiti 3.0.2-1 upstream release --- PKGBUILD | 41 +++++++++++++++++++++++++++++++---------- 1 file changed, 31 insertions(+), 10 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 6004eda..79b378f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,18 +1,39 @@ -# Maintainer: mickael9 +# Maintainer : Kr1ss $(echo \|sed s/\+/./g\;s/\-/@/) +# Contributor : mickael9 + pkgname=wapiti -pkgver=3.0.1 + +pkgver=3.0.2 pkgrel=1 -pkgdesc="A vulnerability scanner for web applications. It currently search vulnerabilities like XSS, SQL and XPath injections, file inclusions, command execution, LDAP injections, CRLF injections..." + +pkgdesc='A comprehensive web app vulnerability scanner written in Python' +arch=('any') url='http://wapiti.sourceforge.net/' -license=(GPL) -depends=(python python-setuptools python-requests python-beautifulsoup4 python-lxml python-tld python-yaswfp python-mako python-pysocks) -arch=(any) +license=('GPL') + +depends=('python-requests' 'python-beautifulsoup4' 'python-lxml' 'python-tld' + 'python-yaswfp' 'python-mako' 'python-pysocks') +optdepends=('python-requests-kerberos: Kerberos authentication' + 'python-requests-ntlm: NTLM authentication') +makedepends=('python-setuptools') + +options=('zipman') -source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}${pkgver:0:1}-${pkgver}.tar.gz") -sha256sums=('bbb8c8f572afe77319734489a6ca0b211df4b87ad294db79b8bf0bda1c5aff29') +changelog=ChangeLog +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname${pkgver:0:1}-$pkgver.tar.gz") +sha256sums=('df86cab9f66c7794cab54fede16029056a764f5da565b2695524f9bd2bc9a384') + + +build() { + cd "$pkgname${pkgver:0:1}-$pkgver" + python setup.py build +} package() { - cd "${srcdir}/${pkgname}${pkgver:0:1}-${pkgver}" - python setup.py install --root="${pkgdir}/" --optimize=1 + cd "$pkgname${pkgver:0:1}-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build } + + +# vim: ts=2 sw=2 et ft=PKGBUILD: -- cgit v1.2.3-70-g09d2