summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-09-10 22:47:30 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-09-10 22:47:30 +0000
commitc03cb4a1ff44265a4e471066504e65e0be021012 (patch)
tree4d6cae5c6e10e0e349b670efb9b3b59ae13f1835 /app-crypt/mdcrack
parentSecurity bump for CAN-2005-2491 and CAN-2005-2700. Fixes bugs 103554 and 104807 (diff)
downloadgentoo-2-c03cb4a1ff44265a4e471066504e65e0be021012.tar.gz
gentoo-2-c03cb4a1ff44265a4e471066504e65e0be021012.tar.bz2
gentoo-2-c03cb4a1ff44265a4e471066504e65e0be021012.zip
add gcc4 patch
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-crypt/mdcrack')
-rw-r--r--app-crypt/mdcrack/ChangeLog6
-rw-r--r--app-crypt/mdcrack/Manifest3
-rw-r--r--app-crypt/mdcrack/files/mdcrack-1.2-gcc4.diff24
-rw-r--r--app-crypt/mdcrack/mdcrack-1.2.ebuild11
4 files changed, 39 insertions, 5 deletions
diff --git a/app-crypt/mdcrack/ChangeLog b/app-crypt/mdcrack/ChangeLog
index 270c0b5feeb7..3aa85fcc7b93 100644
--- a/app-crypt/mdcrack/ChangeLog
+++ b/app-crypt/mdcrack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/mdcrack
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mdcrack/ChangeLog,v 1.2 2005/08/19 03:48:46 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mdcrack/ChangeLog,v 1.3 2005/09/10 22:47:30 vanquirius Exp $
+
+ 10 Sep 2005; Marcelo Goes <vanquirius@gentoo.org>
+ +files/mdcrack-1.2-gcc4.diff, mdcrack-1.2.ebuild:
+ Add gcc4 patch.
19 Aug 2005; Luis Medinas <metalgod@gentoo.org> mdcrack-1.2.ebuild:
Added ~amd64 keywords.
diff --git a/app-crypt/mdcrack/Manifest b/app-crypt/mdcrack/Manifest
index 4e71075b44af..04fb3575b483 100644
--- a/app-crypt/mdcrack/Manifest
+++ b/app-crypt/mdcrack/Manifest
@@ -1,4 +1,5 @@
+MD5 9d5e0352db0642ef1addc43ecb59d093 mdcrack-1.2.ebuild 883
MD5 c2eadc15e1c5c0d481bd632856251484 ChangeLog 484
-MD5 6a35d37a2b6a61588655bf1899a81c8a mdcrack-1.2.ebuild 803
MD5 243e4cd9809545d12f991b2d417040e1 metadata.xml 159
MD5 932a24d00b1e543f0fffa0363784f4e4 files/digest-mdcrack-1.2 62
+MD5 41eacdadf88b3d69c1adf8c98b8939af files/mdcrack-1.2-gcc4.diff 798
diff --git a/app-crypt/mdcrack/files/mdcrack-1.2-gcc4.diff b/app-crypt/mdcrack/files/mdcrack-1.2-gcc4.diff
new file mode 100644
index 000000000000..1b01d97e4175
--- /dev/null
+++ b/app-crypt/mdcrack/files/mdcrack-1.2-gcc4.diff
@@ -0,0 +1,24 @@
+diff --exclude='*~' -Naur mdcrack-1.2.orig/src/MD4/core3.c mdcrack-1.2/src/MD4/core3.c
+--- mdcrack-1.2.orig/src/MD4/core3.c 2005-09-10 19:19:56.000000000 -0300
++++ mdcrack-1.2/src/MD4/core3.c 2005-09-10 19:28:47.000000000 -0300
+@@ -1575,7 +1575,7 @@
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+- (unsigned int)bufferr2+=len+35;
++ bufferr2+=(len+35);
+ }
+ else
+
+diff --exclude='*~' -Naur mdcrack-1.2.orig/src/MD5/core3.c mdcrack-1.2/src/MD5/core3.c
+--- mdcrack-1.2.orig/src/MD5/core3.c 2005-09-10 19:19:56.000000000 -0300
++++ mdcrack-1.2/src/MD5/core3.c 2005-09-10 19:29:02.000000000 -0300
+@@ -1537,7 +1537,7 @@
+
+ ascii2bin(test, conv, hash);
+ Decode(result2, hash, 16);
+- (unsigned int)bufferr2+=len+35;
++ bufferr2+=len+35;
+ }
+ else
+
diff --git a/app-crypt/mdcrack/mdcrack-1.2.ebuild b/app-crypt/mdcrack/mdcrack-1.2.ebuild
index bb02dde1fee9..430dc02e24a0 100644
--- a/app-crypt/mdcrack/mdcrack-1.2.ebuild
+++ b/app-crypt/mdcrack/mdcrack-1.2.ebuild
@@ -1,16 +1,22 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mdcrack/mdcrack-1.2.ebuild,v 1.2 2005/08/19 03:48:46 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mdcrack/mdcrack-1.2.ebuild,v 1.3 2005/09/10 22:47:30 vanquirius Exp $
+
+inherit eutils
-IUSE="ncurses"
DESCRIPTION="A MD4/MD5/NTML hashes bruteforcer."
HOMEPAGE="http://mdcrack.df.ru/"
SRC_URI="http://mdcrack.df.ru/download/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
+IUSE="ncurses"
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gcc4.diff
+}
src_compile() {
use ncurses || \
@@ -30,4 +36,3 @@ src_install() {
dobin bin/mdcrack
dodoc BENCHMARKS CREDITS FAQ README TODO VERSIONS WWW
}
-