/[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.2 - (hide annotations) (download)
Fri Feb 27 14:14:57 2004 UTC (16 years, 1 month ago) by mcummings
Branch: MAIN
Changes since 1.1: +3 -3 lines
unmasking for x86

1 mcummings 1.2 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 mcummings 1.1 # Distributed under the terms of the GNU General Public License v2
3 mcummings 1.2 # $Header: /home/cvsroot/gentoo-x86/net-analyzer/nikto/nikto-1.31.ebuild,v 1.1 2003/10/06 12:06:56 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 mcummings 1.2 KEYWORDS="x86 ~ppc ~sparc"
11 mcummings 1.1 DEPEND=">=perl-5.6.1
12     >=libwhisker-1.5
13     >=nmap-3.00
14     ssl? ( dev-libs/openssl ) "
15     RDEPEND=${DEPEND}
16     IUSE=""
17    
18     S="${WORKDIR}/${P}"
19    
20     src_unpack() {
21     unpack ${A}
22     einfo ${WORKDIR}
23     cd ${S}
24     sed -i -e 's:config.txt:nikto.conf:' \
25     -i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \
26     nikto.pl
27     mv config.txt nikto.conf
28     sed -i -e 's:^#NMAP:NMAP:' \
29     -i -e 's:^PROXYHOST:#PROXYHOST:' \
30     -i -e 's:^PROXYPORT:#PROXYPORT:' \
31     -i -e 's:^PROXYUSER:#PROXYUSER:' \
32     -i -e 's:^PROXYPASS:#PROXYPASS:' \
33     -i -e 's:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=/usr/share/nikto/plugins:' \
34     nikto.conf
35     }
36    
37     src_install() {
38     cd ${S}
39     insinto /etc/nikto
40     doins nikto.conf
41     cd docs
42     dodoc CHANGES.txt LICENSE.txt README_plugins.txt nikto_usage.txt
43     dohtml nikto_usage.html
44     cd ..
45     dodir /usr/bin
46     dobin nikto.pl
47     dosym /usr/bin/nikto.pl /usr/bin/nikto
48     dodir /usr/share/nikto/plugins
49     insinto /usr/share/nikto/plugins
50     cd plugins
51     doins *
52     }

  ViewVC Help
Powered by ViewVC 1.1.20