diff options
author | John Helmert III <ajak@gentoo.org> | 2022-08-16 16:23:11 -0500 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2022-08-16 16:23:11 -0500 |
commit | 264f9235c9e09fa072e972c5587c4373d8c015f1 (patch) | |
tree | af479c08ee026edc8895ed2e433001244dc42068 /net-libs/nDPI/files | |
parent | media-libs/libmediainfo: drop 20.09-r1 (diff) | |
download | gentoo-264f9235c9e09fa072e972c5587c4373d8c015f1.tar.gz gentoo-264f9235c9e09fa072e972c5587c4373d8c015f1.tar.bz2 gentoo-264f9235c9e09fa072e972c5587c4373d8c015f1.zip |
net-libs/nDPI: drop 3.4
Bug: https://bugs.gentoo.org/799782
Signed-off-by: John Helmert III <ajak@gentoo.org>
Diffstat (limited to 'net-libs/nDPI/files')
-rw-r--r-- | net-libs/nDPI/files/nDPI-3.4-configure-fail-libcap.patch | 19 | ||||
-rw-r--r-- | net-libs/nDPI/files/nDPI-3.4-fix-oob-in-kerberos-dissector.patch | 16 |
2 files changed, 0 insertions, 35 deletions
diff --git a/net-libs/nDPI/files/nDPI-3.4-configure-fail-libcap.patch b/net-libs/nDPI/files/nDPI-3.4-configure-fail-libcap.patch deleted file mode 100644 index 7ae5a04d4e8c..000000000000 --- a/net-libs/nDPI/files/nDPI-3.4-configure-fail-libcap.patch +++ /dev/null @@ -1,19 +0,0 @@ -Ensure that we fail if libpcap can't be detected, rather than exiting with a success return code. ---- a/configure.seed -+++ b/configure.seed -@@ -126,12 +126,9 @@ case "$host" in - AC_CHECK_LIB([dl], [dlopen, dlsym], [DL_LIB="-ldl"],[AC_CHECK_LIB([c], [dlopen, dlsym], [DL_LIB="-lc"],[AC_MSG_ERROR([unable to find the dlopen(), dlsym() functions]) ]) ]) - else - AC_CHECK_LIB([pcap], [pcap_open_live], [PCAP_LIB="-lpcap"]) -- if test $ac_cv_lib_pcap_pcap_open_live = "no"; then : -- echo "" -- echo "ERROR: Missing libpcap(-dev) library required to compile the example application" -- echo "ERROR: Please install it and try again" -- exit -- fi -+ if test $ac_cv_lib_pcap_pcap_open_live = "no"; then : -+ AC_MSG_ERROR([Cannot find libpcap which is required to compile the example application]) -+ fi - fi - ;; - esac diff --git a/net-libs/nDPI/files/nDPI-3.4-fix-oob-in-kerberos-dissector.patch b/net-libs/nDPI/files/nDPI-3.4-fix-oob-in-kerberos-dissector.patch deleted file mode 100644 index 7e8f381cdeab..000000000000 --- a/net-libs/nDPI/files/nDPI-3.4-fix-oob-in-kerberos-dissector.patch +++ /dev/null @@ -1,16 +0,0 @@ -Sourced from https://github.com/gentoo/gentoo/commit/c02681fcb7839ac1829ec09394334ddbca1b0aea - -diff --git a/src/lib/protocols/kerberos.c b/src/lib/protocols/kerberos.c -index fa0ab6cb..32319668 100644 ---- a/src/lib/protocols/kerberos.c -+++ b/src/lib/protocols/kerberos.c -@@ -189,7 +189,8 @@ void ndpi_search_kerberos(struct ndpi_detection_module_struct *ndpi_struct, - - body_offset = koffsetp + 1 + pad_len; - -- for(i=0; i<10; i++) if(body_offset<packet->payload_packet_len && packet->payload[body_offset] != 0x05) body_offset++; /* ASN.1 */ -+ for(i=0; i<10 && body_offset < packet->payload_packet_len; i++) -+ if(packet->payload[body_offset] != 0x05) body_offset++; /* ASN.1 */ - #ifdef KERBEROS_DEBUG - printf("body_offset=%u [%02X %02X] [byte 0 must be 0x05]\n", body_offset, packet->payload[body_offset], packet->payload[body_offset+1]); - #endif |