blob: 36f359d51157617542d2da57594fc00dbdebd4b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Fabio Aires <fabioaires.web@gmail.com>
# Maintainer: Fabio Aires <fabioaires.web@gmail.com>
pkgname=nikto
pkgver=2.1.5
pkgrel=1
pkgdesc="A web application security scanner"
url="https://www.cirt.net/Nikto2"
arch="noarch"
license="GPL2"
depends="perl nmap openssl"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://www.cirt.net/$pkgname/$pkgname-$pkgver.tar.gz
nikto.conf.base"
_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() {
cd "$_builddir"
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/etc/nikto "$pkgdir"/usr/bin
cp "$srcdir"/nikto.conf.base "$pkgdir"/etc/nikto.conf
cp -r databases "$pkgdir"/etc/nikto
cp -r templates "$pkgdir"/etc/nikto
cp -r plugins "$pkgdir"/etc/nikto
cp -r docs "$pkgdir"/etc/nikto
install -m 755 nikto.pl "$pkgdir"/usr/bin
}
md5sums="efcc98a918becb77471ee9a5df0a7b1e nikto-2.1.5.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"
|