diff options
Diffstat (limited to 'net-analyzer/nikto/nikto-2.1.6_p20180122.ebuild')
-rw-r--r-- | net-analyzer/nikto/nikto-2.1.6_p20180122.ebuild | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/net-analyzer/nikto/nikto-2.1.6_p20180122.ebuild b/net-analyzer/nikto/nikto-2.1.6_p20180122.ebuild deleted file mode 100644 index b6f46c92bf2e..000000000000 --- a/net-analyzer/nikto/nikto-2.1.6_p20180122.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="Web server vulnerability scanner" -HOMEPAGE="http://www.cirt.net/Nikto2" -COMMIT="b8454661c4dc9249cb515311cb2a80906a0a4b7a" -MY_P="${PN}-${COMMIT}" -SRC_URI="https://github.com/sullo/nikto/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" -IUSE="ssl" - -# nikto provie its own libwhisker, do no use net-libs/libwhisker[ssl] -# https://bugs.gentoo.org/533900 -RDEPEND=" - dev-lang/perl - virtual/perl-JSON-PP - net-analyzer/nmap - ssl? ( - dev-libs/openssl:0= - dev-perl/Net-SSLeay - ) -" -DEPEND="" - -S="${WORKDIR}/${MY_P}/program" - -src_prepare() { - sed -i -e 's:config.txt:nikto.conf:g' plugins/* || die - sed -i -e 's:/etc/nikto.conf:/etc/nikto/nikto.conf:' nikto.pl || die - sed -i -e 's:# EXECDIR=/opt/nikto:EXECDIR=/usr/share/nikto:' nikto.conf || die - - default -} - -src_install() { - insinto /etc/nikto - doins nikto.conf - - dobin nikto.pl replay.pl - dosym nikto.pl /usr/bin/nikto - - dodir /usr/share/nikto - insinto /usr/share/nikto - doins -r plugins templates databases - - dodoc docs/*.txt - dodoc docs/nikto_manual.html -} |