mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
New package: nikto-2.5.0
This commit is contained in:
parent
70488431d8
commit
92a357b8d0
1 changed files with 33 additions and 0 deletions
33
srcpkgs/nikto/template
Normal file
33
srcpkgs/nikto/template
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Template file for 'nikto'
|
||||
pkgname=nikto
|
||||
version=2.5.0
|
||||
revision=1
|
||||
depends="perl perl-Net-SSLeay perl-JSON openssl"
|
||||
short_desc="Comprehensive web server vulnerability scanner"
|
||||
maintainer="Emil Miler <em@0x45.cz>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://cirt.net/Nikto2"
|
||||
changelog="https://github.com/sullo/nikto/releases"
|
||||
distfiles="https://github.com/sullo/nikto/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=fb0dc4b2bc92cb31f8069f64ea4d47295bcd11067a7184da955743de7d97709d
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/bin
|
||||
vmkdir etc
|
||||
vmkdir usr/share/nikto
|
||||
vmkdir usr/share/doc/nikto
|
||||
vcopy program/nikto.pl usr/bin/nikto
|
||||
vcopy program/replay.pl usr/bin/replay
|
||||
vcopy program/plugins usr/share/nikto
|
||||
vcopy program/templates usr/share/nikto
|
||||
vcopy program/databases usr/share/nikto
|
||||
vman program/docs/nikto.1
|
||||
vsed -i \
|
||||
-e "s|^# EXECDIR=.*|EXECDIR=/usr/bin/nikto|" \
|
||||
-e "s|^# PLUGINDIR=.*|PLUGINDIR=/usr/share/nikto/plugins|" \
|
||||
-e "s|^# DBDIR=.*|DBDIR=/usr/share/nikto/databases|" \
|
||||
-e "s|^# TEMPLATEDIR=.*|TEMPLATEDIR=/usr/share/nikto/templates|" \
|
||||
-e "s|^# DOCDIR=.*|TDOCDIR=/usr/share/doc/nikto|" \
|
||||
program/nikto.conf.default
|
||||
vconf program/nikto.conf.default etc/nikto.conf
|
||||
}
|
Loading…
Add table
Reference in a new issue