From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DED8858973 for ; Wed, 27 Jan 2016 03:41:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F57A21C00D; Wed, 27 Jan 2016 03:41:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDF4D21C00D for ; Wed, 27 Jan 2016 03:41:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59E3D340B92 for ; Wed, 27 Jan 2016 03:41:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BF94105C for ; Wed, 27 Jan 2016 03:41:40 +0000 (UTC) From: "Richard Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Farina" Message-ID: <1453866078.b5e2630bd88a20efe5cfe1dfa13fee9e1f67a23d.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/cloudshark/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/cloudshark/Manifest net-analyzer/cloudshark/cloudshark-1.0.4.ebuild X-VCS-Directories: net-analyzer/cloudshark/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: b5e2630bd88a20efe5cfe1dfa13fee9e1f67a23d X-VCS-Branch: master Date: Wed, 27 Jan 2016 03:41:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e9ec6617-4bb1-4a46-93f1-6f6d103c9567 X-Archives-Hash: 90294c2002ccb5857249c683c23e5f95 commit: b5e2630bd88a20efe5cfe1dfa13fee9e1f67a23d Author: Zero_Chaos gentoo org> AuthorDate: Wed Jan 27 03:40:54 2016 +0000 Commit: Richard Farina gentoo org> CommitDate: Wed Jan 27 03:41:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e2630b net-analyzer/cloudshark: version bump Package-Manager: portage-2.2.27 net-analyzer/cloudshark/Manifest | 1 + net-analyzer/cloudshark/cloudshark-1.0.4.ebuild | 44 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/net-analyzer/cloudshark/Manifest b/net-analyzer/cloudshark/Manifest index fd3dd40..3fc78cd 100644 --- a/net-analyzer/cloudshark/Manifest +++ b/net-analyzer/cloudshark/Manifest @@ -1,2 +1,3 @@ +DIST cloudshark-1.0.4.tar.gz 24947 SHA256 9b3c011c3cb6f08234754dbf8abf4e5e095d23b470262a07fe489c867bf60ea5 SHA512 5cb0e43e348d00c0ecc98f079a35f455865cbbe884e34101369b74429bb5bc14bb98acffa9749ce44a765e3653c0548e8b30cc658fb982b09dd61e2ec31b4f86 WHIRLPOOL 8f97d7aa0e88e5693994897abbcf6863b5e4cc4a414f0397130bd371e27436d22472a447d89d83f9870f5d8c0b93a0d54d083c6ea38e5e286965d5fee55b150e DIST cloudshark-plugin-1.0.2-174.tgz 143067 SHA256 d5918e9e3dc60059bdc40d436409c18197df428266863d90367a762f08c3623e SHA512 42445e67630b1bd2968f0836f625acb3792f22257de104ec0b90c59fa8d2096649eba2252cd6161ce57c8ff79095d52c5663d2fa018c650667896c9905e9dd7e WHIRLPOOL 01f3f6bc87b3f09645d2fef953d84b7ba3828f960d7e9bb952bf18cbeb8422beb63cee21355434f392727795b0462e59fd2b07549cce6048e689e5e02bcdd19d DIST cloudshark-plugin-1.0.3-180.tgz 143381 SHA256 0c0b204622107dcb29d302401688b62fa3b904eb0b5ccfa6bb42802084f5d102 SHA512 765144e6a2c7ce17eaa05f8170216e08ccac224ba6c11750893ae5caa8f40a2b6bee883fd9be91fa800ad3b45dc42d2ec81e564aa573015a91a8537be8384c73 WHIRLPOOL 818abb8dd904c72fe870336bb3702df04af7299c6e3bbed21510a0a4484997ec4eef68c14f0a556285f82a89ef57fd9768c6814cc3311c4abd28194d70159926 diff --git a/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild b/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild new file mode 100644 index 0000000..7f3e111 --- /dev/null +++ b/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib + +DESCRIPTION="Easily upload your wireshark captures to CloudShark" +HOMEPAGE="http://appliance.cloudshark.org/plug-ins-wireshark.html" +SRC_URI="https://github.com/${PN}/wireshark-plugin/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +PDEPEND="net-analyzer/wireshark:=[lua] + net-misc/curl" + +S="${WORKDIR}/wireshark-plugin-${PV}" + +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 + + #this enables cloudshark by DEFAULT on tshark, not desired + #sed -i 's#CLOUDSHARK_TSHARK = "n"#CLOUDSHARK_TSHARK = "y"#' cloudshark_init.default +} + +src_install() { + insinto /usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark) + doins cloudshark.lua json.lua + newins cloudshark_init.default cloudshark_init.lua + dodoc README.md +}