Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions srcpkgs/nikto/template
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
# Template file for 'nikto'
pkgname=nikto
version=2.5.0
version=2.6.0
revision=1
depends="perl perl-Net-SSLeay perl-JSON openssl"
depends="perl perl-Net-SSLeay perl-JSON perl-XML-Writer 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
checksum=656554f9aeba8c462689582b59d141369dbcadac11141cd02752887f363430ec

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/utils/replay.pl usr/bin/replay
vcopy program/utils/nikto-bulk.sh usr/bin/nikto-bulk.sh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I remove the .sh in the installation path?

vcopy program/plugins usr/share/nikto
vcopy program/templates usr/share/nikto
vcopy program/databases usr/share/nikto
vman program/docs/nikto.1
vman documentation/nikto.1
vsed -i \
-e "s|^# EXECDIR=.*|EXECDIR=/usr/bin/nikto|" \
-e "s|^# PLUGINDIR=.*|PLUGINDIR=/usr/share/nikto/plugins|" \
Expand Down