diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-12-12 14:34:54 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-12-12 14:34:54 +0100 |
commit | 884f8212a95ff555aa78718f98ec19b129787a76 (patch) | |
tree | 73524a8d5bc92dcd163b8084475bd714329098f7 /net-analyzer | |
parent | net-analyzer/hunt: remove unused patch (diff) | |
download | gentoo-884f8212a95ff555aa78718f98ec19b129787a76.tar.gz gentoo-884f8212a95ff555aa78718f98ec19b129787a76.tar.bz2 gentoo-884f8212a95ff555aa78718f98ec19b129787a76.zip |
net-analyzer/netdiscover: remove unused patch(es)
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer')
3 files changed, 0 insertions, 103 deletions
diff --git a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-fno-common.patch b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-fno-common.patch deleted file mode 100644 index 8355321085d1..000000000000 --- a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-fno-common.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- ./src/ifaces.c -+++ ./src/ifaces.c -@@ -72,6 +72,7 @@ - unsigned char smac[ETH_ALEN]; - struct p_header *temp_header; - -+char *ourmac, errbuf[PCAP_ERRBUF_SIZE]; - - /* Start Sniffing on given iface */ - void *start_sniffer(void *args) ---- ./src/ifaces.h -+++ ./src/ifaces.h -@@ -46,7 +46,7 @@ - - - // Shitty globals -- char *ourmac, errbuf[PCAP_ERRBUF_SIZE]; -+ extern char *ourmac, errbuf[PCAP_ERRBUF_SIZE]; - - // Sniffer Functions - void *start_sniffer(void *); ---- a/src/screen.c -+++ b/src/screen.c -@@ -48,6 +48,7 @@ - struct arp_rep_c *arprep_count; - struct winsize win_sz; - pthread_mutex_t *listm; -+char *current_network; - - int scroll; - int smode, oldmode; ---- ./src/screen.h -+++ ./src/screen.h -@@ -24,7 +24,7 @@ - - - /* Ohh no, more globals */ --char *current_network; -+extern char *current_network; - - - /* Structs for counters */ diff --git a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-gentoo.patch b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-gentoo.patch deleted file mode 100644 index d70fc36de5a5..000000000000 --- a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-gentoo.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -5,7 +5,7 @@ - - AC_INIT(configure.in) - AM_INIT_AUTOMAKE(netdiscover, 0.3-beta6) --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - AM_MAINTAINER_MODE - - dnl get system information -@@ -35,7 +35,6 @@ - - AC_ISC_POSIX - AC_PROG_CC --AM_PROG_CC_STDC - AC_HEADER_STDC - - AM_PROG_LIBTOOL ---- a/Makefile.am -+++ b/Makefile.am -@@ -5,8 +5,8 @@ - - SUBDIRS = src doc - --netdiscoverdocdir = ${prefix}/doc/netdiscover --netdiscoverdoc_DATA = \ -+noinstdir = ${prefix}/doc/netdiscover -+noinst_DATA = \ - README\ - COPYING\ - AUTHORS\ -@@ -15,7 +15,7 @@ - NEWS\ - TODO - --EXTRA_DIST = $(netdiscoverdoc_DATA) -+EXTRA_DIST = $(noinst_DATA) - - - diff --git a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-misc.patch b/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-misc.patch deleted file mode 100644 index 2b92bfde8629..000000000000 --- a/net-analyzer/netdiscover/files/netdiscover-0.3_beta6-misc.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/misc.c -+++ b/src/misc.c -@@ -33,7 +33,7 @@ - - char *search_vendor(unsigned char mac[6]) - { -- char tmac[6]; -+ char tmac[7]; - int i = 0; - - sprintf(tmac, "%02x%02x%02x", mac[0], mac[1], mac[2]); -@@ -42,7 +42,7 @@ - for (i=0; i<6; i++) - tmac[i] = toupper(tmac[i]); - -- for (i=0; i<8436; i++) -+ for (i=0; i<NUM_OUI_RECORDS; i++) - { - if (strcmp(oui_table[i].prefix, tmac) == 0) - return oui_table[i].vendor; |