summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-12-14 00:09:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-12-14 00:09:21 +0000
commitae514b52915d08199801a79d410aa91aa56a5806 (patch)
tree5296a70a05c8b6ed04069e6d0f0cd07ce92e9b01 /app-crypt/rainbowcrack
parentAdd patch to build with GCC 4.3, thanks to Bert Karwatzki in bug #250628. (diff)
downloadhistorical-ae514b52915d08199801a79d410aa91aa56a5806.tar.gz
historical-ae514b52915d08199801a79d410aa91aa56a5806.tar.bz2
historical-ae514b52915d08199801a79d410aa91aa56a5806.zip
Add patch to build with GCC 4.3, thanks to Bert Karwatzki in bug #250623.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27-gentoo-r5 x86_64
Diffstat (limited to 'app-crypt/rainbowcrack')
-rw-r--r--app-crypt/rainbowcrack/ChangeLog6
-rw-r--r--app-crypt/rainbowcrack/Manifest15
-rw-r--r--app-crypt/rainbowcrack/files/rainbowcrack-1.2+gcc-4.3.patch67
-rw-r--r--app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild3
4 files changed, 87 insertions, 4 deletions
diff --git a/app-crypt/rainbowcrack/ChangeLog b/app-crypt/rainbowcrack/ChangeLog
index f44d7299e2dd..cb906bdc605b 100644
--- a/app-crypt/rainbowcrack/ChangeLog
+++ b/app-crypt/rainbowcrack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/rainbowcrack
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/ChangeLog,v 1.11 2008/06/20 14:32:02 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/ChangeLog,v 1.12 2008/12/14 00:09:21 flameeyes Exp $
+
+ 14 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+ +files/rainbowcrack-1.2+gcc-4.3.patch, rainbowcrack-1.2-r1.ebuild:
+ Add patch to build with GCC 4.3, thanks to Bert Karwatzki in bug #250623.
20 Jun 2008; Daniel Black <dragonheart@gentoo.org>
+files/rainbowcrack-1.2-types.patch, rainbowcrack-1.2-r1.ebuild:
diff --git a/app-crypt/rainbowcrack/Manifest b/app-crypt/rainbowcrack/Manifest
index d661ee1d04d6..5ec0b568f897 100644
--- a/app-crypt/rainbowcrack/Manifest
+++ b/app-crypt/rainbowcrack/Manifest
@@ -1,8 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX rainbowcrack-1.2+gcc-4.3.patch 2614 RMD160 85f1a03f1a949d73a201dd5c8e950024092332be SHA1 9679029c5a8fe1a7e3ad51d8a8d1aaaab70ea173 SHA256 6746563b8c89e3e09d9e303f39c6d2f7dbe84c2c91422b7d0add3753a0c92fa0
AUX rainbowcrack-1.2-makefile.patch 1134 RMD160 d485f338a7d420ceb3e4d7fceb3c61c78621c011 SHA1 f34e13a62791609de36be670362aecc8fae2ef01 SHA256 ba9f6240c37b48d2dc1d9bd8c705590818766f8b69355394d690c7be15b61f5c
AUX rainbowcrack-1.2-share.patch 579 RMD160 5831f6872c8fa2affca87741ef03de8e05376e27 SHA1 2b38810045004c9732e93dcb30ddc13fb6e4aa26 SHA256 63d2da05ca27c79e758c87cef42c877a1bf57daa0ae81493b6693cfaf02574e8
AUX rainbowcrack-1.2-types.patch 299 RMD160 bd0d5e48244c55741398da3b63241515c6e68730 SHA1 54535cd8fc91c6eae4275515bc6aa0010b67200d SHA256 56a99d1593c55484aefe253ed3014a2c3eaca9d62cb6fbc2a550171dc36f0ef2
DIST rainbowcrack-1.2-src-algorithmpatch.zip 3029 RMD160 3293cfcf69677ca6812333dd97952f0e354ce96a SHA1 22697cc8bbeeded21a1863329a2666e9a6fb1268 SHA256 ccc646087692da1e02b1921f97d6c9d2784534153f4570b62de0f122c4c3b322
DIST rainbowcrack-1.2-src.zip 44742 RMD160 51fdcf84ebfbe8ebb9e5bc6c3d4452f9d158eb79 SHA1 b077a654133cd108a3c619d66482e1796d56b0dc SHA256 238485eeede5140cfc66b88761ec976b7af8b5557ec5bd4eddbcd98830a34dac
-EBUILD rainbowcrack-1.2-r1.ebuild 1773 RMD160 ef1d9889b4e679d58690b4806727174826248864 SHA1 177709a59d3f33b90662b3ad14415880fd6f1a14 SHA256 bef398919bed0bd2efb9140bdff38f0043a0ece8d6518bccb7b5657cc96e61ab
-MISC ChangeLog 1714 RMD160 bc1e9a4533761958d92a8e072ea406459e7c8d78 SHA1 b009897ed6db45e8458ace2e3efe3c02d5115496 SHA256 7b189f96463ac510dbb663eaa2f19d9b304e218512effff25854a7e564a476cf
+EBUILD rainbowcrack-1.2-r1.ebuild 1812 RMD160 3ced1ececd6c95fec95f88402c979cd09222e242 SHA1 a57090e102fe65d7d3e02ac27c9db753caee5ecc SHA256 52364423412c40509dac3fbf7cbc53445f9e149ecc14ecc5077a8ef989367de2
+MISC ChangeLog 1914 RMD160 ce9bbf6ef6feaaa469c5666e8094b08a678f8b9e SHA1 f9cab317120ac92cfca444ef6fe08683dba8b8a7 SHA256 e642a5412412b3372622e8ea283671b3e3126c74ea31c9f4b5cd71505fd072f3
MISC metadata.xml 988 RMD160 183293dd3ff7a2a9fa4e6d4bf96992a65373a3c6 SHA1 07dc36220f7b4bdd6f6ebbdff3c9c89f358f1de5 SHA256 3a19812834671dc4d343f678fe3c609acd169519d511d01eca82c56e9b0ba041
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklETrYACgkQAiZjviIA2XiXRwCfY9kzowEZA9taoWm8KzinGGap
+u6cAoMGtEyYtwLiUww10XNR2wvpdiSVG
+=s0Rb
+-----END PGP SIGNATURE-----
diff --git a/app-crypt/rainbowcrack/files/rainbowcrack-1.2+gcc-4.3.patch b/app-crypt/rainbowcrack/files/rainbowcrack-1.2+gcc-4.3.patch
new file mode 100644
index 000000000000..cc3fb0c1429f
--- /dev/null
+++ b/app-crypt/rainbowcrack/files/rainbowcrack-1.2+gcc-4.3.patch
@@ -0,0 +1,67 @@
+diff -aur rainbowcrack-1.2-src.old/src/ChainWalkContext.cpp rainbowcrack-1.2-src/src/ChainWalkContext.cpp
+--- rainbowcrack-1.2-src.old/src/ChainWalkContext.cpp 2008-12-11 20:55:23.000000000 +0100
++++ rainbowcrack-1.2-src/src/ChainWalkContext.cpp 2008-12-11 20:56:15.000000000 +0100
+@@ -10,6 +10,7 @@
+
+ #include "ChainWalkContext.h"
+
++#include <cstring>
+ #include <ctype.h>
+ #include <openssl/rand.h>
+ #ifdef _WIN32
+diff -aur rainbowcrack-1.2-src.old/src/ChainWalkSet.cpp rainbowcrack-1.2-src/src/ChainWalkSet.cpp
+--- rainbowcrack-1.2-src.old/src/ChainWalkSet.cpp 2008-12-11 20:55:23.000000000 +0100
++++ rainbowcrack-1.2-src/src/ChainWalkSet.cpp 2008-12-11 20:59:07.000000000 +0100
+@@ -8,6 +8,7 @@
+ #pragma warning(disable : 4786)
+ #endif
+
++#include <cstring>
+ #include "ChainWalkSet.h"
+
+ CChainWalkSet::CChainWalkSet()
+diff -aur rainbowcrack-1.2-src.old/src/RainbowCrack.cpp rainbowcrack-1.2-src/src/RainbowCrack.cpp
+--- rainbowcrack-1.2-src.old/src/RainbowCrack.cpp 2008-12-11 20:55:23.000000000 +0100
++++ rainbowcrack-1.2-src/src/RainbowCrack.cpp 2008-12-11 20:59:48.000000000 +0100
+@@ -18,6 +18,7 @@
+ #include <unistd.h>
+ #endif
+
++#include <cstring>
+ #include <openssl/md4.h>
+ #ifdef _WIN32
+ #pragma comment(lib, "libeay32.lib")
+diff -aur rainbowcrack-1.2-src.old/src/RainbowTableDump.cpp rainbowcrack-1.2-src/src/RainbowTableDump.cpp
+--- rainbowcrack-1.2-src.old/src/RainbowTableDump.cpp 2008-12-11 20:55:23.000000000 +0100
++++ rainbowcrack-1.2-src/src/RainbowTableDump.cpp 2008-12-11 20:57:57.000000000 +0100
+@@ -4,6 +4,7 @@
+ Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>
+ */
+
++#include <algorithm>
+ #include "ChainWalkContext.h"
+
+ int main(int argc, char* argv[])
+diff -aur rainbowcrack-1.2-src.old/src/RainbowTableGenerate.cpp rainbowcrack-1.2-src/src/RainbowTableGenerate.cpp
+--- rainbowcrack-1.2-src.old/src/RainbowTableGenerate.cpp 2008-12-11 20:55:23.000000000 +0100
++++ rainbowcrack-1.2-src/src/RainbowTableGenerate.cpp 2008-12-11 20:57:29.000000000 +0100
+@@ -15,6 +15,8 @@
+ #endif
+ #include <time.h>
+
++#include <cstring>
++#include <algorithm>
+ #include "ChainWalkContext.h"
+
+ void Usage()
+diff -aur rainbowcrack-1.2-src.old/src/RainbowTableSort.cpp rainbowcrack-1.2-src/src/RainbowTableSort.cpp
+--- rainbowcrack-1.2-src.old/src/RainbowTableSort.cpp 2008-12-11 20:55:23.000000000 +0100
++++ rainbowcrack-1.2-src/src/RainbowTableSort.cpp 2008-12-11 20:58:43.000000000 +0100
+@@ -4,6 +4,7 @@
+ Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>
+ */
+
++#include <cstdlib>
+ #include "Public.h"
+
+ #define ASSUMED_MIN_MEMORY 32 * 1024 * 1024
diff --git a/app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild b/app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild
index e8981fc0fade..185d3d233076 100644
--- a/app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild
+++ b/app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild,v 1.5 2008/06/20 14:32:02 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/rainbowcrack-1.2-r1.ebuild,v 1.6 2008/12/14 00:09:21 flameeyes Exp $
inherit eutils toolchain-funcs
@@ -29,6 +29,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}-makefile.patch"
epatch "${FILESDIR}/${P}-share.patch"
epatch "${FILESDIR}/${P}-types.patch"
+ epatch "${FILESDIR}/${P}+gcc-4.3.patch"
sed -i "s#@@SHARE@@#/usr/share/${P}#g" ChainWalkContext.cpp || die
}