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: Mon, 02 Apr 2018 09:48:35
Message-Id: 1522662507.f2ec36d9f01c133beaebf50f16117d91d53fc6c4.pacho@gentoo
1 commit: f2ec36d9f01c133beaebf50f16117d91d53fc6c4
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 2 09:30:57 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 2 09:48:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ec36d9
7
8 net-analyzer/nikto: Drop old
9
10 Package-Manager: Portage-2.3.27, Repoman-2.3.9
11
12 net-analyzer/nikto/Manifest | 1 -
13 net-analyzer/nikto/nikto-2.1.5.ebuild | 58 -----------------------------------
14 2 files changed, 59 deletions(-)
15
16 diff --git a/net-analyzer/nikto/Manifest b/net-analyzer/nikto/Manifest
17 index 7d02e06ffea..bcf4227aa52 100644
18 --- a/net-analyzer/nikto/Manifest
19 +++ b/net-analyzer/nikto/Manifest
20 @@ -1,3 +1,2 @@
21 DIST nikto-1.36.tar.gz 206921 BLAKE2B ed6cc343ddccd8d35a7df566c5facb91b31fa9ec1697bb962fb7a0fdf3bc396a95c60997267fdca929b6af2e599f1535a223bf04ccb53da485ce409f8bc4391f SHA512 e340eebc8323a689b1fe8358626f90d822f4eea4aaeba44c64f68c758fccdec7c3d5896b93739128b1b53429967d4e66ccb08b880066e0c63bed4e2748f94a45
22 -DIST nikto-2.1.5.tar.bz2 311580 BLAKE2B 5441953ed4f778efd06c784a5f608f4a00f61f1462a6fd637b5d490b84aecf4fc0d39cb2780469e00ba1a5c75c2ead63c2cb45a6f4b7c59ad243a671122264db SHA512 623b0fa923c05ecc4b69087321b544941f09b4d84fb7a32f6970e2ea42b2018f2c4e2d1cd0fabfc1c99a2ca7b57fd8c0d9f5f13c86e7eb102f00bdfd3062a95f
23 DIST nikto-2.1.6_p20180122.tar.gz 511615 BLAKE2B 0937a5a52ae79e00da5bc53b089166cb2fc5cdf8311c4db55e421ddb44c22e31a9a964b02d75995c74b144d8fe05046895c4e54cfa7500aecd5d36787105a417 SHA512 4b9cae08146cefcfe4e929385631062f27cd13f5e516ec50fa9f9804a677a4a8846bc0f5de99bc1a25ec58ea8e2889bfa5953f8ca9cd7152e7b95b05861cac91
24
25 diff --git a/net-analyzer/nikto/nikto-2.1.5.ebuild b/net-analyzer/nikto/nikto-2.1.5.ebuild
26 deleted file mode 100644
27 index 3ee500e7eeb..00000000000
28 --- a/net-analyzer/nikto/nikto-2.1.5.ebuild
29 +++ /dev/null
30 @@ -1,58 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit perl-module
37 -
38 -DESCRIPTION="Web Server vulnerability scanner"
39 -HOMEPAGE="http://www.cirt.net/Nikto2"
40 -SRC_URI="http://www.cirt.net/nikto/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~amd64-linux ~x86-linux ~x86-macos"
45 -IUSE="ssl"
46 -
47 -RDEPEND="
48 - dev-lang/perl
49 - >=net-libs/libwhisker-2.5
50 - ssl? (
51 - dev-libs/openssl:0=
52 - dev-perl/Net-SSLeay
53 - )"
54 -
55 -src_prepare() {
56 - sed -i -e 's:config.txt:nikto.conf:g' plugins/* || die
57 - sed -i -e 's:/etc/nikto.conf:/etc/nikto/nikto.conf:;
58 - s:# EXECDIR=/usr/local/nikto:EXECDIR=/usr/share/nikto:;
59 - s:# use LW2:use LW2:;
60 - s:require "$CONFIGFILE{'\''PLUGINDIR'\''}/LW2.pm":# require "$CONFIGFILE{'\''PLUGINDIR'\''}/LW2.pm":;' nikto.pl || die
61 -}
62 -
63 -src_compile() { :; }
64 -
65 -src_install() {
66 - insinto "/etc/${PN}"
67 - doins "${PN}.conf"
68 -
69 - mv "${PN}.pl" "${PN}" || die
70 - dobin "${PN}"
71 -
72 - insinto /usr/share/nikto
73 - doins -r plugins templates databases
74 -
75 - local NIKTO_PMS=(
76 - JSON-PP.pm
77 - )
78 -
79 - einfo "Symlinking ${NIKTO_PMS[@]} to ${VENDOR_LIB}"
80 -
81 - for _PM in "${NIKTO_PMS[@]}"; do
82 - _TARGET="${VENDOR_LIB}/${_PM}"
83 - dosym "/usr/share/nikto/plugins/${_PM}" "${_TARGET}"
84 - done
85 -
86 - dodoc docs/*.txt
87 - dohtml docs/nikto_manual.html
88 -}