From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C28051382C5 for ; Tue, 20 Feb 2018 07:27:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2ECAE09B8; Tue, 20 Feb 2018 07:27:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1EB5E09B8 for ; Tue, 20 Feb 2018 07:27:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE809335C05 for ; Tue, 20 Feb 2018 07:27:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB47E1DF for ; Tue, 20 Feb 2018 07:27:43 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1519111643.cab50b4f6fe2a058a89a8a0141dbceb74a68b2b0.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/sngrep/, net-analyzer/sngrep/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/sngrep/Manifest net-analyzer/sngrep/files/sngrep-1.4.5-tinfo.patch net-analyzer/sngrep/metadata.xml net-analyzer/sngrep/sngrep-1.4.5.ebuild X-VCS-Directories: net-analyzer/sngrep/files/ net-analyzer/sngrep/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: cab50b4f6fe2a058a89a8a0141dbceb74a68b2b0 X-VCS-Branch: master Date: Tue, 20 Feb 2018 07:27:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3d9cf29b-559e-412b-b5c5-36b5e38c1e9a X-Archives-Hash: 7ae4e719c03e834714b92e79f9392da5 commit: cab50b4f6fe2a058a89a8a0141dbceb74a68b2b0 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Feb 20 07:27:09 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Feb 20 07:27:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab50b4f net-analyzer/sngrep: Initial commit (bug #534780). Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-analyzer/sngrep/Manifest | 1 + net-analyzer/sngrep/files/sngrep-1.4.5-tinfo.patch | 13 +++++++ net-analyzer/sngrep/metadata.xml | 12 ++++++ net-analyzer/sngrep/sngrep-1.4.5.ebuild | 43 ++++++++++++++++++++++ 4 files changed, 69 insertions(+) diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest new file mode 100644 index 00000000000..f6075c3f385 --- /dev/null +++ b/net-analyzer/sngrep/Manifest @@ -0,0 +1 @@ +DIST sngrep-1.4.5.tar.gz 233379 BLAKE2B b2b080850ad9bc0ab961558781a3c8dd2b0d021d6d5763f6a0fbf56ad20581aeaed3b03804eecc4aa11ef2c8f796f742d990b33fb6d6929a735db7932785bc37 SHA512 428db158146fdf17e8276700a3c32e90d0d4b26b795f0c00eca047b048cf7b66fe20e3f9923823a5240018d1a941d1d32199bfe1bbb8622dc0d813fb0e7d6e73 diff --git a/net-analyzer/sngrep/files/sngrep-1.4.5-tinfo.patch b/net-analyzer/sngrep/files/sngrep-1.4.5-tinfo.patch new file mode 100644 index 00000000000..f3829560264 --- /dev/null +++ b/net-analyzer/sngrep/files/sngrep-1.4.5-tinfo.patch @@ -0,0 +1,13 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -98,6 +98,10 @@ + ]) + ]) + ++AC_SEARCH_LIBS([keyname], [tinfo], [], [ ++ AC_MSG_ERROR([ You need to have ncurses panelw library installed to compile sngrep.]) ++]) ++ + #### + #### GnuTLS Support + #### diff --git a/net-analyzer/sngrep/metadata.xml b/net-analyzer/sngrep/metadata.xml new file mode 100644 index 00000000000..eeb043ad62b --- /dev/null +++ b/net-analyzer/sngrep/metadata.xml @@ -0,0 +1,12 @@ + + + + +netmon@gentoo.org + + +Enable EEP packet send/receive support +Use net-libs/gnutls to parse captured TLS packets +Use dev-libs/openssl to parse captured TLS packets + + diff --git a/net-analyzer/sngrep/sngrep-1.4.5.ebuild b/net-analyzer/sngrep/sngrep-1.4.5.ebuild new file mode 100644 index 00000000000..f9c686aba4d --- /dev/null +++ b/net-analyzer/sngrep/sngrep-1.4.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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" +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) +}