From f8ffccec4ede68ead224d5be768d37c05d431fb5 Mon Sep 17 00:00:00 2001 From: jensp Date: Sat, 18 Sep 2010 17:01:55 +0000 Subject: [PATCH] nikto: bumped to 2.1.3 --- net-analyzer/nikto/Manifest | 4 ++-- ...{nikto-2.1.2.ebuild => nikto-2.1.3.ebuild} | 23 ++++++++++++------- 2 files changed, 17 insertions(+), 10 deletions(-) rename net-analyzer/nikto/{nikto-2.1.2.ebuild => nikto-2.1.3.ebuild} (74%) diff --git a/net-analyzer/nikto/Manifest b/net-analyzer/nikto/Manifest index 118c770e4..9aaf2fe8b 100644 --- a/net-analyzer/nikto/Manifest +++ b/net-analyzer/nikto/Manifest @@ -1,2 +1,2 @@ -DIST nikto-2.1.2.tar.bz2 269382 RMD160 f614e7e38f76637cf7bdaaff3eb6aaca1550d571 SHA1 7550973c008138e26d3e3b6c9c78d8ad39ee9768 SHA256 813b457ec181c9e71b4d441161c457de198328e46de8c91c53182d03ace65376 -EBUILD nikto-2.1.2.ebuild 952 RMD160 4e7b5aab3ec9320b6319dea286c900df32b30261 SHA1 9587be8916adea6d254932bf476afedff28f42d8 SHA256 d9a77c0dfc34c92fbee96338dbc28c887ca0d941e602d2a1e3d7521ce38f70b4 +DIST nikto-2.1.3.tar.bz2 271642 RMD160 88b6823ca128d595383fc94aa98c523828911143 SHA1 03a44d8df1a58343b9afe31832b77074a47a1737 SHA256 58df896390bd2770bb574f98107376740cf688225302704e4fe8a4d0f3cf2f7f +EBUILD nikto-2.1.3.ebuild 1062 RMD160 ea0f524f6e65137b50e4da7c5ed3a6247401e5de SHA1 3d9364df7400e2ea0d0126bd203a275de9800a7d SHA256 a16e6ebd5ef7374d376380b14feeeb6e3117a395cf039bdc50fcf0cf3403f6f5 diff --git a/net-analyzer/nikto/nikto-2.1.2.ebuild b/net-analyzer/nikto/nikto-2.1.3.ebuild similarity index 74% rename from net-analyzer/nikto/nikto-2.1.2.ebuild rename to net-analyzer/nikto/nikto-2.1.3.ebuild index a38fec844..e37c58c08 100644 --- a/net-analyzer/nikto/nikto-2.1.2.ebuild +++ b/net-analyzer/nikto/nikto-2.1.3.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI=2 + DESCRIPTION="Web Server vulnerability scanner." HOMEPAGE="http://www.cirt.net/code/nikto.shtml" SRC_URI="http://www.cirt.net/nikto/ARCHIVE/${P}.tar.bz2" @@ -17,15 +19,20 @@ RDEPEND="dev-lang/perl dev-perl/Net-SSLeay )" -src_compile() { +src_prepare() { sed -i -e 's:config.txt:nikto.conf:g' \ - plugins/* + plugins/* || die sed -i -e 's:/etc/nikto.conf:/etc/nikto/nikto.conf:' \ - nikto.pl + nikto.pl || die sed -i -e 's:# EXECDIR=/usr/local/nikto:EXECDIR=/usr/share/nikto:' \ - nikto.conf + nikto.conf || die +} + +src_compile() { + einfo "nothing to compile" + true } src_install() { @@ -33,12 +40,12 @@ src_install() { doins nikto.conf || die "config install failed" dobin nikto.pl || die "install failed" - dosym /usr/bin/nikto.pl /usr/bin/nikto + dosym /usr/bin/nikto.pl /usr/bin/nikto || die dodir /usr/share/nikto insinto /usr/share/nikto - doins -r plugins templates + doins -r plugins templates || die - dodoc docs/*.txt - dohtml docs/nikto_manual.html + dodoc docs/*.txt || die + dohtml docs/nikto_manual.html || die }