mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
nikto: bump version to 20180110
This commit is contained in:
parent
35ba43d548
commit
4428f034b2
2 changed files with 51 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST nikto-2.1.6.tar.gz 490743 SHA256 c1731ae4133d3879718bb7605a8d395b2036668505effbcbbcaa4dae4e9f27f2 SHA512 13632018ef6862de7dc53c674d7266fcfb7e164bcf3070327c103cbf8737720ffb710ccc8949acc920a6e0a85da1bb7575d073ee245bc2ba3a8a292ad1695e69 WHIRLPOOL 9a45015154cea7ec6a02bab4583f0b529f634d1ba3a9a203a916e07a2c6c037b4d1876af22776f566d9adb6b8850b5dc33ab10c4e4a581729d28cab59f7a839e
|
||||
DIST nikto-2.1.6_p20180110.tar.gz 511581 SHA256 90865a92ea05b7dcb4c5fc42f629b3d8b0165c0d8cfa31f4fbc795a1c804dc91 SHA512 7a04b82f75123b776e1c04abb92949f33aaad27f4ac0b87749724eed0216fb4f725f580c434ed48857ba1b2f18ff5811850194e968b2c0a5cc3428805e80a2ad WHIRLPOOL 5d1155e0f5ca9fb50e9aa312c287892519b815c72db9ddbdea8652893a7174e53e2e3394a97f55a58a82a4092000a5c16e51c077e202b8dea37b34c513b67b25
|
||||
|
|
|
|||
50
net-analyzer/nikto/nikto-2.1.6_p20180110.ebuild
Normal file
50
net-analyzer/nikto/nikto-2.1.6_p20180110.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="web server vulnerability scanner"
|
||||
HOMEPAGE="http://www.cirt.net/Nikto2"
|
||||
COMMIT="c4caac340e0c038fe0f7ffc2b1dc566ef64a6921"
|
||||
MY_P="${PN}-${COMMIT}"
|
||||
SRC_URI="https://github.com/sullo/nikto/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
virtual/perl-JSON-PP
|
||||
net-analyzer/nmap
|
||||
ssl? (
|
||||
dev-libs/openssl
|
||||
dev-perl/Net-SSLeay
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/program"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:config.txt:nikto.conf:g' plugins/* || die
|
||||
sed -i -e 's:/etc/nikto.conf:/etc/nikto/nikto.conf:' nikto.pl || die
|
||||
sed -i -e 's:# EXECDIR=/opt/nikto:EXECDIR=/usr/share/nikto:' nikto.conf || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/nikto
|
||||
doins nikto.conf
|
||||
|
||||
dobin nikto.pl replay.pl
|
||||
dosym nikto.pl /usr/bin/nikto
|
||||
|
||||
dodir /usr/share/nikto
|
||||
insinto /usr/share/nikto
|
||||
doins -r plugins templates databases
|
||||
|
||||
dodoc docs/*.txt
|
||||
dodoc docs/nikto_manual.html
|
||||
}
|
||||
Loading…
Reference in a new issue