diff options
author | Sam James <sam@gentoo.org> | 2022-10-11 00:22:41 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-11 00:35:54 +0100 |
commit | 54c72f524c25d26063eef4f6cb98213c6264b460 (patch) | |
tree | 33299964582c9c5d23782ac938363188a0e61b41 /net-analyzer/sngrep | |
parent | xfce-base/tumbler: BDEPEND on glib-utils (diff) | |
download | gentoo-54c72f524c25d26063eef4f6cb98213c6264b460.tar.gz gentoo-54c72f524c25d26063eef4f6cb98213c6264b460.tar.bz2 gentoo-54c72f524c25d26063eef4f6cb98213c6264b460.zip |
net-analyzer/sngrep: add 1.6.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/sngrep')
-rw-r--r-- | net-analyzer/sngrep/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/sngrep/sngrep-1.6.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest index 664514feffc7..889a077f0371 100644 --- a/net-analyzer/sngrep/Manifest +++ b/net-analyzer/sngrep/Manifest @@ -1,2 +1,3 @@ DIST sngrep-1.4.7.tar.gz 237978 BLAKE2B 30172748aeab2910e7fa13f35b447d7bd1688bb206576af6233c8c47405eb3fe93316cc72255169f19f3752e7fe3ada63c5c0bba0d9ab75706c1b0d3ac296474 SHA512 f414f9cc49b0c34cbbf5a77d285f12eb4091af3395953ed93dbe2f57d4ba3731d16c4b56c37e90744cf3784572975f485aed48cdd100898ffaee18e9a18943b1 DIST sngrep-1.5.0.tar.gz 244965 BLAKE2B 85c8ddbbb5c81dfa886086543df9ccb6f4a297c95a23afddfcf1a359e4af19a1f37cd75136881aba07fd70c177737fa93440f04f97ed9ffd01afef3055971472 SHA512 20be55f80d029739b1db4c0ccbc028604019acd8ca45181eb9952759ced4f20549d991c2916c9d1c84c989ccb123cad44f545a9146471a79273c0a6053615fbe +DIST sngrep-1.6.0.tar.gz 248091 BLAKE2B a08c50d87d43f49f24494a85b8f4d72f24a649050ab696cabd087a39bd64532a9e7ed137ccaacecddce8ef22c960fc43f5372c9b13817eae26dd06b711363e3b SHA512 bca3192e1aacf4152f566925fd075dfd957cbe87017c8258303c8689f1221ea082f337866db45cb5ada0629f7cc4b66ce73b74a911d230c63d10fefa19aaebe3 diff --git a/net-analyzer/sngrep/sngrep-1.6.0.ebuild b/net-analyzer/sngrep/sngrep-1.6.0.ebuild new file mode 100644 index 000000000000..aedd0cf3f8d1 --- /dev/null +++ b/net-analyzer/sngrep/sngrep-1.6.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Ncurses SIP Messages flow viewer" +HOMEPAGE="https://github.com/irontec/sngrep" +SRC_URI="https://github.com/irontec/sngrep/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="eep gnutls pcre ssl zlib" + +DEPEND=" + net-libs/libpcap + sys-libs/ncurses:=[unicode(+)] + ssl? ( + !gnutls? ( dev-libs/openssl:= ) + gnutls? ( net-libs/gnutls:= ) + ) + pcre? ( dev-libs/libpcre2 ) + zlib? ( sys-libs/zlib ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-ipv6 + --enable-unicode + + $(use_enable eep) + $(use_with pcre pcre2) + $(use_with ssl $(usex gnutls gnutls openssl)) + $(use_with zlib) + ) + + econf "${myeconfargs[@]}" +} |