summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-07-06 11:46:27 +0200
committerJeroen Roovers <jer@gentoo.org>2019-07-06 11:47:13 +0200
commit3726ffe8b7a5a113e6aec430628582c0ac47ee0a (patch)
treeddfdabe046ecf0bc9c3e089c3733d2ca05c523ac /net-analyzer
parentnet-analyzer/sguil-server: Version 1.0.0 (diff)
downloadgentoo-3726ffe8b7a5a113e6aec430628582c0ac47ee0a.tar.gz
gentoo-3726ffe8b7a5a113e6aec430628582c0ac47ee0a.tar.bz2
gentoo-3726ffe8b7a5a113e6aec430628582c0ac47ee0a.zip
net-analyzer/sguil-client: Version 1.0.0
Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/sguil-client/Manifest1
-rw-r--r--net-analyzer/sguil-client/sguil-client-1.0.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/net-analyzer/sguil-client/Manifest b/net-analyzer/sguil-client/Manifest
index d36f67e87aed..469b080b1947 100644
--- a/net-analyzer/sguil-client/Manifest
+++ b/net-analyzer/sguil-client/Manifest
@@ -1,2 +1,3 @@
DIST sguil-0.9.0.tar.gz 464204 BLAKE2B 147b743fd8f70969ee560a3f6995775c40cfbaf543d8292f16aa6f02289edde54207a3cddb4969229e0a123dad2fb589eaef3bddb016e6ff408a3d9be4c7820d SHA512 3f300901d0f0260fbc950b4c7604e3dc3eeb2d088ff45171db84e2d58e281242bf3582eac51162968f1f3766961aec4d0a7af54e85773102ee643a52e879cfa6
+DIST sguil-1.0.0.tar.gz 892934 BLAKE2B 69459eed682d91a1b57ba08c141dd655dbbfaa0d9d2956e6a26065f1b6820307b0e0e4dcbcad89537eba7499aea38f81739c351246e3dd6c46cab46bdf0d054f SHA512 fc3007383f90c99a0ace3eeebac75864f9aa549676e784c7bf1d81222282e3a5a3d5290b121097ae3c027dee3dd35bbe8ac9dfede04dbd561edfd3948a0465ab
DIST sguil-client-0.8.0.tar.gz 216433 BLAKE2B 65403d7c0de38fd4c010129ee692ab4af6853299566e3ffc6ac9a7f4e64b781830dad41f76dcaf4567bf5f217c5bd59396040cf36017b0ecdac733bc02c179db SHA512 44e14273cb7506b89d3138a1c50160de99576e77d6d18e3cdab9f257a1d00d5a100c8d9790f6e93aea8312fab51d52260aedfaa00facf54107249686d93e09b3
diff --git a/net-analyzer/sguil-client/sguil-client-1.0.0.ebuild b/net-analyzer/sguil-client/sguil-client-1.0.0.ebuild
new file mode 100644
index 000000000000..7188ff915ed2
--- /dev/null
+++ b/net-analyzer/sguil-client/sguil-client-1.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV="${PV/_p/p}"
+DESCRIPTION="GUI Console for sguil Network Security Monitoring"
+HOMEPAGE="https://github.com/bammv/sguil"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P/-client}.tar.gz"
+
+LICENSE="QPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl"
+
+RDEPEND="
+ >=dev-lang/tcl-8.3:0=[-threads]
+ >=dev-lang/tk-8.3:0=
+ >=dev-tcltk/itcl-3.2
+ >=dev-tcltk/tclx-8.3
+ dev-tcltk/itk
+ dev-tcltk/iwidgets
+ dev-tcltk/tcllib
+ net-analyzer/wireshark
+ ssl? ( >=dev-tcltk/tls-1.4.1 )
+"
+S=${WORKDIR}/sguil-${MY_PV}
+
+src_prepare() {
+ default
+ sed -i \
+ -e "/^set SGUILLIB /s:./lib:/usr/$(get_libdir)/sguil:" \
+ -e '/^set SERVERHOST /s:demo.sguil.net:localhost:' \
+ -e '/^set MAILSERVER /s:mail.example.com:localhost:' \
+ -e '/^set GPG_PATH /s:/usr/local/bin/gpg:/usr/bin/gpg:' \
+ client/sguil.conf || die
+}
+
+src_install() {
+ dobin client/sguil.tk
+ insinto /etc/sguil
+ doins client/sguil.conf
+ insinto "/usr/$(get_libdir)/sguil"
+ doins -r "${S}"/client/lib/*
+ dodoc doc/*
+}