wireshark-sap-plugin: a new standalone plugin

This commit is contained in:
Anton Bolshakov 2015-06-23 06:42:50 +00:00
parent 7f41177d99
commit 1ba7af7cc9
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1 @@
EBUILD wireshark-sap-plugin-9999.ebuild 851 SHA256 b15552e5de5a6a834c61c89977a76e10f2566148aa200d382fdf1a3ee44ac57c SHA512 7ba8291282a9edbf3ee95a05ae9c7e3d85ed77899f38fa54cb3ed8e75dac565e91720db03dcf360191716f2faad9ea45da04fe86847c7cdea8e273c4920f77ad WHIRLPOOL ac3133a57e8e1fdbcce7f75e6db6ef520db5caa26fa9530720831fc2a23bde9fd4240de71c8352cb611e37dcc1c2fe8a4bae795f74c6295e0932a1c2ed0411b6

View file

@ -0,0 +1,28 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: blshkv Exp $
EAPI=5
inherit cmake-utils eutils multilib git-r3
DESCRIPTION="Wireshark plugin provides dissection on SAP's NI, Message Server, Router, Diag and Enqueue protocols"
HOMEPAGE="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark"
EGIT_REPO_URI="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark.git"
EGIT_BRANCH="standalone"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
RDEPEND="net-analyzer/wireshark:="
DEPEND="${RDEPEND}"
get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; }
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
)
cmake-utils_src_configure
}