wireshark-sap-plugin-0.9.1.ebuild

This commit is contained in:
Anton Bolshakov 2022-01-28 12:19:36 +08:00
parent 5337d41616
commit c11810d705
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 9 additions and 71 deletions

View file

@ -1,3 +1,2 @@
DIST wireshark-sap-plugin-0.4.2.tar.gz 393993 BLAKE2B 76845db6be538adec726ff064b3a70ce22814c1c1c4beb7f863e8377a48e48a621430d8617f9a2e2117f1ab9f59b7edb23f0896e6b8b76a4c69c3af4160b0d4a SHA512 88eb8e11cd94a2c3d10890106258d99d45a88fee7f2acffcdb8ec6aacc47c2839fe5a7774aac41011f1c8cf7951164c4bac2c698f52020c1fdb0f7069b2ff85d
DIST wireshark-sap-plugin-0.5.2.tar.gz 409824 BLAKE2B 65d17ad31480b322cb33a323f7264c4a0954d5706aefe48daced0a4490dbc090d7fd41cbb09527f185cfc015ee4b1f046b6a33303d78123fe7557085b104989c SHA512 325febedaa1a0559b96a085b1152982b7d6d0c124348dafc0ccb2e42766a31dd109f8a281144947fc8cd2a2f2091417fd4f57241628adbddcb9d1e2cc28c6a67
DIST wireshark-sap-plugin-0.6.1.tar.gz 406569 BLAKE2B b904f425a9d1190baa98f3f984304c3d1b05dbbbee8eacd0ff5b8374c792dcdd076f5de13e33bd95d33fa4a254eed93af2642c80c98f5e5207ab512baf92caca SHA512 5a1c55447f529866c24104fdfc2b5922e152837e3ab1b6a00672403b3ee3679645c608420c1aa7cbfe309544b6aad2c939af37bb91d97ccb84399b36a908d419
DIST wireshark-sap-plugin-0.9.1.tar.gz 421737 BLAKE2B 73aa2443f0d71e1e24a6d0bd1af439b2d325564d7cfb4cc631f79e96d948cc3000bae17af441b7c761bd2621c42598ccd4b7e04f196c7576340e1549d2339926 SHA512 d540b790ab5ba518dcff663b5be1bd1c2a64d569246c454ed3b5d56a66e4c454ac336b49e9761674fcad59918d9fcfb3ec757c2979daaeaa7c415e3dd6959645

View file

@ -1,34 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils eutils multilib
DESCRIPTION="Wireshark plugin for SAP's protocols"
HOMEPAGE="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark"
SRC_URI="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
RDEPEND=">=net-analyzer/wireshark-2.4:="
DEPEND="${RDEPEND}"
S="${WORKDIR}/SAP-Dissection-plug-in-for-Wireshark-${PV}"
get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; }
src_prepare() {
epatch "${FILESDIR}"/${PV}-cmakelist.patch
cp "${FILESDIR}"/FindWireshark.cmake ./cmake/
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
)
cmake-utils_src_configure
}

View file

@ -1,9 +1,10 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=7
inherit cmake-utils eutils multilib
CMAKE_MAKEFILE_GENERATOR=emake
inherit cmake eutils multilib
DESCRIPTION="Wireshark plugin for SAP's protocols"
HOMEPAGE="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark"
@ -13,7 +14,7 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
RDEPEND=">=net-analyzer/wireshark-2.2:="
RDEPEND="=net-analyzer/wireshark-3.4*:="
DEPEND="${RDEPEND}"
S="${WORKDIR}/SAP-Dissection-plug-in-for-Wireshark-${PV}"
@ -22,7 +23,8 @@ get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_};
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
)
cmake-utils_src_configure
cmake_src_configure
}

View file

@ -1,29 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake eutils multilib git-r3
DESCRIPTION="Wireshark plugin for SAP's 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="wireshark-2.2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
RDEPEND=">=net-analyzer/wireshark-2.4:="
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_src_configure
}