summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-07-19 00:59:00 +0000
committerJeroen Roovers <jer@gentoo.org>2014-07-19 00:59:00 +0000
commit74701e527ac00b70a0d67b8974546317d036acf7 (patch)
tree6540add43d260ffeb6088cae386079be566e89c7 /net-wireless/wepattack/files
parentStable for HPPA (bug #516904). (diff)
downloadgentoo-2-74701e527ac00b70a0d67b8974546317d036acf7.tar.gz
gentoo-2-74701e527ac00b70a0d67b8974546317d036acf7.tar.bz2
gentoo-2-74701e527ac00b70a0d67b8974546317d036acf7.zip
EAPI bump. Clean up patches. Fix missing include.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-wireless/wepattack/files')
-rw-r--r--net-wireless/wepattack/files/wepattack-0.1.3-filter-mac-address.patch (renamed from net-wireless/wepattack/files/0.1.3-filter-mac-address.patch)30
-rw-r--r--net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.diff22
-rw-r--r--net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.patch30
3 files changed, 42 insertions, 40 deletions
diff --git a/net-wireless/wepattack/files/0.1.3-filter-mac-address.patch b/net-wireless/wepattack/files/wepattack-0.1.3-filter-mac-address.patch
index 65347e558ecd..63ba5f3473bb 100644
--- a/net-wireless/wepattack/files/0.1.3-filter-mac-address.patch
+++ b/net-wireless/wepattack/files/wepattack-0.1.3-filter-mac-address.patch
@@ -1,6 +1,5 @@
-diff -U 3 -r /src/config.h src/config.h
---- src/config.h 2002-10-24 15:16:34.000000000 +0200
-+++ src/config.h 2004-04-07 00:39:51.000000000 +0200
+--- a/src/config.h
++++ b/src/config.h
@@ -37,7 +37,7 @@
#define WEPKEYSTORE (WEPKEYSIZE * WEPKEYS)
@@ -10,9 +9,8 @@ diff -U 3 -r /src/config.h src/config.h
#endif
-diff -U 3 -r /src/log.c src/log.c
---- src/log.c 2002-10-24 15:15:55.000000000 +0200
-+++ src/log.c 2004-04-07 00:39:51.000000000 +0200
+--- a/src/log.c
++++ b/src/log.c
@@ -73,7 +73,7 @@
fprintf(fp, "Cracking started: %s", ctime(&start_time));
fprintf(fp, "%s\t%s\n", word, in);
@@ -31,9 +29,8 @@ diff -U 3 -r /src/log.c src/log.c
(int)difftime(now, start_time));
}
list = list->next;
-diff -U 3 -r /src/misc.c src/misc.c
---- src/misc.c 2002-10-24 15:15:42.000000000 +0200
-+++ src/misc.c 2004-04-07 00:39:51.000000000 +0200
+--- a/src/misc.c
++++ b/src/misc.c
@@ -40,10 +40,11 @@
fprintf(stdout,"WEPATTACK by Dominik Blunk and Alain ");
fprintf(stdout,"Girardet - Version %s\n", VERSION);
@@ -47,9 +44,8 @@ diff -U 3 -r /src/misc.c src/misc.c
fprintf(stdout,"-m mode \trun wepattack in diffente modes (default: all)\n");
fprintf(stdout,"\t\tvalues: 64, 128, n64, n128\n");
fprintf(stdout,"-n network \tnetwork number to attack\n");
-diff -U 3 -r /src/wepattack.c src/wepattack.c
---- src/wepattack.c 2002-10-24 15:14:29.000000000 +0200
-+++ src/wepattack.c 2004-04-07 00:43:56.000000000 +0200
+--- a/src/wepattack.c
++++ b/src/wepattack.c
@@ -4,6 +4,8 @@
* Author: Alain Girardet/Dominik Blunk
* Last Modified: 2002-10-24
@@ -168,9 +164,8 @@ diff -U 3 -r /src/wepattack.c src/wepattack.c
// arg for packet file to read from
case 'f':
packet_file = optarg;
-diff -U 3 -r /src/wepattack.h src/wepattack.h
---- src/wepattack.h 2002-10-24 15:14:22.000000000 +0200
-+++ src/wepattack.h 2004-04-07 00:39:51.000000000 +0200
+--- a/src/wepattack.h
++++ b/src/wepattack.h
@@ -38,6 +38,7 @@
unsigned char iv[3];
unsigned char key;
@@ -179,9 +174,8 @@ diff -U 3 -r /src/wepattack.h src/wepattack.h
};
/*
-diff -U 3 -r /src/wepfilter.c src/wepfilter.c
---- src/wepfilter.c 2002-10-24 15:14:13.000000000 +0200
-+++ src/wepfilter.c 2004-04-07 00:39:51.000000000 +0200
+--- a/src/wepfilter.c
++++ b/src/wepfilter.c
@@ -104,6 +103,7 @@
memcpy(&newframe->frame.key, data+limits.key, 1);
newframe->frame.key = newframe->frame.key >> 6;
diff --git a/net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.diff b/net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.diff
deleted file mode 100644
index a5e1cf754151..000000000000
--- a/net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur WepAttack-0.1.3.orig/src/modes.c WepAttack-0.1.3/src/modes.c
---- WepAttack-0.1.3.orig/src/modes.c 2002-10-24 17:15:19.000000000 +0400
-+++ WepAttack-0.1.3/src/modes.c 2006-11-06 09:59:46.000000000 +0300
-@@ -20,6 +20,7 @@
-
- #include <sys/types.h>
- #include <stdio.h>
-+#include <string.h>
- #include "modes.h"
- #include "rc4.h"
- #include "wlan/wlan_compat.h"
-diff -Naur WepAttack-0.1.3.orig/src/wepattack.c WepAttack-0.1.3/src/wepattack.c
---- WepAttack-0.1.3.orig/src/wepattack.c 2006-11-06 09:58:33.000000000 +0300
-+++ WepAttack-0.1.3/src/wepattack.c 2006-11-06 09:59:36.000000000 +0300
-@@ -32,6 +32,7 @@
- #include <zlib.h>
- #include <math.h>
- #include <signal.h>
-+#include <string.h>
- #include "wepattack.h"
- #include "wepfilter.h"
- #include "log.h"
diff --git a/net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.patch b/net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.patch
new file mode 100644
index 000000000000..b46220d0eff5
--- /dev/null
+++ b/net-wireless/wepattack/files/wepattack-0.1.3-missed-string.h-warnings-fix.patch
@@ -0,0 +1,30 @@
+--- a/src/modes.c
++++ b/src/modes.c
+@@ -20,6 +20,7 @@
+
+ #include <sys/types.h>
+ #include <stdio.h>
++#include <string.h>
+ #include "modes.h"
+ #include "rc4.h"
+ #include "wlan/wlan_compat.h"
+--- a/src/wepattack.c
++++ b/src/wepattack.c
+@@ -32,6 +32,7 @@
+ #include <zlib.h>
+ #include <math.h>
+ #include <signal.h>
++#include <string.h>
+ #include "wepattack.h"
+ #include "wepfilter.h"
+ #include "log.h"
+--- a/src/verify.c
++++ b/src/verify.c
+@@ -19,6 +19,7 @@
+
+ #include <stdio.h>
+ #include <zlib.h>
++#include <string.h> /* memcmp() */
+
+ int verify_crc32(unsigned char *data, int length, unsigned long* crc) {
+