summaryrefslogtreecommitdiff
path: root/net-analyzer/thcrut
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/thcrut')
-rw-r--r--net-analyzer/thcrut/Manifest7
-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
-rw-r--r--net-analyzer/thcrut/metadata.xml11
-rw-r--r--net-analyzer/thcrut/thcrut-1.2.5-r2.ebuild35
7 files changed, 0 insertions, 191 deletions
diff --git a/net-analyzer/thcrut/Manifest b/net-analyzer/thcrut/Manifest
deleted file mode 100644
index 20ed95dc7c06..000000000000
--- a/net-analyzer/thcrut/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX thcrut-1.2.5-configure.patch 2088 BLAKE2B 413e67d125ac4dcf086b06a63519d79d4d049ee6d94455f20a74c02a1ef9a2c8c9be99a268febe14ae2eab6c7a7c4d61a9861d2b6c4cd71f4ba5067ffb4b9c1e SHA512 0d3e77959f534d3231037c0cb71e602842f19dbbf33864100b854931ceb3b47c95017dc84f5f6b557562c338864f8809e20f96ff7f7fa88dafb930a443056d3a
-AUX thcrut-1.2.5-flags.patch 246 BLAKE2B ab0cc5cc76bc4635e68d0c7ca5f4d1f9595c308fee387d0579107be9a295c88e100f6a2157b9503dff5185ac1a2d270cc116230645491535436fbd94d3e337f2 SHA512 4ebfafb9f9d9610b1ed695ca471f5a5284d06069db7a9635bdf29a72032c052f8e60688853048ee7ef90c2c99c3e34a4dcce0b88d2f1e1716a1a4ec3411578d6
-AUX thcrut-1.2.5-fno-common.patch 480 BLAKE2B 745161f671fa666661064b5ad62808ed561be1e4d0ba3d533ee3f67d0d27c8bba821ff966d2fdb5d37e4ea1a4a059b437f99b09be5e5a792ec2937ab99bb67a0 SHA512 c238316e56a225633a5665199c392916dfb6fedbe53f3d1bb763d39c318db753a16b6b91250ff0a93041f4f0e7b55669095431f852c97b7a90cfb65bb4dafe17
-AUX thcrut-1.2.5-libnet.patch 1344 BLAKE2B 1b996af83b2db43dbf1528e3de7fcfc20397b4a1d5f4a033e506e5567c40d639fb0734f86d5cf26cca59ca833d85174b58bd8ff893635c76345e217f0b92773f SHA512 412f925820c3aab4333ee56d7a0d697ebd278225cd90cf0e7abe5edae363faa95c3ff450b5311ddb05e12b2839b99a850a4a7f1a0cc7ce51c6c53c1c56874b07
-DIST thcrut-1.2.5.tar.gz 667929 BLAKE2B c7b5f252006ab06a6886efe82a6d9438df3fe3c61b277bc725f2d8a7ba7f86488b89e0254dfa53f16b5f14f9e0f58bb247e6697db10f1e5e87625322ae633ae4 SHA512 cbef051f0e668e57e13cd3435c109c01aac66a31d5c7a6a1b60a7767fb740d50489c9caefeb8a188d803d5ee3a22e5b7cedf425462a9424ace2dbc2dfe0dda39
-EBUILD thcrut-1.2.5-r2.ebuild 757 BLAKE2B 11c2b66b4f194b53ce010771bb41bbeb04f7c10c3c0e44bf5bf46702ce62ae8ff7f999f80cdd7a6ded964e2365b71cde05fcd8c5d5763f12689aab657969e095 SHA512 a3f96c49d51cf08008317668cd509b6ac424ce022337a891cdab515b9b1a2dbf96df9321897bac4efd6e59a4f0c36a39a71aeedaa63fad766f789ece0f9cdca7
-MISC metadata.xml 367 BLAKE2B 0c4e99f47a17490bed90f97d4e81750952fe079f3cbdca4b0aae7a34e40a255949eac94b7d0a1cb848cea8c80a05a1477230dea2fd2091d2af94887c352a5946 SHA512 98e4882394c8b9e1cba204dfefac51c9069e790d7a516c29097a050eada6ce265d1aa3ef34a3e1e7743d4fb288a57eb6e8b7117459efac4cd091016e090f43ec
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>
diff --git a/net-analyzer/thcrut/metadata.xml b/net-analyzer/thcrut/metadata.xml
deleted file mode 100644
index 1e77e950754e..000000000000
--- a/net-analyzer/thcrut/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>netmon@gentoo.org</email>
- <name>Gentoo network monitoring and analysis project</name>
- </maintainer>
- <upstream>
- <remote-id type="github">hackerschoice/thc-rut</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/net-analyzer/thcrut/thcrut-1.2.5-r2.ebuild b/net-analyzer/thcrut/thcrut-1.2.5-r2.ebuild
deleted file mode 100644
index 0e41e8ac8281..000000000000
--- a/net-analyzer/thcrut/thcrut-1.2.5-r2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-DESCRIPTION="Network discovery and fingerprinting tool"
-HOMEPAGE="http://www.thc.org/thc-rut/"
-SRC_URI="https://github.com/vanhauser-thc/THC-Archive/raw/master/Tools/${P}.tar.gz"
-
-LICENSE="free-noncomm PCRE GPL-1+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc sparc x86"
-
-DEPEND="
- dev-libs/libpcre
- net-libs/libnet:1.0
- net-libs/libpcap
-"
-RDEPEND="
- ${DEPEND}
-"
-DOCS=( ChangeLog FAQ README TODO thcrutlogo.txt )
-PATCHES=(
- "${FILESDIR}"/${P}-configure.patch
- "${FILESDIR}"/${P}-flags.patch
- "${FILESDIR}"/${P}-fno-common.patch
- "${FILESDIR}"/${P}-libnet.patch
-)
-
-src_prepare() {
- rm -r Libnet-1.0.2a pcre-3.9 || die
- default
- eautoreconf
-}