summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-11-25 21:26:07 +0100
committerJeroen Roovers <jer@gentoo.org>2018-11-25 21:26:53 +0100
commit51bdce8abf6f7d5dfdee946bd183b8a62b31b5d6 (patch)
tree9f57ed98c692a121dc87bf39986e8396401fd434 /net-analyzer/sngrep
parentnet-analyzer/sngrep: Mark ~x86 (bug #671884). (diff)
downloadgentoo-51bdce8abf6f7d5dfdee946bd183b8a62b31b5d6.tar.gz
gentoo-51bdce8abf6f7d5dfdee946bd183b8a62b31b5d6.tar.bz2
gentoo-51bdce8abf6f7d5dfdee946bd183b8a62b31b5d6.zip
net-analyzer/sngrep: Version 1.4.6
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/sngrep')
-rw-r--r--net-analyzer/sngrep/Manifest1
-rw-r--r--net-analyzer/sngrep/sngrep-1.4.6.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest
index f6075c3f3853..15daa964c35d 100644
--- a/net-analyzer/sngrep/Manifest
+++ b/net-analyzer/sngrep/Manifest
@@ -1 +1,2 @@
DIST sngrep-1.4.5.tar.gz 233379 BLAKE2B b2b080850ad9bc0ab961558781a3c8dd2b0d021d6d5763f6a0fbf56ad20581aeaed3b03804eecc4aa11ef2c8f796f742d990b33fb6d6929a735db7932785bc37 SHA512 428db158146fdf17e8276700a3c32e90d0d4b26b795f0c00eca047b048cf7b66fe20e3f9923823a5240018d1a941d1d32199bfe1bbb8622dc0d813fb0e7d6e73
+DIST sngrep-1.4.6.tar.gz 235721 BLAKE2B e01f2a1d83b9147b99196f7ff2e5562552b16badc2ca634e63b2e2f5955a5d0328c9fcdb841f42a950899511a81fffd8eb64169758dc319875e3052d4359de93 SHA512 25c67e26158b140bded775b217f313ad5a6268684f03d0b9875ddd423d7548b50fa9c358346330d3873984f456aefa9401c2b0fdd136dd95061e34da6530bcc3
diff --git a/net-analyzer/sngrep/sngrep-1.4.6.ebuild b/net-analyzer/sngrep/sngrep-1.4.6.ebuild
new file mode 100644
index 000000000000..a6ad92921fd6
--- /dev/null
+++ b/net-analyzer/sngrep/sngrep-1.4.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="Ncurses SIP Messages flow viewer"
+HOMEPAGE="https://github.com/irontec/sngrep"
+SRC_URI="${HOMEPAGE}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="eep gnutls ipv6 openssl pcre unicode"
+REQUIRED_USE="
+ gnutls? ( !openssl )
+"
+
+DEPEND="
+ net-libs/libpcap
+ sys-libs/ncurses:*[unicode?]
+ openssl? ( dev-libs/openssl:* )
+ gnutls? ( net-libs/gnutls )
+"
+RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.5-tinfo.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable eep) \
+ $(use_enable ipv6) \
+ $(use_enable unicode) \
+ $(use_with gnutls) \
+ $(use_with openssl) \
+ $(use_with pcre)
+}