diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-07-06 11:46:27 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-07-06 11:47:13 +0200 |
commit | 3726ffe8b7a5a113e6aec430628582c0ac47ee0a (patch) | |
tree | ddfdabe046ecf0bc9c3e089c3733d2ca05c523ac /net-analyzer/sguil-client/sguil-client-1.0.0.ebuild | |
parent | net-analyzer/sguil-server: Version 1.0.0 (diff) | |
download | gentoo-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/sguil-client/sguil-client-1.0.0.ebuild')
-rw-r--r-- | net-analyzer/sguil-client/sguil-client-1.0.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
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/* +} |