net-analyzer/sngrep: drop 1.4.7-r1, 1.5.0

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-12-18 04:04:22 +00:00
parent 9666f91ee0
commit ddaabdfd0a
7 changed files with 0 additions and 212 deletions
-2
View File
@@ -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
@@ -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]
@@ -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.])
+ ])
])
####
@@ -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([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 ' ██║██╔══██╗██╔═══██╗████╗ ██║╚══██╔══╝██╔════╝██╔════╝'
-1
View File
@@ -7,7 +7,6 @@
<use>
<flag name="eep">Enable EEP packet send/receive support</flag>
<flag name="gnutls">Use <pkg>net-libs/gnutls</pkg> to parse captured TLS packets</flag>
<flag name="openssl">Use <pkg>dev-libs/openssl</pkg> to parse captured TLS packets</flag>
</use>
<upstream>
<remote-id type="github">irontec/sngrep</remote-id>
@@ -1,45 +0,0 @@
# Copyright 1999-2021 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 openssl pcre unicode"
REQUIRED_USE="
gnutls? ( !openssl )
"
DEPEND="
net-libs/libpcap
sys-libs/ncurses:=[unicode(+)?]
openssl? ( dev-libs/openssl:0= )
gnutls? ( net-libs/gnutls )
pcre? ( dev-libs/libpcre )
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.7-tinfo.patch
"${FILESDIR}"/${PN}-1.4.7-LDFLAGS.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)
}
-50
View File
@@ -1,50 +0,0 @@
# 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[@]}"
}