mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-28 01:31:04 +02:00
loki: new package, more testing required
This commit is contained in:
parent
8eb02537f4
commit
76794b70f2
2 changed files with 47 additions and 0 deletions
2
net-analyzer/loki/Manifest
Normal file
2
net-analyzer/loki/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST loki-0.2.7.tar.gz 303166 SHA256 d15223328ab3d30c7ac6241cb1554057d904417cf3bd9b077e2deb943a2a96c5 SHA512 c2f722e63024526f139dc182b5deb1779becd8f53a557c303daf4c6b02059cefb90636a7389e1267cb56e769925b4eeed4cee4c7895291462ae43ca88b097908 WHIRLPOOL 8928d38746f058214c6643c1ddeccf4ce267ffedd5b137bf1c9f903a5e0bd112b4433c08a179dc6fa6363c46c9e3c597e35111800717aa377de47714b526e304
|
||||
EBUILD loki-0.2.7.ebuild 925 SHA256 be7f501cd832d2f218990d6ff3c87a005fc826a2d5a1676f7e8fb97022fa10e0 SHA512 f3123851c2e530d5cc7dff4e7a7f8f302f21a4dee75829a13cf68c8629ae467e148a1041941c6600a88b4db64aad4fa722199d61e283354b6e3387f95e409ec2 WHIRLPOOL 4937a6fc493def598d0f8e04f41161469441dacd5ed4e217d5a46ea2fad636cacdc5178805fa470d4945ff05bd6cb4bfa4b197652b6a326099a8fda120a7b8b7
|
||||
45
net-analyzer/loki/loki-0.2.7.ebuild
Normal file
45
net-analyzer/loki/loki-0.2.7.ebuild
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
inherit autotools linux-info python
|
||||
|
||||
DESCRIPTION="Layer3 attacking tool"
|
||||
HOMEPAGE="https://www.ernw.de/research/loki.html http://c0decafe.de"
|
||||
SRC_URI="http://c0decafe.de/loki/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="gnome"
|
||||
|
||||
DEPEND="dev-python/pygtk
|
||||
dev-python/ipy
|
||||
dev-python/dpkt
|
||||
dev-python/pylibpcap
|
||||
dev-libs/libdnet[python]
|
||||
dev-libs/libdnet
|
||||
gnome? ( gnome-base/libglade )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CONFIG_CHECK="~TCP_MD5SIG ~NETFILTER ~IP_NF_FILTER ~IP_NF_TARGET_REJECT"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dosym "/usr/bin/${PN}.py" "/usr/sbin/${PN}"
|
||||
}
|
||||
Loading…
Reference in a new issue