mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
patoolkit, fix issue #406, masked until upstream resolves https://github.com/pentesteracademy/patoolkit/issues/4
This commit is contained in:
parent
78a00ec4ed
commit
9af15d3a07
3 changed files with 44 additions and 1 deletions
1
net-misc/wireshark-patoolkit/Manifest
Normal file
1
net-misc/wireshark-patoolkit/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST wireshark-patoolkit-20181228.tar.gz 120466450 BLAKE2B cfa37c1b1a3429127bca0544be215d737fd7e824b0b67a488d11d664a3ee7b9d534be8c6338cccfa0d0f10a32b615c63a85e2513039677dc1e26ece216cfd706 SHA512 60c0e77fd5e0f4f47b0d079ced9815c24e04c12b5fc85dfc96f6cfe5fdecd196fdedd270563da0089d5b9e49854ea092ecdccabdeafc1ee44d32d6ece7d28c01
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="a collection of traffic analysis Wireshark plugins focused on security"
|
||||
HOMEPAGE="https://github.com/pentesteracademy/patoolkit"
|
||||
HASH_COMMIT="36e83b7200d1ee8e03e01ae5d827fa195449538c"
|
||||
SRC_URI="https://github.com/pentesteracademy/patoolkit/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
#https://github.com/pentesteracademy/patoolkit/issues/4
|
||||
#KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND=">=net-analyzer/wireshark-2.6:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/patoolkit-${HASH_COMMIT}"
|
||||
|
||||
get_PV() {
|
||||
local pv=$(best_version $1)
|
||||
pv=${pv#$1-}; pv=${pv%-r*}
|
||||
pv=${pv//_}; echo ${pv}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mkdir plugins/patoolkit_libs
|
||||
mv plugins/util.lua plugins/patoolkit_libs
|
||||
mv plugins/wifi/security.lua plugins/patoolkit_libs
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#local WS_PLUGIN_DIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)/patoolkit/"
|
||||
#lue scripts must be just in "plugin" folder
|
||||
local WS_PLUGIN_DIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)/patoolkit/"
|
||||
dodir $WS_PLUGIN_DIR
|
||||
cp -R "${S}"/plugins/* ${ED}/$WS_PLUGIN_DIR || die "Copy files failed"
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ net-misc/portspoof
|
|||
~net-vpn/openvpn-2.3.6
|
||||
|
||||
~net-misc/wireshark-sap-plugin-0.4.1
|
||||
#=net-misc/wireshark-sap-plugin-9999 **
|
||||
net-misc/wireshark-patoolkit
|
||||
|
||||
#below here likely needs cleanup
|
||||
net-misc/6tunnel
|
||||
|
|
|
|||
Loading…
Reference in a new issue