cisco-torch remove: gone

This commit is contained in:
Anton Bolshakov 2023-04-22 22:39:52 +08:00
parent 8c0c6c3aba
commit 4b5614b6e4
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 0 additions and 38 deletions

View file

@ -1 +0,0 @@
DIST cisco-torch-0.4b.tar.gz 27126 SHA256 a23b90858d17bb85164e210c46b4411e4184f9eb9229ad0dcc30655f23f1023e

View file

@ -1,37 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
DESCRIPTION="Cisco mass scanning, fingerprinting, and exploitation tool"
HOMEPAGE="http://www.arhont.com/en/category/resources/tools-utilities/"
SRC_URI="http://www.arhont.com/en/wp-content/uploads/2010/01/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-perl/Net-Telnet
dev-perl/Net-SSH-Perl
dev-perl/Net-SNMP
dev-perl/Net-SSLeay"
src_prepare() {
sed -i 's|torch.conf|/etc/torch.conf|g' cisco-torch.pl || die
sed -i 's|DIR, "include"|DIR, "/usr/share/cisco-torch/include"|' cisco-torch.pl || die
sed -i 's|include/$in|$in|' cisco-torch.pl || die
sed -i "25i\use lib '/usr/share/cisco-torch/include/';" cisco-torch.pl|| die
}
src_install() {
insinto /usr/share/${PN}
doins -r include tftproot brutefile.txt community.txt fingerprint.db \
password.txt tfingerprint.db users.txt || die
insinto /etc
doins torch.conf || die
dobin cisco-torch.pl || die
dodoc README.txt TODO CHANGELOG.txt
}