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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Nov 30 10:12:33 2005 UTC (14 years, 4 months ago) by chriswhite
Changes since 1.1: +9 -11 lines
*** empty log message ***

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

  ViewVC Help
Powered by ViewVC 1.1.20