mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-20 15:15:25 +01:00
nikto: bumped to 2.1.3
This commit is contained in:
parent
cea04fd310
commit
f8ffccec4e
2 changed files with 17 additions and 10 deletions
|
|
@ -1,2 +1,2 @@
|
|||
DIST nikto-2.1.2.tar.bz2 269382 RMD160 f614e7e38f76637cf7bdaaff3eb6aaca1550d571 SHA1 7550973c008138e26d3e3b6c9c78d8ad39ee9768 SHA256 813b457ec181c9e71b4d441161c457de198328e46de8c91c53182d03ace65376
|
||||
EBUILD nikto-2.1.2.ebuild 952 RMD160 4e7b5aab3ec9320b6319dea286c900df32b30261 SHA1 9587be8916adea6d254932bf476afedff28f42d8 SHA256 d9a77c0dfc34c92fbee96338dbc28c887ca0d941e602d2a1e3d7521ce38f70b4
|
||||
DIST nikto-2.1.3.tar.bz2 271642 RMD160 88b6823ca128d595383fc94aa98c523828911143 SHA1 03a44d8df1a58343b9afe31832b77074a47a1737 SHA256 58df896390bd2770bb574f98107376740cf688225302704e4fe8a4d0f3cf2f7f
|
||||
EBUILD nikto-2.1.3.ebuild 1062 RMD160 ea0f524f6e65137b50e4da7c5ed3a6247401e5de SHA1 3d9364df7400e2ea0d0126bd203a275de9800a7d SHA256 a16e6ebd5ef7374d376380b14feeeb6e3117a395cf039bdc50fcf0cf3403f6f5
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
DESCRIPTION="Web Server vulnerability scanner."
|
||||
HOMEPAGE="http://www.cirt.net/code/nikto.shtml"
|
||||
SRC_URI="http://www.cirt.net/nikto/ARCHIVE/${P}.tar.bz2"
|
||||
|
|
@ -17,15 +19,20 @@ RDEPEND="dev-lang/perl
|
|||
dev-perl/Net-SSLeay
|
||||
)"
|
||||
|
||||
src_compile() {
|
||||
src_prepare() {
|
||||
sed -i -e 's:config.txt:nikto.conf:g' \
|
||||
plugins/*
|
||||
plugins/* || die
|
||||
|
||||
sed -i -e 's:/etc/nikto.conf:/etc/nikto/nikto.conf:' \
|
||||
nikto.pl
|
||||
nikto.pl || die
|
||||
|
||||
sed -i -e 's:# EXECDIR=/usr/local/nikto:EXECDIR=/usr/share/nikto:' \
|
||||
nikto.conf
|
||||
nikto.conf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "nothing to compile"
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
@ -33,12 +40,12 @@ src_install() {
|
|||
doins nikto.conf || die "config install failed"
|
||||
|
||||
dobin nikto.pl || die "install failed"
|
||||
dosym /usr/bin/nikto.pl /usr/bin/nikto
|
||||
dosym /usr/bin/nikto.pl /usr/bin/nikto || die
|
||||
|
||||
dodir /usr/share/nikto
|
||||
insinto /usr/share/nikto
|
||||
doins -r plugins templates
|
||||
doins -r plugins templates || die
|
||||
|
||||
dodoc docs/*.txt
|
||||
dohtml docs/nikto_manual.html
|
||||
dodoc docs/*.txt || die
|
||||
dohtml docs/nikto_manual.html || die
|
||||
}
|
||||
Loading…
Reference in a new issue