[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sngrep/, net-analyzer/sngrep/files/
commit: ddaabdfd0ab9f3872d3ea5ede70b9e7462579aed Author: Sam James gentoo org> AuthorDate: Sun Dec 18 04:04:11 2022 + Commit: Sam James gentoo org> CommitDate: Sun Dec 18 04:04:22 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddaabdfd net-analyzer/sngrep: drop 1.4.7-r1, 1.5.0 Signed-off-by: Sam James gentoo.org> net-analyzer/sngrep/Manifest | 2 - .../sngrep/files/sngrep-1.4.7-LDFLAGS.patch| 11 --- net-analyzer/sngrep/files/sngrep-1.4.7-tinfo.patch | 24 --- .../sngrep/files/sngrep-1.5.0-bashisms.patch | 79 -- net-analyzer/sngrep/metadata.xml | 1 - net-analyzer/sngrep/sngrep-1.4.7-r1.ebuild | 45 net-analyzer/sngrep/sngrep-1.5.0.ebuild| 50 -- 7 files changed, 212 deletions(-) diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest index 889a077f0371..8a4d00ae 100644 --- a/net-analyzer/sngrep/Manifest +++ b/net-analyzer/sngrep/Manifest @@ -1,3 +1 @@ -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/files/sngrep-1.4.7-LDFLAGS.patch b/net-analyzer/sngrep/files/sngrep-1.4.7-LDFLAGS.patch deleted file mode 100644 index 3e63dc245dab.. --- a/net-analyzer/sngrep/files/sngrep-1.4.7-LDFLAGS.patch +++ /dev/null @@ -1,11 +0,0 @@ a/m4/sngrep.m4 -+++ b/m4/sngrep.m4 -@@ -44,7 +44,7 @@ - LIBS="$sngrep_config_script $LIBS " - sngrep_script_success=yes - ], []) -- LDFLAGS="$save_LDFLAGS" -+ LDFLAGS="$sngrep_save_LDFLAGS" -fi -if test "x$sngrep_script_success" = xno; then - [$5] diff --git a/net-analyzer/sngrep/files/sngrep-1.4.7-tinfo.patch b/net-analyzer/sngrep/files/sngrep-1.4.7-tinfo.patch deleted file mode 100644 index 8a01eeb2560b.. --- a/net-analyzer/sngrep/files/sngrep-1.4.7-tinfo.patch +++ /dev/null @@ -1,24 +0,0 @@ a/configure.ac -+++ b/configure.ac -@@ -74,6 +74,10 @@ - AC_CHECK_LIB([menuw], [new_item], [], [ - AC_MSG_ERROR([ You need to have ncurses menuw library installed to compile sngrep.]) - ]) -+ -+ AC_SEARCH_LIBS([keyname], [tinfow], [], [ -+ AC_MSG_ERROR([ You need to have ncurses tinfow library installed to compile sngrep.]) -+ ]) - ], [ - - # Ncurses without wide-character support -@@ -96,6 +100,10 @@ - AC_CHECK_LIB([menu], [new_item], [], [ - AC_MSG_ERROR([ You need to have ncurses menu library installed to compile sngrep.]) - ]) -+ -+ AC_SEARCH_LIBS([keyname], [tinfo], [], [ -+ AC_MSG_ERROR([ You need to have ncurses tinfo library installed to compile sngrep.]) -+ ]) - ]) - - diff --git a/net-analyzer/sngrep/files/sngrep-1.5.0-bashisms.patch b/net-analyzer/sngrep/files/sngrep-1.5.0-bashisms.patch deleted file mode 100644 index ffcd38d2f7f3.. --- a/net-analyzer/sngrep/files/sngrep-1.5.0-bashisms.patch +++ /dev/null @@ -1,79 +0,0 @@ -https://github.com/irontec/sngrep/pull/404 a/configure.ac -+++ b/configure.ac -@@ -51,7 +51,7 @@ AC_ARG_ENABLE([unicode], - [AC_SUBST(UNICODE, no)] - ) - --AS_IF([test "x$enable_unicode" == "xyes"], [ -+AS_IF([test "x$enable_unicode" = "xyes"], [ - # Ncurses with wide-character support - AC_DEFINE([WITH_UNICODE], [], [Compile With Unicode compatibility]) - -@@ -123,7 +123,7 @@ AC_ARG_WITH([gnutls], - [AC_SUBST(WITH_GNUTLS, no)] - ) - --AS_IF([test "x$WITH_GNUTLS" == "xyes"], [ -+AS_IF([test "x$WITH_GNUTLS" = "xyes"], [ - - m4_ifdef([PKG_CHECK_MODULES], [ - PKG_CHECK_MODULES([LIBGNUTLS], [gnutls]) -@@ -160,8 +160,8 @@ AC_ARG_WITH([openssl], - [AC_SUBST(WITH_OPENSSL, no)] - ) - --AS_IF([test "x$WITH_OPENSSL" == "xyes"], [ -- AS_IF([test "x$WITH_GNUTLS" == "xyes"], [ -+AS_IF([test "x$WITH_OPENSSL" = "xyes"], [ -+ AS_IF([test "x$WITH_GNUTLS" = "xyes"], [ - AC_MSG_ERROR([ GnuTLS and OpenSSL can not be enabled at the same time ]) - ], []) - m4_ifdef([PKG_CHECK_MODULES], [ -@@ -187,7 +187,7 @@ AC_ARG_WITH([pc
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sngrep/, net-analyzer/sngrep/files/
commit: 196a34a7a190fb4d21b82e1bce71a819580030e4 Author: Sam James gentoo org> AuthorDate: Tue Jul 5 03:11:02 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jul 5 03:15:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196a34a7 net-analyzer/sngrep: add 1.5.0 Signed-off-by: Sam James gentoo.org> net-analyzer/sngrep/Manifest | 1 + .../sngrep/files/sngrep-1.5.0-bashisms.patch | 79 ++ net-analyzer/sngrep/sngrep-1.5.0.ebuild| 50 ++ 3 files changed, 130 insertions(+) diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest index b9cdc0865f89..664514feffc7 100644 --- a/net-analyzer/sngrep/Manifest +++ b/net-analyzer/sngrep/Manifest @@ -1 +1,2 @@ DIST sngrep-1.4.7.tar.gz 237978 BLAKE2B 30172748aeab2910e7fa13f35b447d7bd1688bb206576af6233c8c47405eb3fe93316cc72255169f19f3752e7fe3ada63c5c0bba0d9ab75706c1b0d3ac296474 SHA512 f414f9cc49b0c34cbbf5a77d285f12eb4091af3395953ed93dbe2f57d4ba3731d16c4b56c37e90744cf3784572975f485aed48cdd100898ffaee18e9a18943b1 +DIST sngrep-1.5.0.tar.gz 244965 BLAKE2B 85c8ddbbb5c81dfa886086543df9ccb6f4a297c95a23afddfcf1a359e4af19a1f37cd75136881aba07fd70c177737fa93440f04f97ed9ffd01afef3055971472 SHA512 20be55f80d029739b1db4c0ccbc028604019acd8ca45181eb9952759ced4f20549d991c2916c9d1c84c989ccb123cad44f545a9146471a79273c0a6053615fbe diff --git a/net-analyzer/sngrep/files/sngrep-1.5.0-bashisms.patch b/net-analyzer/sngrep/files/sngrep-1.5.0-bashisms.patch new file mode 100644 index ..ffcd38d2f7f3 --- /dev/null +++ b/net-analyzer/sngrep/files/sngrep-1.5.0-bashisms.patch @@ -0,0 +1,79 @@ +https://github.com/irontec/sngrep/pull/404 +--- a/configure.ac b/configure.ac +@@ -51,7 +51,7 @@ AC_ARG_ENABLE([unicode], + [AC_SUBST(UNICODE, no)] + ) + +-AS_IF([test "x$enable_unicode" == "xyes"], [ ++AS_IF([test "x$enable_unicode" = "xyes"], [ + # Ncurses with wide-character support + AC_DEFINE([WITH_UNICODE], [], [Compile With Unicode compatibility]) + +@@ -123,7 +123,7 @@ AC_ARG_WITH([gnutls], + [AC_SUBST(WITH_GNUTLS, no)] + ) + +-AS_IF([test "x$WITH_GNUTLS" == "xyes"], [ ++AS_IF([test "x$WITH_GNUTLS" = "xyes"], [ + + m4_ifdef([PKG_CHECK_MODULES], [ + PKG_CHECK_MODULES([LIBGNUTLS], [gnutls]) +@@ -160,8 +160,8 @@ AC_ARG_WITH([openssl], + [AC_SUBST(WITH_OPENSSL, no)] + ) + +-AS_IF([test "x$WITH_OPENSSL" == "xyes"], [ +- AS_IF([test "x$WITH_GNUTLS" == "xyes"], [ ++AS_IF([test "x$WITH_OPENSSL" = "xyes"], [ ++ AS_IF([test "x$WITH_GNUTLS" = "xyes"], [ + AC_MSG_ERROR([ GnuTLS and OpenSSL can not be enabled at the same time ]) + ], []) + m4_ifdef([PKG_CHECK_MODULES], [ +@@ -187,7 +187,7 @@ AC_ARG_WITH([pcre], + [AC_SUBST(WITH_PCRE, no)] + ) + +-AS_IF([test "x$WITH_PCRE" == "xyes"], [ ++AS_IF([test "x$WITH_PCRE" = "xyes"], [ + AC_CHECK_HEADER([pcre.h], [], [ + AC_MSG_ERROR([ You need libpcre development files installed to compile with pcre support.]) + ]) +@@ -206,7 +206,7 @@ AC_ARG_ENABLE([ipv6], + [AC_SUBST(USE_IPV6, no)] + ) + +-AS_IF([test "x$USE_IPV6" == "xyes"], [ ++AS_IF([test "x$USE_IPV6" = "xyes"], [ + AC_CHECK_HEADERS([netinet/in.h netinet/ip6.h], [], [ + AC_MSG_ERROR([ You dont seem to have ipv6 support (no ip6.h found).]) + ], [ +@@ -231,15 +231,15 @@ AC_ARG_ENABLE([eep], + [AC_SUBST(USE_EEP, no)] + ) + +-AS_IF([test "x$USE_EEP" == "xyes"], [ ++AS_IF([test "x$USE_EEP" = "xyes"], [ + AC_DEFINE([USE_EEP],[],[Compile With EEP support]) + ], []) + + + # Conditional Source inclusion +-AM_CONDITIONAL([WITH_GNUTLS], [test "x$WITH_GNUTLS" == "xyes"]) +-AM_CONDITIONAL([WITH_OPENSSL], [test "x$WITH_OPENSSL" == "xyes"]) +-AM_CONDITIONAL([USE_EEP], [test "x$USE_EEP" == "xyes"]) ++AM_CONDITIONAL([WITH_GNUTLS], [test "x$WITH_GNUTLS" = "xyes"]) ++AM_CONDITIONAL([WITH_OPENSSL], [test "x$WITH_OPENSSL" = "xyes"]) ++AM_CONDITIONAL([USE_EEP], [test "x$USE_EEP" = "xyes"]) + + + ## +@@ -249,7 +249,7 @@ AC_ARG_ENABLE(logo, + [ enable_logo=$enableval], + [ enable_logo=yes]) + +-AS_IF([test "x$enable_logo" == "xyes"], [ ++AS_IF([test "x$enable_logo" = "xyes"], [ + echo '' + echo ' ██╗██╗ ██╗ ███╗ ██╗╗███╗ ██╗' + echo ' ██║██╔══██╗██╔═══██╗╗ ██║╚══██╔══╝██╔╝██╔╝' 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 ..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}.ta
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sngrep/, net-analyzer/sngrep/files/
commit: 7b5b5bd16b586c269969862ada5a5908f03d2dbd Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jun 10 10:43:00 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jun 10 10:44:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5b5bd1 net-analyzer/sngrep: Version 1.4.7 - Add USE=logo - EAPI=7 - RESTRICT=test - Fix setting LDFLAGS Package-Manager: Portage-2.3.100, Repoman-2.3.22 Closes: https://bugs.gentoo.org/727790 Closes: https://bugs.gentoo.org/709852 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/sngrep/Manifest | 1 + .../sngrep/files/sngrep-1.4.7-LDFLAGS.patch| 11 ++ net-analyzer/sngrep/metadata.xml | 1 + net-analyzer/sngrep/sngrep-1.4.7.ebuild| 46 ++ 4 files changed, 59 insertions(+) diff --git a/net-analyzer/sngrep/Manifest b/net-analyzer/sngrep/Manifest index d5c0aba6419..9f3afb299a4 100644 --- a/net-analyzer/sngrep/Manifest +++ b/net-analyzer/sngrep/Manifest @@ -1 +1,2 @@ DIST sngrep-1.4.6.tar.gz 235721 BLAKE2B e01f2a1d83b9147b99196f7ff2e5562552b16badc2ca634e63b2e2f5955a5d0328c9fcdb841f42a950899511a81fffd8eb64169758dc319875e3052d4359de93 SHA512 25c67e26158b140bded775b217f313ad5a6268684f03d0b9875ddd423d7548b50fa9c358346330d3873984f456aefa9401c2b0fdd136dd95061e34da6530bcc3 +DIST sngrep-1.4.7.tar.gz 237978 BLAKE2B 30172748aeab2910e7fa13f35b447d7bd1688bb206576af6233c8c47405eb3fe93316cc72255169f19f3752e7fe3ada63c5c0bba0d9ab75706c1b0d3ac296474 SHA512 f414f9cc49b0c34cbbf5a77d285f12eb4091af3395953ed93dbe2f57d4ba3731d16c4b56c37e90744cf3784572975f485aed48cdd100898ffaee18e9a18943b1 diff --git a/net-analyzer/sngrep/files/sngrep-1.4.7-LDFLAGS.patch b/net-analyzer/sngrep/files/sngrep-1.4.7-LDFLAGS.patch new file mode 100644 index 000..3e63dc245da --- /dev/null +++ b/net-analyzer/sngrep/files/sngrep-1.4.7-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- a/m4/sngrep.m4 b/m4/sngrep.m4 +@@ -44,7 +44,7 @@ + LIBS="$sngrep_config_script $LIBS " + sngrep_script_success=yes + ], []) +- LDFLAGS="$save_LDFLAGS" ++ LDFLAGS="$sngrep_save_LDFLAGS" +fi +if test "x$sngrep_script_success" = xno; then + [$5] diff --git a/net-analyzer/sngrep/metadata.xml b/net-analyzer/sngrep/metadata.xml index eeb043ad62b..b6a99fc054d 100644 --- a/net-analyzer/sngrep/metadata.xml +++ b/net-analyzer/sngrep/metadata.xml @@ -7,6 +7,7 @@ Enable EEP packet send/receive support Use net-libs/gnutls to parse captured TLS packets +Enable Irontec Logo from Summary menu Use dev-libs/openssl to parse captured TLS packets diff --git a/net-analyzer/sngrep/sngrep-1.4.7.ebuild b/net-analyzer/sngrep/sngrep-1.4.7.ebuild new file mode 100644 index 000..12eaf83d700 --- /dev/null +++ b/net-analyzer/sngrep/sngrep-1.4.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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 ipv6 logo openssl pcre unicode" +REQUIRED_USE=" + gnutls? ( !openssl ) +" + +DEPEND=" + net-libs/libpcap + sys-libs/ncurses:0=[unicode?] + openssl? ( dev-libs/openssl:0= ) + gnutls? ( net-libs/gnutls ) +" +RDEPEND="${DEPEND}" +RESTRICT="test" +PATCHES=( + "${FILESDIR}"/${PN}-1.4.5-tinfo.patch + "${FILESDIR}"/${PN}-1.4.7-LDFLAGS.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable eep) \ + $(use_enable ipv6) \ + $(use_enable logo) \ + $(use_enable unicode) \ + $(use_with gnutls) \ + $(use_with openssl) \ + $(use_with pcre) +}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sngrep/, net-analyzer/sngrep/files/
commit: cab50b4f6fe2a058a89a8a0141dbceb74a68b2b0 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Feb 20 07:27:09 2018 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Feb 20 07:27:23 2018 + 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 000..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 000..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 000..eeb043ad62b --- /dev/null +++ b/net-analyzer/sngrep/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + +net...@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 000..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) +}