diff options
Diffstat (limited to 'net-analyzer/cloudshark')
-rw-r--r-- | net-analyzer/cloudshark/cloudshark-1.0.4.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
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() { |