aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/mdcrack/Makefile1
-rw-r--r--security/mdcrack/files/patch-src_MD4_core3.c19
-rw-r--r--security/mdcrack/files/patch-src_MD4_global.h9
-rw-r--r--security/mdcrack/files/patch-src_MD5_core3.c19
-rw-r--r--security/mdcrack/files/patch-src_MD5_global.h9
-rw-r--r--security/mdcrack/files/patch-src_NTLM1_global.h11
-rw-r--r--security/mdcrack/files/patch-src_charset.c12
-rw-r--r--security/mdcrack/files/patch-src_global.h9
8 files changed, 89 insertions, 0 deletions
diff --git a/security/mdcrack/Makefile b/security/mdcrack/Makefile
index b79ee0e9813e..adc046733f64 100644
--- a/security/mdcrack/Makefile
+++ b/security/mdcrack/Makefile
@@ -8,6 +8,7 @@
PORTNAME= mdcrack
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://membres.lycos.fr/mdcrack/download/
diff --git a/security/mdcrack/files/patch-src_MD4_core3.c b/security/mdcrack/files/patch-src_MD4_core3.c
new file mode 100644
index 000000000000..b2aa6ea4efbf
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD4_core3.c
@@ -0,0 +1,19 @@
+*** src/MD4/core3.c.orig Wed Aug 15 02:02:01 2001
+--- src/MD4/core3.c Sun Dec 17 09:13:36 2006
+***************
+*** 1575,1581 ****
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! (unsigned int)bufferr2+=len+35;
+ }
+ else
+
+--- 1575,1581 ----
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! bufferr2=(unsigned int)bufferr2+len+35;
+ }
+ else
+
diff --git a/security/mdcrack/files/patch-src_MD4_global.h b/security/mdcrack/files/patch-src_MD4_global.h
new file mode 100644
index 000000000000..dbef0b732e98
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD4_global.h
@@ -0,0 +1,9 @@
+*** src/MD4/global.h.orig Wed Aug 15 02:03:40 2001
+--- src/MD4/global.h Sun Dec 17 09:19:58 2006
+***************
+*** 1,3 ****
+--- 1,4 ----
++ #include <stdlib.h>
+ #ifdef ISBIG_ENDIAN
+ extern unsigned int x1[14];
+ #else
diff --git a/security/mdcrack/files/patch-src_MD5_core3.c b/security/mdcrack/files/patch-src_MD5_core3.c
new file mode 100644
index 000000000000..3da1655e5535
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD5_core3.c
@@ -0,0 +1,19 @@
+*** src/MD5/core3.c.orig Wed Aug 15 01:59:05 2001
+--- src/MD5/core3.c Sun Dec 17 09:16:57 2006
+***************
+*** 1537,1543 ****
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! (unsigned int)bufferr2+=len+35;
+ }
+ else
+
+--- 1537,1543 ----
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+! bufferr2=(unsigned int)bufferr2+len+35;
+ }
+ else
+
diff --git a/security/mdcrack/files/patch-src_MD5_global.h b/security/mdcrack/files/patch-src_MD5_global.h
new file mode 100644
index 000000000000..2c2a586fc02d
--- /dev/null
+++ b/security/mdcrack/files/patch-src_MD5_global.h
@@ -0,0 +1,9 @@
+*** src/MD5/global.h.orig Wed Aug 15 05:55:31 2001
+--- src/MD5/global.h Sun Dec 17 09:20:01 2006
+***************
+*** 1,3 ****
+--- 1,4 ----
++ #include <stdlib.h>
+ #ifdef ISBIG_ENDIAN
+ extern unsigned int x1[14];
+ #else
diff --git a/security/mdcrack/files/patch-src_NTLM1_global.h b/security/mdcrack/files/patch-src_NTLM1_global.h
new file mode 100644
index 000000000000..9a798af92965
--- /dev/null
+++ b/security/mdcrack/files/patch-src_NTLM1_global.h
@@ -0,0 +1,11 @@
+*** src/NTLM1/global.h.orig Wed Jan 17 17:24:41 2007
+--- src/NTLM1/global.h Wed Jan 17 17:25:02 2007
+***************
+*** 1,3 ****
+--- 1,6 ----
++ #include <stdlib.h>
++ #include <string.h>
++
+ #ifdef ISBIG_ENDIAN
+ extern unsigned int x1[14];
+ #else
diff --git a/security/mdcrack/files/patch-src_charset.c b/security/mdcrack/files/patch-src_charset.c
new file mode 100644
index 000000000000..de7a114b6c6d
--- /dev/null
+++ b/security/mdcrack/files/patch-src_charset.c
@@ -0,0 +1,12 @@
+*** src/charset.c.orig Thu Aug 9 22:19:27 2001
+--- src/charset.c Sun Dec 17 09:19:26 2006
+***************
+*** 10,15 ****
+--- 10,16 ----
+
+
+ #include <stdio.h>
++ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #ifdef NCURSES
diff --git a/security/mdcrack/files/patch-src_global.h b/security/mdcrack/files/patch-src_global.h
new file mode 100644
index 000000000000..4cda965e3297
--- /dev/null
+++ b/security/mdcrack/files/patch-src_global.h
@@ -0,0 +1,9 @@
+*** src/global.h.orig Thu Aug 9 22:19:27 2001
+--- src/global.h Sun Dec 17 09:19:18 2006
+***************
+*** 1,3 ****
+--- 1,4 ----
++ #include <stdlib.h>
+
+
+ #define SYMBOL "-"