diff options
Diffstat (limited to 'net-analyzer/nikto/nikto-1.32.ebuild')
-rw-r--r-- | net-analyzer/nikto/nikto-1.32.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/net-analyzer/nikto/nikto-1.32.ebuild b/net-analyzer/nikto/nikto-1.32.ebuild new file mode 100644 index 000000000000..9944a3c17fad --- /dev/null +++ b/net-analyzer/nikto/nikto-1.32.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/nikto-1.32.ebuild,v 1.1 2004/03/29 15:51:20 mcummings Exp $ + +MY_P=nikto-current +DESCRIPTION="Web Server vulnerability scanner." +HOMEPAGE="http://www.cirt.net/code/nikto.shtml" +SRC_URI="http://www.cirt.net/nikto/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc" +RDEPEND=${DEPEND} +RDEPEND=">=dev-lang/perl + >=net-libs/libwhisker-1.5 + >=net-analyzer/nmap-3.00 + ssl? ( dev-libs/openssl ) " +IUSE="" + +src_unpack() { + unpack ${A} + #einfo ${WORKDIR} + cd ${S} + sed -i -e 's:config.txt:nikto.conf:' \ + -i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \ + nikto.pl + mv config.txt nikto.conf + sed -i -e 's:^#NMAP:NMAP:' \ + -i -e 's:^PROXYHOST:#PROXYHOST:' \ + -i -e 's:^PROXYPORT:#PROXYPORT:' \ + -i -e 's:^PROXYUSER:#PROXYUSER:' \ + -i -e 's:^PROXYPASS:#PROXYPASS:' \ + -i -e 's:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=/usr/share/nikto/plugins:' \ + nikto.conf +} + +src_install() { + cd ${S} + insinto /etc/nikto + doins nikto.conf + cd docs + dodoc CHANGES.txt LICENSE.txt README_plugins.txt nikto_usage.txt + dohtml nikto_usage.html + cd .. + dodir /usr/bin + dobin nikto.pl + dosym /usr/bin/nikto.pl /usr/bin/nikto + dodir /usr/share/nikto/plugins + insinto /usr/share/nikto/plugins + cd plugins + doins * +} |