diff options
author | zxp19821005 | 2024-02-02 12:42:45 +0800 |
---|---|---|
committer | zxp19821005 | 2024-02-02 12:42:45 +0800 |
commit | 1201f3e576b9cfebde69cb81ea796e655c8c41e1 (patch) | |
tree | 7dfbf38e1e3d990a7821ea21ad7639d01686115b | |
parent | f76af78ad1f7b8a3d7bb1a86c456799f5b7f9f50 (diff) | |
download | aur-wapiti.tar.gz |
fix errors
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 14 insertions, 9 deletions
@@ -4,8 +4,9 @@ pkgbase = wapiti pkgrel = 4 url = https://wapiti-scanner.github.io arch = any - license = GPL2 + license = GPL-2.0-only makedepends = python-setuptools + makedepends = git depends = python>=3.9 depends = python-cryptography depends = python-soupsieve @@ -16,7 +17,7 @@ pkgbase = wapiti optdepends = python-requests-kerberos: Kerberos authentication optdepends = python-requests-ntlm: NTLM authentication options = zipman - source = wapiti-3.1.7.tar.gz::https://github.com/wapiti-scanner/wapiti/releases/download/3.1.7/wapiti3-3.1.7.tar.gz - sha256sums = 8489ddc82fd1cc9ee20861eaecfbaa2edaba46c0d25d3331329ff58bb50dc921 + source = wapiti.git::git+https://github.com/wapiti-scanner/wapiti.git#tag=3.1.7 + sha256sums = SKIP pkgname = wapiti @@ -9,8 +9,7 @@ pkgdesc='Comprehensive web app vulnerability scanner written in Python' arch=('any') url="https://wapiti-scanner.github.io" _ghurl="https://github.com/wapiti-scanner/wapiti" -license=('GPL2') -makedepends=('python-setuptools') +license=('GPL-2.0-only') depends=( 'python>=3.9' 'python-cryptography' @@ -20,6 +19,10 @@ depends=( 'python-beautifulsoup4' 'python-httpx' ) +makedepends=( + 'python-setuptools' + 'git' +) optdepends=( 'python-requests-kerberos: Kerberos authentication' 'python-requests-ntlm: NTLM authentication' @@ -27,12 +30,13 @@ optdepends=( options=( 'zipman' ) -source=("${pkgname}-${pkgver}.tar.gz::${_ghurl}/releases/download/${pkgver}/${pkgname}3-${pkgver}.tar.gz") -sha256sums=('8489ddc82fd1cc9ee20861eaecfbaa2edaba46c0d25d3331329ff58bb50dc921') +source=( + "${pkgname}.git::git+${_ghurl}.git#tag=${pkgver}" +) +sha256sums=('SKIP') package() { - cd "${srcdir}/${pkgname}3-${pkgver}" + cd "${srcdir}/${pkgname}.git" # Use pip to install the package into the pkg directory python -m pip install . --no-deps --ignore-installed --no-warn-script-location \ --prefix=/usr --root="${pkgdir}" - #python setup.py install --root="${pkgdir}" --optimize=1 --skip-build }
\ No newline at end of file |