From 1ba7af7cc9f776601da0406748133529c695f954 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Tue, 23 Jun 2015 06:42:50 +0000 Subject: [PATCH] wireshark-sap-plugin: a new standalone plugin --- net-misc/wireshark-sap-plugin/Manifest | 1 + .../wireshark-sap-plugin-9999.ebuild | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 net-misc/wireshark-sap-plugin/Manifest create mode 100644 net-misc/wireshark-sap-plugin/wireshark-sap-plugin-9999.ebuild diff --git a/net-misc/wireshark-sap-plugin/Manifest b/net-misc/wireshark-sap-plugin/Manifest new file mode 100644 index 000000000..5cb826f91 --- /dev/null +++ b/net-misc/wireshark-sap-plugin/Manifest @@ -0,0 +1 @@ +EBUILD wireshark-sap-plugin-9999.ebuild 851 SHA256 b15552e5de5a6a834c61c89977a76e10f2566148aa200d382fdf1a3ee44ac57c SHA512 7ba8291282a9edbf3ee95a05ae9c7e3d85ed77899f38fa54cb3ed8e75dac565e91720db03dcf360191716f2faad9ea45da04fe86847c7cdea8e273c4920f77ad WHIRLPOOL ac3133a57e8e1fdbcce7f75e6db6ef520db5caa26fa9530720831fc2a23bde9fd4240de71c8352cb611e37dcc1c2fe8a4bae795f74c6295e0932a1c2ed0411b6 diff --git a/net-misc/wireshark-sap-plugin/wireshark-sap-plugin-9999.ebuild b/net-misc/wireshark-sap-plugin/wireshark-sap-plugin-9999.ebuild new file mode 100644 index 000000000..5eb0b681a --- /dev/null +++ b/net-misc/wireshark-sap-plugin/wireshark-sap-plugin-9999.ebuild @@ -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 +}