diff options
Diffstat (limited to 'net-analyzer/sngrep')
-rw-r--r-- | net-analyzer/sngrep/Manifest | 2 | ||||
-rw-r--r-- | net-analyzer/sngrep/sngrep-1.7.0.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest index ce04655a0612..b079bd4a68c9 100644 --- a/net-analyzer/sngrep/Manifest +++ b/net-analyzer/sngrep/Manifest @@ -1,3 +1,5 @@ DIST sngrep-1.6.0.tar.gz 248091 BLAKE2B a08c50d87d43f49f24494a85b8f4d72f24a649050ab696cabd087a39bd64532a9e7ed137ccaacecddce8ef22c960fc43f5372c9b13817eae26dd06b711363e3b SHA512 bca3192e1aacf4152f566925fd075dfd957cbe87017c8258303c8689f1221ea082f337866db45cb5ada0629f7cc4b66ce73b74a911d230c63d10fefa19aaebe3 +DIST sngrep-1.7.0.tar.gz 248947 BLAKE2B 39a5d9bc71df9fb5bd4abadadf3f8fc8a680dd06eb4a7f06bb597a70215854d0ee4b93b39cfff67e2b15b6fed4ffac2865741af31b21a7ba8a91f9c01c4c750a SHA512 ecf31d61643ecc9ba1a9fe7759ae8c2c65fcbf6886ed263def2993dd6900eb9aeaddce8ebbde71e1ec57fbdc11a388de05f7c13f4587714e3b3e33689cf591b0 EBUILD sngrep-1.6.0-r1.ebuild 878 BLAKE2B e65118d52a01866a4cbb8484deac943bca129b80ead7335de22aa333bb1fa2a56c755cc9ab9253b27bec6c281d12541df999b6ce9743a493780d2ea9ec7c92af SHA512 2dc5e5ff66dd11633f6494e44431a7f1652c8bfae970351082e5556c213cf55779e577e235635806a164abdf65d6b6db68b688a062d0c899efe341a8cbce39e2 +EBUILD sngrep-1.7.0.ebuild 878 BLAKE2B cf757d29c925926be7728f80bbde828046d5039ecd3b04756de53dc188bae303c9b1e8114a1cdf684916a94cfa4907e422dc0bb3c003e47952d2691817e9dca3 SHA512 c04b8cfeb08b41bc90351cc0f9c706e629e99b3ce92f6e87e6ad132f9fc9d7f74e0558e4b794a48d6b22dd24e381df8ec5c1b3c44657a347a848afaff1b7ddb4 MISC metadata.xml 468 BLAKE2B 7b8e43ef6cb3bd733bc3321a2f5436b43bd846def6ac09d648e09bfe412a2cbb8f2b8d26cdb2721a2e44c33a183c4ab1d60e5fc9f899d7b8bbc0beac4e19abf5 SHA512 f6614eac2fdb609c8bd4ca7f3719b672a300ea52f96906c5ca6de204c345dbc80b5ec9e673046c24031b96118d0c70168c290fcdfda0063e7bd4493e6f7e58ae diff --git a/net-analyzer/sngrep/sngrep-1.7.0.ebuild b/net-analyzer/sngrep/sngrep-1.7.0.ebuild new file mode 100644 index 000000000000..4ec90e3677e8 --- /dev/null +++ b/net-analyzer/sngrep/sngrep-1.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 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 + --without-pcre + $(use_enable eep) + $(use_with pcre pcre2) + $(use_with ssl $(usex gnutls gnutls openssl)) + $(use_with zlib) + ) + + econf "${myeconfargs[@]}" +} |