n4p: probably works

This commit is contained in:
Zero_Chaos 2015-08-08 16:59:38 +00:00
parent a10dfb1302
commit 6b427bc531
2 changed files with 58 additions and 0 deletions

View file

@ -1,2 +1,4 @@
DIST n4p-1.1.tar.gz 20727 SHA256 136f917e656d4b8fbfb4dd8ad4fa9015f4618fab7b78329b17cc3be6c1853563 SHA512 cb2a0bf55832170aba50829a03ec459c69a3733fa0836ae6da8ba69e91200a54d866992ff0b091e174e5f8f4738756772ac698159fd5b69fb1a3d43b960934ab WHIRLPOOL bf2c6d8e0899d35e1c197d5689c37f0efd9691dbab669514dcf88f36c6c8da34e763485b53b9ba1c0cb772fea3a55e2e9cb30055295f738b711150a0ec1a75ca
DIST n4p-2.2.tar.gz 47446 SHA256 bd075e741d549b08084f4dbd40b056620d791b0d86d1d3d0c64a810bddb0d96f SHA512 0fcc826ee36a4b1d49595997173f829196e518313c30b8c51365901ebbff641412381a27a7a4748af7cc8754c11220abaee552ce7d778e727892b22a6f2cf033 WHIRLPOOL b8ab0564808080690f2f251a1910c13eb798e9cf3a70f3c30461136e3bc9145da37d74a662567391d059a6f3b909cbea029bf065f86ae010bfb176860c058334
EBUILD n4p-1.1.ebuild 1339 SHA256 2f025e12048e07c1b4666fc30afe42485066d6f798b9512b2c0cd95fb3ea699c SHA512 54736e9cbdb7df3b8456f9c2cc930191ec4720f978067b42ccdf795be45dc481d1a09680d56e4ad81184909373f0d186bf0437224b66deede9caabed140298a8 WHIRLPOOL d244e169df9c8fe60bd7ac38647b7c368c0f01e4e23a16f59d9f21169e1e52dfd133c01feec3d5b4ed1cfe2b5b4bb0fc45b2e607cf6442e2476a6518deeb639a
EBUILD n4p-2.2.ebuild 1912 SHA256 7972cce75fe366924c5cc8743eeae4472edb3bea80f3eb16e4043aeb8f1afe98 SHA512 9e76ae6b634854707f156d93bb54068d71cb8e38776bdf3d6a2f57056723410627ef63b664cd006b35945ba76e3b61bd3719bec6a353fe05d7405fe9b1a4d860 WHIRLPOOL e92b01ed1ce795f08f059d5c76925da9c45a0802d51a69b076ecb4bbdf956275a758f9b8778a844d0ceba7a0d09430e014a5f7b69c828da34625ecb1ed4b4b0f

View file

@ -0,0 +1,56 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
inherit multilib
DESCRIPTION="Comprehensive Wireless and Network packet based hacking framework.Compare to Metasploit"
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 +wpe +wps +vpn +extras +karma"
#Remove bridge-utils whin module is updated to iproute2 07-27-15
PDEPEND="net-misc/bridge-utils
>=net-firewall/iptables-1.4.20
net-misc/dhcpcd
app-admin/sudo
sys-apps/iproute2
x11-terms/xterm
dev-python/ipaddr
net-wireless/iw
sys-apps/openrc
sys-apps/net-tools
x11-apps/xhost
extras? ( net-analyzer/dhcpdump )
wireless? ( >=net-wireless/aircrack-ng-1.2_rc2
net-wireless/rfkill )
wpe? ( >=net-wireless/hostapd-2.2-r2[wpe?,karma?,wps?] )
wps? ( net-wireless/bully )
mitm? ( net-analyzer/sslstrip
net-analyzer/dsniff
>=net-analyzer/ettercap-0.8.0-r1 )
vpn? ( net-misc/openvpn )"
src_install() {
dodoc changes README.md
exeinto /usr/$(get_libdir)/${PN}
doexe n4p
exeinto /usr/$(get_libdir)/${PN}/modules
doexe modules/airbase modules/bridge modules/bully modules/cracking modules/dhcp modules/dump modules/example modules/hostapd modules/monitor modules/firewall modules/rebuild_network modules/recon modules/wash modules/wpe
dosym /usr/$(get_libdir)/${PN}/n4p /usr/bin/n4p
insinto /usr/share/${PN}
doins auth.logo die.logo dump.logo firewall.logo monitor.logo opening.logo recon.logo zed.logo wash.logo
insinto /etc/${PN}
doins dhcpd.conf n4p.conf hostapd.conf
}