summaryrefslogtreecommitdiff
path: root/net-libs/nDPI/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-17 02:31:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-17 02:31:41 +0100
commit91e1f8a90b85372d757efd9a1fb7dd1685ea6b50 (patch)
treeebeff59a4470abb242c47417f217e36e21fe6a0c /net-libs/nDPI/files
parentae99f3df3fb5c7ebb085d4a198c1854a4c9a1bee (diff)
gentoo auto-resync : 17:08:2022 - 02:31:41
Diffstat (limited to 'net-libs/nDPI/files')
-rw-r--r--net-libs/nDPI/files/nDPI-3.4-configure-fail-libcap.patch19
-rw-r--r--net-libs/nDPI/files/nDPI-3.4-fix-oob-in-kerberos-dissector.patch16
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