diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /net-analyzer/sngrep/sngrep-1.5.0.ebuild | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'net-analyzer/sngrep/sngrep-1.5.0.ebuild')
-rw-r--r-- | net-analyzer/sngrep/sngrep-1.5.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-analyzer/sngrep/sngrep-1.5.0.ebuild b/net-analyzer/sngrep/sngrep-1.5.0.ebuild new file mode 100644 index 000000000000..af7e30fcebf6 --- /dev/null +++ b/net-analyzer/sngrep/sngrep-1.5.0.ebuild @@ -0,0 +1,50 @@ +# 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 unicode" + +# In next release, libpcre -> libpcre2 +DEPEND=" + net-libs/libpcap + sys-libs/ncurses:=[unicode(+)?] + ssl? ( + !gnutls? ( dev-libs/openssl:= ) + gnutls? ( net-libs/gnutls:= ) + ) + pcre? ( dev-libs/libpcre ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.0-bashisms.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-ipv6 + + $(use_enable eep) + $(use_enable unicode) + $(use_with pcre) + $(use_with ssl $(usex gnutls gnutls openssl)) + ) + + econf "${myeconfargs[@]}" +} |