mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-29 19:43:26 +01:00
add nikto until the portage version catches up
This commit is contained in:
parent
7b44605927
commit
d3eb92c212
2 changed files with 51 additions and 0 deletions
2
net-analyzer/nikto/Manifest
Normal file
2
net-analyzer/nikto/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST nikto-2.1.1.tar.bz2 262100 RMD160 16d4c897798f9831944b79cb9b487e2a719e2c89 SHA1 f1c4faf11d658376212ed9eb47b55e8f76bc9cbf SHA256 11443267c33ebdc696e39a9e76f5a842f5dc568afc7351d22310991ee900c29d
|
||||
EBUILD nikto-2.1.1.ebuild 1242 RMD160 a741ffe6f4c074ce6f39a3dae769001a30f2b443 SHA1 011c1f728df6b6ac85e5b1851e86922bcef5c013 SHA256 000f630ac7e442328b7baa8a037efa0f0060c47b65ca83bbea2ba1f4e5f541a1
|
||||
49
net-analyzer/nikto/nikto-2.1.1.ebuild
Normal file
49
net-analyzer/nikto/nikto-2.1.1.ebuild
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/nikto-2.03.ebuild,v 1.1 2009/03/20 16:02:06 dertobi123 Exp $
|
||||
|
||||
DESCRIPTION="Web Server vulnerability scanner."
|
||||
HOMEPAGE="http://www.cirt.net/code/nikto.shtml"
|
||||
SRC_URI="http://www.cirt.net/source/nikto/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="ssl"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
>=net-analyzer/nmap-3.00
|
||||
ssl? (
|
||||
dev-libs/openssl
|
||||
dev-perl/Net-SSLeay
|
||||
)"
|
||||
|
||||
src_compile() {
|
||||
sed -i -e 's:config.txt:nikto.conf:g' \
|
||||
plugins/* docs/nikto.1 nikto.pl
|
||||
|
||||
sed -i -e 's:config.txt:nikto.conf:' \
|
||||
-i -e 's:\($NIKTO{configfile} = \)"nikto.conf":\1"/etc/nikto/nikto.conf":' \
|
||||
nikto.pl
|
||||
|
||||
sed -i -e 's:/usr/local/bin/nmap:/usr/bin/nmap:' \
|
||||
-i -e 's:# EXECDIR=/usr/local/nikto:EXECDIR=/usr/share/nikto:' \
|
||||
nikto.conf
|
||||
|
||||
rm -rf $(find -name .svn -type d)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/
|
||||
doins nikto.conf || die "config install failed"
|
||||
|
||||
dobin nikto.pl || die "install failed"
|
||||
dosym /usr/bin/nikto.pl /usr/bin/nikto
|
||||
|
||||
dodir /usr/share/nikto
|
||||
insinto /usr/share/nikto
|
||||
doins -r plugins templates
|
||||
|
||||
dodoc docs/*.txt
|
||||
dohtml docs/nikto_manual.html
|
||||
}
|
||||
Loading…
Reference in a new issue