diff options
author | Dane Smith <c1pher@gentoo.org> | 2010-10-13 13:32:10 +0000 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2010-10-13 13:32:10 +0000 |
commit | 5624999cdf523a3e1d8e8ead9c5148b562fb4e3c (patch) | |
tree | 0734d3caf11d067165407806798a2ec5e7d54159 /app-crypt/rainbowcrack | |
parent | Version bump for johntheripper. (diff) | |
download | historical-5624999cdf523a3e1d8e8ead9c5148b562fb4e3c.tar.gz historical-5624999cdf523a3e1d8e8ead9c5148b562fb4e3c.tar.bz2 historical-5624999cdf523a3e1d8e8ead9c5148b562fb4e3c.zip |
Revision bump for rainbowcrack wrt bug 331877.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'app-crypt/rainbowcrack')
-rw-r--r-- | app-crypt/rainbowcrack/ChangeLog | 15 | ||||
-rw-r--r-- | app-crypt/rainbowcrack/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile-asneeded.patch | 29 | ||||
-rw-r--r-- | app-crypt/rainbowcrack/rainbowcrack-1.2-r2.ebuild | 65 |
4 files changed, 108 insertions, 5 deletions
diff --git a/app-crypt/rainbowcrack/ChangeLog b/app-crypt/rainbowcrack/ChangeLog index 4ef3533b075b..536707dd69b2 100644 --- a/app-crypt/rainbowcrack/ChangeLog +++ b/app-crypt/rainbowcrack/ChangeLog @@ -1,10 +1,17 @@ # ChangeLog for app-crypt/rainbowcrack # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/ChangeLog,v 1.15 2010/07/11 06:58:44 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/ChangeLog,v 1.16 2010/10/13 13:32:09 c1pher Exp $ + +*rainbowcrack-1.2-r2 (13 Oct 2010) + + 13 Oct 2010; Dane Smith <c1pher@gentoo.org> +rainbowcrack-1.2-r2.ebuild, + +files/rainbowcrack-1.2-makefile-asneeded.patch: + Revision bump for rainbowcrack. Addresses lack of LDFLAGS respect wrt bug + #331877. 11 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> rainbowcrack-1.2-r1.ebuild, +files/rainbowcrack-1.2-openssl-1.patch: - Fix building with OpenSSL >= 1.0.0 wrt #327373 by Diego E. Pettenò. + Fix building with OpenSSL >= 1.0.0 wrt #327373 by Diego E. Pettenò. 29 Mar 2009; Patrick Lauer <patrick@gentoo.org> rainbowcrack-1.2-r1.ebuild: @@ -14,7 +21,7 @@ +files/rainbowcrack-1.2-asneeded.patch, rainbowcrack-1.2-r1.ebuild: QA: Fixed compilation with forced --as-needed (bug 246871) - 14 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org> + 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. @@ -33,7 +40,7 @@ 11 Nov 2007; Samuli Suominen <drac@gentoo.org> rainbowcrack-1.2-r1.ebuild: amd64 stable wrt #198673 - 11 Nov 2007; Dawid Węgliński <cla@gentoo.org> ChangeLog: + 11 Nov 2007; Dawid WÄgliÅski <cla@gentoo.org> ChangeLog: Stable on x86 (bug #198673) *rainbowcrack-1.2-r1 (01 Nov 2006) diff --git a/app-crypt/rainbowcrack/Manifest b/app-crypt/rainbowcrack/Manifest index c8a1be444093..1a02a2fd8ddb 100644 --- a/app-crypt/rainbowcrack/Manifest +++ b/app-crypt/rainbowcrack/Manifest @@ -1,5 +1,6 @@ AUX rainbowcrack-1.2+gcc-4.3.patch 2614 RMD160 85f1a03f1a949d73a201dd5c8e950024092332be SHA1 9679029c5a8fe1a7e3ad51d8a8d1aaaab70ea173 SHA256 6746563b8c89e3e09d9e303f39c6d2f7dbe84c2c91422b7d0add3753a0c92fa0 AUX rainbowcrack-1.2-asneeded.patch 1211 RMD160 4e54024bd065ed65fca7f713528327bd9826ca59 SHA1 a7307793f63127dc715e0f911237314b63694b2b SHA256 20124049250cffcabb6760be6eced24f1fd19fb05b402fc872224ce3192e9c7e +AUX rainbowcrack-1.2-makefile-asneeded.patch 1431 RMD160 825f8d494c9d69e7694716b43b62a1add0e0f78a SHA1 6e28ede87f48b124d40af4a045a558af26f5c703 SHA256 e667cfb97bb22a376fe22b6eefe16507f0ecaafc0946f6e4f4a2a9c81332447d AUX rainbowcrack-1.2-makefile.patch 1134 RMD160 d485f338a7d420ceb3e4d7fceb3c61c78621c011 SHA1 f34e13a62791609de36be670362aecc8fae2ef01 SHA256 ba9f6240c37b48d2dc1d9bd8c705590818766f8b69355394d690c7be15b61f5c AUX rainbowcrack-1.2-openssl-1.patch 1409 RMD160 a5a31333358deb01360eeb58c8cda584598a25cf SHA1 71af69c1cb7a1758fefa147d7ea1b258865626cb SHA256 3eb3455f2908dae4e2d642cf175799d5fce3351adc449f448a41801d7cb275e9 AUX rainbowcrack-1.2-share.patch 579 RMD160 5831f6872c8fa2affca87741ef03de8e05376e27 SHA1 2b38810045004c9732e93dcb30ddc13fb6e4aa26 SHA256 63d2da05ca27c79e758c87cef42c877a1bf57daa0ae81493b6693cfaf02574e8 @@ -7,5 +8,6 @@ AUX rainbowcrack-1.2-types.patch 299 RMD160 bd0d5e48244c55741398da3b63241515c6e6 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 2034 RMD160 5a229d6e3c3e8b40f43583c64230d58369ea1332 SHA1 a7b34d2af390b92f9bf94fb663c833e3ffd45b39 SHA256 9237d2d671c871959d7f96d778269ba4098902a503aefcdc0bb08bec1eacc1cb -MISC ChangeLog 2406 RMD160 50a5bdf80f68b6343bd7719c7063386f5e96254f SHA1 f7e0d961848148dd1a80ac4bd4fae920698dee45 SHA256 7023c4263e9cb3a385e92cfdb58127120740536c57a84b7cf619a94eb426d25d +EBUILD rainbowcrack-1.2-r2.ebuild 2004 RMD160 fde6c146b29a63d7401cf85541a291da102238b0 SHA1 9bfa56d5b41e9bf53c11815a048b85e4ac6a55cb SHA256 43e2a9234eef2615f27c14fe1d96cf4f4d5fc7beb0cb12028a887861d4cc3f75 +MISC ChangeLog 2661 RMD160 9fa9950f679fe975542f40c164252ebaa65c8651 SHA1 efa9c2bb8282669382ea6c8f690b9a7d90ba3f3f SHA256 cd8484f8afcb9a05fa18ea425944412f91cb838574aa46be70855c110926c910 MISC metadata.xml 988 RMD160 183293dd3ff7a2a9fa4e6d4bf96992a65373a3c6 SHA1 07dc36220f7b4bdd6f6ebbdff3c9c89f358f1de5 SHA256 3a19812834671dc4d343f678fe3c609acd169519d511d01eca82c56e9b0ba041 diff --git a/app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile-asneeded.patch b/app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile-asneeded.patch new file mode 100644 index 000000000000..d8073297f6a5 --- /dev/null +++ b/app-crypt/rainbowcrack/files/rainbowcrack-1.2-makefile-asneeded.patch @@ -0,0 +1,29 @@ +--- makefile.linux 2003-11-16 22:38:20.000000000 -0500 ++++ Makefile 2010-08-09 13:10:59.000000000 -0400 +@@ -1,14 +1,18 @@ ++OBJS = Public.o ChainWalkContext.o ChainWalkSet.o CrackEngine.o HashAlgorithm.o HashSet.o HashRoutine.o MemoryPool.o RainbowCrack.o RainbowTableDump.o RainbowTableGenerate.o RainbowTableSort.o + + all: rtgen rtdump rtsort rcrack + +-rtgen: +- g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O3 -o rtgen ++rtgen: $(OBJS) ++ $(CXX) $(LDFLAGS) Public.o ChainWalkContext.o HashAlgorithm.o HashRoutine.o RainbowTableGenerate.o -lssl -lcrypto -o rtgen + +-rtdump: +- g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableDump.cpp -lssl -o rtdump ++rtdump: $(OBJS) ++ $(CXX) $(LDFLAGS) Public.o ChainWalkContext.o HashAlgorithm.o HashRoutine.o RainbowTableDump.o -lssl -lcrypto -o rtdump + +-rtsort: +- g++ Public.cpp RainbowTableSort.cpp -o rtsort ++rtsort: $(OBJS) ++ $(CXX) $(LDFLAGS) Public.o RainbowTableSort.o -o rtsort + +-rcrack: +- g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp HashSet.cpp MemoryPool.cpp ChainWalkSet.cpp CrackEngine.cpp RainbowCrack.cpp -lssl -O3 -o rcrack ++rcrack: $(OBJS) ++ $(CXX) $(LDFLAGS) Public.o ChainWalkContext.o HashAlgorithm.o HashRoutine.o HashSet.o MemoryPool.o ChainWalkSet.o CrackEngine.o RainbowCrack.o -lssl -lcrypto -o rcrack ++ ++clean: ++ rm -f $(OBJS) rtgen rtdump rtsort rcrack diff --git a/app-crypt/rainbowcrack/rainbowcrack-1.2-r2.ebuild b/app-crypt/rainbowcrack/rainbowcrack-1.2-r2.ebuild new file mode 100644 index 000000000000..69deff17a7d9 --- /dev/null +++ b/app-crypt/rainbowcrack/rainbowcrack-1.2-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/rainbowcrack/rainbowcrack-1.2-r2.ebuild,v 1.1 2010/10/13 13:32:09 c1pher Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Hash cracker that precomputes plaintext - ciphertext pairs in advance" +HOMEPAGE="http://project-rainbowcrack.com/" + +SRC_URI="http://project-rainbowcrack.com/${P}-src.zip + http://http://project-rainbowcrack.com/${P}-src-algorithmpatch.zip" + +LICENSE="as-is" +SLOT="0" +# contains ix86 ASM +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl" +DEPEND="${RDEPEND} app-arch/unzip" + +MY_P=${P}-src +S=${WORKDIR}/${MY_P}/src + +src_unpack() { + unpack ${A} || die "unpack failed" + cd "${S}" + mv "${WORKDIR}/${P}"-src-algorithmpatch/Hash* "${S}" + epatch "${FILESDIR}/${P}-makefile-asneeded.patch" \ + "${FILESDIR}/${P}-share.patch" \ + "${FILESDIR}/${P}-types.patch" \ + "${FILESDIR}/${P}+gcc-4.3.patch" \ + "${FILESDIR}/${P}-openssl-1.patch" + sed -i "s#@@SHARE@@#/usr/share/${P}#g" ChainWalkContext.cpp || die +} + +src_compile() { + # No ./configure script so we assume md2.h is missing if OpenSSL >= 1.0.0 + has_version ">=dev-libs/openssl-1.0.0" && append-flags -Dno_md2_h + emake -f makefile.linux CXX=$(tc-getCXX) || die "make failed" +} + +src_test() { + einfo "generating rainbow tables (password maps)" + ./rtgen sha1 loweralpha 7 7 0 1000 160 test + einfo "sorting tables" + ./rtsort *.rt + einfo "attempting crack of 7 character random sha1 lowercase passwords" + ./rcrack ./*.rt -l 'random_sha1_loweralpha#1-7.hash' + einfo "I haven't rigged this so it finds anything yet. Submissions welcome bugs.gentoo.org" +} + +src_install() { + dobin rtgen rtdump rtsort rcrack || die "dobin failed" + insinto "/usr/share/${P}" + doins charset.txt + + dodoc *.plain *.hash + + newdoc "${WORKDIR}/${P}-src-algorithmpatch/readme.txt" algorithm_readme.txt + + cd "${WORKDIR}/${MY_P}" + dodoc readme.txt readme_src.txt disclaimer.txt + dohtml -r doc/ +} |