mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
rcracki_mt ebuild: Version bump, now supporiting rt2 format tables
This commit is contained in:
parent
a54b694a8b
commit
0fe12645e1
3 changed files with 53 additions and 15 deletions
|
|
@ -1,3 +1,3 @@
|
|||
AUX rcracki_mt-share.patch 557 RMD160 bfc3e24b8f28743b166ebcaad056cd43a26efce5 SHA1 e7bf43db068ca87e08331ca8e2594562e42a016d SHA256 f4da093c9906fc5b07924ed262ea4afa4089ff60c095f35e1f424dad02c5a393
|
||||
DIST rcracki_mt_0.6.5.2_src.tar.gz 70192 RMD160 9e4518316d2dd166b1dc2c2b94ee83abce0655a4 SHA1 06a8f4ac1739f87e294278e9f055bb53f15f482b SHA256 4f0a6eaafee36604b4340db05f08da4d8d5da8c1cd31ede5d05722b5e25ce47b
|
||||
EBUILD rcracki_mt-0.6.5.2.ebuild 855 RMD160 b4708704c1afb8efe9d5c606a4b5771462b2959e SHA1 9638eec123d50109293188e6d3b58be6287bc8a0 SHA256 9a6a2d1baad299ae538550b5d8365c0bbc84b69b39d901c0bc6ea55b7eae971b
|
||||
AUX rcracki_mt-share.patch 400 RMD160 ba728eb59737fdadefa4b99f54d4c3087fe2a97d SHA1 e3bbaa06fd1acbf0ae96ad6d610b53392ab181a2 SHA256 743d7ecb476209aaa2f07c68db38aa2e32a1f62d595a88cfa190adddcba491ea
|
||||
DIST rcracki_mt_0.6.6_src.7z 60299 RMD160 86f0d66e3d6244a40d0f3dd55f73199c874a5b9b SHA1 966effb6bb55139c56c661293b15ad00f725ac05 SHA256 def2e8cdb325402501af7df5b1524ae8615ad73c55fae9d25932fb161d6ba596
|
||||
EBUILD rcracki_mt-0.6.6.ebuild 851 RMD160 f35bee48ddf48b8866aee3861da0777c4f62f7d5 SHA1 d1f89ebd1125297a39d8948c8a61e9b9246faf6b SHA256 e382b11218a49a1a206b1a836914187a4e50dc3eedf55f61fded9922fc0ee3e4
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
diff -Nru rcracki_mt_0.6.5.2_src.orig/ChainWalkContext.cpp rcracki_mt_0.6.5.2_src/ChainWalkContext.cpp
|
||||
--- rcracki_mt_0.6.5.2_src.orig/ChainWalkContext.cpp 2010-11-13 11:46:28.786198146 +0100
|
||||
+++ rcracki_mt_0.6.5.2_src/ChainWalkContext.cpp 2010-11-13 11:49:11.765027286 +0100
|
||||
@@ -91,6 +91,8 @@
|
||||
readCharset = true;
|
||||
else if ( ReadLinesFromFile(GetApplicationPath() + "charset.txt", vLine) )
|
||||
readCharset = true;
|
||||
+ else if ( ReadLinesFromFile("@@SHARE@@/charset.txt", vLine ) )
|
||||
+ readCharset = true;
|
||||
#endif
|
||||
|
||||
if ( readCharset )
|
||||
--- ChainWalkContext.cpp.orig 2012-02-27 14:42:16.872356385 +0100
|
||||
+++ ChainWalkContext.cpp 2012-02-27 14:42:53.213356364 +0100
|
||||
@@ -92,6 +92,8 @@
|
||||
readCharset = true;
|
||||
else if ( ReadLinesFromFile(GetApplicationPath() + "charset.txt", vLine) )
|
||||
readCharset = true;
|
||||
+ else if ( ReadLinesFromFile("@@SHARE@@/charset.txt", vLine ) )
|
||||
+ readCharset = true;
|
||||
#endif
|
||||
|
||||
if ( readCharset )
|
||||
|
|
|
|||
39
app-crypt/rcracki_mt/rcracki_mt-0.6.6.ebuild
Normal file
39
app-crypt/rcracki_mt/rcracki_mt-0.6.6.ebuild
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="perform a rainbow table attack on password hashes"
|
||||
HOMEPAGE="http://sourceforge.net/projects/rcracki/"
|
||||
SRC_URI="mirror://sourceforge/rcracki/${PN}_${PV}_src.7z"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/openssl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}_${PV}_src"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-share.patch"
|
||||
sed -i "s#@@SHARE@@#/usr/share/${P}#g" ChainWalkContext.cpp || die
|
||||
sed -i "s|-O3|$CXXFLAGS|" Makefile || die
|
||||
sed -i "s|\$(LFLAGS)|$LDFLAGS|" Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# force only one Makejob
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin rcracki_mt || die
|
||||
insinto "/usr/share/${P}"
|
||||
doins charset.txt || die
|
||||
}
|
||||
Loading…
Reference in a new issue