1 |
commit: b5e2630bd88a20efe5cfe1dfa13fee9e1f67a23d |
2 |
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 03:40:54 2016 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 03:41:18 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e2630b |
7 |
|
8 |
net-analyzer/cloudshark: version bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
net-analyzer/cloudshark/Manifest | 1 + |
13 |
net-analyzer/cloudshark/cloudshark-1.0.4.ebuild | 44 +++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/net-analyzer/cloudshark/Manifest b/net-analyzer/cloudshark/Manifest |
17 |
index fd3dd40..3fc78cd 100644 |
18 |
--- a/net-analyzer/cloudshark/Manifest |
19 |
+++ b/net-analyzer/cloudshark/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
+DIST cloudshark-1.0.4.tar.gz 24947 SHA256 9b3c011c3cb6f08234754dbf8abf4e5e095d23b470262a07fe489c867bf60ea5 SHA512 5cb0e43e348d00c0ecc98f079a35f455865cbbe884e34101369b74429bb5bc14bb98acffa9749ce44a765e3653c0548e8b30cc658fb982b09dd61e2ec31b4f86 WHIRLPOOL 8f97d7aa0e88e5693994897abbcf6863b5e4cc4a414f0397130bd371e27436d22472a447d89d83f9870f5d8c0b93a0d54d083c6ea38e5e286965d5fee55b150e |
22 |
DIST cloudshark-plugin-1.0.2-174.tgz 143067 SHA256 d5918e9e3dc60059bdc40d436409c18197df428266863d90367a762f08c3623e SHA512 42445e67630b1bd2968f0836f625acb3792f22257de104ec0b90c59fa8d2096649eba2252cd6161ce57c8ff79095d52c5663d2fa018c650667896c9905e9dd7e WHIRLPOOL 01f3f6bc87b3f09645d2fef953d84b7ba3828f960d7e9bb952bf18cbeb8422beb63cee21355434f392727795b0462e59fd2b07549cce6048e689e5e02bcdd19d |
23 |
DIST cloudshark-plugin-1.0.3-180.tgz 143381 SHA256 0c0b204622107dcb29d302401688b62fa3b904eb0b5ccfa6bb42802084f5d102 SHA512 765144e6a2c7ce17eaa05f8170216e08ccac224ba6c11750893ae5caa8f40a2b6bee883fd9be91fa800ad3b45dc42d2ec81e564aa573015a91a8537be8384c73 WHIRLPOOL 818abb8dd904c72fe870336bb3702df04af7299c6e3bbed21510a0a4484997ec4eef68c14f0a556285f82a89ef57fd9768c6814cc3311c4abd28194d70159926 |
24 |
|
25 |
diff --git a/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild b/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..7f3e111 |
28 |
--- /dev/null |
29 |
+++ b/net-analyzer/cloudshark/cloudshark-1.0.4.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+inherit eutils multilib |
38 |
+ |
39 |
+DESCRIPTION="Easily upload your wireshark captures to CloudShark" |
40 |
+HOMEPAGE="http://appliance.cloudshark.org/plug-ins-wireshark.html" |
41 |
+SRC_URI="https://github.com/${PN}/wireshark-plugin/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+PDEPEND="net-analyzer/wireshark:=[lua] |
49 |
+ net-misc/curl" |
50 |
+ |
51 |
+S="${WORKDIR}/wireshark-plugin-${PV}" |
52 |
+ |
53 |
+get_PV() { |
54 |
+ local pv=$(best_version $1) |
55 |
+ pv=${pv#$1-}; pv=${pv%-r*} |
56 |
+ pv=${pv//_}; echo ${pv} |
57 |
+} |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ #cloudshark isn't meant to be installed systemwide, we fix that |
61 |
+ epatch "${FILESDIR}"/cs_log_dir.patch |
62 |
+ |
63 |
+ sed -i "s#%s/cloudshark_init.lua#/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)/cloudshark_init.lua#" cloudshark.lua |
64 |
+ |
65 |
+ #this enables cloudshark by DEFAULT on tshark, not desired |
66 |
+ #sed -i 's#CLOUDSHARK_TSHARK = "n"#CLOUDSHARK_TSHARK = "y"#' cloudshark_init.default |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ insinto /usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark) |
71 |
+ doins cloudshark.lua json.lua |
72 |
+ newins cloudshark_init.default cloudshark_init.lua |
73 |
+ dodoc README.md |
74 |
+} |