diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-28 20:40:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-28 20:40:51 +0000 |
commit | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (patch) | |
tree | 47c9d6e4243f39a1f48afd54c969b65b00a5c649 /net-analyzer/cloudshark/cloudshark-1.0.3.180.ebuild | |
parent | d934827bf44b7cfcf6711964418148fa60877668 (diff) |
gentoo resync : 28.11.2020
Diffstat (limited to 'net-analyzer/cloudshark/cloudshark-1.0.3.180.ebuild')
-rw-r--r-- | net-analyzer/cloudshark/cloudshark-1.0.3.180.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/net-analyzer/cloudshark/cloudshark-1.0.3.180.ebuild b/net-analyzer/cloudshark/cloudshark-1.0.3.180.ebuild deleted file mode 100644 index 2925d93b8e5b..000000000000 --- a/net-analyzer/cloudshark/cloudshark-1.0.3.180.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib - -SV="1.0.3-180" - -DESCRIPTION="Easily upload your wireshark captures to CloudShark" -HOMEPAGE="https://cloudshark.io/articles/wireshark-plugin/ https://github.com/cloudshark/wireshark-plugin" -SRC_URI="http://appliance.cloudshark.org/plugin/${PN}-plugin-${SV}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -PDEPEND="net-analyzer/wireshark:=[lua] - net-misc/curl" - -S="${WORKDIR}/${PN}-${SV}" - -get_PV() { - local pv=$(best_version $1) - pv=${pv#$1-}; pv=${pv%-r*} - pv=${pv//_}; echo ${pv} -} - -src_prepare() { - #cloudshark isn't meant to be installed systemwide, we fix that - epatch "${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 - #causes errors, looks like it expects windows paths only - #echo "CLOUDSHARK_CABUNDLE = /usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)/curl-ca-bundle.crt" >> cloudshark_init.default - sed -i "s#%s/curl-ca-bundle.crt#/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)/curl-ca-bundle.crt#" cloudshark.lua - - #stuff to fix cloudshark_init.default to be more sane - #sed -i 's#CLOUDSHARK_TSHARK = "n"#CLOUDSHARK_TSHARK = "y"#' cloudshark_init.default (tshark support doesn't seem to work) -} - -src_install() { - insinto /usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark) - doins cloudshark.lua json.lua version.lua curl-ca-bundle.crt - newins cloudshark_init.default cloudshark_init.lua - dodoc CLOUDSHARK_README.txt -} |