Gentoo Archives: gentoo-commits

From: Mike Auty <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ophcrack/
Date: Thu, 31 May 2018 22:09:40
Message-Id: 1527804562.b2168c789622195e6e0b6e001b6d942e2149edee.ikelos@gentoo
1 commit: b2168c789622195e6e0b6e001b6d942e2149edee
2 Author: Mike Auty <ikelos <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 31 22:09:22 2018 +0000
4 Commit: Mike Auty <ikelos <AT> gentoo <DOT> org>
5 CommitDate: Thu May 31 22:09:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2168c78
7
8 app-crypt/ophcrack: Bump to 3.8.0 (and drop ppc due to qtcharts)
9
10 dev-qt/qtcharts-5 isn't keyworded for ppc, so we've dropped ppc support until
11 then. Fixes issue 656932.
12
13 Package-Manager: Portage-2.3.40, Repoman-2.3.9
14
15 app-crypt/ophcrack/Manifest | 1 +
16 app-crypt/ophcrack/ophcrack-3.8.0.ebuild | 43 ++++++++++++++++++++++++++++++++
17 2 files changed, 44 insertions(+)
18
19 diff --git a/app-crypt/ophcrack/Manifest b/app-crypt/ophcrack/Manifest
20 index ee7d083927e..823ea2bfcb1 100644
21 --- a/app-crypt/ophcrack/Manifest
22 +++ b/app-crypt/ophcrack/Manifest
23 @@ -1,2 +1,3 @@
24 DIST ophcrack-3.6.0.tar.bz2 288830 BLAKE2B bc2782d08cb84df24b745fdf0e9723e058da614b73a8d25dfe77cfa2ce291eaf8abd83006a9a410f80bdd240eb81fc402d6d5ebd1c9b92b5a7f1785a203c0c7a SHA512 caa9090b622acac1114f5635c2c58a2c32453ae21a96fc4f424cbc197b056872c282cf9d41142e316a1ffbc9523832b8bc7355c1503c15ac8579470de407a5c9
25 DIST ophcrack-3.7.0.tar.bz2 294045 BLAKE2B f506d29b27b4b90eadfd4d650512aea54db4228c4c63b90827a7957b544ab59dae757fc521fe62ab3be55d97e483ddde2aea9ad08c96b77d156e863a61f26312 SHA512 27e73979ca3d733629b9b34c490488cc27140efb8b90d266f270c0b95572cf40319a3fb658c02448fc7a3b825cf05c18a69f5d91bd0656d8410a30645f8dc8c6
26 +DIST ophcrack-3.8.0.tar.bz2 293033 BLAKE2B f20bf79d5cafffaab0667b073e8d9dbcfbae0a16f4139b6304c3f6fc80a24f6ca673db9cd53e28ff277ec35821539f3960265aa28467795e25c45049acca3f31 SHA512 c66276b72299744d3e0c9fc14220c7f568e383bd324c1ede228bda5d51da78db817388421c9f5f8cd2f18687e7e53cfb0c65bcc0354b3d55ac16324c61f62dbd
27
28 diff --git a/app-crypt/ophcrack/ophcrack-3.8.0.ebuild b/app-crypt/ophcrack/ophcrack-3.8.0.ebuild
29 new file mode 100644
30 index 00000000000..9165b752e55
31 --- /dev/null
32 +++ b/app-crypt/ophcrack/ophcrack-3.8.0.ebuild
33 @@ -0,0 +1,43 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI="6"
38 +inherit eutils
39 +
40 +DESCRIPTION="A time-memory-trade-off-cracker"
41 +HOMEPAGE="http://ophcrack.sourceforge.net/"
42 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="debug libressl qt5 +tables"
48 +
49 +CDEPEND="!libressl? ( dev-libs/openssl:0= )
50 + libressl? ( dev-libs/libressl:0= )
51 + net-libs/netwib
52 + qt5? ( dev-qt/qtcharts:5
53 + dev-qt/qtgui:5 )"
54 +DEPEND="app-arch/unzip
55 + virtual/pkgconfig
56 + ${CDEPEND}"
57 +RDEPEND="tables? ( app-crypt/ophcrack-tables )
58 + ${CDEPEND}"
59 +
60 +src_configure() {
61 +
62 + local myconf
63 +
64 + myconf="$(use_enable debug)"
65 + myconf="${myconf} $(use_enable qt5 gui)"
66 +
67 + econf ${myconf} || die "Failed to compile"
68 +}
69 +
70 +src_install() {
71 + emake install DESTDIR="${D}" || die "Installation failed."
72 +
73 + cd "${S}"
74 + newicon src/gui/pixmaps/os.xpm ophcrack.xpm
75 + make_desktop_entry "${PN}" OphCrack ophcrack
76 +}