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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/Attic/nikto-1.31.ebuild,v 1.3 2004/03/14 11:56:29 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/Attic/nikto-1.31.ebuild,v 1.4 2004/03/21 14:18:58 mboman Exp $
4 4
5DESCRIPTION="Web Server vulnerability scanner." 5DESCRIPTION="Web Server vulnerability scanner."
6HOMEPAGE="http://www.cirt.net/code/nikto.shtml" 6HOMEPAGE="http://www.cirt.net/code/nikto.shtml"
7SRC_URI="http://www.cirt.net/source/${P}.tar.gz" 7SRC_URI="http://www.cirt.net/source/${P}.tar.gz"
8LICENSE="GPL-2" 8LICENSE="GPL-2"
9SLOT="0" 9SLOT="0"
10KEYWORDS="x86 ~ppc ~sparc" 10KEYWORDS="x86 ~ppc ~sparc"
11RDEPEND=${DEPEND} 11RDEPEND=${DEPEND}
12RDEPEND=">=perl-5.6.1 12RDEPEND=">=dev-lang/perl-5.6.1
13 >=libwhisker-1.5 13 >=net-libs/libwhisker-1.5
14 >=nmap-3.00 14 >=net-analyzer/nmap-3.00
15 ssl? ( dev-libs/openssl ) " 15 ssl? ( dev-libs/openssl ) "
16IUSE="" 16IUSE=""
17 17
18S="${WORKDIR}/${P}"
19
20src_unpack() { 18src_unpack() {
21 unpack ${A} 19 unpack ${A}
22 einfo ${WORKDIR} 20 #einfo ${WORKDIR}
23 cd ${S} 21 cd ${S}
24 sed -i -e 's:config.txt:nikto.conf:' \ 22 sed -i -e 's:config.txt:nikto.conf:' \
25 -i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \ 23 -i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \
26 nikto.pl 24 nikto.pl
27 mv config.txt nikto.conf 25 mv config.txt nikto.conf

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20