mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-analyzer/nikto: Drop old
Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST nikto-1.36.tar.gz 206921 BLAKE2B ed6cc343ddccd8d35a7df566c5facb91b31fa9ec1697bb962fb7a0fdf3bc396a95c60997267fdca929b6af2e599f1535a223bf04ccb53da485ce409f8bc4391f SHA512 e340eebc8323a689b1fe8358626f90d822f4eea4aaeba44c64f68c758fccdec7c3d5896b93739128b1b53429967d4e66ccb08b880066e0c63bed4e2748f94a45
|
||||
DIST nikto-2.1.6_p20180122.tar.gz 511615 BLAKE2B 0937a5a52ae79e00da5bc53b089166cb2fc5cdf8311c4db55e421ddb44c22e31a9a964b02d75995c74b144d8fe05046895c4e54cfa7500aecd5d36787105a417 SHA512 4b9cae08146cefcfe4e929385631062f27cd13f5e516ec50fa9f9804a677a4a8846bc0f5de99bc1a25ec58ea8e2889bfa5953f8ca9cd7152e7b95b05861cac91
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
DESCRIPTION="Web Server vulnerability scanner"
|
||||
HOMEPAGE="http://www.cirt.net/Nikto2"
|
||||
SRC_URI="http://www.cirt.net/source/nikto/ARCHIVE/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc sparc x86"
|
||||
RDEPEND="dev-lang/perl
|
||||
>=net-analyzer/nmap-3.00
|
||||
ssl? ( dev-libs/openssl )"
|
||||
IUSE="ssl"
|
||||
|
||||
src_compile() {
|
||||
sed -i -e 's:config.txt:nikto.conf:' \
|
||||
-i -e 's:\$CFG{configfile}="nikto.conf":\$CFG{configfile}="/etc/nikto/nikto.conf":' \
|
||||
nikto.pl
|
||||
|
||||
mv config.txt nikto.conf
|
||||
|
||||
sed -i -e 's:^#NMAP:NMAP:' \
|
||||
-i -e 's:^PROXYHOST:#PROXYHOST:' \
|
||||
-i -e 's:^PROXYPORT:#PROXYPORT:' \
|
||||
-i -e 's:^PROXYUSER:#PROXYUSER:' \
|
||||
-i -e 's:^PROXYPASS:#PROXYPASS:' \
|
||||
-i -e 's:# PLUGINDIR=/usr/local/nikto/plugins:PLUGINDIR=/usr/share/nikto/plugins:' \
|
||||
nikto.conf
|
||||
|
||||
cp "${S}/docs/nikto-${PV}.man" "${WORKDIR}/${PN}.1"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/nikto
|
||||
doins nikto.conf
|
||||
|
||||
dodir /usr/bin
|
||||
dobin nikto.pl
|
||||
dosym /usr/bin/nikto.pl /usr/bin/nikto
|
||||
|
||||
dodir /usr/share/nikto/plugins
|
||||
insinto /usr/share/nikto/plugins
|
||||
doins plugins/*
|
||||
|
||||
cd docs
|
||||
dodoc CHANGES.txt LICENSE.txt README_plugins.txt nikto_usage.txt
|
||||
dohtml nikto_usage.html
|
||||
doman "${WORKDIR}/${PN}.1"
|
||||
}
|
||||
Reference in New Issue
Block a user