mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-14 10:51:10 +02:00
wireshark-patoolkit: 20181228 bump, https://github.com/pentesteracademy/patoolkit/issues/4
This commit is contained in:
parent
57457efce4
commit
8f79704e8c
3 changed files with 43 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
DIST wireshark-patoolkit-20181228.tar.gz 120466450 BLAKE2B cfa37c1b1a3429127bca0544be215d737fd7e824b0b67a488d11d664a3ee7b9d534be8c6338cccfa0d0f10a32b615c63a85e2513039677dc1e26ece216cfd706 SHA512 60c0e77fd5e0f4f47b0d079ced9815c24e04c12b5fc85dfc96f6cfe5fdecd196fdedd270563da0089d5b9e49854ea092ecdccabdeafc1ee44d32d6ece7d28c01
|
||||
DIST wireshark-patoolkit-20190110.tar.gz 20427 BLAKE2B 9b8f99bc49541d203d372a6c9939e2f66e76fa9074bcc99969a3fbe785e5cef75a3d4e0a4f60ae9d2c1a741fe029ece302537b399266a94ce698c0138e9422b9 SHA512 8883b97e2d6959d9c029639c8820a530a8b12351a24b9c3d7f245eae712c6df9b8df43baa76d35fed8cb3a7d7ead05b8987a0c6ae993e5b8a1b47f1e027b1b80
|
||||
|
|
|
|||
1
net-misc/wireshark-patoolkit/files/92patoolkit
Normal file
1
net-misc/wireshark-patoolkit/files/92patoolkit
Normal file
|
|
@ -0,0 +1 @@
|
|||
LUA_PATH="/usr/lib/wireshark/plugins/patoolkit/lib/?.lua"
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
# Copyright 1999-2019 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="7db1e070926aab40a93abe86da1c18bd46560e95"
|
||||
SRC_URI="https://github.com/pentesteracademy/patoolkit/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
#branch: https://github.com/pentesteracademy/patoolkit/tree/global-plugins
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
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_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/patoolkit/"
|
||||
dodir $WS_PLUGIN_DIR
|
||||
cp -R "${S}"/plugins/* "${ED}/$WS_PLUGIN_DIR" || die "Copy files failed"
|
||||
doenvd "${FILESDIR}"/92patoolkit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please run 'env-update' and '. /etc/profile' or re-login after the first install,"
|
||||
elog "otherwise you may be missing required environmental variables"
|
||||
}
|
||||
Loading…
Reference in a new issue