This commit is contained in:
blshkv 2020-06-03 09:40:39 +08:00
parent 41afd012c0
commit 246e757aa3
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 0 additions and 44 deletions

View file

@ -1 +0,0 @@
DIST zarp-0.1.8.tar.gz 429844 SHA256 2cbaf5197c9629562fd403c7661398891a850fb0198a0df176bb0919a8602e1e SHA512 cb83b3263b0262c547dd933701fa3cf38bc138a082bab263a10df04fe4e00d0571851a5fbcd1895d48fca95a931169190747ac9b816c98c7d686f0da67f1cdb0 WHIRLPOOL 969645581b5880dd43396f012ffa1a5adce3effc2b9ee59afb387ea2e0cda7d3bc6ed9d760a0e528da3f216cbae44860f1cfa559df4fce089a1f767397191113

View file

@ -1,4 +0,0 @@
#!/bin/sh
cd /usr/lib/zarp
python2 zarp.py $@

View file

@ -1,39 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
inherit multilib python-r1
HOMEPAGE="https://github.com/hatRiot/zarp"
DESCRIPTION="Local network attack toolkit"
SRC_URI="https://github.com/hatRiot/zarp/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="+wireless"
DEPEND=""
RDEPEND="dev-python/paramiko
dev-python/netlib
dev-python/flask
net-analyzer/scapy
net-analyzer/tcpdump
net-libs/nfqueue-bindings
wireless? ( net-wireless/aircrack-ng )"
# TODO: unbundle the following:
# rm Wifite
# rm Scapy
# libmproxy (netlib, flask)
src_install() {
# should be as simple as copying everything into the target...
dodir /usr/$(get_libdir)/${PN}
cp -R "${S}"/* "${D}"/usr/$(get_libdir)/${PN} || die "Copy files failed"
rm -Rf "${D}"/usr/$(get_libdir)/${PN}/README
dosbin "${FILESDIR}"/zarp
}