Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nikto/
Date: Sun, 27 Jan 2019 19:46:48
Message-Id: 1548618359.2c446e0ad3fb1c864fd306daf57b3f4ff3ed843a.pacho@gentoo
1 commit: 2c446e0ad3fb1c864fd306daf57b3f4ff3ed843a
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 27 19:42:01 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 27 19:45:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c446e0a
7
8 net-analyzer/nikto: Drop old
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 net-analyzer/nikto/Manifest | 1 -
14 net-analyzer/nikto/nikto-1.36.ebuild | 52 ------------------------------------
15 2 files changed, 53 deletions(-)
16
17 diff --git a/net-analyzer/nikto/Manifest b/net-analyzer/nikto/Manifest
18 index bcf4227aa52..1e4c1165f80 100644
19 --- a/net-analyzer/nikto/Manifest
20 +++ b/net-analyzer/nikto/Manifest
21 @@ -1,2 +1 @@
22 -DIST nikto-1.36.tar.gz 206921 BLAKE2B ed6cc343ddccd8d35a7df566c5facb91b31fa9ec1697bb962fb7a0fdf3bc396a95c60997267fdca929b6af2e599f1535a223bf04ccb53da485ce409f8bc4391f SHA512 e340eebc8323a689b1fe8358626f90d822f4eea4aaeba44c64f68c758fccdec7c3d5896b93739128b1b53429967d4e66ccb08b880066e0c63bed4e2748f94a45
23 DIST nikto-2.1.6_p20180122.tar.gz 511615 BLAKE2B 0937a5a52ae79e00da5bc53b089166cb2fc5cdf8311c4db55e421ddb44c22e31a9a964b02d75995c74b144d8fe05046895c4e54cfa7500aecd5d36787105a417 SHA512 4b9cae08146cefcfe4e929385631062f27cd13f5e516ec50fa9f9804a677a4a8846bc0f5de99bc1a25ec58ea8e2889bfa5953f8ca9cd7152e7b95b05861cac91
24
25 diff --git a/net-analyzer/nikto/nikto-1.36.ebuild b/net-analyzer/nikto/nikto-1.36.ebuild
26 deleted file mode 100644
27 index 2656b333753..00000000000
28 --- a/net-analyzer/nikto/nikto-1.36.ebuild
29 +++ /dev/null
30 @@ -1,52 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=0
35 -
36 -DESCRIPTION="Web Server vulnerability scanner"
37 -HOMEPAGE="http://www.cirt.net/Nikto2"
38 -SRC_URI="http://www.cirt.net/source/nikto/ARCHIVE/${P}.tar.gz"
39 -
40 -LICENSE="GPL-2"
41 -SLOT="0"
42 -KEYWORDS="~amd64 ~ppc sparc x86"
43 -RDEPEND="dev-lang/perl
44 - >=net-analyzer/nmap-3.00
45 - ssl? ( dev-libs/openssl )"
46 -IUSE="ssl"
47 -
48 -src_compile() {
49 - sed -i -e 's:config.txt:nikto.conf:' \
50 - -i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \
51 - nikto.pl
52 -
53 - mv config.txt nikto.conf
54 -
55 - sed -i -e 's:^#NMAP:NMAP:' \
56 - -i -e 's:^PROXYHOST:#PROXYHOST:' \
57 - -i -e 's:^PROXYPORT:#PROXYPORT:' \
58 - -i -e 's:^PROXYUSER:#PROXYUSER:' \
59 - -i -e 's:^PROXYPASS:#PROXYPASS:' \
60 - -i -e 's:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=/usr/share/nikto/plugins:' \
61 - nikto.conf
62 -
63 - cp "${S}/docs/nikto-${PV}.man" "${WORKDIR}/${PN}.1"
64 -}
65 -
66 -src_install() {
67 - insinto /etc/nikto
68 - doins nikto.conf
69 -
70 - dodir /usr/bin
71 - dobin nikto.pl
72 - dosym /usr/bin/nikto.pl /usr/bin/nikto
73 -
74 - dodir /usr/share/nikto/plugins
75 - insinto /usr/share/nikto/plugins
76 - doins plugins/*
77 -
78 - cd docs
79 - dodoc CHANGES.txt LICENSE.txt README_plugins.txt nikto_usage.txt
80 - dohtml nikto_usage.html
81 - doman "${WORKDIR}/${PN}.1"
82 -}