aboutsummaryrefslogtreecommitdiffstats
path: root/main/nikto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/nikto/APKBUILD')
-rw-r--r--main/nikto/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/main/nikto/APKBUILD b/main/nikto/APKBUILD
new file mode 100644
index 0000000000..d0baff10e9
--- /dev/null
+++ b/main/nikto/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Fabio Aires <fabioaires.web@gmail.com>
+# Maintainer: Fabio Aires <fabioaires.web@gmail.com>
+pkgname=nikto
+pkgver=2.1.5
+pkgrel=0
+pkgdesc="A web application security scanner"
+url="https://www.cirt.net/Nikto2"
+arch="noarch"
+license="GPL"
+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"