Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/nikto: ChangeLog nikto-2.1.4.ebuild
Date: Mon, 01 Aug 2011 14:52:12
Message-Id: 20110801145159.B16682004C@flycatcher.gentoo.org
1 patrick 11/08/01 14:51:59
2
3 Modified: ChangeLog
4 Added: nikto-2.1.4.ebuild
5 Log:
6 Bump, fixes #292312. Thanks to everyone who worked on it
7
8 (Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.26 net-analyzer/nikto/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nikto/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nikto/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nikto/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nikto/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 26 May 2010 16:38:56 -0000 1.25
24 +++ ChangeLog 1 Aug 2011 14:51:59 -0000 1.26
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/nikto
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/ChangeLog,v 1.25 2010/05/26 16:38:56 abcd Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/ChangeLog,v 1.26 2011/08/01 14:51:59 patrick Exp $
31 +
32 +*nikto-2.1.4 (01 Aug 2011)
33 +
34 + 01 Aug 2011; Patrick Lauer <patrick@g.o> +nikto-2.1.4.ebuild:
35 + Bump, fixes #292312. Thanks to everyone who worked on it
36
37 26 May 2010; Jonathan Callen <abcd@g.o> nikto-2.03.ebuild:
38 Bump to EAPI=3, add prefix keywords, cleanup QA issues
39
40
41
42 1.1 net-analyzer/nikto/nikto-2.1.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nikto/nikto-2.1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nikto/nikto-2.1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nikto-2.1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nikto/nikto-2.1.4.ebuild,v 1.1 2011/08/01 14:51:59 patrick Exp $
52
53 EAPI=2
54
55 DESCRIPTION="Web Server vulnerability scanner."
56 HOMEPAGE="http://www.cirt.net/code/nikto.shtml"
57 SRC_URI="http://www.cirt.net/nikto/ARCHIVE/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
62 IUSE="ssl"
63
64 RDEPEND="dev-lang/perl
65 >=net-libs/libwhisker-2.5
66 ssl? (
67 dev-libs/openssl
68 dev-perl/Net-SSLeay
69 )"
70
71 src_prepare() {
72 sed -i -e 's:config.txt:nikto.conf:g' \
73 plugins/* || die
74
75 sed -i -e 's:/etc/nikto.conf:/etc/nikto/nikto.conf:' \
76 nikto.pl || die
77
78 sed -i -e 's:# EXECDIR=/usr/local/nikto:EXECDIR=/usr/share/nikto:' \
79 nikto.conf || die
80
81 sed -i -e 's:# use LW2:use LW2:' \
82 nikto.pl || die
83 sed -i -e 's:require "$CONFIGFILE{'\''PLUGINDIR'\''}/LW2.pm":# require "$CONFIGFILE{'\''PLUGINDIR'\''}/LW2.pm":' \
84 nikto.pl || die
85 rm plugins/LW2.pm || die "removing bundled lib LW2.pm failed"
86 }
87
88 src_compile() {
89 einfo "nothing to compile"
90 true
91 }
92
93 src_install() {
94 insinto /etc/nikto
95 doins nikto.conf || die "config install failed"
96
97 dobin nikto.pl || die "install failed"
98 dosym /usr/bin/nikto.pl /usr/bin/nikto || die
99
100 dodir /usr/share/nikto
101 insinto /usr/share/nikto
102 doins -r plugins templates || die
103
104 dodoc docs/*.txt || die
105 dohtml docs/nikto_manual.html || die
106 }