mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/nikto: upgrade to 2.1.6, modernize
This commit is contained in:
parent
4dc7770d04
commit
72fa4eda88
@ -1,33 +1,21 @@
|
|||||||
# Contributor: Fabio Aires <fabioaires.web@gmail.com>
|
# Contributor: Fabio Aires <fabioaires.web@gmail.com>
|
||||||
# Maintainer: Fabio Aires <fabioaires.web@gmail.com>
|
# Maintainer: Fabio Aires <fabioaires.web@gmail.com>
|
||||||
pkgname=nikto
|
pkgname=nikto
|
||||||
pkgver=2.1.5
|
pkgver=2.1.6
|
||||||
pkgrel=2
|
pkgrel=0
|
||||||
pkgdesc="A web application security scanner"
|
pkgdesc="A web application security scanner"
|
||||||
url="https://www.cirt.net/Nikto2"
|
url="https://www.cirt.net/Nikto2"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-2.0"
|
license="GPL-2.0"
|
||||||
|
options="!check" # No test suite
|
||||||
depends="perl nmap libressl"
|
depends="perl nmap libressl"
|
||||||
depends_dev=""
|
source="$pkgname-$pkgver.tar.gz::https://github.com/sullo/nikto/archive/$pkgver.tar.gz
|
||||||
makedepends="$depends_dev"
|
|
||||||
install=""
|
|
||||||
subpackages=""
|
|
||||||
source="https://www.cirt.net/$pkgname/$pkgname-$pkgver.tar.gz
|
|
||||||
nikto.conf.base"
|
nikto.conf.base"
|
||||||
|
builddir="$srcdir/$pkgname-$pkgver/program"
|
||||||
builddir="$srcdir/$pkgname-$pkgver"
|
|
||||||
prepare() {
|
|
||||||
local i
|
|
||||||
cd "$builddir"
|
|
||||||
for i in $source; do
|
|
||||||
case $i in
|
|
||||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
@ -41,9 +29,5 @@ package() {
|
|||||||
install -m 755 nikto.pl "$pkgdir"/usr/bin
|
install -m 755 nikto.pl "$pkgdir"/usr/bin
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="efcc98a918becb77471ee9a5df0a7b1e nikto-2.1.5.tar.gz
|
sha512sums="13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69 nikto-2.1.6.tar.gz
|
||||||
39d5e2e923344a3624e94d2b17408988 nikto.conf.base"
|
|
||||||
sha256sums="0e672a6a46bf2abde419a0e8ea846696d7f32e99ad18a6b405736ee6af07509f nikto-2.1.5.tar.gz
|
|
||||||
f24b1e9007156a1700b32daa763f104423b4dde3a42bd74bc2deef6244953374 nikto.conf.base"
|
|
||||||
sha512sums="b6a1e7277a501055a4693d2e7179801bda0566350f3718cd169c3baf61003a936b14e9a4ba59f3597a83be8ef509953fdae546ec57e487a33b2b3efbabe84b67 nikto-2.1.5.tar.gz
|
|
||||||
d6e349bd20428e45d6ef49db91630e1c6d65d4cf2107a1f4c58e697d8fceeb428fb90c247fbbf8a8ad6f9d27672790d07040079b94c2480dd77dc445fccd6f69 nikto.conf.base"
|
d6e349bd20428e45d6ef49db91630e1c6d65d4cf2107a1f4c58e697d8fceeb428fb90c247fbbf8a8ad6f9d27672790d07040079b94c2480dd77dc445fccd6f69 nikto.conf.base"
|
||||||
|
Loading…
Reference in New Issue
Block a user