summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-12-20 14:55:53 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-12-20 15:25:29 +0100
commit02ab4e02e3d0380754f7cc7441d7737adb25680e (patch)
tree0a5da2bbf8c1a5c6f21c031c5a6e6ac75b1ade4d /net-analyzer/thcrut/files
parentnet-dns/dnshijacker: treeclean (diff)
downloadgentoo-02ab4e02e3d0380754f7cc7441d7737adb25680e.tar.gz
gentoo-02ab4e02e3d0380754f7cc7441d7737adb25680e.tar.bz2
gentoo-02ab4e02e3d0380754f7cc7441d7737adb25680e.zip
net-analyzer/thcrut: treeclean
Closes: https://bugs.gentoo.org/731154 Closes: https://bugs.gentoo.org/861263 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-analyzer/thcrut/files')
-rw-r--r--net-analyzer/thcrut/files/thcrut-1.2.5-configure.patch42
-rw-r--r--net-analyzer/thcrut/files/thcrut-1.2.5-flags.patch11
-rw-r--r--net-analyzer/thcrut/files/thcrut-1.2.5-fno-common.patch20
-rw-r--r--net-analyzer/thcrut/files/thcrut-1.2.5-libnet.patch65
4 files changed, 0 insertions, 138 deletions
diff --git a/net-analyzer/thcrut/files/thcrut-1.2.5-configure.patch b/net-analyzer/thcrut/files/thcrut-1.2.5-configure.patch
deleted file mode 100644
index daa069e22afd..000000000000
--- a/net-analyzer/thcrut/files/thcrut-1.2.5-configure.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -153,10 +153,8 @@
- dnl libnet_init_packet only available in < libnet-1.1.x
- dnl AC_CHECK_LIB(net, libnet_init_packet,, AC_MSG_ERROR(We need libnet.
- dnl Get libnet from http://www.packetfactory.net or try --with-[[libs,includes]]=DIR))
--AC_CHECK_LIB(net, libnet_init_packet, [NET=yes], [NET=no])
-+AC_CHECK_LIB(net-1.0, libnet_init_packet, [NET=yes], [NET=no])
- if test x"$NET" = x"no" -o x"$DIST" = x"yes"; then
-- AC_CONFIG_SUBDIRS(Libnet-1.0.2a)
-- THCRUT_SUBDIRS="$THCRUT_SUBDIRS Libnet-1.0.2a"
- CPPFLAGS="-I../Libnet-1.0.2a/include ${CPPFLAGS}"
- LDFLAGS="-L../Libnet-1.0.2a/src ${LDFLAGS}"
- PRG_LIBNET_CONFIG_CFLAGS="../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '"
-@@ -164,14 +162,12 @@
- dnl CFLAGS="`${srcdir}/Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` $CFLAGS"
- dnl LIBS="`${srcdir}/Libnet-1.0.2a/libnet-config --libs` $LIBS"
- else
-- CFLAGS="`libnet-config --cflags --defines | tr '\n' ' '` $CFLAGS"
-- LIBS="`libnet-config --libs` $LIBS"
-+ CFLAGS="`libnet-1.0-config --cflags --defines | tr '\n' ' '` $CFLAGS"
-+ LIBS="`libnet-1.0-config --libs` $LIBS"
- fi
-
- AC_CHECK_LIB(pcre, pcre_compile, [PCRE=yes], [PCRE=no])
- if test x"$PCRE" = x"no" -o x"$DIST" = x"yes"; then
-- AC_CONFIG_SUBDIRS(pcre-3.9)
-- THCRUT_SUBDIRS="$THCRUT_SUBDIRS pcre-3.9"
- CPPFLAGS="-I../pcre-3.9 ${CPPFLAGS}"
- LDFLAGS="-L../pcre-3.9 ${LDFLAGS}"
- PRG_PCRE_CONFIG_CFLAGS="../pcre-3.9/pcre-config --cflags"
-@@ -199,8 +195,8 @@
- AC_OUTPUT(Makefile src/Makefile)
-
- dnl Just to show the correct values...
--CFLAGS="`${srcdir}/pcre-3.9/pcre-config --cflags` `${srcdir}/Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` $CFLAGS"
--LIBS="`${srcdir}/pcre-3.9/pcre-config --libs` `${srcdir}/Libnet-1.0.2a/libnet-config --libs` $LIBS"
-+CFLAGS="`${srcdir}/pcre-3.9/pcre-config --cflags` `libnet-config --cflags --defines | tr '\n' ' '` $CFLAGS"
-+LIBS="`${srcdir}/pcre-3.9/pcre-config --libs` `libnet-config --libs` $LIBS"
-
- echo "THCrut has been configured with the following options:"
- echo " User binaries: $B"
diff --git a/net-analyzer/thcrut/files/thcrut-1.2.5-flags.patch b/net-analyzer/thcrut/files/thcrut-1.2.5-flags.patch
deleted file mode 100644
index 0a6bcaf4ebce..000000000000
--- a/net-analyzer/thcrut/files/thcrut-1.2.5-flags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -23,7 +23,7 @@
- dnl
- dnl Use these compiler flags if we have gcc.
- dnl
--if test $ac_cv_prog_gcc = yes; then
-+if test $ac_cv_prog_gcc_not_on_gentoo = yes; then
- CCOPTS='-O2 -Wall'
- CFLAGS="$CCOPTS"
- fi
diff --git a/net-analyzer/thcrut/files/thcrut-1.2.5-fno-common.patch b/net-analyzer/thcrut/files/thcrut-1.2.5-fno-common.patch
deleted file mode 100644
index a934048f341e..000000000000
--- a/net-analyzer/thcrut/files/thcrut-1.2.5-fno-common.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/discover_dispatch.c
-+++ b/src/discover_dispatch.c
-@@ -81,7 +81,6 @@
-
- unsigned short ip_tcp_sync_chksum;
- unsigned short ip_tcp_fp_chksum;
--struct sockaddr_in ip_tcp_sync_addr;
- static dispatch_func_recv_t dispatch_funcs[] = {
- dis_recvdummy,
- dis_recv,
---- a/src/discover_main.c
-+++ b/src/discover_main.c
-@@ -22,7 +22,6 @@
- extern struct _opt opt;
- extern char ip_tcp_sync[];
-
--struct sockaddr_in ip_tcp_sync_addr;
- int rawsox;
-
- #define DFL_HOSTS_PARALLEL (5000)
diff --git a/net-analyzer/thcrut/files/thcrut-1.2.5-libnet.patch b/net-analyzer/thcrut/files/thcrut-1.2.5-libnet.patch
deleted file mode 100644
index 87488c8c5196..000000000000
--- a/net-analyzer/thcrut/files/thcrut-1.2.5-libnet.patch
+++ /dev/null
@@ -1,65 +0,0 @@
---- a/src/arp_main.c
-+++ b/src/arp_main.c
-@@ -18 +18 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/arpg.c
-+++ b/src/arpg.c
-@@ -12 +12 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/dhcp_main.c
-+++ b/src/dhcp_main.c
-@@ -14 +14 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/discover_dispatch.c
-+++ b/src/discover_dispatch.c
-@@ -10 +10 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/discover_main.c
-+++ b/src/discover_main.c
-@@ -8 +8 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/fp.h
-+++ b/src/fp.h
-@@ -10 +10 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/icmp_main.c
-+++ b/src/icmp_main.c
-@@ -14 +14 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/network_raw.c
-+++ b/src/network_raw.c
-@@ -10 +10 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/packets.c
-+++ b/src/packets.c
-@@ -6 +6 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/thcrut.c
-+++ b/src/thcrut.c
-@@ -87 +87 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/thcrut.h
-+++ b/src/thcrut.h
-@@ -7 +7 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/thcrut_libnet.c
-+++ b/src/thcrut_libnet.c
-@@ -5 +5 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/thcrut_libnet.h
-+++ b/src/thcrut_libnet.h
-@@ -5 +5 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>