/[gentoo-x86]/net-analyzer/nikto/nikto-1.34.ebuild
Gentoo

Contents of /net-analyzer/nikto/nikto-1.34.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Mar 20 16:02:06 2009 UTC (10 years, 11 months ago) by dertobi123
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump (#208165), Cleanup
(Portage version: 2.2_rc26/cvs/Linux x86_64)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/nikto-1.34.ebuild,v 1.2 2005/03/13 20:51:10 mcummings Exp $
4
5 DESCRIPTION="Web Server vulnerability scanner."
6 HOMEPAGE="http://www.cirt.net/code/nikto.shtml"
7 SRC_URI="http://www.cirt.net/source/nikto/ARCHIVE/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~x86 ~ppc ~sparc"
12 RDEPEND="dev-lang/perl
13 >=net-libs/libwhisker-1.5
14 >=net-analyzer/nmap-3.00
15 ssl? ( dev-libs/openssl )"
16 IUSE="ssl"
17
18 src_compile() {
19 sed -i -e 's:config.txt:nikto.conf:' \
20 -i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \
21 nikto.pl
22
23 mv config.txt nikto.conf
24
25 sed -i -e 's:^#NMAP:NMAP:' \
26 -i -e 's:^PROXYHOST:#PROXYHOST:' \
27 -i -e 's:^PROXYPORT:#PROXYPORT:' \
28 -i -e 's:^PROXYUSER:#PROXYUSER:' \
29 -i -e 's:^PROXYPASS:#PROXYPASS:' \
30 -i -e 's:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=/usr/share/nikto/plugins:' \
31 nikto.conf
32 }
33
34 src_install() {
35 insinto /etc/nikto
36 doins nikto.conf
37
38 dodir /usr/bin
39 dobin nikto.pl
40 dosym /usr/bin/nikto.pl /usr/bin/nikto
41
42 dodir /usr/share/nikto/plugins
43 insinto /usr/share/nikto/plugins
44 doins plugins/*
45
46 cd docs
47 dodoc CHANGES.txt LICENSE.txt README_plugins.txt nikto_usage.txt
48 dohtml nikto_usage.html
49 }

  ViewVC Help
Powered by ViewVC 1.1.20