mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
n4p: new ebuild, thanks to Cyb3r-Assassin
This commit is contained in:
parent
8cbed89b7b
commit
b2e08a0333
2 changed files with 46 additions and 0 deletions
2
net-wireless/n4p/Manifest
Normal file
2
net-wireless/n4p/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST n4p-0.4.tar.gz 14277 SHA256 09d0b2d0d8521f408473b3dc7f33865051ed41ea23ed9a919eba95baa980821a SHA512 6e32f10e2a38610547644b5a2e00a60f7e0cb5451bc2ec2073f9dacba5a7f44355257e8f7071401c5f2886b809105675038c377f1ae57f3d36f6176337c27bc5 WHIRLPOOL 71fc2cc7a5f036bc99e84a118a3b883b3082fa7f7005ec495868935221c52c2253fa78d5cf1b285929748f176ff02fcb5f2573c6edaa9030c4b44e09a43dd451
|
||||
EBUILD n4p-0.4.ebuild 1028 SHA256 b27333b04539873aa79f2e0131460a522fba5046c20b94fdb0c0fc76e188e88f SHA512 dd5fc59ab184053b10360b6760eef91256bf2518b539835194a05491b0aa223a98c579a5821ed9376312b7db98b18132509a7507170eccc35afb0eab8cf81619 WHIRLPOOL 66f9a32c8fc907e67de71f6434be9d74811ea7ca00291cb45cd0c167993b83df98f2fa54b2e8d5259bdba198a2eb54226d3c3899c31ba0a111f1bc4e534557bc
|
||||
44
net-wireless/n4p/n4p-0.4.ebuild
Normal file
44
net-wireless/n4p/n4p-0.4.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Configures network variables automatically for MITM, ARP, and SSLstriping attacks"
|
||||
HOMEPAGE="https://github.com/Cyb3r-Assassin"
|
||||
SRC_URI="https://github.com/Cyb3r-Assassin/n4p/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+wireless +mitm +vpn"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="net-misc/bridge-utils
|
||||
>=net-firewall/iptables-1.4.20
|
||||
net-firewall/ebtables
|
||||
net-misc/dhcpcd
|
||||
net-dns/dnsmasq
|
||||
wireless? ( net-wireless/hostapd
|
||||
>=net-wireless/aircrack-ng-1.2_beta1
|
||||
net-wireless/wpa_supplicant )
|
||||
mitm? ( net-analyzer/sslstrip
|
||||
net-analyzer/dsniff )
|
||||
dev-python/ipaddr
|
||||
net-wireless/iw
|
||||
vpn? ( net-misc/openvpn )
|
||||
sys-apps/openrc"
|
||||
|
||||
src_install() {
|
||||
dodoc changes README.md
|
||||
rm changes LICENSE README.md
|
||||
|
||||
insinto /usr/$(get_libdir)
|
||||
doins -r "${S}"
|
||||
|
||||
fperms +x /usr/lib64/${P}/n4p.sh
|
||||
dosym /usr/$(get_libdir)/${P}/n4p.sh /usr/bin/n4p
|
||||
}
|
||||
Loading…
Reference in a new issue