forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-crypt/rainbowcrack: version bump
Closes: https://bugs.gentoo.org/show_bug.cgi?id=672124 Signed-off-by: Alon Bar-Lev <[email protected]> Package-Manager: Portage-2.3.51, Repoman-2.3.11
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST rainbowcrack-1.6.1-linux32.zip 138833 BLAKE2B 1c4143aa4dcbe644c4d6f436d6624cd9b4b714c2efd95387fe3657251d05c214f2126a7f6f396ddd83eeb8ea83fdf8e758513609b082abee308d94aea5bfbf82 SHA512 0fc163c4a8a875149b479d74fbabbfbb5247b9e621e5362a27a8fb6d5dd64263ce89213b5f5a578ce09018cb2c93f2af51eae954e19fd448c490bcd0524612dd | ||
DIST rainbowcrack-1.6.1-linux64.zip 134268 BLAKE2B 3c3e8d1a385a3c973839d19a19ce8f16a12540ba2d461197e8363b2feb3380d931728761b3404de9e80b5c6a9df9e51d5463476088cffdc1fbccd5888bb85231 SHA512 6fd5a0356b76ed5e8062888aeb26755588d11aa5dab7fbb54ea92dbeac02e606b082e00b93a44203c158ee620d61c0f9051ecf62b60d8a83c4fca852af22144d | ||
DIST rainbowcrack-1.7-linux64.zip 208726 BLAKE2B 842e0a3ee74a8576a5331cc86259178b382e82f465f3093e7d1fa1b44907c1c30a73f53c2f7f527e052bc6266ceffd350c42b9b80b1298072a02c0cbd25e660d SHA512 068fe9d31004e08c0fcbe5a11500bd6248eca2f204a8d99a7343824ebc1dd847a01eb459f28d77fdd84eae98b05169a69e10b8893b9b5dd027381965c19b7bdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright 1999-2018 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit eutils | ||
|
||
DESCRIPTION="Hash cracker that precomputes plaintext - ciphertext pairs in advance" | ||
HOMEPAGE="http://project-rainbowcrack.com/" | ||
SRC_URI="amd64? ( http://project-${PN}.com/${P}-linux64.zip )" | ||
|
||
LICENSE="all-rights-reserved" | ||
SLOT="0" | ||
KEYWORDS="-* ~amd64" | ||
IUSE="" | ||
|
||
RESTRICT="bindist mirror" #444426 | ||
|
||
RAINBOW_DESTDIR="opt/${PN}" | ||
|
||
QA_FLAGS_IGNORED="${RAINBOW_DESTDIR}/.*" | ||
QA_PRESTRIPPED="${RAINBOW_DESTDIR}/.*" | ||
|
||
DEPEND="app-arch/unzip" | ||
|
||
DOCS=( | ||
readme.txt | ||
) | ||
|
||
src_unpack() { | ||
default | ||
mv ${P}-linux* "${S}" | ||
} | ||
|
||
src_install() { | ||
einstalldocs | ||
|
||
local bin bins=" | ||
rcrack | ||
rt2rtc | ||
rtc2rt | ||
rtgen | ||
rtmerge | ||
rtsort | ||
" | ||
|
||
exeinto "/${RAINBOW_DESTDIR}" | ||
doexe alglib0.so ${bins} | ||
|
||
for bin in ${bins}; do | ||
make_wrapper ${bin} ./${bin} "/${RAINBOW_DESTDIR}" "/${RAINBOW_DESTDIR}" | ||
done | ||
|
||
insinto "/${RAINBOW_DESTDIR}" | ||
doins charset.txt | ||
} |