From 9bcbf99422726b697bbd09ebd7e8c076af8be600 Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Mon, 19 Apr 2021 11:57:53 -0400 Subject: net-analyzer/cloudshark: minor ebuild update Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Rick Farina --- net-analyzer/cloudshark/cloudshark-1.0.4.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net-analyzer/cloudshark') diff --git a/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild b/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild index c5b11217ee97..e49d01d326c7 100644 --- a/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild +++ b/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit epatch multilib +inherit multilib DESCRIPTION="Easily upload your wireshark captures to CloudShark" HOMEPAGE="https://cloudshark.io/articles/wireshark-plugin/ https://github.com/cloudshark/wireshark-plugin" @@ -27,12 +27,13 @@ get_PV() { src_prepare() { #cloudshark isn't meant to be installed systemwide, we fix that - epatch "${FILESDIR}"/cs_log_dir.patch + eapply "${FILESDIR}"/cs_log_dir.patch sed -i "s#%s/cloudshark_init.lua#/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)/cloudshark_init.lua#" cloudshark.lua #this enables cloudshark by DEFAULT on tshark, not desired #sed -i 's#CLOUDSHARK_TSHARK = "n"#CLOUDSHARK_TSHARK = "y"#' cloudshark_init.default + default } src_install() { -- cgit v1.2.3-65-gdbad