aboutsummaryrefslogblamecommitdiffstats
path: root/main/nikto/APKBUILD
blob: 432fd2c4738acb73f785e847a3ef5bfe39a03b5e (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     
            
        


                                            
                 
                                
                           
                                                                                      
                        
                                           

         
                      
                


           
                      





                                                             
                                                  

 
                                                                                                                                                                
                                                                                                                                                  
# Contributor: Fabio Aires <fabioaires.web@gmail.com>
# Maintainer: Fabio Aires <fabioaires.web@gmail.com>
pkgname=nikto
pkgver=2.1.6
pkgrel=1
pkgdesc="A web application security scanner"
url="https://www.cirt.net/Nikto2"
arch="noarch"
license="GPL-2.0"
options="!check" # No test suite
depends="perl nmap openssl"
source="$pkgname-$pkgver.tar.gz::https://github.com/sullo/nikto/archive/$pkgver.tar.gz
	nikto.conf.base"
builddir="$srcdir/$pkgname-$pkgver/program"

build() {
	cd "$builddir"
	return 0
}

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
}

sha512sums="13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69  nikto-2.1.6.tar.gz
d6e349bd20428e45d6ef49db91630e1c6d65d4cf2107a1f4c58e697d8fceeb428fb90c247fbbf8a8ad6f9d27672790d07040079b94c2480dd77dc445fccd6f69  nikto.conf.base"