/[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.8 - (show annotations) (download)
Fri Mar 20 16:02:06 2009 UTC (10 years, 10 months ago) by dertobi123
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +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.31.ebuild,v 1.7 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/${P}.tar.gz"
8 LICENSE="GPL-2"
9 SLOT="0"
10 KEYWORDS="x86 ~ppc ~sparc"
11 RDEPEND=${DEPEND}
12 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
18 src_unpack() {
19 unpack ${A}
20 #einfo ${WORKDIR}
21 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